]> sourceware.org Git - glibc.git/blame - ChangeLog
NPTL: Remove gratuitous Linuxisms from gai_misc.h.
[glibc.git] / ChangeLog
CommitLineData
af102d95
RM
12014-12-17 Roland McGrath <roland@hack.frob.com>
2
74eb826c
RM
3 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5 Use assert_perror to check its return value.
6 (__gai_create_helper_thread): Likewise.
7
c9ce306b
RM
8 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9
af102d95
RM
10 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11
8ac5a76a
JM
122014-12-17 Joseph Myers <joseph@codesourcery.com>
13
ea41469b
JM
14 [BZ #17725]
15 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16 __profil_counter.
17 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
18 Likewise.
19 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20 Likewise.
21 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22 Likewise.
23 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24 (profil_counter): Likewise.
25 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26 (profil_counter): Likewise.
27 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28 Likewise.
29 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30 Likewise.
31 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
32 (profil_counter): Likewise.
33 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34 Likewise.
35 [!__profil_counter] (profil_counter): Define as weak alias of
36 __profil_counter.
37 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38 (profil_counter): Rename to __profil_counter.
39 [!__profil_counter] (profil_counter): Define as weak alias of
40 __profil_counter.
41 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42 (profil_counter): Rename to __profil_counter.
43 [!__profil_counter] (profil_counter): Define as weak alias of
44 __profil_counter.
45 * sysdeps/posix/profil.c: Update comment referring to
46 profil_counter.
47 (__profil): Use __profil_counter instead of profil_counter.
48 * sysdeps/posix/sprofil.c (profil_counter): Rename to
49 __profil_counter. Use __profil_counter_ushort and
50 __profil_counter_uint in definitions.
51 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
52 instead of profil_counter_uint and profil_counter_ushort.
53
8ac5a76a
JM
54 [BZ #17722]
55 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
56 define as weak alias of __inet_makeaddr.
57 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
58 as weak alias of __inet_addr.
59 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
60 as weak alias of __inet_pton. Use libc_hidden_weak.
61 * include/arpa/inet.h (__inet_pton): Declare. Use
62 libc_hidden_proto.
63 (inet_makeaddr): Don't use libc_hidden_proto.
64 (__inet_makeaddr): Declare. Use libc_hidden_proto.
65 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
66 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
67 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
68 Remove variable.
69 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
70 (test-xfail-POSIX/time.h/linknamespace): Likewise.
71
66ce3cb1
SE
722014-12-17 Steve Ellcey <sellcey@imgtec.com>
73
74 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
75
d22ce01b
SL
762014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
77
78 * stdio-common/bug-vfprintf-nargs.c (do_test):
79 Cast value to intptr_t to avoid format warning
80 for usage with PRIdPTR printing macro.
81
eca2772b
SL
822014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
83
84 * libio/tst-widetext.c (do_test):
85 Use format type %td instead of %Zd for ptrdiff_t
86 in order to avoid format warning.
87
bdf079da
AS
882014-12-17 Andreas Schwab <schwab@suse.de>
89
90 * nscd/mem.c (gc): Add size_t cast to match printf format.
91
3eb5d2fc
RM
922014-12-16 Roland McGrath <roland@hack.frob.com>
93
94 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
95 (init): Apply PTR_MANGLE to pointers before storing them.
96 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
97 before using them.
98
d003ada2
JM
992014-12-16 Joseph Myers <joseph@codesourcery.com>
100
380292ba
JM
101 [BZ #17719]
102 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
103 define as weak alias of __memrchr.
104 (__memrchr): Do not define as strong alias of memrchr.
105 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
106 Remove variable.
107 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
108 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
109 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
110
9a44d530
JM
111 [BZ #17717]
112 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
113 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
114 (if_indextoname): Rename to __if_indextoname and define as weak
115 alias of __if_indextoname. Use libc_hidden_weak.
116 (if_freenameindex): Rename to __if_freenameindex and define as
117 weak alias of __if_freenameindex.
118 (if_nameindex): Rename to __if_nameindex and define as weak alias
119 of __if_nameindex.
120 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
121 __if_nametoindex and define as weak alias of __if_nametoindex.
122 Use libc_hidden_weak.
123 (if_freenameindex): Rename to __if_freenameindex and define as
124 weak alias of __if_freenameindex.
125 (if_nameindex): Rename to __if_nameindex and define as weak alias
126 of __if_nameindex.
127 (if_indextoname): Rename to __if_indextoname and define as weak
128 alias of __if_indextoname. Use libc_hidden_weak.
129 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
130 __if_nametoindex and define as weak alias of __if_nametoindex.
131 Use libc_hidden_weak.
132 (if_freenameindex): Rename to __if_freenameindex and define as
133 weak alias of __if_freenameindex. Use libc_hidden_weak.
134 (if_nameindex_netlink): Use __if_freenameindex instead of
135 if_freenameindex.
136 (if_nameindex): Rename to __if_nameindex and define as weak alias
137 of __if_nameindex. Use libc_hidden_weak.
138 (if_indextoname): Rename to __if_indextoname and define as weak
139 alias of __if_indextoname. Use libc_hidden_weak.
140 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
141 libc_hidden_proto.
142 [!_ISOMAC] (__if_freenameindex): Likewise.
143 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
144 if_nametoindex.
145 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
146 variable.
147 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
148 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
149 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
150 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
151 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
152 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
153 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
154
d003ada2
JM
155 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
156 Remove variable.
157 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
158 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
159
a0d424ef
SP
1602014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
161
0cd85520
SP
162 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
163 subscript above bounds'
164
a0d424ef
SP
165 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
166 bounds.
167
0e426475
AS
1682014-12-16 Arjun Shankar <arjun.is@lostca.se>
169
8b460906
AS
170 * libio/tst-fopenloc.c: Use test-skeleton.c.
171
fa13e15b
AS
172 * stdlib/tst-bsearch.c: Use test-skeleton.c.
173 (entry): Rename to ITEM.
174 (do_test, comp): Adjust.
175
0e426475
AS
176 * stdio-common/tst-fseek.c: Use test-skeleton.c.
177
4f646bce
TR
1782014-12-16 Torvald Riegel <triegel@redhat.com>
179
180 * string/tester.c: Include <libc-internal.h>.
181 (test_memset): Ignore -Wmemset-transposed-args.
182
a07c4427
TR
1832014-12-16 Torvald Riegel <triegel@redhat.com>
184
185 * misc/tst-mntent2.c (do_test): Fix warning.
186
1469f466
TR
1872014-12-16 Torvald Riegel <triegel@redhat.com>
188
189 * elf/tst-unique4lib.cc(a): Mark as used.
190
11e3417a
FW
1912014-12-16 Florian Weimer <fweimer@redhat.com>
192
193 [BZ #17630]
194 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
195 names.
196
ae61fc7b
AM
1972014-12-16 Allan McRae <allan@archlinux.org>
198
199 * stdio-common/Makefile (tests): Re-add bug26.
200
363a9899
OB
2012014-12-15 Ondřej Bílka <neleai@seznam.cz>
202
203 [BZ #17657]
204 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
205 static array.
206
d52c62df
TR
2072014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
208
209 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
210 (__lll_lock_wait): Likewise.
211 (__lll_timedlock_wait): Likewise.
212 (__lll_timedwait_tid): Likewise.
213 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
214 (__lll_robust_timedlock_wait): Likewise.
215 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
216 (lll_cond_trylock): Likewise.
217 (__lll_lock): Likewise.
218 (__lll_robust_lock): Likewise.
219 (__lll_cond_lock): Likewise.
220 (lll_robust_cond_lock): Likewise.
221 (__lll_timedlock): Likewise.
222 (__lll_robust_timedlock): Likewise.
223 (__lll_unlock): Likewise.
224 (__lll_robust_unlock): Likewise.
225 (lll_wait_tid): Likewise.
226 (lll_timedwait_tid): Likewise.
227
045a6bcd
TR
2282014-12-15 Torvald Riegel <triegel@redhat.com>
229
230 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
231
7f786dc1
TR
2322014-12-15 Torvald Riegel <triegel@redhat.com>
233
234 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
235
e7e21cba
AZ
2362014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
237
238 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
239 * stdio-common/tst-sprintf.c: Likewise.
240
bc89c0fc
TR
2412014-12-15 Torvald Riegel <triegel@redhat.com>
242
243 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
244
a5357b7c
JL
2452014-12-15 Jeff Law <law@redhat.com>
246
247 [BZ #16617]
248 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
249 on the heap. (CVE-2012-3406)
250 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
251 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
252 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
253
3a12c70f
WN
2542014-12-15 Will Newton <will.newton@linaro.org>
255
256 * manual/install.texi: Bump required version of texinfo
257 to 4.7 from 4.5.
258 * INSTALL: Regenerated.
259 * configure.ac: Check for makeinfo version 4.7 and above.
260 * configure: Regenerated.
261
e4f639e4
RM
2622014-12-12 Roland McGrath <roland@hack.frob.com>
263
264 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
265 PREFIX, string constant to insert between directory and name.
266 * sysdeps/posix/shm_open.c: Update caller.
267 * sysdeps/posix/shm_unlink.c: Likewise.
268 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
269 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
270 (SEM_SHM_PREFIX): New macro.
271 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
272 [$(have-thread-library) = no].
273 * nptl/Makefile (libpthread-routines): Add shm-directory.
274 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
275 * sysdeps/nptl/shm-directory.h: New file.
276 * sysdeps/posix/shm-directory.c
277 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
278 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
279 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
280 INTERNAL_SYSCALL.
281 (__where_is_shmfs): Function removed.
282 (mountpoint, defaultmount, defaultdir, __namedsem_once):
283 Variables removed.
284 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
285 Use SHM_GET_NAME.
286 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
287
288 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
289 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
290 unconditional for use inside libpthread.
291 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
292
439c43f6
RM
2932014-12-12 Roland McGrath <roland@hack.frob.com>
294
c76d1ff5
RM
295 * nptl/pthread_getaffinity.c: New file.
296 * nptl/pthread_setaffinity.c: New file.
297 * nptl/pthread_getname.c: New file.
298 * nptl/pthread_setname.c: New file.
299
439c43f6
RM
300 * nptl/pthread_create.c (START_THREAD_DEFN)
301 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
302
48e435cd
SL
3032014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
304 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
305
306 * resolv/res_send.c (send_vc): Disable warning resplen may
307 be used uninitialized.
308
9d9c0019
SL
3092014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
310
311 * nptl/tst-mutex6.c
312 (ATTR_NULL): New define checks ATTR against NULL.
313 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
314 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
315
9173840b
JL
3162014-12-11 James Lemke <jwlemke@codesourcery.com>
317
318 [BZ #17581]
319 * malloc/hooks.c
320 (mem2mem_check): Revert my previous change.
321 (malloc_check_get_size): Revert my previous change.
322 (mem2chunk_check): Revert my previous change.
323
78e21c5d
RM
3242014-12-11 Roland McGrath <roland@hack.frob.com>
325
326 * sysdeps/posix/shm-directory.c: New file.
327 * sysdeps/posix/shm-directory.h: New file.
328 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
329 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
330 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
331 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
332 Transmute EPERM to EACCES.
333 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
334 from ...
335 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
336 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
337
f82c43af
KK
3382014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
339
340 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
341 pointer and cast to uintptr_t.
342 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
343 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
344 Add cast to avoid warning.
345 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
346
fc00cf7b
JM
3472014-12-11 Joseph Myers <joseph@codesourcery.com>
348
349 * nptl/semaphore.h: Move to ...
350 * sysdeps/pthread/semaphore.h: ... here.
351 * Makefile (installed-headers): Change nptl/semaphore.h to
352 sysdeps/pthread/semaphore.h.
353
1c4053db
RM
3542014-12-11 Roland McGrath <roland@hack.frob.com>
355
73b0c1a1
RM
356 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
357 generated error format strings.
358
1c4053db
RM
359 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
360 -Wformat-extra-args warnings for scanf formats.
361 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
362 test of zero-length format (duh).
363 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
364 corner-case scanf format test.
365 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
366 generated fprintf format string.
367 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
368 corner-case sprintf format tests.
369 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
370 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
371 -Wformat-extra-args warnings throughout.
372 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
373 (CFLAGS-scanf4.c): Likewise.
374 (CFLAGS-scanf7.c): Likewise.
375 (CFLAGS-tst-sprintf.c): Likewise.
376 (CFLAGS-tst-printf.c): Likewise.
377 (CFLAGS-tst-printfsz.c): Likewise.
378
47d51f4f
JM
3792014-12-11 Joseph Myers <joseph@codesourcery.com>
380
a1edbf3c
JM
381 * include/cpio.h: New file.
382 * include/fmtmsg.h: Likewise.
383
47d51f4f
JM
384 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
385 corresponding format argument to size_t.
386 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
387 arguments.
388 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
389 corresponding format argument to size_t.
390 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
391 arguments.
392 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
393 corresponding format argument to size_t.
394 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
395 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
396 (CFLAGS-tst-mbswcs2.c): Likewise.
397 (CFLAGS-tst-mbswcs3.c): Likewise.
398 (CFLAGS-tst-mbswcs4.c): Likewise.
399 (CFLAGS-tst-mbswcs5.c): Likewise.
400 (CFLAGS-tst-trans.c): Likewise
401
e9813cfb
RM
4022014-12-11 Roland McGrath <roland@hack.frob.com>
403
404 * posix/regexbug1.c (main): Use "%s" format with regerror results,
405 rather than assuming they won't contain any '%'s.
406
f627ca82
CM
4072014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
408
409 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
410 inhibit_loop_to_libcall to avoid recursive calls.
411 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
412 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
413
7f296942
AZ
4142014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
415
416 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
417 prototype.
418
d0276e18
SE
4192014-12-11 Steve Ellcey <sellcey@imgtec.com>
420
421 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
422 integer value instead of boolean.
423
fc56e970
SE
4242014-12-11 Steve Ellcey <sellcey@imgtec.com>
425
426 * malloc/malloc.c: Fix powerof2 check.
427
40e53917
SL
4282014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
429
430 * locale/programs/locfile.h (maybe_swap_uint32):
431 Remove inline and add unused attribute.
432
1ea166df
SL
4332014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
434
9d9c0019 435 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
436 Truncating assembler expression to a .long expression.
437
acf869f4
AS
4382014-12-11 Andreas Schwab <schwab@suse.de>
439
440 * elf/rtld.c (struct map_args): Constify str member.
441 (do_preload): Constify fname argument.
442
9d969099
AZ
4432014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
444
445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
446 constants definition.
447
da5bcaa4
AS
4482014-12-11 Andreas Schwab <schwab@suse.de>
449
b0a3c164
AS
450 [BZ #16657]
451 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
452 FORCE_ELISION instead of DO_ELISION.
453 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
454 Remove.
455 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
456 Likewise.
457
da5bcaa4
AS
458 * iconvdata/gconv-modules: Remove duplicate entry.
459
6d248857
WN
4602014-12-11 Will Newton <will.newton@linaro.org>
461
462 Merge gettext 0.19.3 into intl/.
463
464 This involves a number of cosmetic changes to comments
465 and ANSI function definitions and prototypes throughout
466 all the files. The gettext copyright header is used but
467 with the date ranges taken from the glibc copy.
468
469 * NEWS: Add gettext merge to 2.21.
470 * intl/bindtextdom.c: Switch to gettext copyright.
471 Use ANSI definitions and prototypes.
472 Use gl_* locking primitives rather than __libc_* ones.
473 Use __builtin_expect rather than __glibc_likely/unlikely.
474 * intl/dcgettext.c: Switch to gettext copyright.
475 Use ANSI definitions and prototypes.
476 * intl/dcigettext.c: Switch to gettext copyright.
477 Use ANSI definitions and prototypes.
478 (INTDIV0_RAISES_SIGFPE): New define.
479 Use gl_* locking primitives rather than __libc_* ones.
480 Include eval-plural.h instead of plural-eval.c.
481 Use __builtin_expect rather than __glibc_likely/unlikely.
482 * intl/dcngettext.c: Switch to gettext copyright.
483 Use ANSI definitions and prototypes.
484 * intl/dgettext.c: Likewise.
485 * intl/dngettext.c: Likewise.
486 * intl/plural-eval.c: Renamed to...
487 * intl/eval-plural.h: ...this.
488 * intl/explodename.c: Switch to gettext copyright.
489 Use ANSI definitions and prototypes.
490 (_nl_explode_name): Use strchr instead of __rawmemchr.
491 * intl/finddomain.c: Switch to gettext copyright.
492 Use ANSI definitions and prototypes.
493 Use gl_* locking primitives rather than __libc_* ones.
494 (_nl_find_domain): Use malloc rather than alloca for
495 allocation of temporary locale name.
496 * intl/gettext.c: Switch to gettext copyright.
497 Use ANSI definitions and prototypes.
498 * intl/gettextP.h: Switch to gettext copyright.
499 Use ANSI definitions and prototypes.
500 Use gl_* locking primitives rather than __libc_* ones.
501 * intl/gmo.h: Switch to gettext copyright.
502 (struct sysdep_string): Move struct segment_pair outside of
503 struct definition.
504 * intl/hash-string.c: Use ANSI definitions and prototypes.
505 * intl/hash-string.h: Switch to gettext copyright.
506 Use ANSI definitions and prototypes.
507 * intl/l10nflist.c: Switch to gettext copyright.
508 Use ANSI definitions and prototypes.
509 (_nl_normalize_codeset): Avoid integer overflow.
510 * intl/loadinfo.h: Switch to gettext copyright.
511 Use ANSI definitions and prototypes.
512 (LIBINTL_DLL_EXPORTED): New define.
513 (PATH_SEPARATOR): New define.
514 * intl/loadmsgcat.c: Switch to gettext copyright.
515 * intl/localealias.c: Switch to gettext copyright.
516 Use ANSI definitions and prototypes.
517 (_nl_expand_alias): Use PATH_SEPARATOR.
518 * intl/ngettext.c: Switch to gettext copyright.
519 Use ANSI definitions and prototypes.
520 * intl/plural-exp.c: Likewise.
521 * intl/plural-exp.h: Switch to gettext copyright.
522 Use ANSI definitions and prototypes.
523 (struct expression): Move definition of enum operator outside
524 of struct definition.
525 * intl/plural.c: Regenerate.
526 * intl/plural.y: Switch to gettext copyright.
527 Use ANSI definitions and prototypes.
528 Port to bison 3.0.
529 * intl/textdomain.c: Switch to gettext copyright.
530 Use ANSI definitions and prototypes.
531 Use gl_* locking primitives rather than __libc_* ones.
532
48c43298
SE
5332014-12-10 Steve Ellcey <sellcey@imgtec.com>
534
535 * debug/warning-nop.c: Add used atrribute.
536
2b89bce9
JM
5372014-12-10 Joseph Myers <joseph@codesourcery.com>
538
c153ac9f
JM
539 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
540
2b89bce9
JM
541 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
542 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
543 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
544
2cfbdb9a
JM
5452014-12-10 Joseph Myers <joseph@codesourcery.com>
546 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
547
548 [BZ #17634]
549 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
550 Undefine after defining function. Define as weak alias of
551 __wcschr. Use libc_hidden_weak.
552 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
553 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
554 (libc_hidden_def): Also define __GI___wcschr alias.
555 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
556 __wcschr and define as weak alias of __wcschr.
557 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
558 __wcschr.
559 [!WCSCHR] (DEFAULT_WCSCHR): Define.
560 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
561 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
562 libc_hidden_weak. Do not use libc_hidden_def.
563 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
564 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
565 __GI___wcschr alias.
566 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
567 [IS_IN (libc)] (wcschr): Define as macro expanding to
568 __redirect_wcschr.
569 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
570 [IS_IN (libc)] (__wcschr_power6): Likewise.
571 [IS_IN (libc)] (__wcschr_power7): Likewise.
572 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
573 instead of wcschr.
574 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
575 __libc_wcschr.
576 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
577 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
578 __wcschr and define as weak alias of __wcschr. Use
579 libc_hidden_builtin_def.
580 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
581 as weak alias of __wcschr. Use libc_hidden_weak.
582 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
583 wcschr.
584 * time/era.c (_nl_init_era_entries): Likewise.
585 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
586 variable.
587 (test-xfail-XPG3/time.h/linknamespace): Likewise.
588 (test-xfail-XPG4/time.h/linknamespace): Likewise.
589
1b8bf351
JM
5902014-12-10 Joseph Myers <joseph@codesourcery.com>
591
592 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
593 format for long int variable.
594
f5f46d51
AK
5952014-12-10 Anders Kaseorg <andersk@MIT.EDU>
596
597 [BZ #10672]
07008f7d 598 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
599 qsort stable.
600
217a74a8
AS
6012014-12-10 Andreas Schwab <schwab@suse.de>
602
603 [BZ #12847]
604 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
605 user-controlled locks.
606
aa76a5c7
RE
6072014-12-10 Richard Earnshaw <rearnsha@arm.com>
608
609 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
610 register.
611
2084e7ca
JM
6122014-12-10 Joseph Myers <joseph@codesourcery.com>
613
a4ecc9eb
JM
614 * configure.ac (--disable-werror): New configure option.
615 (enable_werror): New AC_SUBST.
616 * configure: Regenerated.
617 * config.make.in (enable-werror): New variable.
618 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
619 -Wno-error=undef.
620 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
621 * manual/install.texi (Configuring and compiling): Document
622 --disable-werror.
623 * INSTALL: Regenerated.
624 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
625 (CFLAGS-tst-chk2.c): Likewise.
626 (CFLAGS-tst-chk3.c): Likewise.
627 (CFLAGS-tst-chk4.cc): Likewise.
628 (CFLAGS-tst-chk5.cc): Likewise.
629 (CFLAGS-tst-chk6.cc): Likewise.
630 (CFLAGS-tst-lfschk1.c): Likewise.
631 (CFLAGS-tst-lfschk2.c): Likewise.
632 (CFLAGS-tst-lfschk3.c): Likewise.
633 (CFLAGS-tst-lfschk4.cc): Likewise.
634 (CFLAGS-tst-lfschk5.cc): Likewise.
635 (CFLAGS-tst-lfschk6.cc): Likewise.
636
0f88636c
JM
637 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
638 (main): Disable -Wdeprecated-declarations around calls to
639 register_printf_function.
640
c81e9deb
JM
641 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
642 (do_test): Disable -Wdiv-by-zero around some calls to
643 fwrite_unlocked and fread_unlocked.
644
2084e7ca
JM
645 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
646 (DIAG_POP_NEEDS_COMMENT): Likewise.
647 (_DIAG_STR1): Likewise.
648 (_DIAG_STR): Likewise.
649 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
650 * stdio-common/bug21.c: Include <libc-internal.h>.
651 (do_test): Disable -Wformat around call to sscanf.
652 * stdio-common/scanf14.c: Include <libc-internal.h>.
653 (main): Disable -Wformat around some calls to scanf functions.
654
df7ecc6b
TR
6552014-12-09 Torvald Riegel <triegel@redhat.com>
656
657 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
658
2aa3862e
AZ
6592014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
660
661 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
662 stack variable alignment.
663
c5c2b7c3
JM
6642014-12-06 Joseph Myers <joseph@codesourcery.com>
665
666 [BZ #17682]
667 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
668 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
669 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
670 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
671 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
672 __getrlimit instead of getrlimit.
673 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
674 __gettimeofday instead of gettimeofday.
675 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
676 Likewise.
677 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
678 Likewise.
679 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
680 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
681 Remove variable.
682 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
683 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
684
9752c3cd
AZ
6852014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
686
687 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
688 for wide-character tests.
689
4bee4cd9
RM
6902014-12-04 Roland McGrath <roland@hack.frob.com>
691
692 * io/openat64.c: #include <libc-internal.h>
693 (__openat64): Prototypify. Use ignore_value on MODE.
694 * io/openat.c: Likewise.
695 * misc/reboot.c: #include <libc-internal.h>
696 (reboot): Prototypify. Use ignore_value on HOWTO.
697 * misc/ptrace.c: #include <libc-internal.h>
698 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
699
84dbedb6
JM
7002014-12-04 Joseph Myers <joseph@codesourcery.com>
701
702 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
703 XPG4, UNIX98 and XOPEN2K.
704 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
705 Remove variable.
706 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
707
b7a3e1c4 7082014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 709
af50dfc1 710 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
711 * libio/iofopen.c: Likewise.
712 * libio/wfileops.c: Likewise.
713
fe8b4d98
SP
714 [BZ #17653]
715 * libio/fileops.c (_IO_new_file_underflow): Unset cached
716 offset on EOF.
717 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
718 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
719 (fgets_func): Function pointer to fgets and fgetws.
720 (do_ftell_test): Add test to verify ftell value after read
721 EOF.
722 (do_test): Set fgets_func.
723
61b4f792
SP
724 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
725 O_TRUNC flag for w and w+ modes.
726 (do_rewind_test): Likewise.
727 (do_ftell_test): Likewise.
728 (do_write_test): Likewise.
729
be349d70
SP
730 [BZ #17647]
731 * libio/fileops.c (do_ftell): Seek only when there are
732 unflushed writes.
733 * libio/wfileops.c (do_ftell_wide): Likewise.
734 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
735 test case.
736 (do_one_test): Call it.
737
e3d6dba5
JM
7382014-12-03 Joseph Myers <joseph@codesourcery.com>
739
740 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
741 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
742 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
743 Remove variable.
744 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
745 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
746 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
747
7f994279
JM
7482014-12-02 Joseph Myers <joseph@codesourcery.com>
749
28a91e8f
JM
750 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
751 Remove variable.
752 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
753
7f994279
JM
754 [BZ #17668]
755 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
756 as weak alias of __getifaddrs. Use libc_hidden_weak.
757 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
758 __freeifaddrs. Use libc_hidden_weak.
759 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
760 define as weak alias of __getifaddrs. Use libc_hidden_weak.
761 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
762 __freeifaddrs. Use libc_hidden_weak.
763 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
764 __getifaddrs and define as weak alias of __getifaddrs. Use
765 libc_hidden_weak.
766 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
767 __freeifaddrs. Use libc_hidden_weak.
768 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
769 Remove variable.
770 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
771 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
772
bbe4c142
PJ
7732014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
774
775 [BZ #17601]
776 * sysdeps/mips/start.S (__start): Use indirect jump to call
777 __libc_start_main.
778
66cadc05
JM
7792014-12-02 Joseph Myers <joseph@codesourcery.com>
780
909e16d9
JM
781 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
782
4e0b9016
JM
783 * nptl/tst-mutex1.c: Include <stdbool.h>.
784 [!ATTR] (ATTR_NULL): New macro.
785 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
786 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
787 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
788
b1aff6a4
JM
789 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
790 to char *.
791
266865c0
JM
792 [BZ #17665]
793 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
794 Change conditional to [__USE_MISC].
795
84e5e756
JM
796 [BZ #17664]
797 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
798 fgets_unlocked.
799 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
800 __fgets_unlocked.
801 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
802 fgets_unlocked.
803 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
804 Remove variable.
805 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
806 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
807 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
808 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
809 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
810 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
811 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
812 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
813 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
814
66cadc05
JM
815 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
816
2e8a2de2 8172014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
818
819 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
820 Remove strpbrk objects.
821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
822 (__libc_ifunc_impl_list): Remove strpbrk implementation.
823 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
824 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
825 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
826 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
827
bb2542e0
AZ
828 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
829 Remove strcspn objects.
830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
831 (__libc_ifunc_impl_list): Remove strcspn implementation.
832 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
833 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
834 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
835 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
836
837 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
838 Remove strspn objetcs.
839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
840 (__libc_ifunc_impl_list): Remove strspn implementation.
841 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
842 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
843 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
844 * sysdeps/powerpc/powerpc64/strspn.S: New file.
845
08f1e1d2
JL
8462014-12-01 James Lemke <jwlemke@codesourcery.com>
847
848 [BZ #17581]
849 * malloc/hooks.c
850 (mem2mem_check): Add a terminator to the chain of checking blocks.
851 (malloc_check_get_size): Use it here.
852 (mem2chunk_check): Ditto.
853
a8a7d7d2
RS
8542014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
855
856 * sysdeps/powerpc/powerpc64/strtok.S: New file.
857 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
858
97114a38
CD
8592014-11-29 Carlos O'Donell <carlos@redhat.com>
860
c8dc1727
CD
861 * bits/ioctl-types.h: Indent preprocessor directives correctly.
862
6d03458e
CD
863 * nptl/nptl-init.c: Include libc-internal.h.
864 (__pthread_initialize_minimal_internal): Use ROUND_UP.
865
97114a38
CD
866 * elf/ldconfig.c (search_dir): Expand comment.
867
0e7e69ba
JM
8682014-11-29 Joseph Myers <joseph@codesourcery.com>
869
870 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
871 variable.
872 (linknamespace-symlist-stdlibs-tests): Likewise.
873 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
874 instead of $(objpfx)symlist-stdlibs.
875 (linknamespace-libs-isoc): New variable.
876 (linknamespace-libs): Use $(linknamespace-libs-isoc).
877 (linknamespace-libs-ISO): New variable.
878 (linknamespace-libs-ISO99): Likewise.
879 (linknamespace-libs-ISO11): Likewise.
880 (linknamespace-libs-XPG3): Likewise.
881 (linknamespace-libs-XPG4): Likewise.
882 (linknamespace-libs-POSIX): Likewise.
883 (linknamespace-libs-UNIX98): Likewise.
884 (linknamespace-libs-XOPEN2K): Likewise.
885 (linknamespace-libs-POSIX2008): Likewise.
886 (linknamespace-libs-XOPEN2K8): Likewise.
887 ($(objpfx)symlist-stdlibs): Replace by
888 $(linknamespace-symlist-stdlibs-tests). Use
889 $(linknamespace-libs-$*) as set of libraries.
890 ($(linknamespace-header-tests)): Update dependencies. Use
891 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
892 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
893 * conform/linknamespace.pl: Remove comment about considering
894 definitions of symbols from irrelevant libraries.
895
d8dd0080
L
8962014-11-28 H.J. Lu <hongjiu.lu@intel.com>
897
898 [BZ #13862]
899 * elf/dl-tls.c: Include <atomic.h>.
900 (oom): Remove #ifdef SHARED/#endif.
901 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
902 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
903 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
904 big enough.
905 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
906 * nptl/Makefile (tests): Add tst-stack4.
907 (modules-names): Add tst-stack4mod.
908 ($(objpfx)tst-stack4): New.
909 (tst-stack4mod.sos): Likewise.
910 ($(objpfx)tst-stack4.out): Likewise.
911 ($(tst-stack4mod.sos)): Likewise.
912 (clean): Likewise.
913 * nptl/tst-stack4.c: New file.
914 * nptl/tst-stack4mod.c: Likewise.
915
167da422
B
9162014-11-27 J. Brown <jb999@gmx.de>
917
918 * sysdeps/x86/bits/string.h: Add recent CPUs.
919
9114625b
JM
9202014-11-27 Joseph Myers <joseph@codesourcery.com>
921
6b5189eb
JM
922 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
923 sigblock.
924
49051f8e
JM
925 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
926 feof.
927
9114625b
JM
928 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
929 variable.
930
e7300fef
SL
9312014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
932
933 * nscd/connections.c: Include libc-internal.h because of macro
934 usage ignore_value.
935
1721f0a4
SP
9362014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
937
938 * string/bits/string3.h (__warn_memset_zero_len): Don't
939 declare for gcc newer than 5.0.
940 (memset): Don't test for zero-length __LEN for gcc newer than
941 5.0.
942
be970916
JM
9432014-11-27 Joseph Myers <joseph@codesourcery.com>
944
d88548f4
JM
945 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
946 size_t for %zu format.
947
be970916
JM
948 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
949 difference, not %ju.
950
3b20fd5c
JM
9512014-11-26 Joseph Myers <joseph@codesourcery.com>
952
8915eace
JM
953 * include/libc-internal.h (ignore_value): New macro.
954 * nscd/connections.c (restart): Wrap calls to setuid and setgid
955 with ignore_value.
956
f1a5a0e3
JM
957 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
958 definition.
959
59ef1715
JM
960 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
961 pthread_cleanup_push to void *.
962
a6f3079b
JM
963 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
964 Undefine.
965
706688aa
JM
966 [BZ #16619]
967 [BZ #16740]
968 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
969 instead of 1L << 52.
970
12da14a5
JM
971 * libio/bug-rewind.c (do_test): Check fwscanf return values.
972 * libio/bug-rewind2.c (do_test): Likewise.
973
bd5dadac
JM
974 * debug/test-stpcpy_chk-ifunc.c: Remove file.
975 * debug/test-strcpy_chk-ifunc.c: Likewise.
976 * wcsmbs/test-wcschr-ifunc.c: Likewise.
977 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
978 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
979 * wcsmbs/test-wcslen-ifunc.c: Likewise.
980 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
981 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
982 * Rules [$(multi-arch) = no] (tests): Do not filter out
983 $(tests-ifunc).
984 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
985 * debug/Makefile (tests-ifunc): Remove variable.
986 (tests): Do not add $(tests-ifunc).
987 * wcsmbs/Makefile (tests-ifunc): Remove variable.
988 (tests): Do not add $(tests-ifunc).
989 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
990 [TEST_IFUNC]: Remove conditionals.
991 * string/test-string.h (TEST_IFUNC): Remove macro.
992 [TEST_IFUNC]: Remove conditionals.
993
3b20fd5c
JM
994 * string/test-strchr.c [!WIDE] (L): New macro.
995 [WIDE] (L): Likewise.
996 (check1): Use CHAR instead of char. Use L on string and character
997 constants.
998
704f7947
AZ
9992014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1000
1001 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1002 tests.
1003 * sysdeps/powerpc/bits/atomic.h
1004 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1005 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1006 (atomic_exchange_and_add_acq): Likewise.
1007 (atomic_exchange_and_add_rel): Likewise.
1008 * sysdeps/powerpc/powerpc32/bits/atomic.h
1009 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1010 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1011 * sysdeps/powerpc/powerpc64/bits/atomic.h
1012 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1013 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1014
cdcb42d7
TR
10152014-11-26 Torvald Riegel <triegel@redhat.com>
1016
1017 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1018 Change synchronization of __sched_fifo_min_prio and
1019 __sched_fifo_max_prio.
1020 * nptl/pthread_mutexattr_getprioceiling.c
1021 (pthread_mutexattr_getprioceiling): Likewise.
1022 * nptl/pthread_mutexattr_setprioceiling.c
1023 (pthread_mutexattr_setprioceiling): Likewise.
1024 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1025 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1026 Likewise.
1027
c82f5c0c
JM
10282014-11-26 Joseph Myers <joseph@codesourcery.com>
1029
1030 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1031 void.
1032
439e1ad6
JM
10332014-11-25 Joseph Myers <joseph@codesourcery.com>
1034
1035 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1036 third argument const.
1037
b1eda10e
PE
10382014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1039
1040 fnmatch: work around GCC compiler warning bug with uninit var
1041 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1042 This works around a bug with x86-64 GCC 4.9.2 and earlier
1043 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1044 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1045 used uninitialized in this function [-Wmaybe-uninitialized]".
1046
bde2667a
JM
10472014-11-25 Joseph Myers <joseph@codesourcery.com>
1048
1049 * posix/bug-regex31.c (main): Return RES not 0.
1050
5fbb5691
AB
10512014-11-25 Anton Blanchard <anton@samba.org>
1052
1053 * sysdeps/powerpc/bits/atomic.h
1054 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1055
467fec0b
BM
10562014-11-24 Sterling Augustine <saugustine@google.com>
1057
1058 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1059
e9ff8efb
RC
10602014-11-24 Ryan Cumming <etaoins@gmail.com>
1061
1062 [BZ #17608]
1063 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1064
9744496f
JM
10652014-11-24 Joseph Myers <joseph@codesourcery.com>
1066
1067 [BZ #17633]
1068 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1069 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1070 variable.
1071 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1072 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1073
6423d475
WD
10742014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1075
1076 * string/strncpy.c (strncpy): Improve performance by using memset.
1077
10782014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
1079
1080 * string/strcpy.c (strcpy):
1081 Improve performance by using strlen and memcpy.
1082
5d178c37
LH
10832014-11-24 Leonhard Holz <leonhard.holz@web.de>
1084
1085 * string/strcoll_l.c (get_next_seq): __always_inline.
1086 * string/strcoll_l.c (do_compare): __always_inline.
1087
279bc5b3
SP
10882014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
7a9ebfa1
SP
1090 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1091 defined.
1092 * include/mqueue.h: Likewise.
1093 * include/stdlib.h: Likewise.
1094
4f41c682
SP
1095 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1096 (get_null_defines): Adjust.
1097 * sunrpc/Makefile: Adjust comment.
1098 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1099 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1100 (CFLAGS-interp.c): Likewise.
1101 (CFLAGS-ldconfig.c): Likewise.
1102 (CPPFLAGS-.os): Likewise.
1103 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1104 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1105 * extra-modules.mk (extra-modules.mk): Likewise.
1106 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1107 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1108 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1109 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1110 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1111 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1112 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1113 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1114 * iconvdata/Makefile (CPPFLAGS): Likewise.
1115 (cpp-srcs-left): Add libof for all iconvdata routines.
1116 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1117 * include/assert.h: Likewise.
1118 * include/ctype.h: Likewise.
1119 * include/errno.h: Likewise.
1120 * include/libc-symbols.h: Likewise.
1121 * include/math.h: Likewise.
1122 * include/netdb.h: Likewise.
1123 * include/resolv.h: Likewise.
1124 * include/stdio.h: Likewise.
1125 * include/stdlib.h: Likewise.
1126 * include/string.h: Likewise.
1127 * include/sys/stat.h: Likewise.
1128 * include/wctype.h: Likewise.
1129 * intl/l10nflist.c: Likewise.
1130 * libidn/idn-stub.c: Likewise.
1131 * libio/libioP.h: Likewise.
1132 * nptl/libc_multiple_threads.c: Likewise.
1133 * nptl/pthreadP.h: Likewise.
1134 * posix/regex_internal.h: Likewise.
1135 * resolv/res_hconf.c: Likewise.
1136 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1137 * sysdeps/arm/memmove.S: Likewise.
1138 * sysdeps/arm/sysdep.h: Likewise.
1139 * sysdeps/generic/_itoa.h: Likewise.
1140 * sysdeps/generic/symbol-hacks.h: Likewise.
1141 * sysdeps/gnu/errlist.awk: Likewise.
1142 * sysdeps/gnu/errlist.c: Likewise.
1143 * sysdeps/i386/i586/memcpy.S: Likewise.
1144 * sysdeps/i386/i586/memset.S: Likewise.
1145 * sysdeps/i386/i686/memcpy.S: Likewise.
1146 * sysdeps/i386/i686/memmove.S: Likewise.
1147 * sysdeps/i386/i686/mempcpy.S: Likewise.
1148 * sysdeps/i386/i686/memset.S: Likewise.
1149 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1150 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1151 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1152 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1153 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1154 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1155 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1156 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1157 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1158 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1159 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1160 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1161 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1162 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1163 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1164 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1165 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1166 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1167 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1168 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1169 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1170 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1171 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1172 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1173 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1174 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1175 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1176 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1177 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1178 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1179 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1180 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1182 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1183 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1185 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1186 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1187 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1188 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1189 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1190 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1191 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1192 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1193 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1194 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1195 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1196 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1197 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1198 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1199 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1200 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1201 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1202 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1203 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1204 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1205 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1206 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1207 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1208 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1209 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1210 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1211 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1212 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1213 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1214 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1215 * sysdeps/posix/closedir.c: Likewise.
1216 * sysdeps/posix/opendir.c: Likewise.
1217 * sysdeps/posix/readdir.c: Likewise.
1218 * sysdeps/posix/rewinddir.c: Likewise.
1219 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1220 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1221 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1222 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1223 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1224 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1225 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1226 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1227 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1228 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1229 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1230 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1231 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1232 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1233 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1234 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1235 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1236 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1237 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1238 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1239 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1240 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1241 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1242 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1243 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1244 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1246 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1247 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1254 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1255 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1256 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1259 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1260 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1261 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1262 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1264 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1265 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1266 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1267 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1268 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1270 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1271 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1272 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1273 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1274 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1276 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1277 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1278 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1279 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1280 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1281 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1283 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1284 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1286 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1287 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1288 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1289 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1291 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1292 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1293 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1294 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1295 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1296 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1297 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1298 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1299 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1300 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1301 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1302 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1303 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1304 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1305 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1306 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1307 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1308 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1309 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1310 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1311 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1314 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1315 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1317 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1318 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1319 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1320 * sysdeps/unix/alpha/sysdep.S: Likewise.
1321 * sysdeps/unix/alpha/sysdep.h: Likewise.
1322 * sysdeps/unix/make-syscalls.sh: Likewise.
1323 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1324 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1325 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1326 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1327 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1328 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1329 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1330 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1331 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1332 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1333 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1334 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1336 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1337 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1338 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1339 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1340 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1341 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1342 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1343 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1344 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1345 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1346 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1347 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1348 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1349 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1352 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1353 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1354 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1356 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1357 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1361 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1362 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1363 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1364 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1365 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1366 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1367 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1370 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1373 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1374 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1375 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1376 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1377 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1378 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1379 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1381 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1382 * sysdeps/x86_64/memcpy.S: Likewise.
1383 * sysdeps/x86_64/memmove.c: Likewise.
1384 * sysdeps/x86_64/memset.S: Likewise.
1385 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1386 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1387 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1388 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1389 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1390 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1391 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1392 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1393 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1394 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1395 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1396 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1397 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1398 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1399 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1400 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1401 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1402 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1403 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1404 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1405 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1406 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1407 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1408 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1409 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1410 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1411 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1412 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1413 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1414 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1415 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1416 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1417 * sysdeps/x86_64/strcmp.S: Likewise.
1418
76ca86a5
SP
1419 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1420
a3848485
SP
1421 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1422 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1423 * elf/rtld-Rules: Likewise.
1424 * elf/setup-vdso.h: Likewise.
1425 * include/assert.h: Likewise.
1426 * include/bits/stdlib-float.h: Likewise.
1427 * include/errno.h: Likewise.
1428 * include/sys/stat.h: Likewise.
1429 * include/unistd.h: Likewise.
1430 * sysdeps/aarch64/setjmp.S: Likewise.
1431 * sysdeps/alpha/setjmp.S: Likewise.
1432 * sysdeps/arm/__longjmp.S: Likewise.
1433 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1434 * sysdeps/arm/setjmp.S: Likewise.
1435 * sysdeps/arm/sysdep.h: Likewise.
1436 * sysdeps/generic/_itoa.h: Likewise.
1437 * sysdeps/generic/dl-sysdep.h: Likewise.
1438 * sysdeps/generic/ldsodefs.h: Likewise.
1439 * sysdeps/i386/dl-tls.h: Likewise.
1440 * sysdeps/i386/setjmp.S: Likewise.
1441 * sysdeps/m68k/setjmp.c: Likewise.
1442 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1443 * sysdeps/mach/hurd/opendir.c: Likewise.
1444 * sysdeps/posix/getcwd.c: Likewise.
1445 * sysdeps/posix/opendir.c: Likewise.
1446 * sysdeps/posix/profil.c: Likewise.
1447 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1448 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1449 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1450 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1451 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1453 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1454 * sysdeps/s390/dl-tls.h: Likewise.
1455 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1456 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1457 * sysdeps/sh/sh3/setjmp.S: Likewise.
1458 * sysdeps/sh/sh4/setjmp.S: Likewise.
1459 * sysdeps/unix/alpha/sysdep.h: Likewise.
1460 * sysdeps/unix/arm/sysdep.S: Likewise.
1461 * sysdeps/unix/i386/sysdep.S: Likewise.
1462 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1463 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1464 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1465 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1467 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1468 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1469 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1470 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1471 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1472 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1473 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1477 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1480 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1481 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1482 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1485 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1486 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1487 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1489 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1490 * sysdeps/x86_64/setjmp.S: Likewise.
1491
a109996e
SP
1492 * include/math.h: Use IS_IN instead of IS_IN_libm.
1493 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1496 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1497 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1505 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1506 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1507 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1508 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1509 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1510 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1513 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1514 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1515 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1516 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1517 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1518 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1520 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1521 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1522 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1523 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1524 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1525 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1527 Likewise.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1529 Likewise.
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1531 Likewise.
1532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1533 Likewise.
1534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1535 Likewise.
1536 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1537 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1538 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1539 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1540 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1541 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1547 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1550 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1553 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1554 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1555 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1556 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1560 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1562 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1563
ce9f10f7
SP
1564 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1565 * nptl/pthreadP.h: Likewise.
1566 * nptl_db/structs.def: Likewise.
1567 * sysdeps/arm/sysdep.h: Likewise.
1568 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1569 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1570 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1571 * sysdeps/unix/alpha/sysdep.h: Likewise.
1572 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1573 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1574 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1575 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1576 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1577 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1578 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1579 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1580 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1581 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1582 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1583 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1584 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1585 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1590 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1593 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1594 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1595 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1596 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1597 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1598
016afc75
SP
1599 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1600 * nptl/pthreadP.h: Likewise.
1601 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1602 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1603 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1604 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1605 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1606 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1607 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1608 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1609 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1610 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1611 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1612 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1614 Likewise.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1616 Likewise.
1617 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1618 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1619 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1620 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1622 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1623 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1625
9b42a0b3
SP
1626 * dlfcn/dladdr.c: Use IS_IN.
1627 * dlfcn/dladdr1.c: Likewise.
1628 * dlfcn/dlclose.c: Likewise.
1629 * dlfcn/dlerror.c: Likewise.
1630 * dlfcn/dlinfo.c: Likewise.
1631 * dlfcn/dlmopen.c: Likewise.
1632 * dlfcn/dlopen.c: Likewise.
1633 * dlfcn/dlsym.c: Likewise.
1634 * dlfcn/dlvsym.c: Likewise.
1635
85f36372
SP
1636 * include/ifaddrs.h: Use IS_IN.
1637 * inet/check_pf.c: Likewise.
1638 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1639 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1640
fb6784e3
SP
1641 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1642 IS_IN_ldconfig.
1643 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1644 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1645
2886d2d1
SP
1646 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1647 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1648 IS_IN (libc).
1649
9a484857
SP
1650 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1651
a10178bd
SP
1652 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1653 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1654 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1655 * include/libc-symbols.h (IS_IN_LIB): New macro.
1656 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1657 * include/netdb.h: Likewise.
1658 * include/stap-probe.h: Remove all uses of IN_LIB.
1659
279bc5b3
SP
1660 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1661 instead of IN_MODULE.
1662 * include/libc-symbols.h (IN_MODULE): Define using
1663 MODULE_NAME.
1664 (PASTE_NAME, PASTE_NAME1): New macros.
1665 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1666 of IN_LIB.
1667 (STAP_PROBE_ASM): Likewise.
1668
e0cfa510
ST
16692014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1670
1671 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1672 __mach_init in dlopened libc.
1673
34d97d87
MF
16742014-11-22 Mike Frysinger <vapier@gentoo.org>
1675
1676 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1677 * sysdeps/arm/preconfigure: Regenerate.
1678
33cd1f74
RM
16792014-11-21 Roland McGrath <roland@hack.frob.com>
1680
1681 * nptl/pthread_create.c (__pthread_create_2_1): Set
1682 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1683 when copying values from IATTR into PD.
1684
8c230039
WN
16852014-11-21 Will Newton <will.newton@linaro.org>
1686 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1687
6d3db89b
AP
1688 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1689 Refactor inline-asm. Also add comment.
1690
01194ba1
WN
1691 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1692 ElfW macro instead of hardcoded Elf64 types.
1693 (la_aarch64_gnu_pltenter): Likewise.
1694 * sysdeps/aarch64/dl-machine.h
1695 (elf_machine_runtime_setup): Use ElfW(Addr).
1696
8c230039
WN
1697 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1698 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1699 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1700 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1701 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1702 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1703 (R_AARCH64_TLS_DTPMOD): This.
1704 (R_AARCH64_TLS_DTPREL64): Rename to ...
1705 (R_AARCH64_TLS_DTPREL): This.
1706 (R_AARCH64_TLS_TPREL64): Rename to ...
1707 (R_AARCH64_TLS_TPREL): This.
1708 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1709 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1710 R_AARCH64_TLS_TPREL64.
1711 (elf_machine_rela): Likewise.
1712
0d79fa53
TR
17132014-11-21 Torvald Riegel <triegel@redhat.com>
1714
1715 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1716 by setting it to 0. 64b atomics are not supported currently.
1717
b59d114b
AO
17182014-11-21 Alexandre Oliva <aoliva@redhat.com>
1719
1720 [BZ #16469]
1721 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1722 search domain names.
1723
f3d945d5
AO
17242014-11-21 Alexandre Oliva <aoliva@redhat.com>
1725
1726 [BZ #16469]
1727 * NEWS: Update.
1728 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1729 trailing dot.
1730 * posix/tst-getaddrinfo5.c: New.
1731 * posix/Makefile (tests): Add it.
1732
49698902
AO
17332014-11-21 Alexandre Oliva <aoliva@redhat.com>
1734
1735 [BZ #14498]
1736 * NEWS: Fixed.
1737 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1738 after parsing line but before break_if_match.
1739 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1740 if there is a protocol mismatch.
1741
81959214
MS
17422014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1743
1744 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1745 because the potential race is on the user-supplied stream.
1746
7729e0e9
AO
17472014-11-21 Alexandre Oliva <aoliva@redhat.com>
1748
1749 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1750 string literal if not passed a buffer.
1751 * manual/job.texi (ctermid): Update reasoning, note deviation
1752 from posix, suggest mtasurace when not passed a buffer, for
1753 future non-preliminary safety notes.
1754
a4ea5e28
AO
17552014-11-21 Alexandre Oliva <aoliva@redhat.com>
1756
1757 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1758 of not passing it a buffer.
1759 Reported by Peng Haitao.
1760
a2b581cb
AO
17612014-11-21 Alexandre Oliva <aoliva@redhat.com>
1762
1763 * manual/Makefile ($(objpfx)stamp-summary): Require
1764 check-safety.sh to pass.
1765 * manual/check-safety.sh: Wish for verification that every
1766 @deftypefn and @deftypefun is followed by a @safety remark.
1767
f214ff74
RM
17682014-11-20 Roland McGrath <roland@hack.frob.com>
1769
7f0dfae0
RM
1770 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1771
2f531bbb
RM
1772 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1773 PTHREAD_CANCEL_ASYNCHRONOUS.
1774 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1775 send SIGCANCEL.
1776
f214ff74
RM
1777 * nptl/default-sched.h: New file.
1778 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1779 * nptl/pthread_create.c: Include it.
1780 (__pthread_create_2_1): Use collect_default_sched instead of making
1781 Linux syscalls here directly.
1782
e37c91d4
TR
17832014-11-20 Torvald Riegel <triegel@redhat.com>
1784
1785 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1786 __pthread_once): Use C11 atomics.
1787
1eccfecd
TR
17882014-11-20 Torvald Riegel <triegel@redhat.com>
1789
1790 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1791
ff871426
TR
17922014-11-20 Torvald Riegel <triegel@redhat.com>
1793
1794 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1795 atomic_thread_fence_acquire, atomic_thread_fence_release,
1796 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1797 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1798 atomic_compare_exchange_weak_relaxed,
1799 atomic_compare_exchange_weak_acquire,
1800 atomic_compare_exchange_weak_release,
1801 atomic_exchange_acquire, atomic_exchange_release,
1802 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1803 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1804 atomic_fetch_and_acquire,
1805 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1806
1ea339b6
TR
18072014-11-20 Torvald Riegel <triegel@redhat.com>
1808
1809 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1810 USE_ATOMIC_COMPILER_BUILTINS): Define.
1811 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1812 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1813 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1814 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1815 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1816 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1817 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1818 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1819 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1820 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1821 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1822 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1823 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1824 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1825 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1826 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1827 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1828 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1829 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1830 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1831 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1832 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1833 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1834 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1835 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1836 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1837 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1838 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1839 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1840 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1841 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1842 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1843 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1844 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1845 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1846 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1847 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1848 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1849 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1850 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1851
cbd463e2
RM
18522014-11-19 Roland McGrath <roland@hack.frob.com>
1853
d960211f
RM
1854 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1855 the sched_priority value here. It was already checked when the user
1856 called pthread_attr_setschedparam.
1857
cbd463e2
RM
1858 * nptl/tst-bad-schedattr.c: New file.
1859 * nptl/Makefile (tests): Add it.
1860
a39208bd
CD
18612014-11-19 Carlos O'Donell <carlos@redhat.com>
1862 Florian Weimer <fweimer@redhat.com>
1863 Joseph Myers <joseph@codesourcery.com>
1864 Adam Conrad <adconrad@0c3.net>
1865 Andreas Schwab <schwab@suse.de>
1866 Brooks <bmoses@google.com>
1867
1868 [BZ #17625]
1869 * wordexp-test.c (__dso_handle): Add prototype.
1870 (__register_atfork): Likewise.
1871 (__app_register_atfork): New function.
1872 (registered_forks): New global.
1873 (register_fork): New function.
1874 (test_case): Add 3 new tests for WRDE_CMDSUB.
1875 (main): Call __app_register_atfork.
1876 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1877 fork count is non-zero fail the test.
1878 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1879 is set.
1880 (parse_dollars): Remove check for WRDE_NOCMD.
1881 (parse_dquote): Likewise.
1882
9cd47470
SP
18832014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1884
130ac68c
SP
1885 * Makeconfig (built-modules): List non-library modules to be
1886 built.
1887 (module-cppflags): Include libc-modules.h for
1888 everything except shlib-versions.v.i.
1889 (CPPFLAGS): Use it.
1890 (before-compile): Add libc-modules.h.
1891 ($(common-objpfx)libc-modules.h,
1892 $(common-objpfx)libc-modules.stmp): New targets.
1893 (common-generated): Add libc-modules.h and libc-modules.stmp.
1894 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1895 * include/libc-symbols.h: Don't include libc-modules.h.
1896 * include/libc-modules.h: Remove file.
1897 * scripts/gen-libc-modules.awk: New script to generate
1898 libc-modules.h.
1899 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1900 Depend on libc-modules.stmp.
1901
286663c3
SP
1902 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1903
9cd47470
SP
1904 * Makeconfig (in-module): Get value of libof set for the
1905 translation unit.
1906 (CPPFLAGS): Use $(in-module).
1907 * Makerules: Don't suffix routine names for nonlib.
1908 * include/libc-modules.h: New file.
1909 * include/libc-symbols.h: Include libc-modules.h
1910 (IS_IN): New macro to replace IS_IN_* macros.
1911 * elf/Makefile: Set libof-* for each routine.
1912 * elf/rtld-Rules: Likewise.
1913 * extra-modules.mk: Likewise.
1914 * iconv/Makefile: Likewise.
1915 * iconvdata/Makefile: Likewise.
1916 * locale/Makefile: Likewise.
1917 * malloc/Makefile: Likewise.
1918 * nss/Makefile: Likewise.
1919 * sysdeps/gnu/Makefile: Likewise.
1920 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1921 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1922 * sysdeps/s390/s390-64/Makefile: Likewise.
1923 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1924 CPPFLAGS for nscd instead of nonlib.
1925
32fed10f
RM
19262014-11-18 Roland McGrath <roland@hack.frob.com>
1927
d71035bd
RM
1928 * nptl/createthread.c: New file.
1929
6540b991
RM
1930 * nptl/createthread.c: Moved ...
1931 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1932
32fed10f
RM
1933 * nptl/createthread.c: Add proper top-line comment.
1934 (do_clone): Folded into ...
1935 (create_thread): ... here. Take new arguments STOPPED_START and
1936 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1937 increment __nptl_threads, do event-reporting logic, do
1938 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1939 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1940 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1941 just send SIGCANCEL.
1942 * nptl/pthread_create.c: Forward-declare create_thread before
1943 including createthread.c.
1944 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1945 declaration, and new macro START_THREAD_SELF to replace argument.
1946 Remove return statement.
1947 (report_thread_creation): New function.
1948 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1949 synchronization logic, and __nptl_nthreads increment here, around
1950 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1951 PD->parent_cancelhandling here, before create_thread. When
1952 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1953 __deallocate_stack, and ENOMEM translation here.
1954
107a5bf0
JM
19552014-11-18 Joseph Myers <joseph@codesourcery.com>
1956
1957 [BZ #17616]
1958 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1959 (mptwo): Rename to __mptwo.
1960 (__inv): Use __mptwo instead of mptwo.
1961 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1962 (mptwo): Rename to __mptwo.
1963 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1964 of mpone and __mptwo instead of mptwo.
1965 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1966 instead of mpone.
1967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1968 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1969 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1970 of mpone and __mptwo instead of mptwo.
1971 (__mpranred): Use __mpone instead of mpone.
1972 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1973 variable.
1974 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1975 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1976 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1977 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1978 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1979 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1980 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1981 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1982 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1983 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1984 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1985 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1986 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1987 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1988 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1989 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1990 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1991 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1992 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1993
3b679ab3
TV
19942014-11-18 Tom de Vries <tom@codesoucery.com>
1995
1996 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1997 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1998
19992014-11-17 Richard Henderson <rth@redhat.com>
2000
2001 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2002 (_FP_PACK_RAW_2): Remove.
2003 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2004 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2005 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2006 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2007 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2008 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2009 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2010 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2011 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2012 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2013 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2014 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2015 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2016 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2017 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2018 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2019
0781a777
RM
20202014-11-14 Roland McGrath <roland@hack.frob.com>
2021
2022 * signal/signal.h [__USE_MISC]
2023 (struct sigvec): Remove type.
2024 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2025 (sigvec): Remove declaration.
2026 * sysdeps/posix/sigvec.c: Moved ...
2027 * signal/sigvec.c: ... here, replacing old file.
2028 (struct sigvec): New type, copied from old signal.h definition.
2029 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2030 (__sigvec): Convert definition to prototype.
2031 (sigvec): Replace weak_alias with compat_symbol.
2032 * signal/Versions (libc: GLIBC_2.21): New version set.
2033 * include/signal.h: Remove __sigvec declaration.
2034 * sysdeps/unix/bsd/sigvec.c: Remove file.
2035 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2036 * manual/signal.texi (BSD Handler): Remove subsection.
2037 Move siginterrupt up to ...
2038 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2039 (Blocking in BSD): Fold subsection into its parent.
2040 * NEWS: Mention sigvec removal.
2041
a4733812
JM
20422014-11-14 Joseph Myers <joseph@codesourcery.com>
2043
5ae4fe60
JM
2044 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2045 (DLA_FMS): Make definition conditional only on [__FMA4__].
2046 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2047 definition.
2048
6a0dd472
JM
2049 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2050 Make definition conditional only on [PROF].
2051 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2052 definition.
2053 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2054 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2055
a4733812
JM
2056 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2057 !__GNUC__].
2058 * include/signal.h (__sigpause): Move declaration above call to
2059 libc_hidden_proto.
2060 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2061 variable.
2062 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2063 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2064
cf7246dd
DM
20652014-11-14 David S. Miller <davem@davemloft.net>
2066
2067 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2068 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2069
c1b0aadc
JM
20702014-11-14 Joseph Myers <joseph@codesourcery.com>
2071
4863355a
JM
2072 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2073 * configure: Regenerated.
2074 * manual/install.texi (Tools for Compilation): Document a
2075 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2076 compiler verified to work.
2077 * INSTALL: Regenerated.
2078
c1b0aadc
JM
2079 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2080 redeclare with asm name.
2081 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2082 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2083 including <string.h>.
2084 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2085 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2086 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2087 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2088 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2089 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2090 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2091
2a1cfd94
JM
20922014-11-13 Joseph Myers <joseph@codesourcery.com>
2093
bf438382
JM
2094 * stdlib/strtol.c (__strtol): Use prototype definition.
2095
2a1cfd94
JM
2096 [BZ #17594]
2097 * stdlib/strtol.c (SYM__): New macro.
2098 (SYM__1): Likewise.
2099 (__strtol): Likewise.
2100 (strtol): Rename to __strtol and define as weak alias of
2101 __strtol. Use libc_hidden_weak.
2102
20ed0d26
SL
21032014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2104
2105 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2106 Use numbered labels in inline assembly.
2107
53244a4e
SL
21082014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2109
2110 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2111 Add setjmp LIBC_PROBE.
2112 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2113 Likewise.
2114 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2115 Add longjmp, longjmp_target LIBC_PROBE.
2116 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2117 Likewise.
2118
47df8251
SL
21192014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2120
2121 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2122 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2123 to get rid of unused variable warning.
2124
618cebef
SL
21252014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2126
2127 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2128 Check for unwind_backtrace == NULL only in SHARED case.
2129 (__backchain_backtrace): Compile only in SHARED case.
2130 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2131 Likewise.
2132 (__backchain_backtrace): Declare as static.
2133
c6aab2cb
RM
21342014-11-12 Roland McGrath <roland@hack.frob.com>
2135
2136 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2137 (__libc_multiple_threads_ptr): Variable moved ...
2138 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2139
5a6fa4d7
JM
21402014-11-12 Joseph Myers <joseph@codesourcery.com>
2141
24f4f825
JM
2142 * conform/GlibcConform.pm: New file.
2143 * conform/conformtest.pl: Use GlibcConform module.
2144 * conform/linknamespace.pl: New file.
2145 * conform/list-header-symbols.pl: Likewise.
2146 * conform/Makefile (linknamespace-symlists-base): New variable.
2147 (linknamespace-symlists-tests): Likewise.
2148 (linknamespace-header-base): Likewise.
2149 (linknamespace-header-tests): Likewise.
2150 (tests-special): Add new tests.
2151 ($(linknamespace-symlists-tests)): New rule.
2152 (linknamespace-libs): New variable.
2153 ($(objpfx)symlist-stdlibs): New rule.
2154 ($(linknamespace-header-tests)): Likewise.
2155 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2156 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2157 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2158 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2159 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2160 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2161 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2162 (test-xfail-ISO/math.h/linknamespace): Likewise.
2163 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2164 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2165 (test-xfail-ISO/time.h/linknamespace): Likewise.
2166 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2167 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2168 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2169 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2170 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2171 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2172 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2173 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2174 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2175 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2176 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2177 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2178 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2179 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2180 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2181 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2182 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2183 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2184 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2185 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2186 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2187 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2188 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2189 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2190 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2191 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2192 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2193 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2194 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2195 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2196 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2197 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2198 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2199 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2200 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2201 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2202 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2203 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2204 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2205 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2206 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2207 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2208 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2209 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2210 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2211 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2212 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2213 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2214 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2215 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2216 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2217 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2218 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2219 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2220 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2221 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2222 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2223 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2224 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2225 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2226 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2227 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2228 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2229 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2230 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2231 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2232 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2233 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2234 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2235 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2236 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2237 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2238 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2239 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2240 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2241 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2242 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2243 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2244 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2245 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2246 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2247 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2248 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2249 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2250 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2251 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2252 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2253 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2254 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2255 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2256 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2257 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2258 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2259 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2260 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2261 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2262 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2263 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2264 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2265 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2266 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2267 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2268 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2269 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2270 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2271 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2272 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2273 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2274 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2275 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2276 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2277 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2278 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2279 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2280 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2281 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2282 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2283 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2284 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2285 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2286 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2287 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2288 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2289 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2290 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2291 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2292 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2293 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2294 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2295 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2296 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2297 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2298 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2299 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2300 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2301 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2302 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2303 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2304 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2305 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2306 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2307 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2308 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2309 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2310 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2311 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2312 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2313 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2314 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2315 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2316
cc67478e
JM
2317 [BZ #17589]
2318 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2319 of fgets_unlocked.
2320
9975e3d3
JM
2321 [BZ #17585]
2322 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2323 (memmem): Rename to __memmem and define as weak alias of
2324 __memmem. Use libc_hidden_weak.
2325 (__memmem): Use libc_hidden_def.
2326 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2327 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2328 memmem.
2329
c4eae752
JM
2330 [BZ #17582]
2331 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2332 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2333 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2334 and define as weak alias of __fgets_unlocked. Use
2335 libc_hidden_weak.
2336 (__fgets_unlocked): Use libc_hidden_def.
2337 * include/stdio.h (__fgets_unlocked): Declare. Use
2338 libc_hidden_proto.
2339 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2340 __fgets_unlocked instead of fgets_unlocked.
2341 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2342 (GET_NPROCS_CONF_PARSER): Likewise.
2343 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2344 (GET_NPROCS_CONF_PARSER): Likewise.
2345
01cad84e
JM
2346 [BZ #17574]
2347 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2348 weak alias of __wmemset. Use libc_hidden_weak.
2349 (__wmemset): Use libc_hidden_def.
2350 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2351 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2352 of wmemset.
2353
939da411
JM
2354 [BZ #17573]
2355 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2356 with asm name __mempcpy.
2357 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2358
293d9a41
JM
2359 [BZ #17572]
2360 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2361 and define as weak alias of __rawmemchr.
2362 (__rawmemchr): Do not define as strong alias of rawmemchr.
2363
bef8fd60
JM
2364 [BZ #17571]
2365 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2366 alias of __qsort_r.
2367 (qsort): Call __qsort_r instead of qsort_r.
2368 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2369 (__qsort_r): Declare. Call libc_hidden_proto.
2370 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2371 instead of qsort_r.
2372 * nscd/gai.c (__qsort_r): Define to qsort_r.
2373 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2374 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2375 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2376
c52ff39e
JM
2377 [BZ #17570]
2378 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2379 define as weak alias of __malloc_info.
2380
2f5c1b00
JM
2381 [BZ #17584]
2382 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2383 as weak alias of __rewinddir. Don't use libc_hidden_def.
2384 (__rewinddir): Use libc_hidden_def.
2385 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2386 as weak alias of __rewinddir. Don't use libc_hidden_def.
2387 (__rewinddir): Use libc_hidden_def.
2388 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2389 weak alias of __rewinddir. Don't use libc_hidden_def.
2390 (__rewinddir): Use libc_hidden_def.
2391 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2392 (__rewinddir): Use libc_hidden_proto.
2393 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2394 rewinddir.
2395 (__getcwd): Use __rewinddir instead of rewinddir.
2396
5a6fa4d7
JM
2397 [BZ #17583]
2398 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2399 alias of __fileno. Use libc_hidden_weak.
2400 (__fileno): Use libc_hidden_def.
2401 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2402 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2403 alias of __ftello.
2404 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2405 __ftello.
2406 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2407 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2408 libc_hidden_def.
2409 (fread_unlocked): Don't use libc_hidden_ver.
2410 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2411 and define as weak alias of __fread_unlocked. Don't use
2412 libc_hidden_def.
2413 (__fread_unlocked): Use libc_hidden_def.
2414 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2415 (ftello): Don't use libc_hidden_proto.
2416 (__ftello): Declare. Use libc_hidden_proto.
2417 (fread_unlocked): Don't use libc_hidden_proto.
2418 (__fread_unlocked): Declare. Use libc_hidden_proto.
2419 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2420 and __ftello instead of fileno, fread_unlocked and ftello.
2421
2581b98e
SP
24222012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2423
2424 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2425 GOT12.
2426 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2427 Likewise.
2428 (_dl_start_user): Likewise.
2429 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2430
533bb7c2
SP
24312014-11-12 Carlos O'Donell <carlos@redhat.com>
2432 Siddhesh Poyarekar <siddhesh@redhat.com>
2433
2434 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2435 Move argv and envp down instead of moving argc up.
2436 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2437
fffa1cf8
LH
24382014-11-12 Leonhard Holz <leonhard.holz@web.de>
2439
2440 [BZ #17506]
2441 * test-skeleton.c (main): Return successful if one of
2442 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2443 * string/tst-strcoll-overflow.c: Define expected status.
2444
fb89b46d
TU
24452014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2446
2447 [BZ #17475]
2448 * locale/iso-639.def: Define Bhili and Tulu language codes.
2449
5c40c3ba
AH
24502014-11-11 Alan Hayward <alan.hayward@arm.com>
2451
2452 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2453
b17fe01b 24542014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
2455
2456 [BZ #17555]
2457 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2458
bd805071
AS
24592014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2460
2461 * configure.ac: Updated check of minimal required version to
2462 2.22.
2463 * manual/install.texi (Tools for Compilation): Updated version
2464 number.
2465 * configure: Regenerated.
2466 * INSTALL: Likewise.
2467
1400983e
AS
24682014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2469
2470 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2471 __tls_get_addr.
2472
2c46a66a
JM
24732014-11-07 Joseph Myers <joseph@codesourcery.com>
2474
2475 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2476 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2477 (__waitpid): Don't define as alias. Use libc_hidden_def not
2478 libc_hidden_weak.
2479 (waitpid): Define as alias of __waitpid.
2480 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2481 __waitpid.
2482 (__waitpid): Don't define as alias. Use libc_hidden_def not
2483 libc_hidden_weak.
2484 (waitpid): Define as alias of __waitpid.
2485 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2486 __libc_waitpid alias.
2487 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2488 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2489 Likewise.
2490 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2491 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2492 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2493 alias.
2494 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2495 __waitpid.
2496 (__waitpid): Don't define as alias. Use libc_hidden_def not
2497 libc_hidden_weak.
2498 (waitpid): Define as alias of __waitpid.
2499
da53d6db
CD
25002014-11-06 Carlos O'Donell <carlos@redhat.com>
2501
a2887bdb
CD
2502 * manual/llio.texi: Add comment that write safety has been
2503 fixed in Linux.
2504
da53d6db
CD
2505 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2506 (localplt-build-dso): Add elf/ld.so.
2507 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2508 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2509 and free for ld.so.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2511 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2513 Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2515 Likewise.
2516 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2517 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2518 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2519 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2520 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2521 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2522 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2523 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2524 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2525 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2526 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2527
9cf27b8d
JM
25282014-11-05 Joseph Myers <joseph@codesourcery.com>
2529
2530 [BZ #14132]
2531 * include/libc-symbols.h (INTUSE): Remove macro.
2532 (INTDEF): Likewise.
2533 (INTVARDEF): Likewise.
2534 (_INTVARDEF): Likewise.
2535 (INTDEF2): Likewise.
2536 (INTVARDEF2): Likewise.
2537 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2538 rtld_hidden_def instead of INTVARDEF.
2539 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2540 (_dl_starting_up_internal): Remove declaration.
2541 (_dl_starting_up): Use rtld_hidden_proto.
2542 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2543 declaration.
2544 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2545 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2546 _dl_starting_up.
2547 * elf/dl-writev.h (_dl_writev): Likewise.
2548 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2549 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2550 _dl_starting_up_internal.
2551
af83568d
AZ
25522014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2553
2554 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2555 test-skeleton.c.
2556
b01ee67c
WN
25572014-11-05 Will Newton <will.newton@linaro.org>
2558
2559 * benchtests/Makefile: (bench-malloc): Add malloc thread
2560 scalability benchmark.
2561 * benchtests/bench-malloc-threads.c: New file.
2562
be9d4ccc
RE
25632014-11-05 Richard Earnshaw <rearnsha@arm.com>
2564
2565 * sysdeps/aarch64/strchrnul.S: New file.
2566
7110166d
AZ
25672014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2568
2569 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2570 definition.
2571 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2572 Likwise.
2573 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2574 Likewise.
2575 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2576 Likewise.
2577 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2578 Likewise.
2579 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2580 Likewise.
2581
25822014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
2583
2584 * catgets/test-gencat.c: Use test-skeleton.c.
2585 * catgets/tst-catgets.c: Likewise.
2586 * csu/tst-empty.c: Likewise.
2587 * elf/tst-audit2.c: Likewise.
2588 * elf/tst-global1.c: Likewise.
2589 * elf/tst-pathopt.c: Likewise.
2590 * elf/tst-piemod1.c: Likewise.
2591 * elf/tst-tls10.c: Likewise.
2592 * elf/tst-tls11.c: Likewise.
2593 * elf/tst-tls12.c: Likewise.
2594 * gnulib/tst-gcc.c: Likewise.
2595 * iconvdata/tst-e2big.c: Likewise.
2596 * iconvdata/tst-loading.c: Likewise.
2597 * iconv/tst-iconv1.c: Likewise.
2598 * iconv/tst-iconv2.c: Likewise.
2599 * inet/test-inet6_opt.c: Likewise.
2600 * inet/tst-gethnm.c: Likewise.
2601 * inet/tst-network.c: Likewise.
2602 * inet/tst-ntoa.c: Likewise.
2603 * intl/tst-codeset.c: Likewise.
2604 * intl/tst-gettext2.c: Likewise.
2605 * intl/tst-gettext3.c: Likewise.
2606 * intl/tst-ngettext.c: Likewise.
2607 * intl/tst-translit.c: Likewise.
2608 * io/test-stat.c: Likewise.
2609 * libio/test-fmemopen.c: Likewise.
2610 * libio/tst-freopen.c: Likewise.
2611 * libio/tst-sscanf.c: Likewise.
2612 * libio/tst-ungetwc1.c: Likewise.
2613 * libio/tst-ungetwc2.c: Likewise.
2614 * libio/tst-widetext.c: Likewise.
2615 * localedata/tst-ctype.c: Likewise.
2616 * localedata/tst-digits.c: Likewise.
2617 * localedata/tst-leaks.c: Likewise.
2618 * localedata/tst-mbswcs1.c: Likewise.
2619 * localedata/tst-mbswcs2.c: Likewise.
2620 * localedata/tst-mbswcs3.c: Likewise.
2621 * localedata/tst-mbswcs4.c: Likewise.
2622 * localedata/tst-mbswcs5.c: Likewise.
2623 * localedata/tst-setlocale.c: Likewise.
2624 * localedata/tst-trans.c: Likewise.
2625 * localedata/tst-wctype.c: Likewise.
2626 * localedata/tst-xlocale1.c: Likewise.
2627 * login/tst-grantpt.c: Likewise.
2628 * malloc/tst-calloc.c: Likewise.
2629 * malloc/tst-malloc.c: Likewise.
2630 * malloc/tst-mallocstate.c: Likewise.
2631 * malloc/tst-mcheck.c: Likewise.
2632 * malloc/tst-mtrace.c: Likewise.
2633 * malloc/tst-obstack.c: Likewise.
2634 * math/atest-exp2.c: Likewise.
2635 * math/atest-exp.c: Likewise.
2636 * math/atest-sincos.c: Likewise.
2637 * math/test-matherr.c: Likewise.
2638 * math/test-misc.c: Likewise.
2639 * math/test-powl.c: Likewise.
2640 * math/tst-definitions.c: Likewise.
2641 * misc/tst-dirname.c: Likewise.
2642 * misc/tst-efgcvt.c: Likewise.
2643 * misc/tst-fdset.c: Likewise.
2644 * misc/tst-hsearch.c: Likewise.
2645 * misc/tst-mntent2.c: Likewise.
2646 * nptl/tst-sem7.c: Likewise.
2647 * nptl/tst-sem8.c: Likewise.
2648 * nptl/tst-sem9.c: Likewise.
2649 * nss/test-netdb.c: Likewise.
2650 * posix/tst-fnmatch.c: Likewise.
2651 * posix/tst-getlogin.c: Likewise.
2652 * posix/tst-gnuglob.c: Likewise.
2653 * posix/tst-mmap.c: Likewise.
2654 * pwd/tst-getpw.c: Likewise.
2655 * resolv/tst-inet_ntop.c: Likewise.
2656 * rt/tst-timer.c: Likewise.
2657 * stdio-common/test-fseek.c: Likewise.
2658 * stdio-common/test-popen.c: Likewise.
2659 * stdio-common/test-vfprintf.c: Likewise.
2660 * stdio-common/tst-cookie.c: Likewise.
2661 * stdio-common/tst-fileno.c: Likewise.
2662 * stdio-common/tst-gets.c: Likewise.
2663 * stdio-common/tst-obprintf.c: Likewise.
2664 * stdio-common/tst-perror.c: Likewise.
2665 * stdio-common/tst-sprintf2.c: Likewise.
2666 * stdio-common/tst-sprintf3.c: Likewise.
2667 * stdio-common/tst-sprintf.c: Likewise.
2668 * stdio-common/tst-swprintf.c: Likewise.
2669 * stdio-common/tst-tmpnam.c: Likewise.
2670 * stdio-common/tst-unbputc.c: Likewise.
2671 * stdio-common/tst-wc-printf.c: Likewise.
2672 * stdlib/tst-environ.c: Likewise.
2673 * stdlib/tst-fmtmsg.c: Likewise.
2674 * stdlib/tst-limits.c: Likewise.
2675 * stdlib/tst-rand48-2.c: Likewise.
2676 * stdlib/tst-rand48.c: Likewise.
2677 * stdlib/tst-random2.c: Likewise.
2678 * stdlib/tst-random.c: Likewise.
2679 * stdlib/tst-strtol.c: Likewise.
2680 * stdlib/tst-strtoll.c: Likewise.
2681 * stdlib/tst-tls-atexit.c: Likewise.
2682 * stdlib/tst-xpg-basename.c: Likewise.
2683 * string/test-ffs.c: Likewise.
2684 * string/tst-bswap.c: Likewise.
2685 * string/tst-inlcall.c: Likewise.
2686 * string/tst-strtok.c: Likewise.
2687 * string/tst-strxfrm.c: Likewise.
2688 * sysdeps/x86_64/tst-audit10.c: Likewise.
2689 * sysdeps/x86_64/tst-audit3.c: Likewise.
2690 * sysdeps/x86_64/tst-audit4.c: Likewise.
2691 * sysdeps/x86_64/tst-audit5.c: Likewise.
2692 * time/tst-ftime_l.c: Likewise.
2693 * time/tst-getdate.c: Likewise.
2694 * time/tst-mktime3.c: Likewise.
2695 * time/tst-mktime.c: Likewise.
2696 * time/tst-posixtz.c: Likewise.
2697 * time/tst-strptime2.c: Likewise.
2698 * time/tst-strptime3.c: Likewise.
2699 * wcsmbs/tst-btowc.c: Likewise.
2700 * wcsmbs/tst-mbrtowc.c: Likewise.
2701 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2702 * wcsmbs/tst-wchar-h.c: Likewise.
2703 * wcsmbs/tst-wcpncpy.c: Likewise.
2704 * wcsmbs/tst-wcrtomb.c: Likewise.
2705 * wcsmbs/tst-wcsnlen.c: Likewise.
2706 * wcsmbs/tst-wcstof.c: Likewise.
2707
2004e7fb
JM
27082014-11-04 Joseph Myers <joseph@codesourcery.com>
2709
ab97ee8f
JM
2710 [BZ #14132]
2711 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2712 INTDEF.
2713 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2714 declaration.
2715 (_dl_mcount): Use rtld_hidden_proto.
2716 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2717 _dl_mcount.
2718 * elf/rtld.c (_rtld_global_ro): Likewise.
2719
c5684fdb
JM
2720 [BZ #14132]
2721 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2722 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2723 of _dl_init_internal.
2724 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2725 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2726 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2727 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2728 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2729 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2730 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2731 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2732 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2733 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2734 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2735 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2736 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2737 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2738 * sysdeps/tile/dl-start.S (_start): Likewise.
2739 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2740 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2741
4243cbea
JM
2742 [BZ #14132]
2743 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2744 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2745 (rtld_progname): Make macro definition unconditional.
2746 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2747 INTDEF.
2748 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2749 (dl_main): Likewise.
2750 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2751 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2752 instead of _dl_argv_internal.
2753 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2754 __GI__dl_argv instead of INTUSE(_dl_argv).
2755 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2756 __GI__dl_argv instead of _dl_argv_internal.
2757
2004e7fb
JM
2758 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2759 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2760 macro.
2761 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2762 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2763 New macro.
2764 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2765 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2766 macro.
2767 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2768 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2769
97827bfc
AS
27702014-11-04 Andreas Schwab <schwab@suse.de>
2771
2772 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2773
5e4df284
AZ
27742014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2775
2776 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2777 mtvsrd instruction in binary form.
2778
04b76b5a
AS
27792014-11-03 Andreas Schwab <schwab@suse.de>
2780
2781 [BZ #17522]
2782 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2783 for less than MB_LEN_MAX use a local buffer of that size.
2784 * libio/tst-fputws.c: New file.
2785 * libio/Makefile (tests): Add tst-fputws.
2786
4c6da7da
JM
27872014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2788
2789 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2790 the size of the fpu_fr.fpu_dregs[] array.
2791
1679ba8e
JM
27922014-11-01 Joseph Myers <joseph@codesourcery.com>
2793
2794 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2795 (__nanosleep): Do not define as alias.
2796 (nanosleep): Define as alias of __nanosleep.
2797 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2798 __libc_nanosleep name.
2799
2626c183
JM
28002014-10-31 Joseph Myers <joseph@codesourcery.com>
2801
2802 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2803 install.texi in comment.
2804
7f981fc2
TR
28052014-10-31 Torvald Riegel <triegel@redhat.com>
2806
2807 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2808 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2809 ... add here and use lwsync or sync ...
2810 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2811 ... and add here using lwsync.
2812
d6f373d2
MF
28132014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2814
2815 * elf/dl-machine-reject-phdr.h: New file.
2816 * elf/dl-load.c: #include that.
2817 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2818 if that returned true.
2819
67c37987
RM
28202014-10-31 Roland McGrath <roland@hack.frob.com>
2821
2822 [BZ #17496]
2823 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2824 gen-as-const-headers chunk. Add a big scare comment after the last
2825 safe place to touch before-compile.
2826
94a42455 28272014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2828
f3f5d895
JM
2829 * manual/install.texi (Tools for Compilation): Update autoconf
2830 version requirements.
2831 * INSTALL: Regenerated.
2832
f62ff286
JM
2833 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2834 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2835 (__libc_pselect): Likewise.
94a42455
JM
2836
2837 [BZ #14138]
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2842
ff9dbdc0
TR
28432014-10-31 Torvald Riegel <triegel@redhat.com>
2844
2845 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2846 correct barrier instruction.
2847 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2848 Likewise.
2849 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2850 Likewise.
2851
b4f66884
RM
28522014-10-30 Roland McGrath <roland@hack.frob.com>
2853
2854 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2855 after defining inlines. Instead, just use parens to defeat macro
2856 expansion of __isctype in its declaration.
2857
e19c95fd
JM
28582014-10-30 Joseph Myers <joseph@codesourcery.com>
2859
2860 * include/sys/uio.h (__libc_readv): Remove declaration.
2861 (__libc_writev): Likewise.
2862 * misc/readv.c (__libc_readv): Rename to __readv.
2863 (__readv): Do not define as alias.
2864 (readv): Define as alias of __readv.
2865 * misc/writev.c (__libc_writev): Rename to __writev.
2866 (__writev): Do not define as alias.
2867 (writev): Define as alias of __writev.
2868 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2869 (__readv): Do not define as alias.
2870 (readv): Define unconditionally as alias of __readv.
2871 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2872 (__writev): Do not define as alias.
2873 (writev): Define unconditionally as alias of __writev.
2874 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2875 name.
2876 (writev): Do not define __libc_writev name.
2877
65b00b6c
RM
28782014-10-30 Roland McGrath <roland@hack.frob.com>
2879
2880 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2881 (convert_charseq): New function, broken out of ...
2882 (use_from_charmap): ... here. Call it.
2883 (use_to_charmap): Use convert_charseq and free instead of duplicating
2884 its code with a variable-length stack struct.
2885
d4e157aa
JM
28862014-10-30 Joseph Myers <joseph@codesourcery.com>
2887
2888 * include/fcntl.h (__libc_creat): Remove declaration.
2889 * io/creat.c (__libc_creat): Rename to creat.
2890 (creat): Do not define as alias.
2891 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2892 of creat instead of __libc_creat.
2893 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2894 to creat.
2895 (creat): Do not define as alias.
2896 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2897 __libc_creat.
2898 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2899 __libc_creat name.
2900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2901 Likewise.
2902
0c6891a0
CD
29032014-10-29 Carlos O'Donell <carlos@redhat.com>
2904
2905 * manual/llio.texi: Add comments discussing why write() may be
2906 considered MT-unsafe on Linux.
2907
cc00cece
CD
29082014-10-28 Carlos O'Donell <carlos@redhat.com>
2909
2910 * dl-load.c (local_strdup): Remove.
2911 (expand_dynamic_string_token): Use __strdup.
2912 (decompose_rpath): Likewise.
2913 (_dl_map_object): Likewise.
2914
51e623f2
JM
29152014-10-28 Joseph Myers <joseph@codesourcery.com>
2916
2917 [BZ #14132]
2918 * sysdeps/generic/unwind-dw2-fde.c
2919 (__register_frame_info_bases_internal): Do not declare.
2920 (__register_frame_info_table_bases_internal): Likewise.
2921 (__deregister_frame_info_bases_internal): Likewise.
2922 (__register_frame_info_bases): Declare and use hidden_proto before
2923 definition. Use hidden_def instead of INTDEF.
2924 (__register_frame_info_table_bases): Likewise.
2925 (__deregister_frame_info_bases): Likewise.
2926 (__register_frame_info): Do not use INTUSE.
2927 (__register_frame): Likewise.
2928 (__register_frame_info_table): Likewise.
2929 (__register_frame_table): Likewise.
2930 (__deregister_frame_info): Likewise.
2931 (__deregister_frame): Likewise.
2932
03d41216
GC
29332014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2934
2935 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2936 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2937 not undefine.
2938 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2939 Likewise.
2940 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2941 Likewise.
2942
a4b3624d
JM
29432014-10-27 Joseph Myers <joseph@codesourcery.com>
2944
2945 [BZ #14138]
2946 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2947 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2948 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2949 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2950 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2951 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2952 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2953 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2954 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2955 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2956 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2957 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2958 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2959 syscall.
2960 (setfsuid): Likewise.
2961 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2962 (setfsuid): Likewise.
2963 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2964 (setfsuid): Likewise.
2965 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2966 Likewise.
2967 (setfsuid): Likewise.
2968 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2969 (setfsuid): Likewise.
2970 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2971 Likewise.
2972 (setfsuid): Likewise.
2973
3574f2fd
AS
29742014-10-27 Andreas Schwab <schwab@suse.de>
2975
2976 [BZ #17501]
2977 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2978 check for Slow_SSE4_2 feature bit.
2979 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2980 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2981 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2982 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2983
70996a37
RM
29842014-10-24 Roland McGrath <roland@hack.frob.com>
2985
461a7b1e
RM
2986 * configure.ac: Validate compiler version with a empirical test of
2987 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2988 $CC -v output.
2989 * configure: Regenerated.
2990
70996a37
RM
2991 * inet/htons.c (htons): Prototypify.
2992 * inet/htonl.c (htonl): Likewise.
2993
e80514b5
WD
29942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2995
2996 * string/strncat.c (strncat): Improve performance by using strlen.
2997
6e46de42
WD
29982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2999
3000 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3001
6a9ad2fa
WD
30022014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3003
3004 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3005 Call libc_fetestexcept_aarch64.
3006
1c8810ed
WD
30072014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3008
3009 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3010 Call libc_feholdexcept_aarch64.
3011
8b1af712
WD
30122014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3013
3014 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3015 Call get_rounding_mode.
3016
a7b00c11
WD
30172014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3018
3019 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3020 Simplify logic.
3021
3a84f1a6
WD
30222014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3023
3024 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3025 Simplify logic.
3026
48eb7a94
JM
30272014-10-24 Joseph Myers <joseph@codesourcery.com>
3028
c8bc4038
JM
3029 [BZ #14138]
3030 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3031 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3032 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3033 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3034 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3035 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3036 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3037 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3038 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3039 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3040 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3041 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3042 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3043 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3044 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3045 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3046 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3047 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3048 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3049 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3050 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3051 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3052 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3053 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3054 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3055 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3056 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3057 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3058 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3059 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3060 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3061 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3062 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3063 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3064 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3065 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3066 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3067 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3069 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3070 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3071 syscall.
3072 (geteuid): Likewise.
3073 (getgid): Likewise.
3074 (getuid): Likewise.
3075 (getresgid): Likewise.
3076 (getresuid): Likewise.
3077 (getgroups): Likewise.
3078 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3079 (geteuid): Likewise.
3080 (getgid): Likewise.
3081 (getuid): Likewise.
3082 (getresgid): Likewise.
3083 (getresuid): Likewise.
3084 (getgroups): Likewise.
3085 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3086 (geteuid): Likewise.
3087 (getgid): Likewise.
3088 (getuid): Likewise.
3089 (getresgid): Likewise.
3090 (getresuid): Likewise.
3091 (getgroups): Likewise.
3092 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3093 Likewise.
3094 (geteuid): Likewise.
3095 (getgid): Likewise.
3096 (getuid): Likewise.
3097 (getresgid): Likewise.
3098 (getresuid): Likewise.
3099 (getgroups): Likewise.
3100 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3101 (geteuid): Likewise.
3102 (getgid): Likewise.
3103 (getuid): Likewise.
3104 (getresgid): Likewise.
3105 (getresuid): Likewise.
3106 (getgroups): Likewise.
3107 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3108 Likewise.
3109 (geteuid): Likewise.
3110 (getgid): Likewise.
3111 (getuid): Likewise.
3112 (getgroups): Likewise.
3113
48eb7a94
JM
3114 [BZ #14138]
3115 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3116 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3117 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3118 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3119 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3120 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3121 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3122 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3123 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3124 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3125 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3126 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3127 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3128 __chown.
3129 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3130 (lchown): Likewise.
3131 (fchown): Likewise.
3132 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3133 Likewise.
3134 (lchown): Likewise.
3135 (fchown): Likewise.
3136 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3137 (lchown): Likewise.
3138 (fchown): Likewise.
3139 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3140 Likewise.
3141 (lchown): Likewise.
3142 (fchown): Likewise.
3143
ea9a7c8b
WD
31442014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3145
3146 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3147 Simplify logic.
3148
e226de33
WD
31492014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3150
3151 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3152 Cleanup logic.
3153
6e3d8ed3
WD
31542014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3155
3156 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3157 Remove unused include.
3158
eb04247d
WD
31592014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3160
3161 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3162 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3163 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3164 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3165
13d84554
CD
31662014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3167 Helge Deller <deller@gmx.de>
3168
3169 [BZ #17508]
3170 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3171 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3172 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3173
15f9c5df
JM
31742014-10-23 Joseph Myers <joseph@codesourcery.com>
3175
3176 [BZ #14132]
3177 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3178 Remove macro definition.
3179 (__ashrdi3_v_glibc20): Likewise.
3180 (__lshrdi3_v_glibc20): Likewise.
3181 (__cmpdi2_v_glibc20): Likewise.
3182 (__ucmpdi2_v_glibc20): Likewise.
3183 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3184 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3185 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3186 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3187 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3188 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3189
c6dfed24
RM
31902014-10-22 Roland McGrath <roland@hack.frob.com>
3191
3192 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3193 old GNU extension [0] syntax.
3194 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3195 alloca rather than an array member with variable length.
3196 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3197 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3198 (parse_opt): ... here. Likewise use alloca there.
3199 Validate the -i argument before checking for rootness.
3200 (send_shutdown): New function, broken out of ...
3201 (parse_opt): ... here.
3202
8c2b1ed8
RM
32032014-10-22 Roland McGrath <roland@hack.frob.com>
3204
3205 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3206 macro to get at the _rt_local_ro field.
3207 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3208 ([PIC] case) or _dl_hwcap ([!PIC] case).
3209 * sysdeps/arm/setjmp.S: Likewise.
3210
3211 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3212 * sysdeps/arm/configure.ac: New check to define it.
3213 * sysdeps/arm/configure: Regenerated.
3214 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3215 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3216 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3217 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3218 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3219 Use move/movt pair instead of a load.
3220 (LDST_GLOBAL): Macro removed.
3221 (LDR_GLOBAL): New macro replaces it.
3222 (LDR_HIDDEN): New macro.
3223 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3224 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3225
3226 * setjmp/tst-setjmp-static.c: New file.
3227 * setjmp/Makefile (tests): Add it.
3228 (tests-static): New variable.
3229
b5af9297
MR
32302014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3231
3232 [BZ #17485]
3233 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3234
a13d0d74
JM
32352014-10-21 Joseph Myers <joseph@codesourcery.com>
3236
3237 [BZ #14132]
3238 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3239
f05e73f6
RM
32402014-10-21 Roland McGrath <roland@hack.frob.com>
3241
3242 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3243
6ab1d1ea
RM
32442014-10-20 Roland McGrath <roland@hack.frob.com>
3245
3246 * io/fts.c (dirent_not_directory): New function.
3247 (fts_build): Call it.
3248
ab49e763
RM
32492014-10-20 Roland McGrath <roland@hack.frob.com>
3250
e436eb79
RM
3251 * nptl/version.c (__nptl_main): Use normal __write rather than
3252 INTERNAL_SYSCALL.
3253 (banner): Update copyright years.
3254
6af246cf
RM
3255 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3256 gettimeofday.
3257 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3258 * nptl/pthread_cond_timedwait.c: Likewise.
3259 * nptl/pthread_mutex_timedlock.c: Likewise.
3260 * nptl/sem_timedwait.c: Likewise.
3261
ab49e763
RM
3262 * sysdeps/nptl/bits/libc-lock.h
3263 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3264 (__libc_lock_init_recursive): Return void, not 0.
3265 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3266 (__libc_rwlock_init): Likewise.
3267 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3268
f50277c1
TR
32692014-10-20 Torvald Riegel <triegel@redhat.com>
3270
3271 [BZ #15215]
3272 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3273 (__pthread_once_slow): ... here.
3274 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3275 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3276
63668b70
TR
32772014-10-20 Torvald Riegel <triegel@redhat.com>
3278
3279 [BZ #15215]
3280 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3281 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3282 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3283 * nptl/pthread_once.c (__pthread_once): Likewise.
3284 Update comments.
3285
42b7f5d4
JM
32862014-10-20 Joseph Myers <joseph@codesourcery.com>
3287
3288 [BZ #14138]
3289 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3290 name.
3291 (writev): Use __libc_writev as strong name.
3292 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3293 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3294
b0643088
RM
32952014-10-17 Roland McGrath <roland@hack.frob.com>
3296
114c4e09
RM
3297 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3298
674b8978
RM
3299 * sysdeps/i386/nptl/tls.h
3300 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3301 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3302 New macros.
3303 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3304 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3305 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3306 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3307 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3308 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3309
184ee940
RM
3310 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3311 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3312 on [__NR_futex].
3313 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3314 broken out of ...
3315 (__pthread_mutex_init): ... here. Call it.
3316 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3317 Conditionalize PI cases on [__NR_futex].
3318 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3319 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3320 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3321
327ae257
RM
3322 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3323 conditional on [SIGSETXID].
3324 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3325 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3326 is defined. Likewise for SIGSETXID.
3327 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3328 Conditionalize definitions on [SIGSETXID].
3329 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3330 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3331 unblocking on [SIGCANCEL].
3332
b0643088
RM
3333 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3334 [__NR_set_robust_list].
3335
33cc770b
SP
33362014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3337
3338 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3339 (do_compare): Likewise.
3340
0742aef6
LH
33412014-10-17 Leonhard Holz <leonhard.holz@web.de>
3342
3343 [BZ #15884]
3344 * string/strcoll_l.c: Don't include stdio.h.
3345 (coll_seq): Remove members idxarr and rulearr.
3346 (get_next_seq_cached): Remove function.
3347 (get_next_seq): Likewise.
3348 (get_next_seq_nocache): Rename to get_next_seq.
3349 (do_compare): Remove function.
3350 (do_compare_nocache): Rename to do_compare.
3351 (STRCOLL): Remove weight and rules cache.
3352
ee54ce44
RM
33532014-10-16 Roland McGrath <roland@hack.frob.com>
3354
3355 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3356 * sysdeps/arm/sfp-machine.h: ... to here.
3357 * sysdeps/arm/Implies: Remove arm/soft-fp.
3358
a75d3b02
JM
33592014-10-14 Joseph Myers <joseph@codesourcery.com>
3360
3361 * conform/data/sys/utsname.h-data (*_t): Allow.
3362 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3363 [POSIX] (WEXITED): Do not expect constant.
3364 [POSIX] (WSTOPPED): Likewise.
3365 [POSIX] (WNOHANG): Likewise.
3366 [POSIX] (WNOWAIT): Likewise.
3367 [POSIX] (siginfo_t): Do not expect type or elements.
3368 [POSIX] (pid_t): Do not expect type.
3369 [POSIX] (signal.h): Do not allow header.
3370 [POSIX] (sys/resource.h): Likewise.
3371 [POSIX] (si_*): Do not allow pattern.
3372 [POSIX] (W*): Likewise.
3373 [POSIX] (P_*): Likewise.
3374 [POSIX] (BUS_*): Likewise.
3375 [POSIX] (CLD_*): Likewise.
3376 [POSIX] (FPE_*): Likewise.
3377 [POSIX] (ILL_*): Likewise.
3378 [POSIX] (POLL_*): Likewise.
3379 [POSIX] (SEGV_*): Likewise.
3380 [POSIX] (SI_*): Likewise.
3381 [POSIX] (TRAP_*): Likewise.
3382 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3383 variable.
3384
fda389c8
SP
33852014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3386
3387 [BZ #12926]
3388 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3389 infinite loop when __recvmsg returns 0.
3390
6bc6bd3b
JM
33912014-10-10 Joseph Myers <joseph@codesourcery.com>
3392
fcb32af1
JM
3393 * CANCEL-FCT-WAIVE: Remove file.
3394 * CANCEL-FILE-WAIVE: Likewise.
3395
6bc6bd3b
JM
3396 [BZ #14132]
3397 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3398 instead of INTVARDEF.
3399 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3400 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3401 rtld_hidden_data_def instead of INTVARDEF.
3402 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3403 * elf/dl-deps.c (expand_dst): Likewise.
3404 * elf/dl-load.c (_dl_dst_count): Likewise.
3405 (_dl_dst_substitute): Likewise.
3406 (decompose_rpath): Likewise.
3407 (_dl_init_paths): Likewise.
3408 (open_path): Likewise.
3409 (_dl_map_object): Likewise.
3410 * elf/rtld.c (dl_main): Likewise.
3411 (process_dl_audit): Likewise.
3412 (process_envvars): Likewise.
3413 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3414 Remove declaration.
3415 (__libc_enable_secure): Use rtld_hidden_proto.
3416
b8c80a7e
KS
34172014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3418
3419 * elf/dl-load.c
3420 (add_path): New function broken out of _dl_rtld_di_serinfo.
3421 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3422
ff12c11f
JM
34232014-10-09 Joseph Myers <joseph@codesourcery.com>
3424
5c0508a3
JM
3425 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3426 parentheses around macro arguments.
3427 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3428 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3429 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3430 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3431 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3432 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3433 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3435 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3437 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3438 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3439 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3440 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3441 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3442 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3443 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3444 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3445 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3447 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3448 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3449 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3450 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3451 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3452 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3453 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3455 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3456 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3457 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3458 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3459 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3460 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3461 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3462 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3463 Likewise.
3464 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3465 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3466 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3467 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3468 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3469 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3470 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3471 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3472 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3473 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3474 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3475 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3476 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3477 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3478 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3479 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3480 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3481 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3482 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3483 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3484 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3485 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3486 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3487 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3488 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3489 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3490 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3491 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3492 (_FP_FRAC_SRS_1): Likewise.
3493 (_FP_FRAC_CLZ_1): Likewise.
3494 (_FP_MUL_MEAT_1_imm): Likewise.
3495 (_FP_MUL_MEAT_1_wide): Likewise.
3496 (_FP_MUL_MEAT_1_hard): Likewise.
3497 (_FP_SQRT_MEAT_1): Likewise.
3498 (_FP_FRAC_ASSEMBLE_1): Likewise.
3499 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3500 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3501 (__FP_CLZ_2): Likewise.
3502 (_FP_MUL_MEAT_2_wide): Likewise.
3503 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3504 (_FP_MUL_MEAT_2_gmp): Likewise.
3505 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3506 (_FP_SQRT_MEAT_2): Likewise.
3507 (_FP_FRAC_ASSEMBLE_2): Likewise.
3508 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3509 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3510 (_FP_FRAC_CLZ_4): Likewise.
3511 (_FP_MUL_MEAT_4_wide): Likewise.
3512 (_FP_MUL_MEAT_4_gmp): Likewise.
3513 (_FP_SQRT_MEAT_4): Likewise.
3514 (_FP_FRAC_ASSEMBLE_4): Likewise.
3515 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3516 * soft-fp/op-common.h (_FP_CMP): Likewise.
3517 (_FP_CMP_EQ): Likewise.
3518 (_FP_CMP_UNORD): Likewise.
3519 (_FP_TO_INT): Likewise.
3520 (_FP_FROM_INT): Likewise.
3521 [!__FP_CLZ] (__FP_CLZ): Likewise.
3522 (_FP_DIV_HELP_imm): Likewise.
3523 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3524 Likewise.
3525 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3526 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3527 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3528 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3529 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3530 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3531 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3532 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3533 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3534 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3535 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3536 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3537 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3538 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3539 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3540 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3541 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3542 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3543 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3544 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3545 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3546 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3547 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3548 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3549 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3550 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3551 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3552 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3553 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3554 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3555 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3556 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3557 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3558 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3559 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3560 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3561 (FP_UNPACK_RAW_SP): Likewise.
3562 (FP_PACK_RAW_S): Likewise.
3563 (FP_PACK_RAW_SP): Likewise.
3564 (FP_UNPACK_S): Likewise.
3565 (FP_UNPACK_SP): Likewise.
3566 (FP_UNPACK_SEMIRAW_S): Likewise.
3567 (FP_UNPACK_SEMIRAW_SP): Likewise.
3568 (FP_PACK_S): Likewise.
3569 (FP_PACK_SP): Likewise.
3570 (FP_PACK_SEMIRAW_S): Likewise.
3571 (FP_PACK_SEMIRAW_SP): Likewise.
3572 (_FP_SQRT_MEAT_S): Likewise.
3573 (FP_CMP_S): Likewise.
3574 (FP_CMP_EQ_S): Likewise.
3575 (FP_CMP_UNORD_S): Likewise.
3576 (FP_TO_INT_S): Likewise.
3577 (FP_FROM_INT_S): Likewise.
3578
a736ec37
JM
3579 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3580
ff12c11f
JM
3581 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3582 (FP_EX_INVALID_IMZ): Likewise.
3583 (FP_EX_INVALID_IMZ_FMA): Likewise.
3584 (FP_EX_INVALID_ISI): Likewise.
3585 (FP_EX_INVALID_ZDZ): Likewise.
3586 (FP_EX_INVALID_IDI): Likewise.
3587 (FP_EX_INVALID_SQRT): Likewise.
3588 (FP_EX_INVALID_CVI): Likewise.
3589 (FP_EX_INVALID_VC): Likewise.
3590 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3591 "invalid" exceptions.
3592 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3593 (_FP_ADD_INTERNAL): Likewise.
3594 (_FP_MUL): Likewise.
3595 (_FP_FMA): Likewise.
3596 (_FP_DIV): Likewise.
3597 (_FP_CMP_CHECK_NAN): Likewise.
3598 (_FP_SQRT): Likewise.
3599 (_FP_TO_INT): Likewise.
3600 (FP_EXTEND): Likewise.
3601
b6dcfe8c
AM
36022014-10-09 Allan McRae <allan@archlinux.org>
3603
3604 * po/fr.po: Update French translation from translation project.
3605
2d6a47ba
JM
36062014-10-09 Joseph Myers <joseph@codesourcery.com>
3607
cb831245
JM
3608 [BZ #14132]
3609 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3610 of INTDEF.
3611 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3612 (__cxa_atexit): Use libc_hidden_proto.
3613 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3614
5deeb190
JM
3615 [BZ #14132]
3616 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3617 declaration.
3618 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3619 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3620 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3621 [!_ISOMAC] (__iswctype_internal): Likewise.
3622 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3623 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3624 alias.
3625 (fcntl): Remove __fcntl_internal alias.
3626 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3627 __connect_internal alias.
3628 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3629 Likewise.
3630
454ac701
JM
3631 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3632 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3633 FP_DENORM_ZERO.
3634 (_FP_CHECK_FLUSH_ZERO): New macro.
3635 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3636 (_FP_CMP): Likewise.
3637 (_FP_CMP_EQ): Likewise.
3638 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3639 FP_DENORM_ZERO.
3640 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3641 (FP_TRUNC): Likewise.
3642
0022e688
JM
3643 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3644 treated as invalid conversion, not as normal exponent.
3645
73e28d9c
JM
3646 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3647 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3648 (_FP_CMP_EQ): Likewise.
3649 (_FP_CMP_UNORD): Likewise.
3650 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3651 (FP_CMP_EQ_D): Likewise.
3652 (FP_CMP_UNORD_D): Likewise.
3653 * soft-fp/extended.h (FP_CMP_E): Likewise.
3654 (FP_CMP_EQ_E): Likewise.
3655 (FP_CMP_UNORD_E): Likewise.
3656 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3657 (FP_CMP_EQ_Q): Likewise.
3658 (FP_CMP_UNORD_Q): Likewise.
3659 * soft-fp/single.h (FP_CMP_S): Likewise.
3660 (FP_CMP_EQ_S): Likewise.
3661 (FP_CMP_UNORD_S): Likewise.
3662 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3663 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3664 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3665 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3666 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3667 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3668 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3669 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3670 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3671 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3672 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3673 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3674 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3675 to FP_CMP_Q.
3676 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3677 FP_CMP_Q.
3678 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3679 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3680 FP_CMP_EQ_Q.
3681 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3682 FP_CMP_Q.
3683 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3684 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3685 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3686 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3687 FP_CMP_EQ_Q.
3688 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3689 FP_CMP_Q.
3690 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3691 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3692 FP_CMP_EQ_Q.
3693 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3694 FP_CMP_Q.
3695 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3696 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3697 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3698 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3699 FP_CMP_EQ_Q.
3700
43059f42
JM
3701 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3702 a subnormal result, set the underflow exception if trapping on
3703 underflow is enabled.
3704 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3705 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3706 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3707 redefine to 0.
3708 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3709 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3710 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3711 * soft-fp/extendxftf2.c (__extendxftf2): Use
3712 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3713
2d6a47ba
JM
3714 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3715 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3716 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3717 FP_HANDLE_EXCEPTIONS.
3718 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3719 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3720 FP_HANDLE_EXCEPTIONS.
3721 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3722 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3723 FP_HANDLE_EXCEPTIONS.
3724 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3725 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3726 FP_HANDLE_EXCEPTIONS.
3727
620f462e
JM
37282014-10-08 Joseph Myers <joseph@codesourcery.com>
3729
3730 [BZ #14132]
3731 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3732 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3733 use INTUSE.
3734 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3735 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3736 Remove alias.
3737 (__adjtimex): Define using libc_hidden_ver.
3738 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3739 Remove declaration.
3740 (ntp_gettime): Call __adjtimex directly.
3741 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3742 Remove declaration.
3743 (ntp_gettimex): Call __adjtimex directly.
3744 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3745 __adjtimex_internal alias.
3746
c763c5d2
RM
37472014-10-08 Roland McGrath <roland@hack.frob.com>
3748
3749 [BZ #17460]
3750 * nscd/nscd.c (more_help): Rewrite list of tables collection
3751 using xstrdup and asprintf.
3752
3753 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3754
7b8fb2b8
RM
37552014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3756 Roland McGrath <roland@hack.frob.com>
3757
3758 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3759 (do_lookup_unique): ... local function 'enter' here; update callers.
3760
abb280f7
JM
37612014-10-06 Joseph Myers <joseph@codesourcery.com>
3762
f7b42517
JM
3763 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3764 compat_symbol calls on [SHARED].
3765 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3766 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3767 Remove.
3768 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3769 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3770 (oldsetrlimit): Remove.
3771 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3773 (lchown): New syscall entry.
3774 (oldsetrlimit): Remove.
3775 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3777 (oldsetrlimit): Remove.
3778 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3779
abb280f7
JM
3780 [BZ #14138]
3781 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3782 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3783 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3784 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3785 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3786 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3787 (fchown): Likewise.
3788 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3789 (fchown): Likewise.
3790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3791 Likewise.
3792
47d46237
AZ
37932014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3794
3795 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3796 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3797 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3798 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3799 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3800 Likewise.
3801 (__old_sem_post): Likewise.
3802
38032014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3804
845a7343
CM
3805 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3806 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3807 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3808 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3809 Use INLINE_VSYSCALL macro.
3810 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3811 __vdso_clock_gettime.
3812 * sysdeps/unix/sysv/linux/tile/init-first.c
3813 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3814 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3815 __vdso_clock_gettime.
3816
83d641ef
CM
3817 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3818 to set up frame more cleanly.
3819
d9cd52e6
CM
3820 * sysdeps/tile/memcmp.c: New file.
3821
4b68ea11
CM
3822 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3823
c86f7b80
CM
3824 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3825 * sysdeps/tile/tilegx/strcasestr.c: New file.
3826 * sysdeps/tile/tilegx/strnlen.c: New file.
3827 * sysdeps/tile/tilegx/strstr.c: New file.
3828
1c4c1a6f
CM
3829 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3830
99d86ea3
AS
38312014-10-06 Arjun Shankar <arjun.is@lostca.se>
3832
3833 * nptl/tst-setuid3.c: Write errors to stdout.
3834
06210a44
KS
38352014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3836
3837 * elf/dl-deps.c
3838 (preload): New functions broken out of _dl_map_object_deps.
3839 (_dl_map_object_deps): Remove a nested function. Update call sites.
3840
6268f532
JM
38412014-10-01 Joseph Myers <joseph@codesourcery.com>
3842
3843 [BZ #14138]
3844 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3845 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3846
b925285f
SE
38472014-10-01 Steve Ellcey <sellcey@mips.com>
3848
3849 * sysdeps/mips/strcmp.S: New.
3850
754a15c6
JM
38512014-09-30 Joseph Myers <joseph@codesourcery.com>
3852
3853 [BZ #14138]
3854 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3855 (linkat): Likewise.
3856 (mkdirat): Likewise.
3857 (readlinkat): Likewise.
3858 (renameat): Likewise.
3859 (symlinkat): Likewise.
3860 (unlinkat): Likewise.
3861 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3862 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3863 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3864 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3865 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3866 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3867 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3868
85bb81c9
WN
38692014-09-30 Will Newton <will.newton@linaro.org>
3870
dc6fe23b
WN
3871 * math/math.h: Define long double math functions if
3872 _LIBC_TEST is defined.
3873 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3874
85bb81c9
WN
3875 * localedata/Makefile: Move assignment to tests-special
3876 into an ifdef testing run-built-tests.
3877 * timezone/Makefile: Likewise.
3878
b7e02da4
JM
38792014-09-29 Joseph Myers <joseph@codesourcery.com>
3880
3881 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3882 with $(BASH) not $(SHELL).
3883
62058ce6
CD
38842014-09-29 Carlos O'Donell <carlos@redhat.com>
3885 Matthew LeGendre <legendre1@llnl.gov>
3886
3887 [BZ #17411]
3888 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3889 l_reloc_result.
3890
8e257a29
KS
38912014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3892
3893 * stdio-common/printf_fp.c
3894 (hack_digit): New function, broken out of ...
3895 (__printf_fp): ... local function here. Update call sites.
3896 hack_digit now takes an additional parameter that is a pointer
3897 to a struct of the referenced locals. Those locals moved inside
3898 the struct and references updated.
3899
f4a58f0d
L
39002014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3901
3902 * aclocal.m4: Require autoconf 2.69.
3903 * configure: Regenerated.
3904 * sysdeps/aarch64/configure: Likewise.
3905 * sysdeps/alpha/configure: Likewise.
3906 * sysdeps/arm/armv7/configure: Likewise.
3907 * sysdeps/arm/configure: Likewise.
3908 * sysdeps/ia64/configure: Likewise.
3909 * sysdeps/mach/configure: Likewise.
3910 * sysdeps/mips/configure: Likewise.
3911 * sysdeps/s390/configure: Likewise.
3912 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3914
3915 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3916 file.
3917 * sysdeps/ia64/configure.ac: Likewise.
3918
93ae1eba
JM
39192014-09-26 Joseph Myers <joseph@codesourcery.com>
3920
1810d3ab
JM
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3922 specify symbol version for ld.so. Do not include entry for
3923 libpthread.
3924 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3926 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3927
93ae1eba
JM
3928 [BZ #14171]
3929 * Makeconfig [$(build-shared) = yes]
3930 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3931 makefiles.
3932 [$(build-shared) = yes && $(soversions.mk-done) = t]
3933 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3934 [$(build-shared) = yes && $(soversions.mk-done) = t]
3935 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3936 to Makerules.
3937 [$(build-shared) = yes && $(soversions.mk-done) = t]
3938 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3939 here.
3940 [$(build-shared) = yes && $(soversions.mk-done) = t]
3941 (common-generated): Don't append gnu/lib-names.h and
3942 gnu/lib-names.stmp here.
3943 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3944 (lib-names-h-abi): New variable.
3945 [$(build-shared) = yes && $(soversions.mk-done) = t]
3946 (lib-names-stmp-abi): Likewise.
3947 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3948 abi-variants] (before-compile): Append
3949 $(common-objpfx)$(lib-names-h-abi).
3950 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3951 abi-variants] (common-generated): Append gnu/lib-names.h.
3952 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3953 abi-variants] (install-others-nosubdir): Depend on
3954 $(inst_includedir)/$(lib-names-h-abi).
3955 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3956 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3957 [$(build-shared) = yes && $(soversions.mk-done) = t]
3958 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3959 [$(build-shared) = yes && $(soversions.mk-done) = t]
3960 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3961 [$(build-shared) = yes && $(soversions.mk-done) = t]
3962 (common-generated): Append $(lib-names-h-abi) and
3963 $(lib-names-stmp-abi).
3964 * scripts/lib-names.awk: Do not handle multi being set.
3965 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3966 Remove variable.
3967 (abi-lp64_be-ld-soname): Likewise.
3968 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3969 Likewise.
3970 (abi-hard-ld-soname): Likewise.
3971 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3972 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3973 Remove variable.
3974 (abi-o32_hard-ld-soname): Likewise.
3975 (abi-o32_soft_2008-ld-soname): Likewise.
3976 (abi-o32_hard_2008-ld-soname): Likewise.
3977 (abi-n32_soft-ld-soname): Likewise.
3978 (abi-n32_hard-ld-soname): Likewise.
3979 (abi-n32_soft_2008-ld-soname): Likewise.
3980 (abi-n32_hard_2008-ld-soname): Likewise.
3981 (abi-n64_soft-ld-soname): Likewise.
3982 (abi-n64_hard-ld-soname): Likewise.
3983 (abi-n64_soft_2008-ld-soname): Likewise.
3984 (abi-n64_hard_2008-ld-soname): Likewise.
3985 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3986 Likewise.
3987 (abi-64-v2-ld-soname): Likewise.
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3989 ld.so entries.
3990 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3991 variable.
3992 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3993 entry.
3994 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3995 variable.
3996 (abi-64-ld-soname): Likewise.
3997 (abi-x32-ld-soname): Likewise.
3998 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3999 entry.
4000 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4001
68870f12
JM
40022014-09-23 Joseph Myers <joseph@codesourcery.com>
4003
4004 [BZ #14138]
4005 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4006 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4007 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4008 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4009 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4010 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4011 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4012 syscall entry for GLIBC_2.2 symbol version.
4013 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4014 Likewise.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4016 (setrlimit): Likewise.
4017 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4018 Likewise.
4019
ea58f202
WN
40202014-09-23 Will Newton <will.newton@linaro.org>
4021
4022 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4023 _LINUX_ARM_SYSDEP_H include guard too.
4024 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4025 define.
4026
69eb9a18
RV
40272014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4028
4029 * sysdeps/unix/sysv/linux/eventfd.c:
4030 Make first argument unsigned.
4031 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4032 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4033
20e5a5f7
OB
40342014-09-20 Ondřej Bílka <neleai@seznam.cz>
4035
4036 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4037 * socket/sys/socket.h: Likewise
4038 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4039
d3c827e7
AK
40402014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4041
4042 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4043
fe1cc35a
AS
40442014-09-17 Arjun Shankar <arjun.is@lostca.se>
4045
4046 * time/tst-ftime.c: New test.
4047 * time/Makefile (tests): Add tst-ftime.
4048
4e8afe69
JM
40492014-09-17 Joseph Myers <joseph@codesourcery.com>
4050
c4fe3ea7
JM
4051 * soft-fp/extended.h: Fix comment formatting.
4052 * soft-fp/op-1.h: Likewise.
4053 * soft-fp/op-2.h: Likewise.
4054 * soft-fp/op-4.h: Likewise.
4055 * soft-fp/op-8.h: Likewise.
4056 * soft-fp/op-common.h: Likewise.
4057 * soft-fp/soft-fp.h: Likewise.
4058
4e8afe69
JM
4059 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4060
af296fcd
JM
40612014-09-16 Joseph Myers <joseph@codesourcery.com>
4062
4063 [BZ #6652]
4064 * Makeconfig (soversions-default-setname): Remove variable.
4065 ($(common-objpfx)soversions.i): Don't pass default_setname to
4066 soversions.awk.
4067 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4068 oldest_abi to abi-versions.awk.
4069 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4070 * config.make.in (oldest-abi): Remove variable.
4071 * configure.ac (--enable-oldest-abi): Remove configure option.
4072 * configure: Regenerated.
4073 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4074 text.
4075 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4076 * scripts/soversions.awk: Do not handle default_setname variable.
4077 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4078 variable.
4079 * sysdeps/mach/hurd/configure: Regenerated.
4080 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4081 variable.
4082 * sysdeps/unix/sysv/linux/configure: Regenerated.
4083
545583d6
SP
40842014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4085
d330b980
SP
4086 * elf/Makefile (CFLAGS-interp.c): Remove.
4087 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4088 path string.
4089 * elf/interp.c: Include generated runtime-linker.h
4090
02657da2
SP
4091 * Makerules (lib%.so): Don't include $(+interp) in
4092 prerequisites.
4093 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4094 * dlfcn/eval.c: Remove file.
4095
653b1080
SP
4096 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4097 macros.
4098
602f80ec
SP
4099 [BZ #17266]
4100 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4101 4.2 and newer.
4102
545583d6
SP
4103 [BZ #17370]
4104 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4105
884ddc50
SP
41062014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4107 Jakub Jelinek <jakub@redhat.com>
4108
4109 [BZ #17266]
4110 * libio/stdio.h: Check definition of __fortify_function
4111 instead of __extern_always_inline to include bits/stdio2.h.
4112 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4113 check if __extern_always_inline is defined.
4114 [__USE_MISC || __USE_XOPEN]: Likewise.
4115 [__USE_ISOC99] Likewise.
4116 * misc/sys/cdefs.h (__fortify_function): Define only if
4117 __extern_always_inline is defined.
4118 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4119 __extern_always_inline and __extern_inline only for g++-4.3
4120 and newer or a compatible gcc.
4121
a7b87268
AS
41222014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4123
4124 [BZ #17371]
4125 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4126 last change to handle zero prefix length.
4127
3f41521d
SP
41282014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4129
61fe374a
SP
4130 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4131 _SC_REGEX_VERSION.
4132
3f41521d
SP
4133 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4134 _POSIX_RAW_SOCKETS.
4135
d8f879ee
AM
41362014-09-13 Allan McRae <allan@archlinux.org>
4137
4138 * po/ru.po: Update Russian translation from translation project.
4139
c079afb7
RM
41402014-09-12 Roland McGrath <roland@hack.frob.com>
4141
a62b3c15
RM
4142 * locale/programs/locale.c (show_locale_vars): Inline local function
4143 into its sole call site. Clean up some style nits.
4144 (print_item): New function, broken out of ...
4145 (show_info): ... local function here. Clean up style nits.
4146
d7e49b19
RM
4147 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4148 out of ...
4149 (set_class_defaults): ... local function set_default here.
4150 Define set_default as a macro locally to pass constant parameters.
4151 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4152 rather than a shared local.
4153
c079afb7
RM
4154 * stdlib/rpmatch.c (try): New function, broken out of ...
4155 (rpmatch): ... local function here. Also, prototypify definition.
4156
0bd72468
JM
41572014-09-12 Joseph Myers <joseph@codesourcery.com>
4158
ba90e050
JM
4159 * scripts/soversions.awk: Do not handle configuration names.
4160 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4161 vendor and os variables to soversions.awk.
4162 * configure.ac: Do not modify gnu-* host_os.
4163 * configure: Regenerated
4164 * shlib-versions: Remove first column with configuration names.
4165 * nptl/shlib-versions: Likewise.
4166 * nptl_db/shlib-versions: Likewise.
4167 * sysdeps/hppa/shlib-versions: Likewise.
4168 * sysdeps/m68k/shlib-versions: Likewise.
4169 * sysdeps/mach/hurd/shlib-versions: Likewise.
4170 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4171 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4172 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4173 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4174 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4175 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4176 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4177 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4179 Likewise.
4180 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4181 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4182 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4183 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4184 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4185 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4186 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4187 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4188
73a39112
JM
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4190 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4192 Regenerated.
4193 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4195 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4196
c729e7c1
JM
4197 * shlib-versions: Remove OS-specific entries. Moved to files in
4198 sysdeps.
4199 * sysdeps/mach/hurd/shlib-versions: New file.
4200 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4201
dc932a24
JM
4202 * nptl/shlib-versions: Remove architecture-specific entries.
4203 Moved to files in sysdeps.
4204 * shlib-versions: Likewise.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4206 file.
4207 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4208 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4209 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4210 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4211
0bd72468
JM
4212 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4213 (UDP_NO_CHECK6_RX): Likewise.
4214
920238e0
SP
42152014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4216
4217 * sysdeps/posix/sysconf.c (__sysconf): Spell
4218 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4219
ba7b4d29
FW
42202014-08-12 Florian Weimer <fweimer@redhat.com>
4221
4222 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4223 loading.
4224 * iconv/Versions (__gconv_transliterate): Export for use from
4225 gconv modules.
4226 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4227 (struct __gconv_trans_data, __gconv_trans_fct,
4228 __gconv_trans_context_fct, __gconv_trans_query_fct,
4229 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4230 definitions.
4231 (struct __gconv_step_data): Remove __trans member.
4232 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4233 longer hidden. Remove unused trans_data argument.
4234 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4235 (__gconv_translit_find): Remove declaration.
4236 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4237 prototype.
4238 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4239 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4240 trans_data argument. Add hidden definition.
4241 (__gconv_translit_find): Remove.
4242 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4243 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4244 * iconv/skeleton.c: Remove transliteration initialization.
4245 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4246 __gconv_step_data initialization.
4247 * libio/iofwide.c (__libio_translit_): Remove.
4248 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4249 * wcsmbs/btowc.c (__btowc): Likewise.
4250 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4251 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4252 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4253 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4254 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4255 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4256 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4257 * wcsmbs/wctob.c (wctob): Likewise.
4258
5379aebd
SP
42592014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
4261 [BZ #16194]
4262 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4263 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4264 register usage.
4265 * sysdeps/x86/Makefile: Adjust.
4266
8c0ab919
RM
42672014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4268 Roland McGrath <roland@hack.frob.com>
4269
4270 * locale/weight.h: Add include guard.
4271 (findidx): Make static rather than auto; take new parameters
4272 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4273 * locale/weightwc.h: Likewise.
4274 * posix/fnmatch_loop.c
4275 (FCT): Change type of EXTRA from int32_t to wint_t.
4276 Don't include either header inside the function.
4277 Call FINDIDX rather than findidx, and pass new arguments.
4278 #undef FINDIDX at the end of the file.
4279 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4280 FINDIDX before including fnmatch_loop.c for the non-wide version.
4281 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4282 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4283 for the wide version.
4284 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4285 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4286 Pass new arguments to findidx.
4287 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4288 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4289 Don't #include it inside the function. Pass new arguments to findidx.
4290 * posix/regex_internal.h
4291 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4292 (re_string_elem_size_at): Don't #include it inside the function.
4293 Pass new arguments to findidx.
4294 * string/strcoll_l.c: #include WEIGHT_H at top level.
4295 (get_next_seq): Don't #include it inside the function.
4296 Pass new arguments to findidx.
4297 (get_next_seq_nocache): Likewise.
4298 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4299 (STRXFRM): Don't #include it inside the function.
4300 Pass new arguments to findidx.
4301
52ffbdf2
FW
43022014-09-11 Florian Weimer <fweimer@redhat.com>
4303
4304 [BZ #17344]
4305 * malloc/malloc.c (unlink): Turn asserts into a call to
4306 malloc_printerr.
4307
984c0ea9
TL
43082014-09-11 Tim Lammens <tim.lammens@gmail.com>
4309
4310 [BZ #17370]
4311 * libio/wfileops (do_ftell_wide): Free OUT.
4312
3daee107
CM
43132014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4314
4315 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4316
58b930ae
SP
43172014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4318
4319 [BZ #17363]
4320 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4321 group if the current group is empty.
4322
3b473fec
AZ
43232014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4324
71ae8647
AZ
4325 * benchtests/bench-memset.c (test_main): Add more test from size
4326 from 32 to 512 bytes.
4327 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4328 Add POWER8 memset object.
4329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4330 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4331 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4332 implementation.
4333 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4334 Likewise.
4335 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4336 multiarch POWER8 memset optimization.
4337 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4338 POWER8 memset optimization.
4339
3b473fec
AZ
4340 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4341 Remove bzero multiarch objects.
4342 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4343 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4344 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4345 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4346 Remove define.
4347 [__bzero]: Redefine to specific name.
4348 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4349 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4350 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4351 define.
4352 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4353 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4354
e6fb9587
FW
43552014-09-10 Florian Weimer <fweimer@redhat.com>
4356
4357 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4358 warnings into errors.
4359
4360 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4361 __cxa_thread_atexit_impl prototype.
4362
9d3a350b
SE
43632014-09-09 Steve Ellcey <sellcey@mips.com>
4364
4365 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4366 Fix capitalization of error message.
4367
0febba23
SE
43682014-09-09 Steve Ellcey <sellcey@mips.com>
4369
4370 * sysdeps/mips/preconfigure: Modify ABI tests.
4371
645a0e9c
CD
43722014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4373
4374 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4375
d83f0734
CD
43762014-09-07 Roland McGrath <roland@hack.frob.com>
4377 Carlos O'Donell <carlos@systemhalted.org>
4378
4379 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4380 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4381 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4382 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4383 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4384 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4385 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4386 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4387 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4388 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4389 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4390 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4391 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4392 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4393 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4394 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4395 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4396 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4397 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4398 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4399 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4400 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4401 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4402 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4403 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4404 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4405 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4406 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4407 Deconditionalize the code that was previously under [RESET_PID].
4408 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4409 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4410 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4411 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4412 include sysdep.h.
4413
21c83793
AM
44142014-09-08 Allan McRae <allan@archlinux.org>
4415
4416 * version.h (RELEASE): Set to "development".
4417 (VERSION): Set to "2.20.90"
4418
1cd9b65c
AM
44192014-09-07 Allan McRae <allan@archlinux.org
4420
b8079dd0
AM
4421 * version.h (RELEASE): Set to "stable".
4422 (VERSION): Set to "2.20"
4423 * include/features.h (__GLIBC_MINOR__): Set to 20.
4424
c46303ef
AM
4425 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4426 Liebler.
4427
1cd9b65c
AM
4428 * po/ko.po: Update Korean translation from translation project.
4429
8622092d
CM
44302014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4431
4432 [BZ #17354]
4433 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4434 macro for handling signed relocations.
4435
41488498
FW
44362014-09-03 Florian Weimer <fweimer@redhat.com>
4437
4438 [BZ #17325]
4439 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4440 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4441 assert.
4442 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4443 * iconvdata/ibm935.c (BODY): Likewise.
4444 * iconvdata/ibm937.c (BODY): Likewise.
4445 * iconvdata/ibm939.c (BODY): Likewise.
4446 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4447 assert.
4448 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4449 script.
4450 * iconvdata/run-iconv-test.sh: New test loop for checking for
4451 decoder crashers.
4452
a78b712d
KR
44532014-09-02 Khem Raj <raj.khem@gmail.com>
4454
4455 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4456 libm_hidden_ver.
4457
cb08abc6
AM
44582014-09-01 Allan McRae <allan@archlinux.org>
4459
2c31e102
AM
4460 * po/eo.po: Update Esperanto translation from translation project.
4461
cb08abc6
AM
4462 * po/ca.po: Update Catalan translation from translation project.
4463
17a62de1
ST
44642014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4465
4466 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4467 __proc_dostop call.
4468
9570bc53
MW
44692014-08-27 Mark Wielaard <mjw@redhat.com>
4470
4471 [BZ #17319]
4472 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4473 to call set_thread_area instead of hand written asm.
4474 (__NR_set_thread_area): Removed define.
4475 (TLS_FLAG_WRITABLE): Likewise.
4476 (__ASSUME_SET_THREAD_AREA): Remove check.
4477 (TLS_EBX_ARG): Remove define.
4478 (TLS_LOAD_EBX): Likewise.
4479
b0f955c9
ST
44802014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4481
4482 Simplify atomicity of socket creation in bind.
4483
4484 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4485 looking up the name after linking the file.
4486
529bf515
AM
44872014-08-27 Allan McRae <allan@archlinux.org>
4488
4489 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4490
a1a6a401
FW
44912014-08-26 Florian Weimer <fweimer@redhat.com>
4492
4493 [BZ #17187]
4494 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4495 trans_compare, open_translit, __gconv_translit_find):
4496 Remove module loading code.
4497
686ab290
AM
44982014-08-26 Allan McRae <allan@archlinux.org>
4499
e4e7cfd2
AM
4500 * po/vi.po: Update Vietnamese translation from translation project.
4501
6aa09f71
AM
4502 * po/uk.po: Update Ukrainian translation from translation project.
4503
edc0660e
AM
4504 * po/fr.po: Update French translation from translation project.
4505
7eea72ac
AM
4506 * po/ru.po: Update Russian translation from translation project.
4507
93c49eff
AM
4508 * po/pl.po: Update Polish translation from translation project.
4509
46acaf63
AM
4510 * po/cs.po: Update Czech translation from translation project.
4511
a9f5ce98
AM
4512 * po/de.po: Update German translation from translation project.
4513
373f2b78
AM
4514 * po/bg.po: Update Bulgarian translation from translation project.
4515
e7548bd8
AM
4516 * po/sv.po: Update Sweedish translation from translation project.
4517
c526bf4d
AM
4518 * po/nl.po: Update Dutch translation from translation project.
4519
686ab290
AM
4520 * po/es.po: Update Spanish translation from translation project.
4521
eb72478a
SP
45222014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4523
dd763fdb
SP
4524 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4525
318c7a58
SP
4526 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4527 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4528 (CPPFLAGS-iconvconfig): Likewise.
4529 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4530
eb72478a
SP
4531 * include/libc-symbols.h: Remove unnecessary check for
4532 NOT_IN_libc.
4533 * nptl/pthreadP.h: Likewise.
4534 * sysdeps/aarch64/setjmp.S: Likewise.
4535 * sysdeps/alpha/setjmp.S: Likewise.
4536 * sysdeps/arm/sysdep.h: Likewise.
4537 * sysdeps/i386/setjmp.S: Likewise.
4538 * sysdeps/m68k/setjmp.c: Likewise.
4539 * sysdeps/posix/getcwd.c: Likewise.
4540 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4541 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4542 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4543 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4544 * sysdeps/sh/sh3/setjmp.S: Likewise.
4545 * sysdeps/sh/sh4/setjmp.S: Likewise.
4546 * sysdeps/unix/alpha/sysdep.h: Likewise.
4547 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4548 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4549 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4550 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4555 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4558 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4560 * sysdeps/x86_64/setjmp.S: Likewise.
4561
d44a052c
JM
45622014-08-13 Joseph Myers <joseph@codesourcery.com>
4563
4564 [BZ #17263]
4565 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4566 <stdint.h>.
4567 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4568 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4569
508ce3ac
SP
45702014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4571
e44c8b0e
SP
4572 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4573
508ce3ac
SP
4574 [BZ #17262]
4575 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4576 and __x86_64__ when disabling x87 inline functions.
4577
b4acef1f
L
45782014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4579
4580 [BZ #17259]
4581 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4582 asm statement with __cpuid_count.
4583
61b1ef6e
MF
45842014-08-12 Mike Frysinger <vapier@gentoo.org>
4585
4586 * configure.ac: Change __ehdr_start code to dereference the struct.
4587 Run readelf on the output to look for relocations.
4588 * configure: Regenerated.
4589
898c62f4
JM
45902014-08-12 Joseph Myers <joseph@codesourcery.com>
4591
4592 [BZ #17261]
4593 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4594 value to 0.
4595 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4596
9a8a5720
RM
45972014-08-12 Roland McGrath <roland@hack.frob.com>
4598
4599 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4600
4e75751c
BO
46012014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4602
4603 [BZ #16892]
4604 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4605 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4606
bb2ce416
SA
46072014-08-12 Sean Anderson <seanga2@gmail.com>
4608
4609 * malloc/malloc.c: Fix typo in comment.
4610
7950a4ee
AM
46112014-08-09 Allan McRae <allan@archlinux.org>
4612
4613 * Regenerate libc.po.
4614
f469c49f
MF
46152014-08-08 Mike Frysinger <vapier@gentoo.org>
4616
4617 * intl/tst-gettext2.sh: Check every lang file for creation.
4618
656b84c2
WD
46192014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4620
4621 * sysdeps/aarch64/fpu/math_private.h
4622 (libc_feholdsetround_noex_aarch64_ctx): New function.
4623
538e9e45
W
46242014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4625
4626 * sysdeps/arm/armv6/strcpy.S (strcpy):
4627 Fix performance issue in misaligned cases.
4628
d4795e4a
AZ
46292014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4630
4631 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4632 Move definition from termios.h.
4633 (struct termio): Likewise.
4634 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4635 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4636 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4637 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4638 Likewise.
4639 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4640 Move definition to ioctl-types.h
4641 (struct termio): Likewise.
4642 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4643 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4644 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4645 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4646 Likewise.
4647
64accb62
RH
46482014-08-05 Richard Henderson <rth@redhat.com>
4649
27bb6dc0
RH
4650 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4651 exceptions.
4652 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4653 Add fraiseexcpt.
4654 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4655 Use __feraiseexcept.
4656 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4657 Protect libm symbols with IS_IN_libm.
4658
64accb62
RH
4659 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4660
e5292691
BO
46612014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4662
4663 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4664
5b4bd2d4
WN
46652014-08-04 Will Newton <will.newton@linaro.org>
4666
4667 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4668 file.
4669
fcadaeef
MF
46702014-08-04 Mike Frysinger <vapier@gentoo.org>
4671
4672 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4673 variants for each function.
4674
43a94c64
RM
46752014-08-04 Roland McGrath <roland@hack.frob.com>
4676
4677 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4678 appended ...
4679 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4680 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4681 appended ...
4682 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4683 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4684 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4685 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4686 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4687 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4688 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4689 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4690 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4691 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4692 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4693 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4698 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4706 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4718 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4719 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4720 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4721 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4722 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4723 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4724 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4725 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4726 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4727 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4728 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4729 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4730 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4731 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4732 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4733 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4734 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4735 Update #include.
4736 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4737 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4738
8f3c1fa4
RM
47392014-08-04 Roland McGrath <roland@hack.frob.com>
4740
4741 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4742 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4743 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4744 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4745 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4746 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4747
ca08746f
RM
47482014-08-04 Roland McGrath <roland@hack.frob.com>
4749
4750 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4751 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4752 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4753 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4754
9c925ff9
RM
47552014-08-04 Roland McGrath <roland@hack.frob.com>
4756
4757 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4758 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4759 (__libc_vfork): Define function under this name.
4760 (__vfork): Define as an alias.
4761 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4762 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4763
e641054c
RM
47642014-08-04 Roland McGrath <roland@hack.frob.com>
4765
4766 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4767 that was previously under [RESET_PID].
4768 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4769
dacdc867
AS
47702014-08-04 Andreas Schwab <schwab@suse.de>
4771
4772 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4773
41f725ff
MF
47742014-08-03 Mike Frysinger <vapier@gentoo.org>
4775
4776 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4777 (main): Likewise.
4778
277cfb31
RM
47792014-08-01 Roland McGrath <roland@hack.frob.com>
4780
4781 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4782
4896f049
RH
47832014-08-01 Richard Henderon <rth@redhat.com>
4784
4785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4786 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4787 typo in exact zero test.
4788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4789 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4790 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4791
6f64e7d7
RM
47922014-08-01 Roland McGrath <roland@hack.frob.com>
4793
4794 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4795 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4796 * sysdeps/arm/sysdep.h: ... here.
4797 [!__ASSEMBLER__]: Include <stdint.h>.
4798
3f3dd810
SP
47992014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4800
a476ac4b
SP
4801 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4802 (HAVE_WCTYPE_H): Likewise.
4803 (HAVE_ISWCTYPE): Likewise.
4804 (ENABLE_NLS): Likewise.
4805 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4806 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4807
78dd658a
SP
4808 * posix/regex_internal.c: Check if DEBUG is defined and is
4809 set.
4810
3f3dd810
SP
4811 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4812 (HAVE_MBSRTOWCS): Likewise.
4813 * posix/fnmatch.c: Include string.h unconditionally.
4814
95ee7fb1
SL
48152014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4816
4817 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4818 reversal.
4819
23fe486b
RM
48202014-07-31 Roland McGrath <roland@hack.frob.com>
4821
f61a113f
RM
4822 * sysdeps/generic/safe-fatal.h: New file.
4823 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4824 * nptl/forward.c: Include it.
4825 (__pthread_unwind): Use __safe_fatal as default action, rather
4826 than a bogus use of INTERNAL_SYSCALL that could never work.
4827
9fe7e787
RM
4828 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4829 * configure.ac (libc_cv_builtin_trap): New test.
4830 * configure: Regenerated.
4831 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4832 (ABORT_INSTRUCTION): Define using __builtin_trap.
4833
23fe486b
RM
4834 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4835 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4836 * sysdeps/nptl/nptl-signals.h: New file.
4837 * nptl/pthreadP.h: Include <nptl-signals.h>.
4838
f349489e
SL
48392014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4840
4841 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4842 (ONE_DIRECTION): Define.
4843 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4844 (ONE_DIRECTION): Define.
4845 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4846 (ONE_DIRECTION): Define.
4847
2f438e20
SL
48482014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4849
4850 * sysdeps/s390/Makefile: Delete file.
4851 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4852 * sysdeps/s390/__longjmp.c: Delete file.
4853 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4854 Remove fields __flags and __reserved.
4855 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4856 and add versioning.
4857 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4858 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4859 * sysdeps/s390/rtld-setjmp.S: Likewise.
4860 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4861 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4862 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4863 * sysdeps/s390/s390-32/setjmp.S: ... here.
4864 Add versioning.
4865 (__sigsetjmp): Remove setting __flags field.
4866 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4867 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4868 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4869 * sysdeps/s390/s390-64/setjmp.S: ... here.
4870 Add versioning.
4871 (__sigsetjmp): Remove setting __flags field.
4872 * sysdeps/s390/setjmp.S: Delete file.
4873 * sysdeps/s390/sigjmp.c: Likewise.
4874 * sysdeps/s390/v1-longjmp.c: Likewise.
4875 * sysdeps/s390/v1-setjmp.h: Likewise.
4876 * sysdeps/s390/v1-sigjmp.c: Likewise.
4877 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4878 Remove v1-longjmp_chk.
4879 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4880 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4881 Include debug/longjmp_chk.c and add versioning.
4882 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4883 Include nptl/pt-longjmp.c and add versioning.
4884 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4885 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4886 Include __longjmp.c.
4887 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4888 Move to ...
4889 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4890 (__getcontext): Remove setting __flags field.
4891 Add versioning.
4892 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4893 Don't restore upper high grps.
4894 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4895 Likewise.
4896 (__swapcontext): Remove setting uc_flags field.
4897 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4898 Delete file.
4899 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4900 Include __longjmp.c.
4901 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4902 Move to ...
4903 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4904 (__getcontext): Remove setting __flags field.
4905 Add versioning.
4906 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4907 (__swapcontext): Remove setting uc_flags field.
4908 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4909 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4910 Remove fields uc_high_gprs and __reserved.
4911 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4912 New file with reverted content.
4913 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4914 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4915 Regenerated.
4916 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4917 Regenerated.
4918
6c9578a2
AS
49192014-07-31 Andreas Schwab <schwab@suse.de>
4920
4921 * config.h.in (HAVE_IFUNC): Define to 0.
4922 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4923 definedness.
4924
05f3633d
LM
49252014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4926
4927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4928 memmove-avx-unaligned, memcpy-avx-unaligned and
4929 mempcpy-avx-unaligned.
4930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4931 Add tests for AVX memcpy functions.
4932 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4933 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4934 memcpy_chk.
4935 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4936 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4937 memmove_chk.
4938 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4939 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4940 mempcpy_chk.
4941 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4942 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4943 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4944
a53fbd8e
AZ
49452013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4946
4947 [BZ #17213]
4948 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4949 powerpc64le.
4950
0961f7e1
JL
49512014-07-29 Jeff Layton <jlayton@poochiereds.net>
4952
4953 [BZ #16839]
4954 * manual/llio.texi: Add section about open file description locks.
4955 * manual/examples/ofdlocks.c: Example of open file description
4956 lock usage.
4957 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4958 F_OFD_SETLK, and F_OFD_SETLKW.
4959
cc5fb300
AM
49602014-07-23 Allan McRae <allan@archlinux.org>
4961
4962 * po/es.po: Update Spanish translation from translation project.
4963
23329dca
AS
49642014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4965
4966 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4967
9c82da17
MR
49682014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4969
4970 [BZ #17078]
4971 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4972 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4973 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4974
29c4f53e
JM
49752014-07-17 Joseph Myers <joseph@codesourcery.com>
4976
831b9896
JM
4977 [BZ #17088]
4978 * math/fesetenv.c (__fesetenv)
4979 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4980 * math/feupdateenv.c (__feupdateenv)
4981 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4982
b21c2d50
JM
4983 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4984 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4985 (__ASSUME_SOCKETCALL): Do not define.
4986
067764ef
JM
4987 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4988 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4989 (__ASSUME_SOCKETCALL): Do not define.
4990 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4991 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4992 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4993 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4994 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4995 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4996 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4997 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4998
642530c1
JM
4999 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5000 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5001 (__ASSUME_SOCKETCALL): Do not define.
5002 (__ASSUME_IPC64): Define unconditionally.
5003 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5004 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5005 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5006 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5007 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5008 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5009 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5010 Likewise.
5011
03f77315
JM
5012 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5013 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5014 (__ASSUME_SOCKETCALL): Do not define.
5015 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5016 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5017 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5018 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5019 (__ASSUME_REQUEUE_PI): Define unconditionally.
5020 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5021 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5022 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5023 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5024 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5025 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5026
083b1f7c
JM
5027 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5028 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5029 (__ASSUME_SOCKETCALL): Do not define.
5030 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5031 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5032 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5033 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5034 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5035 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5036
5be44ea6
JM
5037 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5038 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5039 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5040 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5041 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5042 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5043 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5044 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5045 (__ASSUME_GETCPU_SYSCALL): Likewise.
5046
d95ffd4c
JM
5047 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5048 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5049 cases for individual architectures.
5050 * sysdeps/gnu/configure: Regenerated.
5051 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5052 LIBC_SLIBDIR_RTLDDIR.
5053 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5054 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5055 LIBC_SLIBDIR_RTLDDIR.
5056 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5058 LIBC_SLIBDIR_RTLDDIR.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5060 Regenerated.
5061 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5062 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5063 file.
5064 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5065 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5066 file.
5067 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5068 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5069 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5070 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5071
29c4f53e
JM
5072 * sysdeps/aarch64/shlib-versions: Move to ...
5073 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5074 * sysdeps/alpha/shlib-versions: Move to ...
5075 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5076 * sysdeps/arm/shlib-versions: Move to ...
5077 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5078 * sysdeps/hppa/shlib-versions: Move all contents except for
5079 libgcc_s entry to ...
5080 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5081 entry from ...
5082 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5083 * sysdeps/ia64/shlib-versions: Move to ...
5084 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5085 entry from ...
5086 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5087 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5088 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5089 * sysdeps/microblaze/shlib-versions: Move to ...
5090 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5091 * sysdeps/mips/shlib-versions: Move to ...
5092 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5093 entry from ...
5094 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5095 * sysdeps/tile/shlib-versions: Move to ...
5096 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5097 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5098 from ...
5099 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5100 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5101 entry from ...
5102 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5103
32bead5b
WN
51042014-07-17 Will Newton <will.newton@linaro.org>
5105
57977c4b
WN
5106 * sysdeps/arm/bits/atomic.h
5107 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5108 (__arch_compare_and_exchange_bool_16_int): Likewise.
5109 (__arch_compare_and_exchange_bool_64_int): Likewise.
5110
32bead5b
WN
5111 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5112 into an #else block.
5113
37fccd41
RM
51142014-07-16 Roland McGrath <roland@hack.frob.com>
5115
5116 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5117 just Linux configurations. Test empirically that the compiler sets
5118 __ARM_EABI__, rather than using the tuple to decide.
5119 * sysdeps/arm/preconfigure: Regenerated.
5120 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5121 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5122 contents appended ...
5123 * sysdeps/arm/configure.ac: ... here.
5124 * sysdeps/arm/configure: Regenerated.
5125
b365f3ec
RM
51262014-07-15 Roland McGrath <roland@hack.frob.com>
5127
8badf496
RM
5128 * nptl/pthread_kill.c: New file.
5129 * nptl/pthread_sigmask.c: New file.
5130 * nptl/pthread_sigqueue.c: New file.
5131
3df6f22e
RM
5132 * sysdeps/nptl/lowlevellock.h: New file.
5133 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5134 * sysdeps/nptl/lowlevellock-futex.h: New file.
5135
b365f3ec
RM
5136 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5137 Remove dead declarations.
5138
f2fef657
L
51392014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5140
5141 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5142 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5143 config-cflags-avx2.
5144 * sysdeps/x86_64/configure.ac: Likewise.
5145 * sysdeps/i386/configure: Regenerated.
5146 * sysdeps/x86_64/configure: Likewise.
5147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5148 memset-avx2 only if config-cflags-avx2 is yes.
5149 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5150 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5151 defined.
5152 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5153 only if HAVE_AVX2_SUPPORT is defined.
5154 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5155
f6c44d47
AM
51562014-07-14 Alan Modra <amodra@gmail.com>
5157
5158 [BZ #17153]
5159 * elf/elf.h (DT_PPC64_NUM): Correct value.
5160 * NEWS: Add to fixed bug list.
5161
7ee03f00
JM
51622014-07-13 Jim Meyering <meyering@fb.com>
5163
5164 [BZ 17150]
5165 regex: don't deref NULL upon heap allocation failure
5166 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5167 failure in one more place.
5168 To trigger the segfault, configure grep -with-included-regex,
5169 build it, and run these commands:
5170 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5171
9d39d517
AS
51722014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5173
5174 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5175
a75b89b7
RH
51762014-07-11 Richard Henderson <rth@redhat.com>
5177
5178 * sysdeps/aarch64/libm-test-ulps: Update.
5179
771eb141
FW
51802014-07-10 Florian Weimer <fweimer@redhat.com>
5181
5182 [BZ #17135]
5183 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5184 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5185 (__nptl_setxid): Initialize error member. Call
5186 __nptl_setxid_error.
5187 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5188 * nptl/descr.h (struct xid_command): Add error member.
5189 * nptl/tst-setuid3.c: New file.
5190 * nptl/Makefile (tests): Add it.
5191
bc1da176
AZ
51922014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5193
5194 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5195 New define.
5196 (__lll_trylock): Use __lll_base_trylock.
5197 (__lll_cond_trylock): Likewise.
5198
887865fc
RM
51992014-07-10 Roland McGrath <roland@hack.frob.com>
5200
c0c6bac9
RM
5201 * nptl/pthread_create.c (start_thread): Use atomic_or and
5202 lll_futex_wake directly rather than lll_robust_dead.
5203 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5204 (lll_robust_dead): Macro removed.
6a42be57 5205 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
5206 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5207 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5208 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5209 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5210 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5211 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5212 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5213 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5214 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5215 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5216 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5217 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5218 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5219 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5220
887865fc
RM
5221 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5222 Use atomic_compare_and_exchange_val_acq directly rather than
5223 lll_robust_trylock.
5224 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5225 (__lll_robust_trylock, lll_robust_trylock): Removed.
5226 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5227 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5228 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5229 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5230 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5231 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5232 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5233 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5234 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5235 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5236 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5237 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5238 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5239 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5240
58536726
FW
52412014-07-02 Florian Weimer <fweimer@redhat.com>
5242
5243 * manual/locale.texi (Locale Names): New section documenting
5244 locale name syntax. Adjust menu and node chaining accordingly.
5245 (Choosing Locale): Reference Locale Names, Locale Categories.
5246 Mention setting LC_ALL=C. Reflect that name syntax is now
5247 documented.
5248 (Locale Categories): New section title. Reference Locale Names.
5249 LC_ALL is an environment variable, but not a category.
5250 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5251 description, now in Locale Name. Reference that section. Locale
5252 name syntax is now documented.
5253
4e8f95a0
FW
52542014-07-02 Florian Weimer <fweimer@redhat.com>
5255
5256 [BZ #17137]
5257 * locale/findlocale.c (name_present, valid_locale_name): New
5258 functions.
5259 (_nl_find_locale): Use the loc_name variable to store name
5260 candidates. Call name_present and valid_locale_name to check and
5261 validate locale names. Return an error if the locale is invalid.
5262
d1836456
FW
52632014-07-02 Florian Weimer <fweimer@redhat.com>
5264
5265 * locale/setlocale.c (setlocale): Use strdup for allocating
5266 composite name copy.
5267
d69b7f5a
SP
52682014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5269
888c679b
SP
5270 Sync up with gnulib.
5271 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5272 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5273 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5274 and _GL_ARG_NONNULL.
5275 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5276 [!_LIBC]: Include code for Windows and Cygwin.
5277 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5278 Include prototype for int strerror_r.
5279 [!_LIBC] (is_open): New function.
5280 (flush_stdout): New function.
5281 (print_errno_message): Use it.
5282 (error): Likewise.
5283 (error_at_line): Likewise.
5284 (error_tail) Add function attribute macros. Use
5285 __builtin_expect.
5286
180e0e4b
SP
5287 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5288
d22f1fe2
SP
5289 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5290
12f2254b
SP
5291 * io/ftw.c: Include sys/param.h unconditionally.
5292
c3c7c360
SP
5293 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5294
d62aa75a
SP
5295 [BZ #17125]
5296 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5297 libc_freeres_ptr.
5298 (freecache): New function to free CACHE on exit.
5299
d69b7f5a
SP
5300 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5301 initialization.
5302
5efe06a1
DM
53032014-07-09 David S. Miller <davem@davemloft.net>
5304
5305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5306
7000d82e
DM
5307 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5308 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5309 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5310 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5311 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5312 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5313 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5314 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5315 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5316 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5317 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5318 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5319 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5320
c213442d
AS
53212014-07-09 Andreas Schwab <schwab@suse.de>
5322
4a2552c3
AS
5323 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5324 output.
5325 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5326 (do_test): Likewise.
5327
c213442d
AS
5328 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5329
82374e65
WN
53302014-07-09 Will Newton <will.newton@linaro.org>
5331
5332 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5333 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5334 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5335 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5336 * sysdeps/hppa/start.S (_start): Likewise.
5337
6680738a
SP
53382014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5339
6ee3eab4
SP
5340 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5341
6680738a
SP
5342 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5343 defined.
5344
80b5c505
SP
53452014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5346
e35c53e3
SP
5347 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5348 after checking that it is non-NULL.
5349
80b5c505
SP
5350 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5351
91f4b564
AZ
53522014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5353
27b75f56
AZ
5354 * sysdeps/powerpc/memmove.c: Remove file.
5355 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5356 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5357 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5358 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5359 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5360 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5361 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5362 string memmove instead of removed powerpc one.
5363
e7f95bb5
AZ
5364 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5365 [weak_alias]: Fix compiler warning due trailing data.
5366 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5367 [weak_alias]: Likewise.
5368 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5369 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5370
91f4b564
AZ
5371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5372 (__libc_ifunc_impl_list): Add memmove functions.
5373
7c33f1e5
SP
53742014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5375
5376 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5377 Remove code.
5378 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5379 Likewise
5380 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5381 Likewise
5382 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5383 Likewise
5384 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5385 Likewise
5386 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5387 Likewise
5388 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5389 Likewise
5390 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5391 Likewise
5392 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5393 Likewise
5394 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5395 Likewise
5396 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5397 Likewise
5398 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5399 Likewise
5400 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5401 Likewise
5402 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5403 Likewise
5404 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5405 Likewise
5406 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5407 Likewise
5408 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5409 Likewise
5410
3f17b03b
AZ
54112014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5412
87868c24
AZ
5413 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5414 to avoid alignment traps in non-cacheable memory.
5415 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5416
07aedd78
AZ
5417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5418 multiarch objects.
5419 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5420 file: multiarch power7 memmove.
5421 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5422 multiarch default memmove.
5423 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5424 multiarch memove for powerpc32/power4.
5425
17762f66
AZ
5426 * string/bcopy.c: Use full path to include memmove.c.
5427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5428 multiarch objects.
5429 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5430 bcopy for powerpc64.
5431 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5432 bcopy for powerpc64.
5433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5434 and memmove implementations.
5435 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5436 optimized multiarch memmove for POWER7/powerpc64.
5437 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5438 default multiarch memmove for powerpc64.
5439 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5440 multiarch for powerpc64.
5441 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5442 for POWER7/powerpc64.
5443 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5444 memmove for POWER7/powerpc64.
5445
d6f68bbe
AZ
5446 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5447 glibc default one.
5448
3f17b03b
AZ
5449 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5450 __ELF_NATIVE_CLASS equal to 64.
5451
08192659
RM
54522014-07-07 Roland McGrath <roland@hack.frob.com>
5453
f4c4021b
RM
5454 * sysdeps/nptl/lowlevellock.h: File removed.
5455
f083450f
RM
5456 * NEWS: NPTL is no longer an add-on!
5457 * nptl/internaltypes.h: Moved ...
5458 * sysdeps/nptl/internaltypes.h: ... here.
5459 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5460 * sysdeps/nptl/fork.c: Likewise.
5461 * sysdeps/nptl/gai_misc.h: Likewise.
5462 * sysdeps/nptl/librt-cancellation.c: Likewise.
5463 * sysdeps/nptl/jmp-unwind.c: Likewise.
5464 * sysdeps/nptl/setxid.h: Likewise.
5465 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5466 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5467 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5468 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5469 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5470 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5471 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5472 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5473 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5474 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5475 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5476 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5477 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5478 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5479 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5480 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5481 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5482 * nptl/Makeconfig: Moved ...
5483 * sysdeps/nptl/Makeconfig: ... here.
5484 * nptl/configure: File removed.
5485 * nptl/ANNOUNCE: File removed.
5486 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5487 * sysdeps/unix/sysv/linux/configure: Regenerated.
5488
08192659
RM
5489 * nptl/Makefile (routines): Add libc_pthread_init,
5490 libc_multiple_threads, register-atfork and unregister-atfork.
5491 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5492 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5493 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5494 pthread-pi-defines.sym, structsem.sym.
5495 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5496 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5497 [$(subdir) = nptl] (tests): Add tst-setgetname.
5498 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5499 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5500 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5501 [!LIBC_SIGACTION]: Remove aliases.
5502 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5503 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5504 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5505 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5506 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5507 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5508 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5510 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5511 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5512 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5513 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5514 __libc_allocate_rtsig_private.
5515 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5516 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5517 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5518 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5519 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5520 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5521 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5522 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5523 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5524 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5525 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5526 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5527 * nptl/internaltypes.h: ... here.
5528 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5529 * sysdeps/nptl/jmp-unwind.c: ... here.
5530 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5531 * nptl/libc-lowlevellock.c: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5533 * nptl/libc_multiple_threads.c: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5535 * nptl/libc_pthread_init.c: ... here.
5536 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5537 * nptl/lowlevelbarrier.sym: ... here.
5538 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5539 * nptl/lowlevelcond.sym: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5541 * nptl/lowlevellock.c: ... here.
5542 * nptl/lowlevellock.h: Moved ...
5543 * sysdeps/nptl/lowlevellock.h: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5545 * nptl/lowlevelrobustlock.c: ... here.
5546 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5547 * nptl/lowlevelrobustlock.sym: ... here.
5548 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5549 * nptl/lowlevelrwlock.sym: ... here.
5550 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5551 * nptl/pt-fork.c: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5553 * nptl/pthread-pi-defines.sym: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5555 * nptl/pthread_attr_getaffinity.c: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5557 * nptl/pthread_attr_setaffinity.c: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5559 * nptl/pthread_mutex_cond_lock.c: ... here.
5560 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5561 Update #include.
5562 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5563 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5564 * nptl/pthread_once.c: ... here, replacing old file.
5565 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5566 * nptl/pthread_yield.c: ... here.
5567 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5568 * nptl/register-atfork.c: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5570 * nptl/sem_post.c: ... here.
5571 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5572 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5573 * nptl/sem_timedwait.c: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5575 * nptl/sem_trywait.c: ... here.
5576 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5577 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5578 * nptl/sem_wait.c: ... here.
5579 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5580 * nptl/structsem.sym: ... here.
5581 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5582 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5583 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5584 * nptl/unregister-atfork.c: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5586 * nptl/unwindbuf.sym: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5588 * sysdeps/nptl/fork.c: ... here.
5589 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5590 * sysdeps/nptl/fork.h: ... here.
5591 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5592 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5593 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5594 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5595 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5596 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5597 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5598 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5599 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5600 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5601 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5602 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5603 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5604 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5605 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5606 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5607 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5608 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5609 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5610 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5611 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5612 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5613 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5614 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5615 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5616 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5617 * sysdeps/unix/sysv/linux/raise.c: ... here.
5618 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5619 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5620 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5621 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5622 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5623 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5624 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5625 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5626 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5627 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5628 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5629 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5630 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5631 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5632 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5633
96baf6ff
SP
56342014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5635
5636 * sysdeps/generic/memcopy.h: Add comment for
5637 MEMCPY_OK_FOR_FWD_MEMMOVE.
5638
6b7b14b2
WN
56392014-07-04 Will Newton <will.newton@linaro.org>
5640
1570a72b
WN
5641 * string/memchr.c: Merge from gnulib.
5642 [_LIBC]: Remove conditionals.
5643 (__ptr_t): Remove define.
5644 (LONG_MAX_32_BITS): Likewise.
5645 (LONG_MAX): Likewise.
5646 (MEMCHR): Use ANSI prototype and optimize algorithm.
5647
6b7b14b2
WN
5648 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5649
38851324
SP
56502014-07-03 Roland McGrath <roland@hack.frob.com>
5651
3d9eb57c
RM
5652 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5653 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5654
78b984ae
RM
5655 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5656 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5657 in a bare environment with no <stdlib.h> installed.
5658 * sysdeps/nptl/configure: Regenerated.
5659
2d5976a5
RM
5660 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5661
c1f5acd4
RM
5662 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5663 AC_EGREP_CPP for kernel header checks, so they only succeed if
5664 including <linux/version.h> actually works right.
5665 * sysdeps/unix/sysv/linux/configure: Regenerated.
5666
4d614fe5
RM
5667 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5668 value so it's not diagnosed as unused.
5669
38851324
SP
5670 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5671 thing) with "ifeq ($(subdir),rt)".
5672
b3ec00e5
RH
56732014-07-03 Richard Henderson <rth@redhat.com>
5674
69862e25
RH
5675 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5676 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5677 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5678
d5e16ade
RH
5679 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5680 (math_force_eval): New.
5681
ca7b945c
RH
5682 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5683 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5684
cd1175a3
RH
5685 * sysdeps/alpha/fpu/s_round.c: Remove file.
5686 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5687
b3ec00e5
RH
5688 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5689 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5690 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5691 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5692 (_dl_start, print_statistics): Likewise.
5693 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5694 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5695
5696 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5697 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5698 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5699 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5700 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5701 (HP_SMALL_TIMING_AVAIL): Define.
5702 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5703 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5704 (HP_SMALL_TIMING_AVAIL): Define.
5705 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5706 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5707
5708 * sysdeps/aarch64/hp-timing.h: New file.
5709
5710 * sysdeps/generic/hp-timing.h: Remove dead comment.
5711 * sysdeps/generic/hp-timing-common.h: New file.
5712 * sysdeps/alpha/hp-timing.h: Include it.
5713 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5714 * sysdeps/i386/i686/hp-timing.h: Likewise.
5715 * sysdeps/ia64/hp-timing.h: Likewise.
5716 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5717 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5718 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5719 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5720 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5721 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5722 (hp_timing_t): New.
5723
5724 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5725 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5726 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5727 * elf/rtld.c (_dl_start_final): Likewise.
5728 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5729 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5730 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5731 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5732 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5733 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5734 (HP_TIMING_DIFF_INIT): Remove.
5735 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5736 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5737 (HP_TIMING_DIFF_INIT): Remove.
5738 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5739 * sysdeps/i386/i686/hp-timing.c: Remove file.
5740 * sysdeps/x86_64/hp-timing.c: Remove file.
5741 * sysdeps/ia64/hp-timing.c: Remove file.
5742 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5743 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5744 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5745 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5746
5747 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5748 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5749 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5750 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5751 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5752 (HP_TIMING_ACCUM): Remove.
5753 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5754 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5755 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5756
5757 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5758 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5759 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5760 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5761 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5762 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5763 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5764 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5765
5766 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5767
225f410f
MR
57682014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5769
5770 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5771
3247f285
SP
57722014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5773
5774 Sync up with gettext.
5775 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5776 [_MSC_VER]: Include malloc.h
5777 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5778 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5779 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5780 TEMP_FAILURE_RETRY. Cast return of alloca.
5781 [!_LIBC] Call gl_rwlock_init.
5782 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5783
d12704c7
SP
57842014-07-02 Roland McGrath <roland@hack.frob.com>
5785
5786 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5787 before checking its value.
5788
99f8dc92
SP
57892014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5790
05fdac77
SP
5791 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5792
99f8dc92
SP
5793 * debug/memcpy_chk.c: Don't include pagecopy.h.
5794 * debug/mempcpy_chk.c: Likewise.
5795 * string/memcpy.c: Likewise.
5796 * string/memmove.c: Likewise.
5797 * sysdeps/powerpc/memmove.c: Likewise.
5798 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5799 definition of PAGE_COPY_FWD_MAYBE here...
5800 * sysdeps/generic/pagecopy.h: ... from here.
5801 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5802
bc8ea385
VR
58032014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5804 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805
5806 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5808 optimizations.
5809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5810 (__libc_ifunc_impl_list): Likewise.
5811 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5812 multiarch strcat for PPC64.
5813 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5814 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5815
fe5f34e4
RM
58162014-07-02 Roland McGrath <roland@hack.frob.com>
5817
5818 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5819
256aa665
SP
58202014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5821
d4eb8195
SP
5822 * intl/loadmsgcat.c: Remove declaration of
5823 get_sysdep_segment_value.
5824 (get_sysdep_segment_value): Use ISO C style.
5825 (_nl_load_domain): Use ISO C style. Get rid of redundant
5826 semicolon. Fix typo and formatting in comment.
5827 (_nl_unload_domain): Use ISO C style.
5828
256aa665
SP
5829 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5830
b100f9aa
WN
58312014-07-02 Will Newton <will.newton@linaro.org>
5832
5833 * malloc/obstack.c: Merge from gnulib master.
5834 [HAVE_CONFIG_H]: Remove conditional code.
5835 [!_LIBC]: Include config.h.
5836 [!ELIDE_CODE]: Don't include inttypes.h, include
5837 stdint.h unconditionally.
5838 (print_and_abort): Mark as _Noreturn.
5839 (_obstack_allocated_p): Mark as __attribute_pure__.
5840 (obstack_free): Rename to __obstack_free.
5841 [!__attribute__]: Remove conditional code.
5842 * malloc/obstack.h: Merge from gnulib master.
5843 [__cplusplus]: Move conditional down.
5844 [!__attribute_pure__]: Define __attribute_pure__ here
5845 if it is not already defined.
5846 (_obstack_memory_used): Mark as __attribute_pure__.
5847 [!__obstack_free]: Define as obstack_free.
5848 [__GNUC__]: Remove check for ancient NeXT gcc.
5849
c4c41244
PE
58502014-07-02 Will Newton <will.newton@linaro.org>
5851 Paul Eggert <eggert@cs.ucla.edu>
5852
5853 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5854
e1e041c4
SP
58552014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5856
5857 * resolv/gethnamaddr.c: Add comment warning that the file is
5858 not maintained.
5859
ccf431ff
CD
58602014-07-01 Carlos O'Donell <carlos@redhat.com>
5861
d34570a6
CD
5862 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5863 entries.
5864
ccf431ff
CD
5865 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5866 entry for aio_cancel and aio_cancel64.
5867 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5868 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5869 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5870 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5871 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5872 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5873 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5874 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5875 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5876 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5877 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5878 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5879 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5880
ca06321d
RM
58812014-07-01 Roland McGrath <roland@hack.frob.com>
5882
5883 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5884 * nptl/pthread_mutex_lock.c: Likewise.
5885 * nptl/pthread_mutex_timedlock.c: Likewise.
5886 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5887
a1ac3184
RH
58882014-07-01 Richard henderson <rth@redhat.com>
5889
631021e0
RH
5890 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5891 (__isnan, __isnanl): Remove.
5892 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5893
a1ac3184
RH
5894 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5895
0c1d731f
SL
58962014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5897
5898 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5899
76985d3e
SP
59002014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5901
5902 * resolv/nss_dns/dns-host.c (getanswer_r)
5903 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5904
b0cb3096
JM
59052014-07-01 Joseph Myers <joseph@codesourcery.com>
5906
5907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5908 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5909 undefine.
5910 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5911 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5912
4d76cb39
RM
59132014-07-01 Roland McGrath <roland@hack.frob.com>
5914
5915 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5916 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5917
5918 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5919 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5920
5921 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5922 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5923 ... here.
5924 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5925 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5926
5927 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5928 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5929 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5930 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5931
5932 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5933 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5934 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5935 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5936 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5937 Moved ...
5938 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5939 ... here.
5940 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5941 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5942 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5943 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5944 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5945 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5946 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5947 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5948 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5949 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5950 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5951 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5952 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5953 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5954 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5955 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5956 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5957 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5958 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5959 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5960 ... here.
5961 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5962 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5963 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5964 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5965 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5966 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5967 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5968 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5969
0cdcad17
DH
59702014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5971
5972 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5973 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5974 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5975 Add sysdep.
5976
9b71d0e3
AZ
59772014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5978
5979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5980
665390c2
JM
59812014-06-30 Joseph Myers <joseph@codesourcery.com>
5982
ae05a9d7
JM
5983 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5984 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5985
a7672a2f
JM
5986 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5987
665390c2
JM
5988 * sysdeps/arm/libm-test-ulps: Regenerated.
5989
d7a05d07
MR
59902014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5991 Roland McGrath <roland@hack.frob.com>
5992
5993 * test-skeleton.c (signal_handler): Kill the whole process group
5994 before killing the child individually.
5995 (main): Report any failure on `setpgid'.
5996
46f1d8a6
RM
59972014-06-30 Roland McGrath <roland@hack.frob.com>
5998
5999 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6000 from _TLS_H to _ARM_NPTL_TLS_H.
6001 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6002 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6003
9c37ec0b
JM
60042014-06-30 Joseph Myers <joseph@codesourcery.com>
6005
ce9c5b3e
JM
6006 [BZ #16539]
6007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6008 (__expm1l): Return argument unchanged when small but not
6009 subnormal.
6010
3a6e9887
JM
6011 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6012 include macro name.
6013 (_FP_UNPACK_RAW_1_P): Likewise.
6014 (_FP_PACK_RAW_1): Likewise.
6015 (_FP_PACK_RAW_1_P): Likewise.
6016 (_FP_MUL_MEAT_1_wide): Likewise.
6017 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6018 (_FP_MUL_MEAT_1_hard): Likewise.
6019 (_FP_DIV_MEAT_1_imm): Likewise.
6020 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6021 (_FP_DIV_MEAT_1_udiv): Likewise.
6022 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6023 (_FP_UNPACK_RAW_2): Likewise.
6024 (_FP_UNPACK_RAW_2_P): Likewise.
6025 (_FP_PACK_RAW_2): Likewise.
6026 (_FP_PACK_RAW_2_P): Likewise.
6027 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6028 (_FP_MUL_MEAT_2_wide): Likewise.
6029 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6030 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6031 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6032 (_FP_MUL_MEAT_2_gmp): Likewise.
6033 (_FP_DIV_MEAT_2_udiv): Likewise.
6034 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6035 (_FP_FRAC_SRL_4): Likewise.
6036 (_FP_FRAC_SRST_4): Likewise.
6037 (_FP_FRAC_SRS_4): Likewise.
6038 (_FP_UNPACK_RAW_4): Likewise.
6039 (_FP_UNPACK_RAW_4_P): Likewise.
6040 (_FP_PACK_RAW_4): Likewise.
6041 (_FP_PACK_RAW_4_P): Likewise.
6042 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6043 (_FP_MUL_MEAT_4_wide): Likewise.
6044 (_FP_MUL_MEAT_4_gmp): Likewise.
6045 (umul_ppppmnnn): Likewise.
6046 (_FP_DIV_MEAT_4_udiv): Likewise.
6047 (__FP_FRAC_ADD_4): Likewise.
6048 (__FP_FRAC_SUB_3): Likewise.
6049 (__FP_FRAC_SUB_4): Likewise.
6050 (__FP_FRAC_DEC_3): Likewise.
6051 (__FP_FRAC_DEC_4): Likewise.
6052 (__FP_FRAC_ADDI_4): Likewise.
6053 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6054 (_FP_FRAC_SRL_8): Likewise.
6055 (_FP_FRAC_SRS_8): Likewise.
6056
9c37ec0b
JM
6057 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6058 include macro name.
6059 (FP_UNPACK_RAW_EP): Likewise.
6060 (FP_PACK_RAW_E): Likewise.
6061 (FP_PACK_RAW_EP): Likewise.
6062 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6063 (_FP_ISSIGNAN): Likewise.
6064 (_FP_ADD_INTERNAL): Likewise.
6065 (_FP_FMA): Likewise.
6066 (_FP_CMP): Likewise.
6067 (_FP_SQRT): Likewise.
6068 (_FP_TO_INT): Likewise.
6069 (_FP_FROM_INT): Likewise.
6070 (FP_EXTEND): Likewise.
6071 (_FP_DIV_MEAT_N_loop): Likewise.
6072
2125f674
MR
60732014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6074
6075 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6076 throughout.
6077
edea4028
JM
60782014-06-29 Joseph Myers <joseph@codesourcery.com>
6079
6080 [BZ #17097]
6081 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6082 result with correct sign in case of exponents that produce
6083 overflow except for X very close to 1.
6084
dd0ba018
PE
60852014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6086
6087 mktime: merge #if/#ifdef usage from glibc
6088 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6089 as that works with both Glibc's and Gnulib's style.
6090 See thread starting at Siddhesh Poyarekar's bug report at:
6091 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6092
64df73c2
SP
60932014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6094
6095 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6096 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6097 * sysdeps/tile/tilegx/memmove.c: Remove file.
6098
f1eafb41
JM
60992014-06-27 Joseph Myers <joseph@codesourcery.com>
6100
6101 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6102 abi-name definition.
6103 * scripts/soversions.awk: Do not handle or generate ABI lines.
6104 * shlib-versions: Remove ABI entries.
6105 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6106 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6107
58eb0862
RM
61082014-06-27 Roland McGrath <roland@hack.frob.com>
6109
37caf178
RM
6110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6111 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6112 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6113 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6115 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6117 Moved ...
6118 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6119 ... here.
6120 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6121 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6122 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6123 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6125 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6127 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6129 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6131 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6132 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6133 Moved ...
6134 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6136 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6138 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6140 Moved ...
6141 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6143 Moved ...
6144 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6146 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6148 Moved ...
6149 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6150 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6151 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6153 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6155 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6157 Moved ...
6158 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6160 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6161 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6162 Moved ...
6163 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6164 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6165 Moved ...
6166 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6167 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6168 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6169 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6170 Moved ...
6171 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6172 ... here.
6173 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6174 Identical file removed.
6175 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6176 Moved ...
6177 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6179 Identical file removed.
6180 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6181 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6182 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6183 Moved ...
6184 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6186 Identical file removed.
6187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6188 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6189 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6190 Identical file removed.
6191 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6192 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6193 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6194 Identical file removed.
6195 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6198 Identical file removed.
6199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6200 Moved ...
6201 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6202 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6203 Identical file removed.
6204 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6205 Moved ...
6206 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6207 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6208 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6209 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6210 Identical file removed.
6211 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6212 Moved ...
6213 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6214 ... here.
6215 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6216 Identical file removed.
6217 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6218 Moved ...
6219 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6220 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6221 Identical file removed.
6222 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6223 Moved ...
6224 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6225 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6226 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6227 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6228 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6229 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6230 Moved ...
6231 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6232 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6233 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6234
58eb0862
RM
6235 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6236 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6237 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6238 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6239 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6240
6f12d062
AS
62412014-06-27 Arjun Shankar <arjun.is@lostca.se>
6242
6243 [BZ #17092]
6244 * nscd/nscd.c (monitor_child): Return exit status of child
6245 instead of return value from wait syscall.
6246
be254932
JM
62472014-06-27 Joseph Myers <joseph@codesourcery.com>
6248
cb403c34
JM
6249 * configure.ac (libc_commonpagesize): Remove variable.
6250 (libc_relro_required): Likewise.
6251 (libc_cv_z_relro): Remove configure test.
6252 * configure: Regenerated.
6253 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6254 variable.
6255 (libc_relro_required): Likewise.
6256 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6257 (libc_relro_required): Likewise.
6258 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6259 (libc_relro_required): Likewise.
6260 * sysdeps/arm/preconfigure: Regenerated.
6261 * sysdeps/ia64/preconfigure: Remove file.
6262 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6263 variable.
6264 (libc_relro_required): Likewise.
6265
be254932
JM
6266 [BZ #16561]
6267 [BZ #16562]
6268 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6269 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6270 recompute overflowing results in original rounding mode.
6271 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6272 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6273 recompute overflowing results in original rounding mode.
6274 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6275 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6276 recompute overflowing results in original rounding mode.
6277 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6278 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6279 recompute overflowing results in original rounding mode.
6280 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6281 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6282 recompute overflowing results in original rounding mode.
6283 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6284 (libc_feholdsetround_ctx): New macro.
6285 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6286 * sysdeps/i386/fpu/libm-test-ulps: Update.
6287 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6288
b351d85a
JM
62892014-06-26 Joseph Myers <joseph@codesourcery.com>
6290
6291 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6292 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6293 corresponding .cpsetup call.
6294
3cb4de47
RM
62952014-06-26 Roland McGrath <roland@hack.frob.com>
6296
6297 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6298 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6299 * sysdeps/arm/Makefile [$(subdir) = csu]
6300 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6301 (static-only-routines): Add aeabi_read_tp here.
6302 (shared-only-routines): Add libc-aeabi_read_tp here.
6303 (CFLAGS-libc-start.c): Add -fexceptions here.
6304 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6305 (sysdep_routines, static-only-routines, shared-only-routines):
6306 Don't add to these here.
6307 (CFLAGS-libc-start.c): Likewise.
6308
6309 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6310 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6311 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6312 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6313 * sysdeps/arm/Makefile [$(subdir) = rt]
6314 (librt-sysdep_routines, librt-shared-only-routines):
6315 Append rt-aeabi_unwind_cpp_pr1 here.
6316 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6317 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6318 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6319 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6320 Append nptl-aeabi_unwind_cpp_pr1 here.
6321 (tests): Filter out tst-cleanupx4 here.
6322 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6323 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6324 Don't do those here.
6325
354426bb
JM
63262014-06-26 Joseph Myers <joseph@codesourcery.com>
6327
6328 * scripts/list-sources.sh: Do not handle ports specially.
6329
28b0a8c9
RM
63302014-06-26 Roland McGrath <roland@hack.frob.com>
6331
a3dd035d
RM
6332 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6333 * sysdeps/arm/feupdateenv.c: Likewise.
6334
28b0a8c9
RM
6335 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6336
e66a8203
JM
63372014-06-26 Joseph Myers <joseph@codesourcery.com>
6338
6339 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6340 trailing whitespace removed.
6341 * scripts/config.guess: Update to version 2014-03-23.
6342 * scripts/config.sub: Update to version 2014-05-01
6343 * scripts/install-sh: Update to version 2013-12-25.23.
6344 * scripts/move-if-change: Update from gnulib.
6345
74171115
SP
63462014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6347
b97c9ce5
SP
6348 * debug/memmove_chk.c: Remove pagecopy.h include.
6349
4000f892
SP
63502014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6351
74171115
SP
6352 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6353 identical to gnulib mktime.
6354
a8779c28
JM
63552014-06-26 Joseph Myers <joseph@codesourcery.com>
6356
e64708de
JM
6357 * configure.ac: Do not test for machine being rs6000. Do not test
6358 for powerpc*-*soft.
6359 * configure: Regenerated.
6360
a8779c28
JM
6361 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6362 test.
6363 * configure: Regenerated.
6364 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6365 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6366 Remove configure test.
6367 * sysdeps/arm/configure: Regenerated.
6368 * sysdeps/nptl/configure.ac: Do not check
6369 libc_cv_asm_cfi_directives.
6370 * sysdeps/nptl/configure: Regenerated.
6371 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6372 * sysdeps/x86_64/nptl/configure: Remove generated file.
6373 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6374 unconditional.
6375 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6376
2aac0a86
SP
63772014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6378
059bf913
SP
6379 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6380 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6381 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6382 it is defined.
6383
4cf5b6d0
SP
6384 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6385 instead of whether it is defined.
6386 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6387 * sysdeps/hppa/dl-machine.h: Likewise.
6388 * sysdeps/ia64/dl-machine.h: Likewise.
6389 * sysdeps/m68k/dl-machine.h: Likewise.
6390 * sysdeps/microblaze/dl-machine.h: Likewise.
6391 * sysdeps/mips/dl-machine.: Likewise.
6392 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6393 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6394 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6395 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6396 * sysdeps/sh/dl-machine.h: Likewise.
6397 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6398 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6399 * sysdeps/tile/dl-machine.h: Likewise.
6400 * sysdeps/x86_64/dl-machine.h: Likewise.
6401
2aac0a86
SP
6402 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6403 code.
6404 (verify_persistent_db): Likewise.
6405
6ad2df0b
RM
64062014-06-26 Roland McGrath <roland@hack.frob.com>
6407
d8a483f3
RM
6408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6409 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6411 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6413 Moved ...
6414 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6415 ... here.
6416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6417 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6419 Identical file removed.
6420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6421 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6423 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6425 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6427 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6429 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6431 Moved ...
6432 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6434 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6436 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6438 Moved ...
6439 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6441 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6443 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6445 Identical file removed.
6446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6447 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6449 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6451 Moved ...
6452 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6453 ... here.
6454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6455 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6457 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6459 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6461 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6463 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6465 Moved ...
6466 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6468 Moved ...
6469 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6471 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6473 Moved ...
6474 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6476 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6477
52ae23b4
RM
6478 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6479 folded into ...
6480 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6481 * sysdeps/unix/sysv/linux/s390/Versions
6482 (libpthread: GLIBC_2.19): New version set.
6483 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6484 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6485 (librt: GLIBC_2.3.3): New version set.
6486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6487 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6488 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6489 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6490 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6491 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6492 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6493 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6494 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6495 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6496 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6497 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6498 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6499 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6500 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6501 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6502 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6503 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6504 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6505 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6506 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6507 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6508 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6509 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6510 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6511 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6512 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6513 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6514 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6515 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6516 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6517 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6520 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6521 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6522 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6523 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6524 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6526 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6528 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6529 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6530 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6531
39507e4a
RM
6532 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6533 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6534 (__libc_vfork): Define the function under this name.
6535 [!NOT_IN_libc] (__vfork): Make this an alias.
6536 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6537 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6538 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6539 (__libc_vfork): Define the function under this name.
6540 [!NOT_IN_libc] (__vfork): Make this an alias.
6541 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6542 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6543 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6545 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6546 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6547
e549ee56
RM
6548 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6549 code that was previously under [RESET_PID].
6550 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6551 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6553
6ad2df0b
RM
6554 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6555 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6556 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6557 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6558 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6559 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6560 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6561 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6562 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6563 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6564 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6565 Moved ...
6566 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6567 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6568 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6569 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6570 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6571 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6572 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6573 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6574 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6575 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6576 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6577 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6578 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6579 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6580 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6581 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6582 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6583 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6584 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6586 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6588 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6589 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6590 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6591 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6592 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6593 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6594 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6595
7c1c1d8e
RM
65962014-06-25 Roland McGrath <roland@hack.frob.com>
6597
6598 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6599 that was previously under [RESET_PID].
6600 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6601
3e239be6
JM
66022014-06-25 Joseph Myers <joseph@codesourcery.com>
6603
74385da5
JM
6604 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6605 not undefine and redefine.
6606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6607 [O_CLOEXEC]: Make code unconditional.
6608 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6609 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6610 <kernel-features.h>.
6611 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6612 conditional variable definition.
6613 (shm_open) [O_CLOEXEC]: Make code unconditional.
6614 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6615 code.
6616
c2570a0b
JM
6617 * configure.ac (USE_REGPARMS): Don't define here.
6618 * configure: Regenerated.
6619 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6620 * sysdeps/i386/configure: Regenerated.
6621
11b076bb
JM
6622 * nptl/createthread.c: Don't include kernel-features.h.
6623 * nptl/pthread_cancel.c: Likewise.
6624 * nptl/pthread_condattr_setclock.c: Likewise.
6625 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6626 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6627 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6628 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6629 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6630 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6631 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6633 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6634 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6635 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6636 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6637 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6638 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6639 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6640 * nscd/gai.c: Likewise.
6641 * nss/nss_db/db-open.c: Likewise.
6642 * sysdeps/generic/ldsodefs.h: Likewise.
6643 * sysdeps/sh/nptl/tls.h: Likewise.
6644 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6645 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6646 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6647 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6648 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6649 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6650 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6651 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6652 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6653 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6654 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6655 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6656 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6657 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6658 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6659 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6660 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6661 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6662 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6663 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6664 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6665 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6666 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6667 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6668 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6669 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6670 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6671 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6672 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6673 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6674 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6675 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6676 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6677 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6678 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6679 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6680 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6681 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6682 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6683 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6684 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6685 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6686 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6687 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6688 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6689 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6690 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6691 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6692 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6693 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6694 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6695 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6696 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6697 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6698 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6699 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6700 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6701 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6724 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6725 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6726 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6727 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6728 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6729 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6730 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6731 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6732 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6733 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6734 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6735 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6736 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6737 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6738 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6739 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6740 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6741 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6742 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6743 * sysdeps/unix/sysv/linux/system.c: Likewise.
6744 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6745 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6746 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6747 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6748 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6749 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6750 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6751
92072d57
JM
6752 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6753 * configure: Regenerated.
6754 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6755
3e239be6
JM
6756 * configure.ac (base_machine): Do not set specially for particular
6757 machines here.
6758 * configure: Regenerated.
6759 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6760 settings from configure.ac.
6761 * sysdeps/i386/preconfigure: New file.
6762 * sysdeps/s390/preconfigure: Likewise.
6763 * sysdeps/sh/preconfigure: Likewise.
6764 * sysdeps/sparc/preconfigure: Likewise.
6765
06d50baa
RM
67662014-06-25 Roland McGrath <roland@hack.frob.com>
6767
74836003
RM
6768 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6769 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6770 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6771 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6772 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6773 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6774 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6775 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6776 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6777 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6778 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6779 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6780 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6781 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6782 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6783 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6784 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6785 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6786 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6787
6788 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6789 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6790 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6791 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6792 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6793 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6794 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6795 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6796 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6797 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6798 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6799 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6800 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6801 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6802 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6803 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6804 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6805 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6806 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6807 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6808 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6809 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6810 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6811 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6812 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6813 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6814 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6815 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6816 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6817 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6818 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6819 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6820 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6821 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6822 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6823 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6824 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6825 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6826
06d50baa
RM
6827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6828 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6830 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6832 Moved ...
6833 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6834 ... here.
6835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6836 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6838 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6840 Moved ...
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6843 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6845 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6847 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6849 Moved ...
6850 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6852 Moved ...
6853 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6855 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6857 Moved ...
6858 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6860 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6862 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6864 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6866 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6868 Moved ...
6869 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6870 ... here.
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6872 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6876 Moved ...
6877 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6879 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6881 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6883 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6885 Moved ...
6886 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6888 Moved ...
6889 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6891 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6893 Moved ...
6894 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6896 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6898 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6899
a4ccbc9b
JM
69002014-06-25 Joseph Myers <joseph@codesourcery.com>
6901
0828edbf
JM
6902 * timezone/checktab.awk: Update from tzcode 2014e.
6903 * timezone/private.h: Likewise.
6904 * timezone/tzfile.h: Likewise.
6905 * timezone/zdump.c: Likewise.
6906 * timezone/zic.c: Likewise.
6907
a4ccbc9b
JM
6908 * sysdeps/unix/sysv/linux/kernel-features.h
6909 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6910 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6911 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6912 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6913 Remove conditional code.
6914
9aea0cb8
WN
69152014-06-25 Will Newton <will.newton@linaro.org>
6916
6917 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6918 (_dl_arm_cap_flags): Add HWCAP2 values.
6919 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6920 (_DL_HWCAP_COUNT): Increase to 37.
6921 (_DL_HWCAP_LAST): New define.
6922 (_DL_HWCAP2_LAST): New define.
6923 (_dl_procinfo): Add support for printing
6924 AT_HWCAP2 entries.
6925 (_dl_string_hwcap): Use _dl_hwcap_string.
6926
6eaa65ce
AZ
69272014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6928
6929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6930
0f5b7185
JM
69312014-06-25 Joseph Myers <joseph@codesourcery.com>
6932
cfd2ea50
JM
6933 * README: Do not mention ports directory.
6934
cecf2ed4
JM
6935 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6936 Remove macro.
6937 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6938 <kernel-features.h>.
6939 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6940 conditional variable definition.
6941 (__futimes): Update comment.
6942 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6943 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6944
a638de82
JM
6945 [BZ #16560]
6946 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6947 arguments close to 0.
6948 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6949 Likewise.
6950 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6951 Likewise.
6952 * math/auto-libm-test-in: Add more tests of exp10.
6953 * math/auto-libm-test-out: Regenerated.
6954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6955
0f5b7185
JM
6956 * sysdeps/unix/sysv/linux/kernel-features.h
6957 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6958 * sysdeps/unix/sysv/linux/readv.c: Do not include
6959 <kernel-features.h>.
6960 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6961 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6962 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6963 unconditional.
6964 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6965 conditional code.
6966 * sysdeps/unix/sysv/linux/writev.c: Do not include
6967 <kernel-features.h>.
6968 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6969 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6970 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6971 unconditional.
6972 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6973 conditional code.
6974
c7aec4be
WN
69752014-06-25 Will Newton <will.newton@linaro.org>
6976
6977 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6978 comment changes throughout the file. Remove checks
6979 for HAVE_*_H definitions that are not required.
6980 (__gen_tempname): Call abort if an unknown kind value is
6981 passed.
6982
c5241f95
AS
69832014-06-25 Andreas Schwab <schwab@suse.de>
6984
6985 [BZ #17086]
6986 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6987 scalbln, scalblnf, scalblnl in libc.
6988
911422da
SP
69892014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6990
6991 [BZ #17086]
6992 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6993 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6994 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6995
0d749bbe
RM
69962014-06-24 Roland McGrath <roland@hack.frob.com>
6997
6998 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6999 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7000 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7001 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7002 Update #include.
7003 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7004 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7005 Update #include.
7006 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7007 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7008 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7009 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7010 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7011 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7012 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7013 * sysdeps/x86/bits/semaphore.h: ... here.
7014 * sysdeps/x86/nptl/elide.h: Moved ...
7015 * sysdeps/x86/elide.h: ... here.
7016 * sysdeps/x86_64/nptl/Implies: File removed.
7017 * sysdeps/i386/nptl/Implies: File removed.
7018
0ea5d373
JM
70192014-06-24 Joseph Myers <joseph@codesourcery.com>
7020
4060283d
JM
7021 [BZ #16539]
7022 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7023 return the argument for normal arguments with exponent below -64.
7024 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7025 Likewise.
7026 * math/auto-libm-test-in: Add another test of expm1.
7027 * math/auto-libm-test-out: Regenerated.
7028
e7dd3c8c
JM
7029 [BZ #16287]
7030 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7031 calling __erfcl for arguments at least 16.
7032 * math/auto-libm-test-in: Add more tests of erf.
7033 * math/auto-libm-test-out: Regenerated.
7034
0ea5d373
JM
7035 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7036 individual architectures.
7037 * sysdeps/unix/sysv/linux/configure: Regenerated.
7038 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7039 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7040 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7041 (ldd_rewrite_script): Define variable.
7042 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7044 file.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7046 generated file.
7047 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7048 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7049 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7050 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7051 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7052 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7053 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7054 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7055
2307e126
SP
70562014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7057
7058 [BZ #17084]
7059 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7060 Rename member __data.d to __data.__elision_data.
7061
c0a4ed77
W
70622014-06-24 Wilco <wdijkstr@arm.com>
7063
7064 * NEWS: Add 16918 to fixed bug list.
7065
b8c00573
W
70662014-06-24 Wilco <wdijkstr@arm.com>
7067
7068 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7069
b5570d92
W
70702014-06-24 Wilco <wdijkstr@arm.com>
7071
7072 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7073 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7074 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7075 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7076 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7077 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7078 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7079 Use _FPU_MASK_RM.
7080
947bdca2
W
70812014-06-24 Wilco <wdijkstr@arm.com>
7082
7083 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7084
00f669ed
W
70852014-06-24 Wilco <wdijkstr@arm.com>
7086
7087 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7088 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7089 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7090 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7091
db59bad3
W
70922014-06-24 Wilco <wdijkstr@arm.com>
7093
7094 [BZ #16918]
7095 * sysdeps/arm/feupdateenv.c (feupdateenv):
7096 Rewrite to reduce FPSCR accesses and fix return value.
7097
001f7b77
W
70982014-06-24 Wilco <wdijkstr@arm.com>
7099
7100 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7101 Optimize to avoid unnecessary FPSCR writes.
7102 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7103 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7104 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7105 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7106
4841e6a6
W
71072014-06-24 Wilco <wdijkstr@arm.com>
7108
7109 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7110 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7111 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7112 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7113 Call libc_fetestexcept_vfp.
7114 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7115 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7116 __SOFTFP__ ifdef so that they can be built for softfp.
7117
0813022c
SP
71182014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7119
08e5862f
SP
7120 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7121 argument type signed char.
7122
0813022c
SP
7123 * Makerules (check-abi): Dump diff of symlist if the test
7124 fails.
7125
3fc7236a
RM
71262014-06-23 Roland McGrath <roland@hack.frob.com>
7127
aba8ef95
RM
7128 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7129 using abort.
7130
3fc7236a
RM
7131 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7132 Remove unused variable ST.
7133
4da6db51
JM
71342014-06-23 Joseph Myers <joseph@codesourcery.com>
7135
4648909d
JM
7136 [BZ #16354]
7137 [BZ #17061]
7138 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7139 small arguments before calling __expm1.
7140 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7141 small arguments before calling __expm1f.
7142 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7143 small arguments before calling __expm1l.
7144 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7145 Likewise.
7146 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7147 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7148 spurious underflow for some cosh tests.
7149 * math/auto-libm-test-out: Regenerated.
7150 * sysdeps/i386/fpu/libm-test-ulps: Update.
7151
46a3d3c7
JM
7152 [BZ #17050]
7153 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7154 (__ieee754_y1): Set errno if return value overflows.
7155 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7156 (__ieee754_y1f): Set errno if return value overflows.
7157 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7158 (__ieee754_y1l): Set errno if return value overflows.
7159 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7160 (__ieee754_y1l): Set errno if return value overflows.
7161 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7162 * math/auto-libm-test-out: Regenerated.
7163
863893ec
JM
7164 * math/gen-auto-libm-tests.c: Document use of
7165 ignore-zero-inf-sign.
7166 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7167 (input_flags): Add ignore-zero-inf-sign.
7168 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7169 * math/gen-libm-test.pl (generate_testfile): Handle
7170 ignore-zero-inf-sign.
7171 * math/auto-libm-test-in: Mark some cpow tests with
7172 ignore-zero-inf-sign and some with xfail-rounding.
7173 * math/auto-libm-test-out: Regenerated.
7174 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7175 * sysdeps/i386/fpu/libm-test-ulps: Update.
7176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7177
4da6db51
JM
7178 [BZ #16315]
7179 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7180 overflowing or underflowing operations take place with sign of
7181 result.
7182 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7183 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7184 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7185 (__ieee754_pow): Recompute overflowing and underflowing results in
7186 original rounding mode.
7187 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7188 (__powl_helper): Allow negative argument X and scale negated value
7189 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7190 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7191 overflowing or underflowing operations take place with sign of
7192 result.
7193 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7194 Include <math.h>.
7195 * math/auto-libm-test-in: Add more tests of pow.
7196 * math/auto-libm-test-out: Regenerated.
7197 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7198 (pow_tonearest_test_data): Remove.
7199 (pow_test_tonearest): Likewise.
7200 (pow_towardzero_test_data): Likewise.
7201 (pow_test_towardzero): Likewise.
7202 (pow_downward_test_data): Likewise.
7203 (pow_test_downward): Likewise.
7204 (pow_upward_test_data): Likewise.
7205 (pow_test_upward): Likewise.
7206 (main): Don't call removed functions.
7207 * sysdeps/i386/fpu/libm-test-ulps: Update.
7208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7209
5686b236
RM
72102014-06-23 Roland McGrath <roland@hack.frob.com>
7211
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7213 Moved ...
7214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7216 Moved ...
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7219 Moved ...
7220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7222 Moved ...
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7225 File removed.
7226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7227 File removed.
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7229 File removed.
7230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7231 File removed.
7232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7233 File removed.
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7235 File removed.
7236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7237 File removed.
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7239 File removed.
7240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7241 File removed.
7242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7243 File removed.
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7245 File removed.
7246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7247 File removed.
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7249 Moved ...
7250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7252 Moved ...
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7254 ... here.
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7256 Moved ...
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7259 Moved ...
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7262 Moved ...
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7265 Moved ...
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7268 Moved ...
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7271 Moved ...
7272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7274 Moved ...
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7278 ... here.
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7280 Moved ...
7281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7283 Moved ...
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7285 ... here.
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7287 Moved ...
7288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7289 ... here.
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7291 Moved ...
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7293 ... here.
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7295 Moved ...
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7298 Moved ...
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7303 Moved ...
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7305 ... here.
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7307 Moved ...
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7309 ... here.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7311 Moved ...
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7314 Moved ...
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7317 Moved ...
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7320 Moved ...
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7323 Moved ...
7324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7325 ... here.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7327 Moved ...
7328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7330 Moved ...
7331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7333 Moved ...
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7336 Moved ...
7337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7341 Moved ...
7342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7344 Moved ...
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7347 Moved ...
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7349 ... here.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7351 Moved ...
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7353 ... here.
7354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7355 Moved ...
7356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7357 ... here.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7359 Moved ...
7360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7362 Moved ...
7363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7365 Moved ...
7366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7368 Moved ...
7369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7370 ... here.
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7372 Moved ...
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7374 ... here.
7375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7376 Moved ...
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7378 ... here.
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7380 Moved ...
7381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7383 Moved ...
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7385
e6d90d67
WD
73862014-06-23 Will Newton <will.newton@linaro.org>
7387 Wilco <wdijkstr@arm.com>
7388
7389 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7390 implementation. Include get-rounding-mode.h.
7391 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7392 [!libc_feholdsetround_noex_ctx]: Define
7393 libc_feholdsetround_noex_ctx.
7394 [!libc_feholdsetround_noexf_ctx]: Define
7395 libc_feholdsetround_noexf_ctx.
7396 [!libc_feholdsetround_noexl_ctx]: Define
7397 libc_feholdsetround_noexl_ctx.
7398 (libc_feholdsetround_ctx): New function.
7399 (libc_feresetround_ctx): New function.
7400 (libc_feholdsetround_noex_ctx): New function.
7401 (libc_feresetround_noex_ctx): New function.
7402
d42df555
RM
74032014-06-23 Roland McGrath <roland@hack.frob.com>
7404
88a46474
RM
7405 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7406 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7407 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7408 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7409 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7410 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7411
15bed472
RM
7412 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7413 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7414 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7415 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7416 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7417 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7419 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7420 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7421 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7422 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7423 Moved ...
7424 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7425 ... here.
7426 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7427 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7429 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7430 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7431 Moved ...
7432 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7433 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7436 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7438 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7439 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7440 Moved ...
7441 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7443 Moved ...
7444 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7446 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7447 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7448 Moved ...
7449 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7450 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7451 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7452 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7453 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7454 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7455 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7456 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7457 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7459 Moved ...
7460 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7461 ... here.
7462 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7463 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7464 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7465 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7466 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7467 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7468 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7469 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7470 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7471 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7472 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7473 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7474 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7475 Moved ...
7476 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7477 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7478 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7479 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7480 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7482 Moved ...
7483 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7484 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7485 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7486 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7487 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7488
d42df555
RM
7489 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7490 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7491 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7492 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7498 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7500 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7501 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7502 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7503 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7504 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7505 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7506 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7507 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7508 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7509 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7510 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7511 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7512 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7513 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7514 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7515 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7516 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7517
76e5216e
JM
75182014-06-23 Joseph Myers <joseph@codesourcery.com>
7519
7520 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7521 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7522 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7523 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7524 (IPV6_PMTUDISC_INTERFACE): Likewise.
7525 (IPV6_PMTUDISC_OMIT): Likewise.
7526
7a81cbcc
AS
75272014-06-23 Andreas Schwab <schwab@suse.de>
7528
7529 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7530 Remove unused errout label.
7531
db224009
AZ
75322014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7533
7534 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7535 macro: hardware supports Vector Crypto instructions.
7536
f393b4aa
WN
75372014-06-23 Will Newton <will.newton@linaro.org>
7538
cc7d0447
WN
7539 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7540 rather than __builtin_expect.
7541
d6d06225
WN
7542 * elf/dl-lookup.c (undefined_msg): Remove variable.
7543 (_dl_lookup_symbol_x): Replace undefined_msg with string
7544 literal.
7545
f393b4aa
WN
7546 * elf/dl-lookup.c (do_lookup_unique): New function.
7547 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7548 to a separate function.
7549
ac60763e
AS
75502014-06-23 Andreas Schwab <schwab@suse.de>
7551
7552 [BZ #17079]
7553 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7554 before reading the next line.
7555
c5c13355
WN
75562014-06-23 Will Newton <will.newton@linaro.org>
7557
7558 * test-skeleton.c (signal_handler): Use printf and %m
7559 rather than perror. Use printf rather than fprintf to
7560 stderr. Use puts rather than fputs to stderr.
7561 (main): Likewise.
7562
bd3675f9
LC
75632014-06-22 Ludovic Courtès <ludo@gnu.org>
7564
7565 * nscd/nscd.c (thread_info_t): Remove typedef.
7566 (thread_info): Remove variable.
7567
d03efb2f
AM
75682014-06-21 Allan McRae <allan@archlinux.org>
7569
7570 * NEWS: Mention CVE-2014-4043.
7571
bc4a86fa
RM
75722014-06-20 Roland McGrath <roland@hack.frob.com>
7573
dc9a54f8
RM
7574 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7575 * nptl/smp.h: ... here.
7576
bd7022c4
RM
7577 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7578
26ffd5e6
RM
7579 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7580 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7581 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7582 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7583
93a6d082
RM
7584 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7585 * nptl/stack-aliasing.h: New file.
7586 * sysdeps/i386/i686/stack-aliasing.h: New file.
7587 * sysdeps/i386/i686/nptl/Makefile: File removed.
7588 * sysdeps/x86_64/stack-aliasing.h: New file.
7589 * sysdeps/x86_64/nptl/Makefile
7590 (CFLAGS-pthread_create.c): Variable removed.
7591
bc4a86fa
RM
7592 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7593 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7594 old file.
7595 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7596 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7597 old file.
7598
2272ffc1
JM
75992014-06-21 Joseph Myers <joseph@codesourcery.com>
7600
7601 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7602 (__ASSUME_SIGFRAME_V2): Remove macro.
7603 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7604 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7605 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7606 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7607 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7608 Declare as function. Remove conditional macro definitions.
7609 (__default_rt_sa_restorer): Likewise.
7610 (__default_sa_restorer_v1): Remove declaration.
7611 (__default_sa_restorer_v2): Likewise.
7612 (__default_rt_sa_restorer_v1): Likewise.
7613 (__default_rt_sa_restorer_v2): Likewise.
7614 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7615 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7616 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7617
4b88139b
RM
76182014-06-20 Roland McGrath <roland@hack.frob.com>
7619
7620 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7621 (libpthread-routines): Add sysdep.
7622 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7623 * sysdeps/unix/sysv/linux/sparc/Versions
7624 (libpthread: GLIBC_2.3.3): New version set.
7625 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7626 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7627 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7628 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7629 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7630 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7631 Moved ...
7632 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7634 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7635 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7636 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7637 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7638 * sysdeps/sparc/nptl/sem_init.c: ... here.
7639 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7640 * sysdeps/sparc/nptl/sem_post.c: ... here.
7641 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7642 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7643 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7644 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7645 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7646 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7647 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7648 (libpthread-routines): Add cpu_relax.
7649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7650 File removed.
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7652 (librt: GLIBC_2.3.3): New version set.
7653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7654 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7655 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7656 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7659 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7661 Moved ...
7662 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7664 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7666 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7668 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7670 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7672 Moved ...
7673 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7674 Update #include.
7675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7676 Moved ...
7677 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7678 Update #include.
7679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7680 Moved ...
7681 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7682 Update #include.
7683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7684 Moved ...
7685 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7686 Update #include.
7687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7688 Moved ...
7689 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7690 Update #include.
7691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7692 Moved ...
7693 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7694 Update #include.
7695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7696 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7702 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7704 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7706 Moved ...
7707 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7709 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7711 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7712
d7109027
JM
77132014-06-20 Joseph Myers <joseph@codesourcery.com>
7714
9bc6103d
JM
7715 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7716 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7717 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7718 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7719 * nscd/nscd.c: Likewise.
7720 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7721 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7722 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7723 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7724
d7109027
JM
7725 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7726 <kernel-features.h>.
7727 (init_mq_netlink): Remove conditional have_sock_cloexec
7728 definitions. Remove code conditional on have_sock_cloexec < 0.
7729 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7730 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7731 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7732 <kernel-features.h>.
7733 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7734 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7735
d92d8f8a
L
77362014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7739 Add tests for memset_chk and memset.
7740
7741 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7742 with AVX2_Usable.
7743
4e6d2347
MR
77442014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7745
257ce712
MR
7746 [BZ #16046]
7747 * elf/tst-dl-iter-static.c: New file.
7748 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7749
4e6d2347
MR
7750 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7751 error.
7752
a2a76afe
JM
77532014-06-20 Joseph Myers <joseph@codesourcery.com>
7754
7fd00f99
JM
7755 * sysdeps/unix/sysv/linux/kernel-features.h
7756 (__ASSUME_F_GETOWN_EX): Remove macro.
7757 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7758 <kernel-features.h>.
7759 (miss_F_GETOWN_EX): Remove variable or macro.
7760 (do_fcntl): Do not check miss_F_GETOWN_EX.
7761 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7762
4a103975
JM
7763 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7764 Remove macro.
7765 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7766 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7767 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7768
a2a76afe
JM
7769 * sysdeps/unix/sysv/linux/kernel-features.h
7770 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7771 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7772 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7773 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7774
90e5dd48
MR
77752014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7776
7777 [BZ #17075]
7778 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7779 Fix calculation of the symbol's value.
7780 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7781 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7782 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7783 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7784 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7785 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7786 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7787 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7788 (modules-names): Add `tst-armtlsdescmod',
7789 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7790 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7791 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7792 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7793 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7794 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7795 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7796 ($(objpfx)tst-armtlsdescloc): New dependency.
7797 ($(objpfx)tst-armtlsdescextnow): Likewise.
7798 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7799 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7800 TLS scheme support.
7801 * sysdeps/arm/configure: Regenerate.
7802
809fdf0d
JM
78032014-06-20 Joseph Myers <joseph@codesourcery.com>
7804
7805 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7806 (__atfct_seterrno_2): Likewise.
7807 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7808 <kernel-features.h>.
7809 (__ASSUME_ATFCTS): Do not undefine and redefine.
7810 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7811 (__have_atfcts): Remove conditional definition.
7812 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7813 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7814 unreachable if [__ASSUME_ATFCTS].
7815 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7816 not undefine and redefine.
7817 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7818 <kernel-features.h>.
7819 (faccessat) [__NR_faccessat]: Make code unconditional.
7820 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7821 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7822 <kernel-features.h>.
7823 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7824 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7825 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7826 <kernel-features.h>.
7827 (fchownat) [__NR_fchownat]: Make code unconditional.
7828 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7829 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7830 <kernel-features.h>.
7831 (futimesat) [__NR_futimesat]: Make code unconditional.
7832 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7833 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7834 <kernel-features.h>.
7835 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7836 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7837 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7838 <kernel-features.h>.
7839 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7840 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7841 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7842 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7843 <kernel-features.h>.
7844 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7845 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7846 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7847 <kernel-features.h>.
7848 (linkat) [__NR_linkat]: Make code unconditional.
7849 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7850 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7851 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7852 <kernel-features.h>.
7853 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7854 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7855 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7856 <kernel-features.h>.
7857 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7858 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7859 * sysdeps/unix/sysv/linux/openat.c: Do not include
7860 <kernel-features.h>.
7861 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7862 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7863 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7864 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7865 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7866 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7867 <kernel-features.h>.
7868 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7869 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7870 result of INLINE_SYSCALL directly, not via int variable.
7871 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7872 <kernel-features.h>.
7873 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7874 (renameat) [__NR_renameat]: Make code unconditional.
7875 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7876 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7877 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7878 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7879 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7880 (__ASSUME_ATFCTS): Do not undefine and redefine.
7881 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7882 <kernel-features.h>.
7883 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7884 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7885 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7886 <kernel-features.h>.
7887 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7888 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7889 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7890 (__ASSUME_ATFCTS): Do not undefine and redefine.
7891 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7892 <kernel-features.h>.
7893 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7894 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7895 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7896 <kernel-features.h>.
7897 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7898 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7899
224c6c51
L
79002014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7901
7902 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7903
aa6ec754
AS
79042014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7905
7906 [BZ #17069]
7907 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7908 constructed tree before returning error.
7909 * posix/bug-regexp36.c: Expand test case.
7910
d8c2869d
SL
79112014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7912
3ef6b850
SL
7913 [BZ #6803]
7914 * math/libm-test.inc (scalbln_test_date):
7915 Add errno expectations.
7916 * math/w_scalblnf.c: New File.
7917 Add wrapper which checks for setting errno to ERANGE.
7918 Add weak_alias for corresponding scalbln function.
7919 * math/w_scalbln.c: Likewise.
7920 * math/w_scalblnl.c: Likewise.
7921 * math/Makefile (libm-calls): Add w_scalbln.
7922 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7923 Remove weak_alias for corresponding scalbln function.
7924 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7926 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7927 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7928 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7929 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7930 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7931 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7932 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7933 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7934 Remove long_double_symbol for scalblnl function in libm, libc.
7935 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7936 Add wrapper which checks for setting errno to ERANGE.
7937 Add long_double_symbol for scalblnl function in libm, libc.
7938 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7939 Remove long_double_symbol for scalblnl in libm.
7940 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7941 Add wrapper which checks for setting errno to ERANGE.
7942 Add long_double_symbol for scalblnl function in libm.
7943 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7944 Do not use wrapper because of own implementation.
7945
c8daec5c
L
79462014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7947
7948 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7949 3 bytes for __pad1 for x32.
7950 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7951
5c74e47c
LM
79522014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7953 H.J. Lu <hongjiu.lu@intel.com>
7954
7955 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7956 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7957 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7958 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7959 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7960
4d43ef1e
AS
79612014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7962
7963 [BZ #17069]
7964 * posix/regcomp.c (parse_expression): Deallocate partially
7965 constructed tree before returning error.
7966 * posix/Makefile.c (tests): Add bug-regex36.
7967 (generated): Add bug-regex36.mtrace.
7968 (tests-special): Add $(objpfx)bug-regex36-mem.out
7969 (bug-regex36-ENV): New variable.
7970 ($(objpfx)bug-regex36-mem.out): New rule.
7971 * posix/bug-regex36.c: New file.
7972
51a7380b
WN
79732014-06-19 Will Newton <will.newton@linaro.org>
7974
7975 * malloc/malloc.c (systrim): If extra is zero then return
7976 early.
7977
91b84fe5
SP
79782014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7979
7980 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7981
f940b965
RE
79822014-06-19 Richard Earnshaw <rearnsha@arm.com>
7983
7984 * sysdeps/aarch64/strchr.S: New file.
7985
4ba7a00f
JM
79862014-06-18 Joseph Myers <joseph@codesourcery.com>
7987
7988 [BZ #17022]
7989 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7990 from arguments -2 or below.
7991 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7992 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7993
b3a9f56b
AS
79942014-06-18 Andreas Schwab <schwab@suse.de>
7995
7996 [BZ #17062]
7997 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7998 of a bracket expr not to run off the end of the string.
7999 * posix/Makefile (tests): Add tst-fnmatch3.
8000 * posix/tst-fnmatch3.c: New file.
8001
85d89278
JM
80022014-06-18 Joseph Myers <joseph@codesourcery.com>
8003
8004 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8005 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8006 [$(cross-compiling) = no]: Likewise.
8007 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8008 [$(cross-compiling) = no]: Likewise.
8009
754c5a08
RS
80102014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8011
8012 [BZ #17031]
8013 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8014 double, adjusted for any remainder from the high double.
8015 * math/libm-test.inc (nearbyint): Add tests.
8016 (rint): Likewise.
8017
556f529d
AZ
80182014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8019
8020 * nptl/sysdeps/powerpc/Makefile: Moved ...
8021 * sysdeps/powerpc/nptl/Makefile: ... here.
8022 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8023 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8024 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8025 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8026 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8027 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8028 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8029 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8030 * nptl/sysdeps/powerpc/tls.h: Moved ...
8031 * sysdeps/powerpc/nptl/tls.h: ... here.
8032
91c03c53
JM
80332014-06-16 Joseph Myers <joseph@codesourcery.com>
8034
8035 [BZ #16681]
8036 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8037 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8038 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8039 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8040 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8041 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8042 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8043 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8044 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8045
a76e63c5
AS
80462014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8047
8048 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8049
f2f6d82f
AS
80502014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8051
ea8a15f6
AS
8052 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8053 defined operator.
8054
f2f6d82f
AS
8055 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8056 $TIMEOUTFACTOR.
8057
a7291117
FW
80582014-06-16 Florian Weimer <fweimer@redhat.com>
8059
8060 [BZ #17058]
8061 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8062 non-executed part of the test.
8063
3d7c00e3
AS
80642014-06-16 Andreas Schwab <schwab@suse.de>
8065
8066 * string/bits/string2.h (strdup, strndup): Update feature guard.
8067
6957fb31
DM
80682014-06-14 David S. Miller <davem@davemloft.net>
8069
8070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8071
11b9e55b
AS
80722014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8073
1d2a0492
AS
8074 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8075 that was previously under [RESET_PID].
8076 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8077
11b9e55b
AS
8078 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8079 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8080 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8081 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8082 (__libc_vfork): New strong alias.
8083 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8084
0f6901d0
AK
80852014-06-14 Andi Kleen <ak@linux.intel.com>
8086
8087 * sysdeps/generic/elide.h: New file.
8088
38bbbb9f
SL
80892014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8090
8091 * Makefile (installed-headers): Adjust path of pthread.h header.
8092
45193bb8
RM
80932014-06-13 Roland McGrath <roland@hack.frob.com>
8094
9a25fd1e
RM
8095 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8096 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8097 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8098 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8099
4004f7e4
RM
8100 * nptl/sysdeps/s390/Makefile: Moved ...
8101 * sysdeps/s390/nptl/Makefile: ... here.
8102 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8103 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8104 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8105 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8106 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8107 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8108 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8109 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8110 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8111 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8112 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8113 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8114 * nptl/sysdeps/s390/tls.h: Moved ...
8115 * sysdeps/s390/nptl/tls.h: ... here.
8116
45193bb8
RM
8117 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8118 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8119
f6fdf533
DM
81202014-06-13 David S. Miller <davem@davemloft.net>
8121
8122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8125 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8129 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8130 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8131 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8132 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8133 Remove RESET_PID cpp guards.
8134 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8135 Remove RESET_PID cpp guards.
8136 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8137
f5d71e14
AS
81382014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8139
8140 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8141 __sp to uintptr_t.
8142
b7aa8caa
AK
81432014-06-13 Andi Kleen <ak@linux.intel.com>
8144
4b266200
AZ
8145 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8146 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8147 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8148 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8149 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8150 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8151 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8152 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8153 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8154 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8155 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8156 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8157 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8158 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8159 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8160 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8161 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8162 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8163 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8164 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
8165
8166 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
8167 (pthread_rwlock_rdlock): Add elision.
8168 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8169 (pthread_rwlock_wrlock): Add elision.
8170 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8171 (pthread_rwlock_trywrlock): Add elision.
8172 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8173 (pthread_rwlock_tryrdlock): Add elision.
8174 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8175 (pthread_rwlock_tryrdlock): Add elision unlock.
8176 * nptl/sysdeps/pthread/pthread.h:
8177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8178 (PTHREAD_RWLOCK_INITIALIZER,
8179 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8180 Handle new elision field.
8181 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8182 * sysdeps/arm/nptl/bits/pthreadtypes.h
8183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8184 * sysdeps/sh/nptl/bits/pthreadtypes.h
8185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8186 * sysdeps/tile/nptl/bits/pthreadtypes.h
8187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8188 * sysdeps/a/nptl/bits/pthreadtypes.h
8189 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8190 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8191 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8192 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8193 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8194 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8195 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8196 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8197 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8198 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8199 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8200 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8201 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8202 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8203 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8204 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8205 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8206 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8207 (elision_init): Set try_xbegin to zero when no RTM.
8208 * sysdeps/x86/nptl/bits/pthreadtypes.h
8209 (pthread_rwlock_t): Change __pad1 to __rwelision.
8210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 8211
a832bdd3
AK
82122014-06-13 Andi Kleen <ak@linux.intel.com>
8213
8214 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8215 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8216 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8217 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8218
995a46bb
MI
82192014-06-13 Meador Inge <meadori@codesourcery.com>
8220
8221 [BZ #16996]
03ed7738 8222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
8223 that the cached result has been set before returning it.
8224
45262aee
RM
82252014-06-12 Roland McGrath <roland@hack.frob.com>
8226
febf6cc5
RM
8227 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8228 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8229 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8230 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8232 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8233
e2682246
RM
8234 * nptl/sysdeps/sparc/Makefile: Moved ...
8235 * sysdeps/sparc/nptl/Makefile: ... here.
8236 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8237 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8238 * nptl/sysdeps/sparc/tls.h: Moved ...
8239 * sysdeps/sparc/nptl/tls.h: ... here.
8240 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8241 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8242 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8243 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8244 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8245 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8246 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8247 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8248 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8249 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8250 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8251 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8252 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8253 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8254 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8255 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8256 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8257 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8258 Update #include.
8259 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8260 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8261 Update #include.
8262 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8263 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8264 Update #include.
8265 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8266 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8267 Update #include.
8268
b0725f43
RM
8269 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8270
b14368b8
RM
8271 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8272 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8273
c5620eb3
RM
8274 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8275 (struct list_links): Type removed.
8276 (struct thread_node, struct timer_node): Replace struct list_links
8277 with struct list_head.
8278 (list_unlink_ip): Likewise.
8279 * sysdeps/pthread/timer_routines.c
8280 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8281 (list_append, list_insbefore): Likewise.
8282 (list_init): Function removed.
8283 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
8284 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8285 * sysdeps/pthread/Makefile: ... here, new file.
8286
8287 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8288 * sysdeps/nptl/Implies: ... here.
8289 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8290 * nptl/sysdeps/pthread/list.h: Moved ...
8291 * include/list.h: ... here.
8292 * nptl/sysdeps/pthread/createthread.c: Moved ...
8293 * nptl/createthread.c: ... here.
8294 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8295 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8296 * nptl/pt-longjmp.c: ... here.
8297 * nptl/sysdeps/pthread/Makefile: Moved ...
8298 * sysdeps/nptl/Makefile: ... here.
8299 * nptl/sysdeps/pthread/Subdirs: Moved ...
8300 * sysdeps/nptl/Subdirs: ... here.
8301 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8302 * sysdeps/nptl/aio_misc.h: ... here.
8303 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8304 * sysdeps/nptl/bits/libc-lock.h: ... here.
8305 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8306 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8307 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8308 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8309 * nptl/sysdeps/pthread/configure: Moved ...
8310 * sysdeps/nptl/configure: ... here.
8311 * nptl/sysdeps/pthread/configure.ac: Moved ...
8312 * sysdeps/nptl/configure.ac: ... here.
8313 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8314 * sysdeps/nptl/gai_misc.h: ... here.
8315 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8316 * sysdeps/nptl/librt-cancellation.c: ... here.
8317 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8318 * sysdeps/nptl/malloc-machine.h: ... here.
8319 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8320 * sysdeps/nptl/pthread-functions.h: ... here.
8321 * nptl/sysdeps/pthread/pthread.h: Moved ...
8322 * sysdeps/nptl/pthread.h: ... here.
8323 * nptl/sysdeps/pthread/setxid.h: Moved ...
8324 * sysdeps/nptl/setxid.h: ... here.
8325 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8326 * sysdeps/nptl/sigfillset.c: ... here.
8327 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8328 * sysdeps/nptl/tcb-offsets.h: ... here.
8329 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8330 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8331 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8332 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8333 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8334 * sysdeps/pthread/allocalim.h: ... here.
8335 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8336 * sysdeps/pthread/bits/sigthread.h: ... here.
8337 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8338 * sysdeps/pthread/flockfile.c: ... here.
8339 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8340 * sysdeps/pthread/ftrylockfile.c: ... here.
8341 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8342 * sysdeps/pthread/funlockfile.c: ... here.
8343 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8344 * sysdeps/pthread/posix-timer.h: ... here.
8345 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8346 * sysdeps/pthread/timer_create.c: ... here.
8347 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8348 * sysdeps/pthread/timer_delete.c: ... here.
8349 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8350 * sysdeps/pthread/timer_getoverr.c: ... here.
8351 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8352 * sysdeps/pthread/timer_gettime.c: ... here.
8353 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8354 * sysdeps/pthread/timer_routines.c: ... here.
8355 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8356 * sysdeps/pthread/timer_settime.c: ... here.
8357 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8358 * sysdeps/pthread/tst-timer.c: ... here.
8359 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8360 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8361
e876b090
RM
8362 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8363 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8364
f6b07b3d
RM
8365 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8366 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8367 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8368 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8369 Update #include target.
8370 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8371 * sysdeps/i386/i686/nptl/Makefile: ... here.
8372 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8373 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8374 Update #include target.
8375 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8376 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8377 * nptl/sysdeps/i386/Makefile: Moved ...
8378 * sysdeps/i386/nptl/Makefile: ... here.
8379 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8380 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8381 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8382 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8383 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8384 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8385 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8386 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8387 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8388 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8389 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8390 * nptl/sysdeps/i386/tls.h: Moved ...
8391 * sysdeps/i386/nptl/tls.h: ... here.
8392
45262aee
RM
8393 * sysdeps/sh/Makefile [$(subdir) = csu]
8394 (gen-as-const-headers): Add tcb-offsets.sym.
8395 * nptl/sysdeps/sh/Makefile: File removed.
8396 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8397 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8398 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8399 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8400 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8401 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8402 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8403 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8404 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8405 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8406 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8407 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8408 * nptl/sysdeps/sh/tls.h: Moved ...
8409 * sysdeps/sh/nptl/tls.h: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8411 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8413 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8414 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8415 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8417 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8418 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8419 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8421 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8423 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8425 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8426 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8427 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8428 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8429 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8430 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8431 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8432 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8433 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8434 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8435 Moved ...
8436 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8438 Moved ...
8439 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8441 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8443 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8444 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8445 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8446 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8447 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8448 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8449 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8451 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8453 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8455 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8457 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8458
35a5e3e3
SL
84592014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8460
8461 * posix/spawn_faction_addopen.c: Include string.h.
8462
14642b85
RM
84632014-06-11 Roland McGrath <roland@hack.frob.com>
8464
8465 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8466 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8467 * nptl/sysdeps/x86_64/Makefile: Moved ...
8468 * sysdeps/x86_64/nptl/Makefile: ... here.
8469 * nptl/sysdeps/x86_64/configure: Moved ...
8470 * sysdeps/x86_64/nptl/configure: ... here.
8471 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8472 * sysdeps/x86_64/nptl/configure.ac: ... here.
8473 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8474 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8475 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8476 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8477 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8478 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8479 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8480 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8481 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8482 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8483 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8484 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8485 * nptl/sysdeps/x86_64/tls.h: Moved ...
8486 * sysdeps/x86_64/nptl/tls.h: ... here.
8487 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8488 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8489 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8490 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8491
8492 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8493
31c44fea
AZ
84942014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8495
8496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8497
e81a4f9a
JM
84982014-06-11 Joseph Myers <joseph@codesourcery.com>
8499
8500 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8501 type.
8502 [POSIX] (off_t): Likewise.
8503 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8504 [POSIX] (S_ISBLK): Require macro.
8505 [POSIX] (S_ISCHR): Likewise.
8506 [POSIX] (S_ISDIR): Likewise.
8507 [POSIX] (S_ISFIFO): Likewise.
8508 [POSIX] (S_ISREG): Likewise.
8509 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8510 optional-macro.
8511 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8512 type.
8513 [POSIX] (time_t): Likewise.
8514 [POSIX] (timer_t): Likewise.
8515
89e435f3
FW
85162014-06-11 Florian Weimer <fweimer@redhat.com>
8517
8518 [BZ #17048]
8519 * posix/spawn_int.h (struct __spawn_action): Make the path string
8520 non-const to support deallocation.
8521 * posix/spawn_faction_addopen.c
8522 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8523 * posix/spawn_faction_destroy.c
8524 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8525 path in all spawn_do_open actions.
8526 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8527 posix_spawn_file_actions_addopen.
8528
c3a2ebe1
CM
85292014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8530
8531 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8532 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8533 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8534 conditional code always true.
8535 (__libc_vfork): New alias.
8536
9503784a
RM
85372014-06-11 Roland McGrath <roland@hack.frob.com>
8538
c9cab3d2
RM
8539 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8540 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8541
d3996c79
RM
8542 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8543
ba5ec611
RM
8544 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8545 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8546
f12b4814
RM
8547 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8548 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8549
9503784a
RM
8550 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8551 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8552
e23d3d26
VR
85532014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8554
8555 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8556 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8557 multiarch strcmp for PPC64.
8558 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8559 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8561 multiarch optimizations.
8562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8563 (__libc_ifunc_impl_list): Likewise.
8564
42b1161e
SP
85652014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8566
8567 * benchtests/scripts/validate_benchout.py: New script.
8568 * benchtests/Makefile (bench-func): Call it.
8569 * benchtests/scripts/benchout.schema.json: New file.
8570
2d0fc4dc
CM
85712014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8572
4a594c34
AZ
8573 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8574 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8575 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8576 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8577 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8578 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8579 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8580 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8581 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8582 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8583 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8584 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8585 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8586 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8587 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8588 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 8590 Moved ...
4a594c34 8591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 8592 ... here.
4a594c34 8593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 8594 Moved ...
4a594c34
AZ
8595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 8597 Moved ...
4a594c34 8598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 8599 ... here.
4a594c34 8600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 8601 Moved ...
4a594c34 8602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 8603 ... here.
4a594c34 8604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 8605 Moved ...
4a594c34
AZ
8606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 8608 Moved ...
4a594c34 8609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 8610 ... here.
4a594c34 8611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 8612 Moved ...
4a594c34 8613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 8614 ... here.
4a594c34 8615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 8616 Moved ...
4a594c34
AZ
8617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 8619 Moved ...
4a594c34 8620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 8621 ... here.
4a594c34 8622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 8623 Moved ...
4a594c34 8624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 8625 ... here.
4a594c34 8626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 8627 Moved ...
4a594c34 8628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 8629 ... here.
4a594c34 8630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 8631 Moved ...
4a594c34
AZ
8632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 8634 Moved ...
4a594c34 8635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 8636 ... here.
4a594c34 8637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 8638 Moved ...
4a594c34 8639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 8640 ... here.
4a594c34 8641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 8642 Moved ...
4a594c34 8643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 8644 ... here.
4a594c34 8645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 8646 Moved ...
4a594c34
AZ
8647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 8649 Moved ...
4a594c34 8650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 8651 ... here.
4a594c34 8652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 8653 Moved ...
4a594c34 8654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 8655 ... here.
4a594c34 8656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 8657 Moved ...
4a594c34
AZ
8658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 8660 Moved ...
4a594c34 8661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 8662 ... here.
4a594c34 8663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 8664 Moved ...
4a594c34
AZ
8665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 8667 Moved ...
4a594c34
AZ
8668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 8670 Moved ...
4a594c34 8671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 8672 ... here.
4a594c34 8673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 8674 Moved ...
4a594c34 8675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 8676 ... here.
4a594c34 8677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 8678 Moved ...
4a594c34 8679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 8680 ... here.
4a594c34 8681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 8682 Moved ...
4a594c34
AZ
8683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 8685 Moved ...
4a594c34 8686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 8687 ... here.
4a594c34 8688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8689 Moved ...
4a594c34 8690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8691 ... here.
4a594c34
AZ
8692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8693 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8695 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8697 Moved ...
4a594c34 8698 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8699 ... here.
4a594c34
AZ
8700 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8701 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8702 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8703 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8704 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8705 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8706 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8707 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8708 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8709 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8710 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8711 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8712 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8713 Moved ...
4a594c34
AZ
8714 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8716 Moved ...
4a594c34
AZ
8717 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8718 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8719 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8721 Moved ...
4a594c34
AZ
8722 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8723 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8724 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8725 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8726 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8727 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8728 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8729
0570cfed
W
87302014-06-10 Wilco <wdijkstr@arm.com>
8731
8732 * math/test-fenv-return.c: New file.
8733 * math/Makefile: Add new test test-fenv-return.
8734
f8ba1b56
JM
87352014-06-10 Joseph Myers <joseph@codesourcery.com>
8736
8737 [BZ #17042]
8738 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8739 when x - 1 is zero.
8740 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8741 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8742 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8743 0.0L for an argument of 1.0L.
8744 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8745 Likewise.
8746 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8747 value when x - 1 is zero.
8748 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8749 * sysdeps/i386/fpu/libm-test-ulps: Update.
8750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8751
2c3520d9
BO
87522014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8753
8754 [BZ #15119]
8755 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8756
acaa4d24
RM
87572014-06-09 Roland McGrath <roland@hack.frob.com>
8758
8759 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8760 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8761
962b744d
RM
87622014-06-09 Roland McGrath <roland@hack.frob.com>
8763
d752f0cc
RM
8764 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8765 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8766
34eda6d1
RM
8767 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8768 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8769
50f0a637
RM
8770 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8771 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8772
08f41f04
RM
8773 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8774 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8775
962b744d
RM
8776 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8777 if not already defined.
8778 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8779 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8780 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8781 (TLS_INIT_TP): Use it.
8782 (TLS_DEFINE_INIT_TP): New macro.
8783 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8784
09f19b05
JM
87852014-06-09 Joseph Myers <joseph@codesourcery.com>
8786
8787 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8788 constant.
8789 [POSIX] (IXANY): Likewise.
8790 [POSIX] (OLCUC): Likewise.
8791 [POSIX || POSIX2008] (CBAUD): Do not allow.
8792 [POSIX || POSIX2008] (DEFECHO): Likewise.
8793 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8794 [POSIX || POSIX2008] (ECHOKE): Likewise.
8795 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8796 [POSIX || POSIX2008] (EXTA): Likewise.
8797 [POSIX || POSIX2008] (EXTB): Likewise.
8798 [POSIX || POSIX2008] (FLUSHO): Likewise.
8799 [POSIX || POSIX2008] (LOBLK): Likewise.
8800 [POSIX || POSIX2008] (PENDIN): Likewise.
8801 [POSIX || POSIX2008] (SWTCH): Likewise.
8802 [POSIX || POSIX2008] (VDISCARD): Likewise.
8803 [POSIX || POSIX2008] (VDSUSP): Likewise.
8804 [POSIX || POSIX2008] (VLNEXT): Likewise.
8805 [POSIX || POSIX2008] (VREPRINT): Likewise.
8806 [POSIX || POSIX2008] (VSTATUS): Likewise.
8807 [POSIX || POSIX2008] (VWERASE): Likewise.
8808 (B*): Change to B[0123456789]*.
8809 * conform/data/time.h-data [POSIX || UNIX98]
8810 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8811 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8812 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8813 [POSIX] (tm_*): Do not allow.
8814
686554bf
JM
88152014-06-07 Joseph Myers <joseph@codesourcery.com>
8816
8817 * Makefile (install): Don't set LANGUAGE.
8818 * Makefile.in (install): Likewise.
8819 * assert/Makefile (test-assert-ENV): Remove variable.
8820 (test-assert-perr-ENV): Likewise.
8821 * elf/Makefile (neededtest4-ENV): Likewise.
8822 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8823 [$(cross-compiling) = no]: Don't set LANGUAGE.
8824 * io/ftwtest-sh (LANG): Remove variable.
8825 * libio/Makefile (tst-widetext-ENV): Likewise.
8826 * manual/install.texi (Running make install): Don't refer to
8827 environment settings for make install.
8828 * INSTALL: Regenerated.
8829 * nptl/tst-tls6.sh: Don't set LANG.
8830 * posix/globtest.sh (LANG): Remove variable.
8831 * string/Makefile (tester-ENV): Likewise.
8832 (inl-tester-ENV): Likewise.
8833 (noinl-tester-ENV): Likewise.
8834 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8835 [$(cross-compiling) = no]: Don't set LANGUAGE.
8836 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8837 without explicit environment settings.
8838
68e6b6b1
RM
88392014-06-06 Roland McGrath <roland@hack.frob.com>
8840
8841 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8842 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8843 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8844 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8845
4d3ae034
CM
88462014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8847
8848 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8849 other files in the crypt directory.
8850 * crypt/crypt.c: Remove duplicate includes.
8851 * crypt/crypt-entry.c: Likewise.
8852 * crypt/crypt_util.c: Likewise.
8853
8540f6d2
JM
88542014-06-06 Joseph Myers <joseph@codesourcery.com>
8855
8856 * Makeconfig (run-program-env): New variable.
8857 (run-program-prefix-before-env): Likewise.
8858 (run-program-prefix-after-env): Likewise.
8859 (run-program-prefix): Define in terms of new variables.
8860 (built-program-cmd-before-env): New variable.
8861 (built-program-cmd-after-env): Likewise.
8862 (built-program-cmd): Define in terms of new variables.
8863 (test-program-prefix-before-env): New variable.
8864 (test-program-prefix-after-env): Likewise.
8865 (test-program-prefix): Define in terms of new variables.
8866 (test-program-cmd-before-env): New variable.
8867 (test-program-cmd-after-env): Likewise.
8868 (test-program-cmd): Define in terms of new variables.
8869 * Rules (make-test-out): Use $(run-program-env).
8870 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8871 (help): Do not mention environment variables. Mention
8872 --timeoutfactor option.
8873 (timeoutfactor): New variable.
8874 (blacklist_exports): Remove function.
8875 (exports): Remove variable.
8876 (command): Do not include ${exports}.
8877 * manual/install.texi (Configuring and compiling): Do not mention
8878 test wrappers preserving environment variables. Mention that last
8879 assignment to a variable must take precedence.
8880 * INSTALL: Regenerated.
8881 * benchtests/Makefile (run-bench): Use $(run-program-env).
8882 * catgets/Makefile ($(objpfx)test1.cat): Use
8883 $(built-program-cmd-before-env), $(run-program-env) and
8884 $(built-program-cmd-after-env).
8885 ($(objpfx)test2.cat): Do not specify environment variables
8886 explicitly.
8887 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8888 $(run-program-env) and $(built-program-cmd-after-env).
8889 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8890 $(run-program-env) and $(test-program-cmd-after-env).
8891 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8892 explicitly.
8893 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8894 run_program_env and test_program_cmd_after_env arguments.
8895 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8896 * elf/tst-pathopt.sh: Use run_program_env argument.
8897 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8898 $(test-wrapper-env) and $(run-program-env).
8899 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8900 run_program_env arguments.
8901 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8902 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8903 $(test-program-prefix-before-env), $(run-program-env) and
8904 $(test-program-prefix-after-env).
8905 ($(objpfx)tst-gettext2.out): Likewise.
8906 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8907 run_program_env and test_program_prefix_after_env arguments.
8908 * intl/tst-gettext2.sh: Likewise.
8909 * intl/tst-gettext4.sh: Do not set environment variables
8910 explicitly.
8911 * intl/tst-gettext6.sh: Likewise.
8912 * intl/tst-translit.sh: Likewise.
8913 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8914 $(test-program-prefix-before-env), $(run-program-env) and
8915 $(test-program-prefix-after-env).
8916 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8917 run_program_env and test_program_prefix_after_env arguments.
8918 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8919 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8920 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8921 explicitly with each use of ${test_wrapper_env}.
8922 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8923 $(test-program-prefix-before-env), $(run-program-env) and
8924 $(test-program-prefix-after-env).
8925 * posix/tst-getconf.sh: Do not set environment variables
8926 explicitly.
8927 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8928 run_program_env and test_program_prefix_after_env arguments.
8929 * stdio-common/tst-printf.sh: Do not set environment variables
8930 explicitly.
8931 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8932 $(test-program-prefix-before-env), $(run-program-env) and
8933 $(test-program-prefix-after-env).
8934 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8935 run_program_env and test_program_prefix_after_env arguments.
8936 Split $test calls into $test_pre and $test.
8937 * timezone/Makefile (build-testdata): Use
8938 $(built-program-cmd-before-env), $(run-program-env) and
8939 $(built-program-cmd-after-env).
8940
ed36bfa1
AZ
89412014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8942
8943 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8944 strlen for non SHARED builds.
8945
fc75bf46
SP
89462014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8947
8948 * nptl/allocatestack.c (check_list): Inlined function...
8949 (__reclaim_stacks): ... here.
8950
d89b3d80
OB
89512014-06-05 Ondřej Bílka <neleai@seznam.cz>
8952
8953 [BZ #15698]
8954 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8955 memory overrun.
8956
2bf18041
JM
89572014-06-05 Joseph Myers <joseph@codesourcery.com>
8958
8959 * Rules (make-test-out): Include
8960 LOCPATH=$(common-objpfx)localedata in default environment.
8961 * debug/Makefile (tst-chk1-ENV): Remove variable.
8962 (tst-chk2-ENV): Likewise.
8963 (tst-chk3-ENV): Likewise.
8964 (tst-chk4-ENV): Likewise.
8965 (tst-chk5-ENV): Likewise.
8966 (tst-chk6-ENV): Likewise.
8967 (tst-lfschk1-ENV): Likewise.
8968 (tst-lfschk2-ENV): Likewise.
8969 (tst-lfschk3-ENV): Likewise.
8970 (tst-lfschk4-ENV): Likewise.
8971 (tst-lfschk5-ENV): Likewise.
8972 (tst-lfschk6-ENV): Likewise.
8973 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8974 (tst-iconv7-ENV): Likewise.
8975 * intl/Makefile (LOCPATH-ENV): Likewise.
8976 (tst-codeset-ENV): Likewise.
8977 (tst-gettext3-ENV): Likewise.
8978 (tst-gettext5-ENV): Likewise.
8979 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8980 (tst-fopenloc-ENV): Likewise.
8981 (tst-fgetws-ENV): Remove variable.
8982 (tst-ungetwc1-ENV): Likewise.
8983 (tst-ungetwc2-ENV): Likewise.
8984 (bug-ungetwc2-ENV): Likewise.
8985 (tst-swscanf-ENV): Likewise.
8986 (bug-ftell-ENV): Likewise.
8987 (tst-fgetwc-ENV): Likewise.
8988 (tst-fseek-ENV): Likewise.
8989 (tst-ftell-partial-wide-ENV): Likewise.
8990 (tst-ftell-active-handler-ENV): Likewise.
8991 (tst-ftell-append-ENV): Likewise.
8992 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8993 (tst-regexloc-ENV): Likewise.
8994 (bug-regex1-ENV): Likewise.
8995 (tst-regex-ENV): Likewise.
8996 (tst-regex2-ENV): Likewise.
8997 (bug-regex5-ENV): Likewise.
8998 (bug-regex6-ENV): Likewise.
8999 (bug-regex17-ENV): Likewise.
9000 (bug-regex18-ENV): Likewise.
9001 (bug-regex19-ENV): Likewise.
9002 (bug-regex20-ENV): Likewise.
9003 (bug-regex22-ENV): Likewise.
9004 (bug-regex23-ENV): Likewise.
9005 (bug-regex25-ENV): Likewise.
9006 (bug-regex26-ENV): Likewise.
9007 (bug-regex30-ENV): Likewise.
9008 (bug-regex32-ENV): Likewise.
9009 (bug-regex33-ENV): Likewise.
9010 (bug-regex34-ENV): Likewise.
9011 (bug-regex35-ENV): Likewise.
9012 (tst-rxspencer-ENV): Likewise.
9013 (tst-rxspencer-no-utf8-ENV): Likewise.
9014 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9015 (tst-sscanf-ENV): Likewise.
9016 (tst-swprintf-ENV): Likewise.
9017 (tst-swscanf-ENV): Likewise.
9018 (test-vfprintf-ENV): Likewise.
9019 (scanf13-ENV): Likewise.
9020 (bug14-ENV): Likewise.
9021 (tst-grouping-ENV): Likewise.
9022 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9023 (tst-strtod3-ENV): Likewise.
9024 (tst-strtod4-ENV): Likewise.
9025 (tst-strtod5-ENV): Likewise.
9026 (testmb2-ENV): Likewise./
9027 * string/Makefile (tst-strxfrm-ENV): Likewise.
9028 (tst-strxfrm2-ENV): Likewise.
9029 (bug-strcoll1-ENV): Likewise.
9030 (test-strcasecmp-ENV): Likewise.
9031 (test-strncasecmp-ENV): Likewise.
9032 * time/Makefile (tst-strptime-ENV): Likewise.
9033 (tst-ftime_l-ENV): Likewise.
9034 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9035 (tst-mbrtowc-ENV): Likewise.
9036 (tst-wcrtomb-ENV): Likewise.
9037 (tst-mbrtowc2-ENV): Likewise.
9038 (tst-c16c32-1-ENV): Likewise.
9039 (tst-mbsnrtowcs-ENV): Likewise.
9040
cd1fb604
OB
90412014-06-05 Ondřej Bílka <neleai@seznam.cz>
9042
9043 * manual/resource.texi (How to get information about the memory
9044 subsystem?): Fix typo.
9045 Reported by Peon de la Parra Ivan <peon@keba.com>
9046
b42eca7d
GY
90472014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9048
9049 [BZ #16882]
9050 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9051 (pthread_spin_lock): Branch out of spin loop to proper location.
9052 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9053 (pthread_spin_lock): Likewise.
9054
902b71f9
DM
9055 * nptl/tst-spin4.c: New test.
9056 * nptl/Makefile (tests): Add tst-spin4.
9057
f9d2d032
AS
90582014-06-03 Andreas Schwab <schwab@suse.de>
9059
9060 [BZ #15946]
9061 * resolv/res_send.c (send_dg): Reload file descriptor after
9062 calling reopen.
9063
cf7bfd28
SL
90642014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9065
9066 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9067
111cc714
RH
90682014-06-03 Richard Henderson <rth@redhat.com>
9069
89b4bd6b
RH
9070 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9071 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9072 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9073 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9074 in the SAVE_PID block.
9075 (__libc_vfork): New alias.
71840409 9076 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 9077
111cc714
RH
9078 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9079 child in registers, not on the stack. Remove RESET_PID conditionals.
9080 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9081
ccc39911
MS
90822014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9083
9084 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9085
693096cc
W
90862014-06-03 Wilco <wdijkstr@arm.com>
9087
9088 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9089 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9090 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9091 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9092 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9093 Likewise.
9094
0b4366bc
W
90952014-06-03 Wilco <wdijkstr@arm.com>
9096
9097 * sysdeps/aarch64/fpu/math_private.h
9098 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9099 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9100 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9101 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9102 Fix declarations.
9103
8747cd03
KS
91042014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9105
9106 * crypt/crypt-private.h: Include ufc-crypt.h.
9107 (__b64_from_24bit): Declare extern.
9108 * crypt/crypt_util.c(__b64_from_24bit): New function.
9109 (b64t): New static const variable.
9110 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9111 (b64t): Remove variable.
9112 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9113 * crypt/sha256-crypt.c: Include crypt-private.h.
9114 (b64t): Remove variable.
9115 (__sha256_crypt_r): Remove b64_from_24bit and replace
9116 with __b64_from_24bit.
9117 * crypt/sha512-crypt.c: Likewise.
9118
d936d379
RM
91192014-06-02 Roland McGrath <roland@hack.frob.com>
9120
9121 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9122 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9123 Label the code __libc_vfork rather than __vfork.
9124 [!NOT_IN_libc] (vfork): Define as weak alias.
9125 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9126 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9127 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9128
9fa76613
SP
91292014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9130
9131 * malloc/malloc.c (malloc_info): Fix format specifier for
9132 n_mmaps.
9133
a88dadbe
W
91342014-06-02 Wilco <wdijkstr@arm.com>
9135
9136 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9137 FPCR write.
9138
c95b3011
W
91392014-06-02 Wilco <wdijkstr@arm.com>
9140
9141 [BZ #17009]
9142 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9143 Rewrite to reduce FPCR/FPSR accesses.
9144
6b4d7a90
DM
91452014-06-01 David S. Miller <davem@davemloft.net>
9146
9147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9148
30f3d07c
DM
91492014-05-31 David S. Miller <davem@davemloft.net>
9150
9151 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9152 to occur in round to nearest mode when |x| >= 2.0
9153
74f31c18
RH
91542014-05-30 Richard Henderson <rth@twiddle.net>
9155
f0712b54
RH
9156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9157 (PSEUDO_RET_NOERRNO): Remove.
9158 (ret): Don't redefine.
9159 (ret_NOERRNO): Define in terms of ret.
9160 (ret_ERRVAL): Likewise.
9161
74f31c18
RH
9162 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9163 use of PSEUDO_RET; perform the error check directly.
9164
30477995
MM
91652014-05-30 Marko Myllynen <myllynen@redhat.com>
9166
9167 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9168 with __int128_t.
9169
62a58816
SP
91702014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9171
9172 * malloc/malloc (malloc_info): Fix formatting.
9173
4d653a59
SP
91742014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9175 Roland McGrath <roland@hack.frob.com>
9176
9177 * malloc/malloc (malloc_info): Also print mmapped statistics.
9178
5190c17f
RM
91792014-05-30 Roland McGrath <roland@hack.frob.com>
9180
9181 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9182 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9183
987c0269
OB
91842014-05-30 Ondřej Bílka <neleai@seznam.cz>
9185
9186 * malloc/malloc.c (malloc_info): Inline mi_arena.
9187
af4e8ef9
RH
91882014-05-29 Richard Henderson <rth@twiddle.net>
9189
1670e207
RH
9190 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9191 Remove comma before expanding ASM_ARGS_##nr.
9192 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9193 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9194 of ASM_ARGS_##nr.
9195 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9196 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9197 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9198 (ASM_ARGS_1): Add leading comma.
9199
11a28aee
RH
9200 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9201 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9202 to __errno_location.
9203 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9204 Remove the expected plt for __errno_location.
9205
a17e5ffb 9206 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 9207 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
9208 call to __read_tp.
9209
b5be4597
RH
9210 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9211 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9212 it and break it down.
9213 (DOCARGS_0, DOCARGS_1): Do nothing.
9214 (DOCARGS_2): Update to store into the new stack frame.
9215 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9216 (UNDOCARGS_1): Update to restore from the new stack frame.
9217 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9218 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9219
645d44ab
RH
9220 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9221 (SINGLE_THREAD_P): New parameter for result regno.
9222 (PSEUDO): Update to match; use cbz instead of beq.
9223
a8b4f04a
RH
9224 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9225 Use ENTRY to define the _nocancel entry point. Share the syscall
9226 and syscall error check paths with the cancel path.
9227 (PSEUDO_END): New.
9228
af4e8ef9
RH
9229 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9230 whitespace; tabs before and after asm mnemonics.
9231
26b0d2e1
EW
92322014-05-29 Eric Wong <normalperson@yhbt.net>
9233
9234 [BZ #15132]
9235 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9236 Call fstat64 or stat64 internally, depending on arguments passed.
9237 Replace stat buffer argument with file descriptor argument.
9238 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9239 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9240 Pass fd to __internal_statvfs instead of calling fstat64.
9241 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9242 Pass fd to __internal_statvfs64 instead of calling fstat64.
9243 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9244 Pass -1 to __internal_statvfs instead of calling stat64.
9245 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9246 Pass -1 to __internal_statvfs64 instead of calling stat64.
9247
1efe2bd9
RM
92482014-05-28 Roland McGrath <roland@hack.frob.com>
9249
0d3b7a19
RM
9250 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9251 that was previously under [RESET_PID].
9252 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9253
1efe2bd9
RM
9254 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9255 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9256
a6bea3ca
RM
92572014-05-27 Roland McGrath <roland@hack.frob.com>
9258
30b6629e
RM
9259 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9260
a6bea3ca
RM
9261 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9262 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9263
3dfb9a5c
OB
92642014-05-27 Ondřej Bílka <neleai@seznam.cz>
9265
9266 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9267
774f9285
AS
92682014-05-27 Andreas Schwab <schwab@suse.de>
9269
9270 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9271 TLS_INIT_TP macro.
9272 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9273 * elf/rtld.c (init_tls, dl_main): Likewise.
9274 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9275 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9276 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9277 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9278 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9279 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9280 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9281 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9282 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9283 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9284 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9285 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9286 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9287 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9288 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9289 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9290 * sysdeps/generic/tls.h: Update description.
9291
36ffe739
WN
92922014-05-27 Will Newton <will.newton@linaro.org>
9293
9294 [BZ #16990]
9295 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9296 and restore r2 rather than just restoring.
9297
2482ae43
SP
92982014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9299
9300 [BZ #16724]
9301 * libio/tst-ftell-append.c: New test case.
9302 * libio/Makefile (tests): Add test case.
9303 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9304 append mode.
9305 * libio/wfileops.c (do_ftell_wide): Likewise.
9306
3d1024e8
AZ
93072014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9308
bab90016
AZ
9309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9310
c7a8d667
AZ
9311 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9312 ...
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9315 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9316 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9318 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9320 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9322 Moved ...
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9325 Moved ...
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9328 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9329 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9330 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9331 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9332 ...
9333 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9335 Moved ...
9336 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9337 here.
9338 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9339 ...
9340 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9341 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9342 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9343
daee7851
AZ
9344 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9345 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9346 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9347 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9348
50a40819
AZ
9349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9350 merge into ...
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9353 ...
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9356 ...
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9359 Moved ...
9360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9361 here.
9362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9363 Moved ...
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9366 Moved ...
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9368
8464c2a1
AZ
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9370 conditional [RESET_PID].
9371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9372 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9373 removed.
9374 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9375 removed.
9376
3d1024e8
AZ
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9378 <tcb-offsets.h>.
9379 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9380 (__libc_vfork): New strong alias.
9381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9382 removed.
9383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9384 Removed.
9385
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9387 <tcb-offsets.h>.
9388 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9389 (__libc_vfork): New strong alias.
9390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9391 removed.
9392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9393 removed.
9394
fdfd175d
CD
93952014-05-26 Carlos O'Donell <carlos@redhat.com>
9396
9397 * malloc/malloc.c (mi_arena): New function.
9398 (malloc_info): Remove nested function mi_arena. Call non-nosted
9399 function mi_arena.
9400
d298c416
AZ
94012014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9402
9403 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9404 by insrwi.
9405 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9406 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9407 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9408 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9409 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9410 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9411 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9412
b60ea6ff
AS
94132014-05-26 Andreas Schwab <schwab@suse.de>
9414
9415 [BZ #16984]
9416 * locale/programs/repertoire.c (repertoire_read): Add slash
9417 between I18NPATH element and file name.
9418 * locale/programs/locfile.c (locfile_read): Likewise.
9419
67365926
SL
94202014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9421
9422 * nptl/pthread_mutexattr_settype.c
9423 (__pthread_mutexattr_settype):
9424 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9425
f8bdf1f0
SL
94262014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9427
9428 * nptl/tst-mutex5 (do_test):
9429 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9430
15eaf6ff
SP
94312014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9432
9433 * benchtests/README: Document 'init' directive.
9434 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9435 BENCH_INIT.
9436 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9437 (parse_file): Recognize 'init' directive.
9438
75f11331
KM
94392014-05-26 Kyle McMartin <kyle@redhat.com>
9440
9441 [BZ #16796]
9442 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9443 alignment of struct pthread.
9444
c3ec475c
SP
94452014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9446
9447 [BZ #16878]
9448 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9449 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9450 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9451 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9452
82aab97c
RH
94532014-05-25 Richard Henderson <rth@twiddle.net>
9454
aa2f176d
RH
9455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9456 (SINGLE_THREAD_P_PIC): Remove.
9457 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9458 (SINGLE_THREAD_P_PIC): Remove.
9459
ca3cfa40
RH
9460 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9461 branch to syscall error ...
9462 (PSEUDO): ... here.
9463 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9464 from __local_syscall_error to .Lsyscall_error.
9465 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9466 (SYSCALL_ERROR): Update label name.
9467
6e6c2d01
RH
9468 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9469 Do not use DOARGS/UNDOARGS.
9470 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9471 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9472 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9473 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9474 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9475
c69abcee
RH
9476 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9477 block comment.
9478
82aab97c
RH
9479 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9480 define if !NOT_IN_libc.
9481 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9482 define with non-default symbol versions.
9483
8820e3ac
RH
94842014-05-23 Richard Henderson <rth@twiddle.net>
9485
900e445f
RH
9486 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9487 (vfork, __vfork): Define via compat_symbol.
9488
8820e3ac
RH
9489 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9490 [!HAVE_IFUNC] (vfork_compat): Remove.
9491 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9492
e59252a5
JM
94932014-05-23 Joseph Myers <joseph@codesourcery.com>
9494
9495 [BZ #16978]
9496 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9497 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9498 variable.
9499
132c7f5f
RH
95002014-05-23 Richard Henderson <rth@twiddle.net>
9501
bc89e962
RH
9502 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9503 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9504 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9505 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9506
9507 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9508 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9509 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9510 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9511 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9512 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9513 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9514 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9515 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9516 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9517 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9518 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9519 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9520 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9521 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9522 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9523 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9524 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9525 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9526 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9527 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9528 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9529 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9530 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9531 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9532 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9533 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9534 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9535 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9536 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9537 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9538 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9539 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9540 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9541 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9542 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9543 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9544 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9545 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9546 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9547 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9548 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9549 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9550 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9551 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9552 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9553 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9554 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9555 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9556 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9557 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9558 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9559 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9560 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9561 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9562 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9563
e2fa4bc2
RH
9564 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9565 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9566 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9567 before exiting on error.
9568 (__libc_vfork): New strong alias.
9569 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9570 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9571
279b24e2
RH
9572 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9573 that was previously under [RESET_PID].
9574 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9575
132c7f5f
RH
9576 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9577
b72592e7
JM
95782014-05-23 Joseph Myers <joseph@codesourcery.com>
9579
9580 [BZ #16977]
9581 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9582 value when x - 1 is zero.
9583 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9584 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9585 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9586 0.0L for an argument of 1.0L.
9587 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9588 Likewise.
9589 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9590 value when x - 1 is zero.
9591 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9592 * sysdeps/i386/fpu/libm-test-ulps: Update.
9593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9594
2302d679
RV
95952014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9596
9597 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9598 alphasort and versionsort.
9599
32999d63
AZ
96002014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9601
9602 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9603 macro.
9604 [copysignf]: Likewise.
9605
019324d0
SP
96062014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9607
9608 * crypt/md5-crypt.c: Fix formatting.
9609
34fff5c2
KS
96102014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9611
9612 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9613 (b64_from_24bit): New function.
9614
3d2badac
AZ
96152014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9616
9617 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9618 libc_hidden_builtin_def to ifunc.
9619 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9620 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9621
f7bb179f 96222014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
9623
9624 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9625 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9626
4134b50d
JM
96272014-05-21 Joseph Myers <joseph@codesourcery.com>
9628
bb7d0337
JM
9629 * nscd/Depend (linuxthreads): Remove.
9630 (nptl): Add.
9631 * resolv/Depend (linuxthreads): Remove.
9632 * rt/Depend (linuxthreads): Remove.
9633
4134b50d
JM
9634 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9635 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9636 $(common-objpfx)elf/.
9637 (link-libc-before-gnulib): Likewise.
9638 (elfobjdir): Remove variable.
9639 * Makefile (install): Use $(elf-objpfx) instead of
9640 $(common-objpfx)elf/.
9641 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9642 $(elfobjdir)/.
9643 (link-libc-deps): Likewise.
9644 ($(common-objpfx)libc.so): Likewise.
9645 ($(common-objpfx)linkobj/libc.so): Likewise.
9646 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9647 instead of $(common-objpfx)elf/.
9648 (symbolic-link-list): Likewise.
9649 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9650 [$(cross-compiling) = no]: Likewise.
9651 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9652 $(elfobjdir)/.
9653 (static-gnulib-arch): Likewise.
9654 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9655 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9656 $(common-objpfx)elf/.
9657
3612eb8f
RH
96582014-05-21 Richard Henderson <rth@redhat.com>
9659
a6b3657b
RH
9660 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9661 (SINGLE_THREAD_P): Use the correct width load. Fold
9662 into the ldr offset.
9663
3612eb8f
RH
9664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9665 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9666
175cef41
JM
96672014-05-20 Joseph Myers <joseph@codesourcery.com>
9668
9669 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9670 (libgcc_s_resume): Use __attribute_used__.
9671 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9672 Likewise.
9673
e13bccd3
AZ
96742014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9675
9676 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9677 optimization when used with float constants.
9678
7c112a38
AZ
9679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9680
ae75a883
AJ
96812014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9682
9683 [BZ #16915]
9684 * locale/nl_langinfo_l.c: Make direct reference to every
9685 _nl_current_CATEGORY symbol.
9686 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9687 (tests-static): Add tst-langinfo-static.
9688 (tests-special): Add tst-langinfo-static.out.
9689 ($(objpfx)tst-langinfo.out): Redirect output.
9690 ($(objpfx)tst-langinfo-static.out): New.
9691 * localedata/tst-langinfo.sh: Send output to stdout.
9692 * localedata/tst-langinfo-static.c: New file.
9693
4406c41c
AJ
9694 [BZ #16965]
9695 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9696 when the shift amount is modulo the limb size.
9697
4c0a1e63
RH
96982014-05-20 Richard Henderson <rth@redhat.com>
9699
de9d8f20
RH
9700 [BZ #16967]
9701 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9702 Change type of sa_flags from unsigned int to int.
9703
4c0a1e63
RH
9704 [BZ #16966]
9705 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9706
9707 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9708
a60339aa
WN
97092014-05-20 Will Newton <will.newton@linaro.org>
9710
9711 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9712 Test the return value of the system call in the nocancel case.
9713
7d05a816
YR
97142014-05-20 Will Newton <will.newton@linaro.org>
9715 Yvan Roux <yvan.roux@linaro.org>
9716
9717 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9718 #include of asm/ptrace.h.
9719 (PTRACE_GET_THREAD_AREA): Remove #undef.
9720 (PTRACE_GETHBPREGS): Likewise.
9721 (PTRACE_SETHBPREGS): Likewise.
9722 (struct user_regs_struct): New structure.
9723 (struct user_fpsimd_struct): New structure.
9724 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9725 #include of asm/ptrace.h and second #include of sys/user.h.
9726 (PTRACE_GET_THREAD_AREA): Remove #undef.
9727 (PTRACE_GETHBPREGS): Likewise.
9728 (PTRACE_SETHBPREGS): Likewise.
9729 (ELF_NGREG): Use new struct user_regs_struct.
9730 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9731
af121e37
AZ
97322014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9733
9734 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9735 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9736
834caf06
JM
97372014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9738
9739 [BZ #16958]
9740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9741 membar to avoid block loads/stores to overlap previous stores.
9742
e184a918
RH
97432014-05-17 Richard Henderson <rth@redhat.com>
9744
9745 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9746 Create the __##syscall_name##_nocancel entry point.
9747 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9748 Remove; let the sysdep-cancel.h code create it.
9749
f56c7a6a
DM
97502014-05-17 David S. Miller <davem@davemloft.net>
9751
9752 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9753 Protect with __USE_GNU.
9754 (TIOCSET_TEMPT): Likewise.
9755 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9756 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9757 these are already provided in bits/ioctl-types.h
9758
f75616b2
RM
97592014-05-16 Roland McGrath <roland@hack.frob.com>
9760
3edeca86
RM
9761 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9762 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9763
f75616b2
RM
9764 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9765 Use wait4 regardless of [__NR_waitpid].
9766
deb0f7f6
MR
97672014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9768
9769 PR libgcc/60166
9770 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9771 (_FP_NANSIGN_Q): Set the quiet bit.
9772
79520f4b
JM
97732014-05-16 Joseph Myers <joseph@codesourcery.com>
9774
9775 * benchtests/Makefile
9776 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9777 not $(common-objpfx)math/libm.so.
9778 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9779 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9780 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9781 $(common-objpfx)dlfcn/libdl.so.
9782 ($(objpfx)tst-audit8): Depend on $(libm), not
9783 $(common-objpfx)math/libm.so.
9784 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9785 not $(common-objpfx)dlfcn/libdl.so.
9786 * math/Makefile
9787 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9788 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9789 [$(build-shared) = yes].
9790 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9791 $(common-objpfx)nptl/libpthread.so.
9792 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9793 $(common-objpfx)math/libm.so$(libm.so-version) or
9794 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9795 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9796 $(common-objpfx)dlfcn/libdl.so.
9797 * setjmp/Makefile (link-libm): Remove variable.
9798 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9799 * stdio-common/Makefile (link-libm): Remove variable.
9800 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9801 * stdlib/Makefile (link-libm): Remove variable.
9802 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9803 ($(objpfx)tst-strtod-round): Likewise.
9804 ($(objpfx)tst-tininess): Likewise.
9805 ($(objpfx)tst-strtod-underflow): Likewise.
9806 ($(objpfx)tst-strtod6): Likewise.
9807 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9808 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9809 $(common-objpfx)dlfcn/libdl.so.
9810
026b0fe4
AZ
98112014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9812
9813 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9814 BSD terminal modes definitions.
9815
def4bcb2
RM
98162014-05-16 Roland McGrath <roland@hack.frob.com>
9817
fe39b021
RM
9818 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9819 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9820
1d1fc46e 9821 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9822 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9823 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9824 Don't do #include_next.
9825 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9826 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9827 Don't do #include_next.
9828 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9829 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9830 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9831 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9832
c72399fb
AM
98332014-05-16 Allan McRae <allan@archlinux.org>
9834
d51d659d
AM
9835 * po/sv.po: Update Swedish translation from translation project.
9836
c72399fb
AM
9837 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9838 in sed expression.
9839
d0583c40
AJ
98402014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9841
9842 [BZ #16917]
9843 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9844 errno if the TIOCGPTN ioctl fails with an error different than
9845 EINVAL.
9846 * login/tst-ptsname.c: New file.
9847 * login/Makefile (tests): Add tst-ptsname.
9848
d16e6ec7
AJ
9849 [BZ #16943]
9850 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9851 and prlimit64.
9852
cf26a0cb
SP
98532014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9854
9855 [BZ #16849]
9856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9857 herrno to return EAI_AGAIN.
9858
5675da1e
RM
98592014-05-14 Roland McGrath <roland@hack.frob.com>
9860
a5d87b3d
RM
9861 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9862 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9863 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9884 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9885 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9886 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9888 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9889 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9890 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9892 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9894 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9896 Moved ...
9897 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9901 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9903 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9905 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9907 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9909 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9911 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9913 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9915 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9917 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9919 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9921 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9923 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9925 Moved ...
9926 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9928 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9930 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9932 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9934 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9938 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9940 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9942 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9944 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9946 Moved ...
9947 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9949 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9950
039890a6
RM
9951 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9952 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9953 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9954 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9955 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9956 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9957 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9958 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9959 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9960 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9961 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9962 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9963 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9964 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9965 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9966 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9967 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9968 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9969 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9970 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9971 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9972 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9973 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9974 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9975 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9976 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9977 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9978 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9979 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9980 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9981 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9982
65c89320
RM
9983 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9984 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9985
348f8e8c
RM
9986 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9987 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9988 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9989 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9990 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9991 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9992 Moved ...
9993 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9994 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9995 Moved ...
9996 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9997 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9998 Moved ...
9999 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10000 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10001 Moved ...
10002 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10004 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10006 Moved ...
10007 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10008 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10009 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10011 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10012 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10013 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10014 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10015 Moved ...
10016 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10018 Moved ...
10019 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10020 ... here.
10021 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10022 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10023 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10024 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10025 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10026 Moved ...
10027 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10028 ... here.
10029 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10030 Moved ...
10031 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10032 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10033 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10034 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10035 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10036 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10037 Moved ...
10038 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10039 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10040 Moved ...
10041 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10042 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10043 Moved ...
10044 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10045 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10046 Moved ...
10047 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10048 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10049 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10050 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10051 Moved ...
10052 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10053 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10054 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10055 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10056 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10057 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10058 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10059 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10060 Moved ...
10061 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10063 Moved ...
10064 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10065 ... here.
10066 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10067 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10068 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10069 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10070 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10071 Moved ...
10072 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10073 ... here.
10074 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10075 Moved ...
10076 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10077 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10078 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10079 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10080 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10082 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10083 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10084 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10085 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10086 Moved ...
10087 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10088 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10089 Moved ...
10090 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10091 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10092 Moved ...
10093 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10094 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10095 Moved ...
10096 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10097 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10098 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10099 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10100 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10101 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10102 Moved ...
10103 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10104 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10105 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10106 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10107 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10108 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10109 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10110 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10111 Moved ...
10112 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10113 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10114 Moved ...
10115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10116 ... here.
10117 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10118 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10119 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10120 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10121 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10122 Moved ...
10123 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10124 ... here.
10125 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10126 Moved ...
10127 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10128 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10129 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10130 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10131 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10132 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10133 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10134 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10135 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10136 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10137 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10138
5085af05
RM
10139 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10140 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10141
708f0813
RM
10142 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10143 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10144
c96067bc
RM
10145 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10146 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10147 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10148 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10149 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10150 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10151 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10152 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10153 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10154 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10155 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10156 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10157 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10158 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10159 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10161 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10163 Moved ...
10164 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10165 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10166 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10168 Moved ...
10169 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10170 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10171 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10172 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10173 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10175 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10177 Moved ...
10178 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10180 Moved ...
10181 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10182 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10183 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10184 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10185 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10186 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10187 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10188 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10189 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10190 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10191 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10192 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10193 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10194 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10195 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10196 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10197 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10198
ec136444
RM
10199 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10200 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10201 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10202 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10203 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10204
2fbdf533
RM
10205 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10206 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10207 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10208 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10209 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10210 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10211 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10212 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10213 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10214 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10215
4c68138b
RM
10216 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10218
4eaae765
RM
10219 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10220 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
10221 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10222 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10223 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10224 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10225 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10226 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10227 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10228 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10229 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10230 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10231 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10232 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10234 Update #include.
10235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10236 Likewise.
10237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10238 Likewise.
10239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10240 Likewise.
10241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10242 Likewise.
10243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10244 Likewise.
10245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10246 Likewise.
10247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10248 Likewise.
10249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10250 Likewise.
10251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10252 Likewise.
4ef6befa
RM
10253 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10254 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10255 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10256 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10257 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
10258 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10259 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10260 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10261 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10262 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10263 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10264 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10265 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10266 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10267 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 10268
941d7dfd
RM
10269 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10270 that was previously under [RESET_PID].
10271 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10272 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10273 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10274
1b731c35
RM
10275 * sysdeps/i386/nptl/Implies: New file.
10276 * sysdeps/x86_64/nptl/Implies: New file.
10277 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10278 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10279 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10280 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10281
e2787137
RM
10282 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10283 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10284 (__libc_vfork): New strong alias.
10285 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10286 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10287
10288 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10289 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10290 (__libc_vfork): New strong alias.
10291 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10292 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10293
5675da1e
RM
10294 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10295 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10296 (__libc_vfork): New strong alias.
10297 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10298 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10299 * nptl/pt-vfork.c: New file.
10300 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10301 (libpthread: GLIBC_2.20): New version set (empty).
10302
4f02e2b8
WN
103032014-05-14 Will Newton <will.newton@linaro.org>
10304
10305 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10306 rather than #if.
10307
0bf061d3
JM
103082014-05-14 Joseph Myers <joseph@codesourcery.com>
10309
1a84c3d6
JM
10310 [BZ #16564]
10311 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10312 arguments with exponent 65 or above.
10313 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10314 arguments 0x1p113L or above.
10315 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10316 to arguments 0x1p107L or above.
10317 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10318 positive arguments with exponent 65 or above.
10319 * math/auto-libm-test-in: Add more tests of log1p.
10320 * math/auto-libm-test-out: Regenerated.
10321
01dbacd2
JM
10322 [BZ #16928]
10323 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10324 non-finite arguments is +0.
10325 * math/s_cacosf.c (__cacosf): Likewise.
10326 * math/s_cacosl.c (__cacosl): Likewise.
10327 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10328 * sysdeps/i386/fpu/libm-test-ulps: Update.
10329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10330
913d03c8
JM
10331 [BZ #16927]
10332 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10333 value.
10334 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10335 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10336 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10337 for explicit high bit of mantissa when testing for argument equal
10338 to 1.
10339 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10340 * sysdeps/i386/fpu/libm-test-ulps: Update.
10341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10342
0bf061d3
JM
10343 [BZ #16516]
10344 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10345 (__erf): Scale by 16 instead of 8 in potentially underflowing
10346 case. Ensure exception if result actually underflows.
10347 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10348 (__erff): Scale by 16 instead of 8 in potentially underflowing
10349 case. Ensure exception if result actually underflows.
10350 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10351 (efx8): Remove variable.
10352 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10353 case. Ensure exception if result actually underflows.
10354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10355 (efx8): Remove variable.
10356 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10357 case. Ensure exception if result actually underflows.
10358 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10359 (efx8): Remove variable.
10360 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10361 case. Ensure exception if result actually underflows.
10362 * math/auto-libm-test-in: Add more tests of erf.
10363 * math/auto-libm-test-out: Regenerated.
10364
73ba67cb
AS
103652014-05-14 Andreas Schwab <schwab@suse.de>
10366
3d8c8bff
AS
10367 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10368 Remove code conditionalized on USE___THREAD.
10369
73ba67cb
AS
10370 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10371 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10372 not definedness.
10373
5c521ecd
JM
103742014-05-14 Joseph Myers <joseph@codesourcery.com>
10375
5e7698c6
JM
10376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10377 Define unconditionally.
10378 (__ASSUME_O_CLOEXEC): Likewise.
10379 (__ASSUME_SOCK_CLOEXEC): Likewise.
10380 (__ASSUME_IN_NONBLOCK): Likewise.
10381 (__ASSUME_PIPE2): Likewise.
10382 (__ASSUME_EVENTFD2): Likewise.
10383 (__ASSUME_SIGNALFD4): Likewise.
10384 (__ASSUME_DUP3): Likewise.
10385 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10386 (__ASSUME_DUP3): Do not define.
10387 (__ASSUME_EVENTFD2): Likewise.
10388 (__ASSUME_IN_NONBLOCK): Likewise.
10389 (__ASSUME_O_CLOEXEC): Likewise.
10390 (__ASSUME_PIPE2): Likewise.
10391 (__ASSUME_SIGNALFD4): Likewise.
10392 (__ASSUME_SOCK_CLOEXEC): Likewise.
10393 (__ASSUME_UTIMES): Undefine.
10394 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10395 (__ASSUME_UTIMES): Do not define.
10396 (__ASSUME_O_CLOEXEC): Likewise.
10397 (__ASSUME_SOCK_CLOEXEC): Likewise.
10398 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10399 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10400 0x020621].
10401 (__ASSUME_PIPE2): Likewise.
10402 (__ASSUME_EVENTFD2): Likewise.
10403 (__ASSUME_SIGNALFD4): Likewise.
10404 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10405 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10406 Do not define.
10407 (__ASSUME_EVENTFD2): Likewise.
10408 (__ASSUME_SIGNALFD4): Likewise.
10409 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10410 (__ASSUME_32BITUIDS): Likewise.
10411 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10412 (__ASSUME_IPC64): Likewise.
10413 (__ASSUME_ST_INO_64_BIT): Likewise.
10414 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10415 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10416 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10417 (__ASSUME_UTIMES): Do not define.
10418 (__ASSUME_PSELECT): Likewise.
10419 (__ASSUME_PPOLL): Likewise.
10420 (__ASSUME_O_CLOEXEC): Likewise.
10421 (__ASSUME_SOCK_CLOEXEC): Likewise.
10422 (__ASSUME_IN_NONBLOCK): Likewise.
10423 (__ASSUME_PIPE2): Likewise.
10424 (__ASSUME_EVENTFD2): Likewise.
10425 (__ASSUME_SIGNALFD4): Likewise.
10426 (__ASSUME_DUP3): Likewise.
10427 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10428 (__ASSUME_UTIMES): Likewise.
10429 (__ASSUME_O_CLOEXEC): Likewise.
10430 (__ASSUME_SOCK_CLOEXEC): Likewise.
10431 (__ASSUME_IN_NONBLOCK): Likewise.
10432 (__ASSUME_PIPE2): Likewise.
10433 (__ASSUME_EVENTFD2): Likewise.
10434 (__ASSUME_SIGNALFD4): Likewise.
10435 (__ASSUME_DUP3): Likewise.
10436 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10437 (__ASSUME_UTIMES): Likewise.
10438 (__ASSUME_O_CLOEXEC): Likewise.
10439 (__ASSUME_SOCK_CLOEXEC): Likewise.
10440 (__ASSUME_IN_NONBLOCK): Likewise.
10441 (__ASSUME_PIPE2): Likewise.
10442 (__ASSUME_EVENTFD2): Likewise.
10443 (__ASSUME_SIGNALFD4): Likewise.
10444 (__ASSUME_DUP3): Likewise.
10445 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10446 Likewise.
10447 (__ASSUME_UTIMES): Likewise.
10448 (__ASSUME_EVENTFD2): Likewise.
10449 (__ASSUME_SIGNALFD4): Likewise.
10450 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10451 (__ASSUME_O_CLOEXEC): Likewise.
10452 (__ASSUME_SOCK_CLOEXEC): Likewise.
10453 (__ASSUME_IN_NONBLOCK): Likewise.
10454 (__ASSUME_PIPE2): Likewise.
10455 (__ASSUME_EVENTFD2): Likewise.
10456 (__ASSUME_SIGNALFD4): Likewise.
10457 (__ASSUME_DUP3): Likewise.
10458 (__ASSUME_UTIMES): Undefine.
10459
5c521ecd
JM
10460 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10461 feclearexcept. Remove symbol versioning code.
10462 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10463 symbol versioning code.
10464 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10465 symbol versioning code.
10466 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10467 feupdateenv. Remove symbol versioning code.
10468 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10469 fegetexceptflag. Remove symbol versioning code.
10470 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10471 fesetexceptflag. Remove symbol versioning code.
10472 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10473 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10474 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10475 (__posix_fadvise64_l32): Remove prototype.
10476 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10477 code.
10478
5da9dfad
RM
104792014-05-13 Roland McGrath <roland@hack.frob.com>
10480
10481 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10482 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10483 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10484 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10485
893b4f37
SK
104862014-05-13 Sami Kerola <kerolasa@iki.fi>
10487
10488 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10489 current working directory
10490
e0db6517
RM
104912014-05-13 Roland McGrath <roland@hack.frob.com>
10492
58aa195d
RM
10493 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10494 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10495 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10496 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10497 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10498 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10499 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10500 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10502 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10503 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10504 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10505 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10506 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10508 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10509 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10510 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10512 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10513 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10514 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10515 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10516 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10517 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10518 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10519 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10520 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10521 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10522 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10523 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10524 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10525 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10526 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10527 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10528 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10529 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10530 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10531 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10532 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10533 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10534 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10535
8c6d01f0
RM
10536 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10537 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10538
10539 * sysdeps/unix/sysv/linux/arm/Makefile
10540 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10541 Add rt-aeabi_unwind_cpp_pr1.
10542 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10543 Add nptl-aeabi_unwind_cpp_pr1.
10544 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10545 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10546 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10547 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10548 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10549 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10550
10551 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10552 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10553 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10554 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10555
bba6da4e
RM
10556 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10557 Deconditionalize the code that was previously under [RESET_PID].
10558 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10559
e0db6517
RM
10560 * sysdeps/generic/exit-thread.h: New file.
10561 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10562 * include/unistd.h (__exit_thread): Remove declaration.
10563 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10564 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10565 * csu/libc-start.c: Include <exit-thread.h>.
10566 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10567 * nptl/pthread_create.c: Include <exit-thread.h>.
10568 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10569 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10570 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10571 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10572 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10573 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10574 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10575 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10576 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10577 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10578 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10579 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10580 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10581 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10582 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10583 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10584 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10585
01eb16fd
AS
105862014-05-13 Andreas Schwab <schwab@suse.de>
10587
10588 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10589
637461d9
JM
105902014-05-12 Joseph Myers <joseph@codesourcery.com>
10591
10592 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10593 (__ASSUME_UTIMES): Do not condition on kernel version.
10594 (__ASSUME_PSELECT): Define unconditionally.
10595 (__ASSUME_PPOLL): Likewise.
10596 (__ASSUME_ATFCTS): Likewise.
10597 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10598 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10599 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10600 (__ASSUME_UTIMENSAT): Define unconditionally.
10601 (__ASSUME_PRIVATE_FUTEX): Likewise.
10602 (__ASSUME_FALLOCATE): Likewise.
10603 (__ASSUME_O_CLOEXEC): Likewise.
10604 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10605 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10606 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10607 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10608 (__ASSUME_IN_NONBLOCK): Likewise.
10609 (__ASSUME_PIPE2): Likewise.
10610 (__ASSUME_EVENTFD2): Likewise.
10611 (__ASSUME_SIGNALFD4): Likewise.
10612 (__ASSUME_DUP3): Likewise.
10613 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10614 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10615 (__ASSUME_AT_RANDOM): Likewise.
10616 (__ASSUME_PREADV): Likewise.
10617 (__ASSUME_PWRITEV): Likewise.
10618 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10619 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10620 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10621 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10622 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10623 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10624 (__ASSUME_O_CLOEXEC): Define unconditionally.
10625 (__ASSUME_PSELECT): Do not undefine conditionally.
10626 (__ASSUME_PPOLL): Likewise.
10627 (__ASSUME_ATFCTS): Likewise.
10628 (__ASSUME_SET_ROBUST_LIST): Likewise.
10629 (__ASSUME_UTIMENSAT): Likewise.
10630 (__ASSUME_FDATASYNC): Define unconditionally.
10631 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10632 (__ASSUME_SIGFRAME_V2): Likewise.
10633 )__ASSUME_EVENTFD2): Likewise.
10634 (__ASSUME_SIGNALFD4): Likewise.
10635 (__ASSUME_PSELECT): Do not undefine conditionally.
10636 (__ASSUME_PPOLL): Likewise.
10637 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10638 (__ASSUME_PSELECT): Define unconditionally.
10639 (__ASSUME_PPOLL): Likewise.
10640 (__ASSUME_O_CLOEXEC): Likewise.
10641 (__ASSUME_SOCK_CLOEXEC): Likewise.
10642 (__ASSUME_IN_NONBLOCK): Likewise.
10643 (__ASSUME_PIPE2): Likewise.
10644 (__ASSUME_EVENTFD2): Likewise.
10645 (__ASSUME_SIGNALFD4): Likewise.
10646 (__ASSUME_DUP3): Likewise.
10647 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10648 (__ASSUME_O_CLOEXEC): Likewise.
10649 (__ASSUME_SOCK_CLOEXEC): Likewise.
10650 (__ASSUME_IN_NONBLOCK): Likewise.
10651 (__ASSUME_PIPE2): Likewise.
10652 (__ASSUME_EVENTFD2): Likewise.
10653 (__ASSUME_SIGNALFD4): Likewise.
10654 (__ASSUME_DUP3): Likewise.
10655 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10656 (__ASSUME_EVENTFD2): Likewise.
10657 (__ASSUME_SIGNALFD4): Likewise.
10658 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10659
315eb1d8
AS
106602014-05-12 Andreas Schwab <schwab@suse.de>
10661
10662 [BZ #16932]
10663 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10664 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10665 than maximum RPC packet size.
10666 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10667 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10668 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10669 (_nss_nis_getservbyport_r): Likewise.
10670
91df99f7
WN
106712014-05-12 Will Newton <will.newton@linaro.org>
10672
10673 * malloc/Makefile (tests): Add tst-mallopt.
10674 * malloc/tst-mallopt.c: New file.
10675
0a982a29
RM
106762014-05-09 Roland McGrath <roland@hack.frob.com>
10677
10678 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10679 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10680
0ded08a5
AZ
106812014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10682
10683 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10684 (tst-tlsmod6.so): Likewise.
10685
55d4d550
RM
106862014-05-09 Roland McGrath <roland@hack.frob.com>
10687
10688 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10689
77d08aca
JM
106902014-05-09 Joseph Myers <joseph@codesourcery.com>
10691
10692 [BZ #16064]
10693 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10694 and <dl-procinfo.h>.
10695 (__fegetenv): Save SSE state in envp->__eip if supported.
10696 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10697 envp->__eip if supported.
10698 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10699 and <dl-procinfo.h>.
10700 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10701 __data_offset and __data_selector in environment to 0. Set SSE
10702 state if supported.
10703 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10704 test-fenv-sse.
10705 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10706 -mfpmath=sse.
10707 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10708
28162f4d
WN
107092014-05-09 Will Newton <will.newton@linaro.org>
10710
10711 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10712 and libc_relro_required for ARM.
10713 * sysdeps/arm/preconfigure: Regenerate.
10714
5a414ff7
DV
107152014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10716 Stefan Liebler <stli@linux.vnet.ibm.com>
10717
10718 * config.make.in (enable-lock-elision): New Makefile variable.
10719 * configure.ac: Likewise.
10720 * configure: Regenerate.
10721 * sysdeps/s390/configure.ac:
10722 Add check for gcc transactions support.
10723 * sysdeps/s390/configure: Regenerate.
10724 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10725 Build elision files if enabled.
10726 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10727 Add lock elision support for s390.
10728 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10729 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10730 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10731 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10732 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10733 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10734 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10735 Likewise.
10736 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10737 Likewise.
10738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10739 Likewise.
10740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10741 Likewise.
10742 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10743 (__lll_timedlock_elision, __lll_lock_elision)
10744 (__lll_unlock_elision, __lll_trylock_elision)
10745 (lll_timedlock_elision, lll_lock_elision)
10746 (lll_unlock_elision, lll_trylock_elision): Add.
10747 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10748 (pthread_mutex_t): Add lock elision support for s390.
10749
1a2f40e5
W
107502014-05-14 Wilco <wdijkstr@arm.com>
10751
10752 * sysdeps/arm/fclrexcpt.c: Cleanup.
10753 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10754 * sysdeps/arm/feenablxcpt.c: Cleanup.
10755 * sysdeps/arm/fegetenv.c: Cleanup.
10756 * sysdeps/arm/fegetexcept.c: Cleanup.
10757 * sysdeps/arm/fegetround.c: Cleanup.
10758 * sysdeps/arm/feholdexcpt.c: Cleanup.
10759 * sysdeps/arm/fesetenv.c: Cleanup.
10760 * sysdeps/arm/fesetround.c: Cleanup.
10761 * sysdeps/arm/feupdateenv.c: Cleanup.
10762 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10763 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10764 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10765 * sysdeps/arm/ftestexcept.c: Cleanup.
10766 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10767 * sysdeps/arm/setfpucw.c: Cleanup.
10768
f63c86fe
WN
107692014-05-09 Will Newton <will.newton@linaro.org>
10770
10771 * sysdeps/arm/armv7/strcmp.S: New file.
10772 * NEWS: Mention addition of ARMv7 optimized strcmp.
10773
7a1a51b5
RM
107742014-05-08 Roland McGrath <roland@hack.frob.com>
10775
95afbbe5
RM
10776 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10777 look for %.ac rather than %.in.
10778
10779 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10780 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10781 * sysdeps/mach/hurd/configure: Regenerated.
10782 * sysdeps/unix/sysv/linux/configure: Regenerated.
10783
7a1a51b5
RM
10784 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10785
5057ad3b
SE
107862014-05-07 Steve Ellcey <sellcey@mips.com>
10787
10788 [BZ# 16922]
10789 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10790 (LONG_SUB): Ditto.
10791 (PTR_SUB): Ditto.
10792
8dc97517
AS
107932014-05-07 Andreas Schwab <schwab@suse.de>
10794
10795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10796 when skipping over non-matching result from nscd.
10797
ce0c5b8f
OB
107982014-05-07 Ondřej Bílka <neleai@seznam.cz>
10799
10800 [BZ #16876]
10801 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10802
a1189263
OB
10803 [BZ #16877]
10804 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10805 nscd security class.
ce0c5b8f 10806
0f58d252
RM
108072014-05-06 Roland McGrath <roland@hack.frob.com>
10808
10809 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10810 * sysdeps/arm/unwind.h: ... here.
10811
83df9ad0
AJ
108122014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10813
ce0c5b8f
OB
10814 [BZ# 16916]
10815 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10816 Define.
83df9ad0 10817
f360f94a
VR
108182014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10819
10820 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10821 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10822 multiarch strncpy for PPC64.
10823 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10824 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10826 multiarch optimizations.
10827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10828 (__libc_ifunc_impl_list): Likewise.
10829 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10830 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10831 multiarch stpncpy for PPC64.
10832 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10833 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10834
978a41c3
AS
108352014-05-06 Andreas Schwab <schwab@suse.de>
10836
10837 [BZ #16912]
10838 * gmon/mcount.c (_MCOUNT_DECL): Use
10839 atomic_compare_and_exchange_bool_acq instead of
10840 catomic_compare_and_exchange_bool_acq.
10841
eb1ed03d
RM
108422014-05-05 Roland McGrath <roland@hack.frob.com>
10843
fe658845
RM
10844 * elf/Makefile (others, install-bin): Remove pldd.
10845 (pldd-modules): Variable removed.
10846 ($(objpfx)pldd): Target removed.
10847 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10848 (others, install-bin): Append pldd here.
10849 ($(objpfx)pldd): New target.
10850
eb1ed03d
RM
10851 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10852 to 0, so the first #if test emitted later doesn't see it undefined.
10853 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10854 * sysdeps/gnu/errlist.c: Regenerated.
10855
19c4bec0
AZ
108562014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10857
10858 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10859 [libc_hidden_builtin_def]: Define to empty value.
10860 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10861 [libc_hidden_builtin_def]: Likewise.
10862 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10863 [libc_hidden_builtin_def]: Likewise.
10864 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10865 [libc_hidden_builtin_def]: Likewise.
10866 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10867 __redirect_memcpy and define ifunc as default hidden symbol.
10868 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10869 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10870
7776e669
AC
108712014-05-04 Adam Conrad <adconrad@0c3.net>
10872
10873 * locale/iso-4217.def: Reintroduce XDR currency.
10874
d69aeb12
AM
108752014-05-04 Allan McRae <allan@archlinux.org>
10876
10877 * po/eo.po: Update Esperanto translation from translation project.
10878
8f1df5cf
CD
108792014-05-02 Carlos O'Donell <carlos@redhat.com>
10880
10881 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10882 and FEATURE_INDEX_MAX to 1.
10883 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10884
13e402e7
SE
108852014-05-01 Steve Ellcey <sellcey@mips.com>
10886
10887 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10888 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10889 * iconvdata/big5.c (ONE_DIRECTION): Define.
10890 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10891 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10892 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10893 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10894 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10895 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10896 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10897 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10898 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10899 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10900 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10901 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10902 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10903 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10904 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10905 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10906 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10907 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10908 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10909 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10910 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10911 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10912 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10913 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10914 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10915 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10916 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10917 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10918 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10919 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10920 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10921 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10922 * iconvdata/johab.c (ONE_DIRECTION): Define.
10923 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10924 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10925 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10926 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10927 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10928 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10929 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10930 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10931 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10932 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10933
c727f032
RM
109342014-05-01 Roland McGrath <roland@hack.frob.com>
10935
8f2f08d0
RM
10936 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10937 (_IO_JUMPS_OFFSET): Define to 0.
10938
c727f032
RM
10939 * nptl/sysdeps/pthread/bits/libc-lock.h
10940 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10941 (__libc_lock_define_initialized_recursive): Always define using
10942 initializer. Modern compilers treat uninitialized (implicit zero) and
10943 explicit zero initializers the same (i.e. put the datum in bss).
10944
a849e800
AS
109452014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10946
10947 * nscd/nscd-client.h: Include <string.h>.
10948
5331255b
DM
109492014-05-01 David S. Miller <davem@davemloft.net>
10950
10951 [BZ #16885]
10952 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10953 multiple zero bytes exist at the end of a string.
10954 Reported by Aurelien Jarno <aurelien@aurel32.net>
10955
10956 * string/test-strcmp.c (check): Add explicit test for situations where
10957 there are multiple zero bytes after the first.
10958
4fdfe821
AS
109592014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10960
10961 [BZ #16890]
10962 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10963 when compiling wprintf.
10964 * stdio-common/tstdiomisc.c (t3): New function.
10965 (main): Call it.
10966
0cdddc25
SE
109672014-05-01 Steve Ellcey <sellcey@mips.com>
10968
10969 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10970 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10971 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10972 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10973
6426d77e
SE
109742014-05-01 Steve Ellcey <sellcey@mips.com>
10975
10976 * stdlib/longlong.h: Updated from GCC.
10977
6d96f5e4
WN
109782014-05-01 Will Newton <will.newton@linaro.org>
10979 Bernard Ogden <bernie.ogden@linaro.org>
10980
7470db0c
WN
10981 * NEWS: Update fixed bug list.
10982
6d96f5e4
WN
10983 [BZ #15119]
10984 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10985
211d653c
DM
109862014-04-30 David S. Miller <davem@davemloft.net>
10987
4fa262fa
DM
10988 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10989 (libc_feholdexcept_setround_sparc_ctx): New function.
10990 (libc_fesetenv_sparc_ctx): Likewise.
10991 (libc_feupdateenv_sparc_ctx): Likewise.
10992 (libc_feholdsetround_sparc_ctx): Likewise.
10993 (libc_feholdexcept_setround_ctx): Define.
10994 (libc_feholdexcept_setroundf_ctx): Likewise.
10995 (libc_feholdexcept_setroundl_ctx): Likewise.
10996 (libc_fesetenv_ctx): Likewise.
10997 (libc_fesetenvf_ctx): Likewise.
10998 (libc_fesetenvl_ctx): Likewise.
10999 (libc_feupdateenv_ctx): Likewise.
11000 (libc_feupdateenvf_ctx): Likewise.
11001 (libc_feupdateenvl_ctx): Likewise.
11002 (libc_feresetround_ctx): Likewise.
11003 (libc_feresetroundf_ctx): Likewise.
11004 (libc_feresetroundl_ctx): Likewise.
11005 (libc_feholdsetround_ctx): Likewise.
11006 (libc_feholdsetroundf_ctx): Likewise.
11007 (libc_feholdsetroundl_ctx): Likewise.
11008
1d3d93ef
DM
11009 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11010 with __USE_GNU instead of XOPEN cpp guards.
11011
8aa583c3
DM
11012 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11013 0.
11014
211d653c
DM
11015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11016 with XOPEN cpp guards.
11017
60c8f1f6
JB
110182014-04-30 Julian Brown <julian@codesourcery.com>
11019
11020 [BZ #16888]
11021 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11022 handling.
11023
9a461d46
JM
110242014-04-30 Joseph Myers <joseph@codesourcery.com>
11025
d0f5b3f8
JM
11026 [BZ #9894]
11027 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11028 Change to 2.6.32.
11029 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11030 * sysdeps/unix/sysv/linux/configure: Regenerated.
11031 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11032 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11033 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11034 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11035 * README: Update reference to required Linux kernel version.
11036 * manual/install.texi (Linux): Update reference to required Linux
11037 kernel headers version.
11038 * INSTALL: Regenerated.
11039
9a461d46
JM
11040 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11041 header inclusion.
11042 [POSIX] (limits.h): Likewise.
11043 [POSIX] (math.h): Likewise.
11044 [POSIX] (sys/wait.h): Likewise.
11045 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11046 function.
11047 [POSIX] (stddef.h): Do not allow header inclusion.
11048
1775babf
AZ
110492014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11050
57f41c40 11051 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 11052
8f630cca
YY
110532014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11054
11055 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11056 Return immediately after lll_futex_wake.
11057
1cdeb237
SP
110582014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11059
bc8f194c
SP
11060 [BZ #16791]
11061 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11062 structure.
11063 (datahead_init_pos): Call datahead_init_common early.
11064 (datahead_init_neg): Likewise.
11065
1cdeb237
SP
11066 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11067 datahead_init_neg): New functions.
11068 * nscd/aicache.c (addhstaiX): Use them.
11069 * nscd/grpcache.c (cache_addgr): Likewise.
11070 * nscd/hstcache.c (cache_addhst): Likewise.
11071 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11072 * nscd/netgroupcache.c (do_notfound): Likewise.
11073 (addgetnetgrentX): Likewise.
11074 (addinnetgrX): Likewise.
11075 * nscd/pwdcache.c (cache_addpw): Likewise.
11076 * nscd/servicescache.c (cache_addserv): Likewise.
11077
16b293a7
SP
110782014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11079 Atsushi Onoe <atsushi@onoe.org>
11080
11081 [BZ #14308]
11082 [BZ #12994]
11083 [BZ #13651]
11084 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11085 one response is valid.
11086 * resolv/res_send.c (send_dg): Check for validity of other
11087 response if the current response is a referral.
11088
a28a9b94
SE
110892014-04-29 Steve Ellcey <sellcey@mips.com>
11090
11091 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11092
2ca180e9
SL
110932014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11094
11095 [BZ #16823]
11096 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11097 Always divide by positive zero when computing -Inf result.
11098 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11099 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11100
18f2945a
AZ
111012014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11102
11103 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11104 FPSCR if value do not change.
11105 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11106 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11107 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11108 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11109 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11110 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11111 function.
11112
5abebba4
CD
111132014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11114
11115 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11116 * sysdeps/unix/sysv/linux/hppa: Move directory from
11117 ports/systeps/unix/sysv/linux/hppa.
11118 * README: Update listing for hppa-*-linux-gnu.
11119
f7ed60c2
OB
111202014-04-28 Ondřej Bílka <neleai@seznam.cz>
11121
fff763a5
OB
11122 [BZ #16754]
11123 * manual/stdio.texi (Hook functions): Fix types of stream hook
11124 functions.
f7ed60c2
OB
11125 [BZ #16854]
11126 * socket/sys/socket.h: Fix typo in comment.
11127
df639d73
WD
111282014-04-28 Wilco <wdijkstr@arm.com>
11129
f7ed60c2 11130 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
11131 * sysdeps/arm/math_private.h: New file.
11132 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11133
48332d82
L
111342014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11135
11136 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11137 with __int128_t.
11138 (La_x86_64_retval): Likewise.
11139
e5e0d9a4
IB
111402014-04-24 Ian Bolton <ian.bolton@arm.com>
11141
11142 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11143 fpsr if value didn't change.
11144 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11145 to fpcr if value didn't change.
11146 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11147 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11148 fpsr or fpcr if value didn't change.
11149 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11150 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11151 fpcr if value didn't change.
11152 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11153 to fpsr if value didn't change.
11154
bacc75f7
SP
111552014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11156
11157 * nptl/tst-sem3.c: Use test-skeleton.c
11158 (main): Rename to do_test. Use return instead of
11159 exit.
11160 * nptl/tst-sem4.c: Use test-skeleton.c
11161 (main): Rename to do_test.
11162
a059d359
DM
111632014-04-22 David S. Miller <davem@davemloft.net>
11164
11165 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11166 (struct sigaction): New struct member __glibc_reserved0, change
11167 type of sa_flags to int.
11168
ea6c92f3
YZ
111692014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11170
11171 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11172 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11173
766c4a36
SP
111742014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11175
11176 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11177 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11178
140cc7ab
VK
111792014-04-22 Will Newton <will.newton@linaro.org>
11180 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11181
11182 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11183 (__longjmp): Add longjmp and longjmp_target SystemTap
11184 probes.
11185 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11186 (__sigsetjmp): Add setjmp SystemTap probe.
11187
c54e5cf7
CD
111882014-04-17 Carlos O'Donell <carlos@redhat.com>
11189
11190 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11191 match manual order.
11192
75ffb047
AZ
111932014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11194
11195 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11196
2cd925f7
AZ
11197 * sysdeps/powerpc/fpu/fenv_private.h
11198 (libc_feholdexcept_setroundl_ctx): Define to
11199 libc_feholdexcept_setround_ppc_ctx.
11200 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11201 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11202 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11203 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11204
39e6cd8d
IB
112052014-04-17 Ian Bolton <ian.bolton@arm.com>
11206
11207 * sysdeps/aarch64/math-tests.h: New file.
11208
f9281df9
SY
112092014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11210
11211 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11212 New.
11213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11214 Check and set bit_AVX2_Usable.
11215 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11216 macro.
11217 (bit_AVX2): Likewise.
11218 (index_AVX2_Usable): Likewise.
11219 (CPUID_AVX2): Likewise.
11220 (HAS_AVX2): Likewise.
11221
37d35007
WN
112222014-04-17 Will Newton <will.newton@linaro.org>
11223
7c677662
WN
11224 * manual/setjmp.texi (System V contexts): Add note that
11225 calling setcontext on a context created by a call to a
11226 signal handler is undefined. Update text to note that
11227 setcontext from a signal handler is possible but not
11228 recommended.
11229
37d35007 11230 [BZ #16629]
e04a4e9d
WN
11231 * stdlib/tst-setcontext.c: Include signal.h.
11232 (main): Check that the signal stack before and
11233 after swapcontext is the same.
11234
37d35007
WN
11235 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11236 Re-implement to restore registers in user code and avoid
11237 rt_sigreturn system call.
11238
423a7160
W
112392014-04-17 Wilco <wdijkstr@arm.com>
11240
11241 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11242 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11243 * math/test-fenv.c: Skip exception trap tests on targets which only
11244 support non-stop mode.
11245
bc93ab29
IB
112462014-04-17 Ian Bolton <ian.bolton@arm.com>
11247 Wilco Dijkstra <wilco.dijkstra@arm.com>
11248
11249 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11250 (libc_feholdsetround_aarch64_ctx)
11251 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11252 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11253 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11254 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11255 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11256 (libc_feresetround_noexl_ctx): Define.
11257
95fc5fa3
RH
112582014-04-16 Richard Henderson <rth@redhat.com>
11259
ddb04724
RH
11260 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11261
d77c0899
RH
11262 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11263 unwind tables.
11264
a3df56fc
RH
11265 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11266 const from the non-libc, non-ldso copy.
11267
95fc5fa3
RH
11268 * sysdeps/alpha/libm-test-ulps: Regenerate.
11269
7e0b6763
IB
112702014-04-16 Ian Bolton <ian.bolton@arm.com>
11271 Wilco Dijkstra <wilco.dijkstra@arm.com>
11272
11273 * sysdeps/aarch64/fpu/math_private.h: New file.
11274
a9ea2e0c
MS
112752014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11276
11277 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11278
ea8ba7cd
IZ
112792014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11280
7e54fd04 11281 [BZ #16275]
ea8ba7cd
IZ
11282 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11283 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11285 Intel MPX bound registers before _dl_profile_fixup.
11286 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11287 registers after _dl_profile_fixup. Save and restore bound
11288 registers bnd0/bnd1 when calling _dl_call_pltexit.
11289 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11290 (LR_BND_OFFSET): Likewise.
11291 (LRV_BND0_OFFSET): Likewise.
11292 (LRV_BND1_OFFSET): Likewise.
11293
9f2a4fbc
ST
112942014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11295
11296 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11297 to...
11298 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
11299 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11300 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11301 fields.
9f2a4fbc 11302
fd15a59b
ST
113032014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11304
11305 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11306
f19dfa0a
SL
113072014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11308
11309 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11310
4fa8bc3b
SL
113112014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11312
11313 [BZ #14770]
11314 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11315 * sysdeps/s390/configure: Regenerate.
11316
8ea587db
SL
11317 [BZ #16824]
11318 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11319 Set round-to-nearest internally to reduce error accumulation.
11320
aa5f0ff1
AM
113212014-04-16 Alan Modra <amodra@gmail.com>
11322
11323 [BZ #16740]
11324 [BZ #16619]
11325 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11326 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 11327 * NEWS: Update fixed bug list.
aa5f0ff1 11328
bb9c256f
SP
113292014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11330
11331 * benchtests/Makefile: Depend on libraries in build directory.
11332 (bench-math): Separate out math tests.
11333 (bench-pthread): Separate out pthread tests.
11334 (bench): Include math and pthread tests.
11335
f737dfd0
CD
113362014-04-14 Carlos O'Donell <carlos@redhat.com>
11337
11338 [BZ #16831]
11339 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11340 _dl_debug_initialize.
11341
0699f766
CD
11342 * configure.ac: Remove SELinux header check.
11343 * configure: Regenerate.
11344 * nscd/selinux.c (perms): Array of const char* to permission names.
11345 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11346 default policy. Call string_to_security_class and string_to_av_perm to
11347 translate strings. Enforce default policy and call avs_has_perm with
11348 results of translated strings.
11349
809bd45f
DM
113502014-04-13 David S. Miller <davem@davemloft.net>
11351
11352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11353
89e691f2
AM
113542014-04-12 Allan McRae <allan@archlinux.org>
11355
11356 [BZ #16838]
11357 * manual/string.texi (Collation Functions): Fix qsort argument
11358 order in example.
11359 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11360
9c9daaeb
CM
113612014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11362
11363 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11364 Make the test a no-op if there are no exceptions defined.
11365
95561fb9
PP
113662014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11367
fe8d072c 11368 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
11369 enable-hardcoded-path-in-tests
11370
970c602a
WN
113712014-04-11 Will Newton <will.newton@linaro.org>
11372
11373 * benchtests/Makefile (extra-objs): Add json-lib.o.
11374 (bench-func): Tidy up JSON output.
11375 * benchtests/bench-skeleton.c: Include json-lib.h.
11376 (main): Use JSON library functions to do output of
11377 benchmark results.
11378 * benchtests/bench-timing-type.c (main): Output the
11379 timing type simply, leaving formatting to the user.
11380 * benchtests/json-lib.c: New file.
11381 * benchtests/json-lib.h: Likewise.
11382
36875b06
TR
113832014-04-11 Torvald Riegel <triegel@redhat.com>
11384
11385 [BZ #15215]
11386 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11387 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11388 memory barriers. Add comments.
11389 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11390 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11391 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11392 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11393 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11394 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11395
579db35a
SL
113962014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11397
11398 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11399 * sysdeps/s390/s390-64/configure.ac: ... this ...
11400 * sysdeps/s390/configure.ac: ... to here.
11401 * sysdeps/s390/s390-32/configure: Delete file.
11402 * sysdeps/s390/s390-64/configure: Delete file.
11403 * sysdeps/s390/configure: Regenerate.
11404
c12e9f37
JAPH
114052014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11406
11407 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11408
439bda32
WN
114092014-04-11 Will Newton <will.newton@linaro.org>
11410
11411 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11412 to zero if it is not defined elsewhere. (mtrim): Test
11413 the value of MALLOC_DEBUG with #if rather than #ifdef.
11414
6a5d6ea1
TR
114152014-04-10 Torvald Riegel <triegel@redhat.com>
11416
11417 * benchtests/pthread_once-inputs: New file.
11418 * benchtests/pthread_once-source.c: New file.
11419 * benchtests/README: Update documentation.
11420
a4c75cfd
IZ
114212014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11422 H.J. Lu <hongjiu.lu@intel.com>
11423
7e54fd04 11424 [BZ #16275]
a4c75cfd
IZ
11425 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11426 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11427 * sysdeps/x86_64/configure: Regenerated.
11428 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11429 macro.
11430 (REGISTER_SAVE_RAX): Likewise.
11431 (REGISTER_SAVE_RCX): Likewise.
11432 (REGISTER_SAVE_RDX): Likewise.
11433 (REGISTER_SAVE_RSI): Likewise.
11434 (REGISTER_SAVE_RDI): Likewise.
11435 (REGISTER_SAVE_R8): Likewise.
11436 (REGISTER_SAVE_R9): Likewise.
11437 (REGISTER_SAVE_BND0): Likewise.
11438 (REGISTER_SAVE_BND1): Likewise.
11439 (REGISTER_SAVE_BND2): Likewise.
11440 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11441 bound registers when calling _dl_fixup.
11442
27822ce6
AZ
114432014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11444
11445 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
11446 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11447 of its definition.
27822ce6
AZ
11448 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11449 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11450 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11451 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11452 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11453 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11454 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11455
a88ddc90
PTB
114562014-04-09 Peter Brett <peter@peter-b.co.uk>
11457
11458 [BZ #15514]
11459 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11460 pathconf(_PC_NAME_MAX).
11461
01f8eac2
AZ
114622014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11463
11464 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11465 Remove macro usage.
11466 (__PTHREAD_SPINS): Move definition to ...
11467 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11468 (__PTHREAD_SPINS): ... here.
11469 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11470 (__PTHREAD_SPIN): Likewise.
11471 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11472 (__PTHREAD_SPIN): Likewise.
11473 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11474 (__PTHREAD_SPIN): Likewise.
11475 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11476 (__PTHREAD_SPIN): Likewise.
11477 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11478 (__PTHREAD_SPIN): Likewise.
11479 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11480 (__PTHREAD_SPIN): Likewise.
11481 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11482 (__PTHREAD_SPIN): Likewise.
11483 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11484 (__PTHREAD_SPIN): Likewise.
11485 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11486 (__PTHREAD_SPIN): Likewise.
11487 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11488 (__PTHREAD_SPIN): Likewise.
11489 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11490 (__PTHREAD_SPIN): Likewise.
11491 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11492 (__PTHREAD_SPIN): Likewise.
11493
de21c33c
AZ
11494 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11495 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11496 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11497 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11498 imply folder.
11499 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11500 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11501 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11502 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11503 correct imply path.
11504 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11505 strlen symbol for non multi-arch builds.
11506 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11507 missing hidden_def and weak_alias.
11508
862c472e
CD
115092014-04-08 Carlos O'Donell <carlos@redhat.com>
11510
11511 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11512
8667f90e
WN
115132014-04-07 Will Newton <will.newton@linaro.org>
11514
11515 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11516 and contents. [!_LIBC] Remove #ifndef and contents.
11517 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11518 * string/memccpy.c (__memccpy): Use ANSI prototype.
11519 * string/memfrob.c (memfrob): Likewise.
11520 * string/strcoll.c (STRCOLL): Likewise.
11521 * string/strlen.c (strlen): Likewise.
11522 * string/strtok.c (STRTOK): Likewise.
11523 * string/strcat.c: Remove unused #include of memcopy.h.
11524 (strcat): Use ANSI prototype.
11525 * string/strchr.c: Remove unused #include of memcopy.h.
11526 (strchr): Use ANSI prototype.
11527 * string/strcmp.c: Remove unused #include of memcopy.h.
11528 (strcmp): Use ANSI prototype.
11529 * string/strcpy.c: Remove unused #include of memcopy.h.
11530 (strcpy): Use ANSI prototype.
11531
7ffa9423
AZ
115322014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11533
11534 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11535 * config.make.in (config-extra-cppflags): Set it from
11536 libc_extra_cppflags.
11537 * configure.ac (libc_extra_cflags): Make it accumulate over
11538 configure fragments.
11539 (libc_extra_cppflags): New flag.
11540 * configure. Regenerate.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
11542 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11543 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11545
8bd70862
AZ
11546 [BZ #16815]
11547 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11548 result for FE_DOWNWARD rounding mode.
11549 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11550 Likewise.
11551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11552
d42f3448
CM
115532014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11554
11555 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11556 in function argument name.
11557
1c21d115
DS
115582014-04-03 David Svoboda <svoboda@cert.org>
11559
11560 [BZ #5666]
11561 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11562 explicitly.
11563
fcccd512
RM
115642014-04-03 Roland McGrath <roland@hack.frob.com>
11565
11566 * elf/dl-unmap-segments.h: New file.
11567 * sysdeps/generic/ldsodefs.h
11568 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11569 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11570 * elf/dl-fptr.c: Likewise.
11571 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11572 * sysdeps/aarch64/tlsdesc.c: Likewise.
11573 * sysdeps/arm/tlsdesc.c: Likewise.
11574 * sysdeps/i386/tlsdesc.c: Likewise.
11575 * sysdeps/tile/dl-runtime.c: Likewise.
11576 * sysdeps/x86_64/tlsdesc.c: Likewise.
11577 * elf/dl-load.h: New file.
11578 * elf/dl-load.c: Include it.
11579 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11580 Macros moved to dl-load.h.
11581 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11582 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11583 Use _dl_unmap_segments in place of __munmap.
11584 Break out segment-mapping loop into ...
11585 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11586
f6488e2b
WN
115872014-04-03 Will Newton <will.newton@linaro.org>
11588
11589 * elf/dl-lookup.c (do_lookup_x): Remove comment
11590 referring to nested function and move variable
11591 declarations down to before first use.
11592
6f05bafe
JM
115932014-04-02 Joseph Myers <joseph@codesourcery.com>
11594
a84e78c8
JM
11595 [BZ #16799]
11596 [BZ #16800]
11597 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11598 with 0 numerator.
11599 * math/s_catanf.c (__catanf): Likewise.
11600 * math/s_catanh.c (__catanh): Likewise.
11601 * math/s_catanhf.c (__catanhf): Likewise.
11602 * math/s_catanhl.c (__catanhl): Likewise.
11603 * math/s_catanl.c (__catanl): Likewise.
11604 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11605 by positive zero when computing -Inf result.
11606 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11607 (catanh_test): Likewise.
11608 * sysdeps/i386/fpu/libm-test-ulps: Update.
11609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11610
6f05bafe
JM
11611 [BZ #16789]
11612 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11613 instead of using underflowing value in computing result.
11614 * math/s_clog10.c (__clog10): Likewise.
11615 * math/s_clog10f.c (__clog10f): Likewise.
11616 * math/s_clog10l.c (__clog10l): Likewise.
11617 * math/s_clogf.c (__clogf): Likewise.
11618 * math/s_clogl.c (__clogl): Likewise.
11619 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11620 (clog10_test): Likewise.
11621 * sysdeps/i386/fpu/libm-test-ulps: Update.
11622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11623
b0abbc21
AM
116242014-04-02 Alan Modra <amodra@gmail.com>
11625
11626 [BZ #16739]
11627 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11628 output when value is near a power of two. Use int64_t for lx and
11629 remove casts. Use decimal rather than hex exponent constants.
11630 Don't use long double multiplication when double will suffice.
11631 * math/libm-test.inc (nextafter_test_data): Add tests.
11632 * NEWS: Add 16739 and 16786 to bug list.
11633
af6b1797
AM
11634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11635
483818d7
AM
11636 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11637
f6c55796
WN
116382014-04-01 Will Newton <will.newton@linaro.org>
11639
11640 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11641 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11642
13f7fe35
FW
116432014-04-01 Florian Weimer <fweimer@redhat.com>
11644
11645 [BZ #13347]
11646 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11647 * nptl/tst-setuid2.c: New file.
11648 * nptl/Makefile (xtests): Add tst-setuid2.
11649
c859b32e
AM
116502014-04-01 Alan Modra <amodra@gmail.com>
11651
11652 [BZ #16786]
11653 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11654
54fa2475
JM
116552014-03-31 Joseph Myers <joseph@codesourcery.com>
11656
8795b4a4
JM
11657 [BZ #6803]
11658 [BZ #6804]
11659 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11660 set errno as appropriate.
11661 * math/w_scalbf.c (__scalbf): Likewise.
11662 * math/w_scalbl.c (__scalbl): Likewise.
11663 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11664 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11665 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11666 Add more NaN tests.
11667
54fa2475
JM
11668 [BZ #16349]
11669 * math/w_atan2.c: Include <errno.h>.
11670 (__atan2): Set errno for result underflowing to zero.
11671 * math/w_atan2f.c: Include <errno.h>.
11672 (__atan2f): Set errno for result underflowing to zero.
11673 * math/w_atan2l.c: Include <errno.h>.
11674 (__atan2l): Set errno for result underflowing to zero.
11675 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11676 tests.
11677 * math/auto-libm-test-out: Regenerated.
11678
757d9dd5
AZ
116792014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11680
11681 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11682 Encode instruction correctly in little endian.
11683 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11684 Likewise.
11685 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11686 Likewise.
11687 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11688 Likewise.
11689 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11690 Likewise.
11691
d7a68734
JM
116922014-03-31 Joseph Myers <joseph@codesourcery.com>
11693
47c5adeb
JM
11694 [BZ #9894]
11695 * sysdeps/unix/sysv/linux/kernel-features.h
11696 [__sparc__ && !__arch64__ && !__sparc_v9__]
11697 (__ASSUME_SET_ROBUST_LIST): Do not define.
11698 [__sparc__ && !__arch64__ && !__sparc_v9__]
11699 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11700 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11701 Likewise.
11702 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11703 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11704 (__ASSUME_REQUEUE_PI): Likewise.
11705 (__ASSUME_SET_ROBUST_LIST): Likewise.
11706 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11707 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11708 Undefine.
11709 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11710 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11711 Likewise.
11712 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11713 Likewise.
11714 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11715 Likewise.
11716 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11717 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11718 Undefine.
11719 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11720 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11721 Likewise.
11722
d7a68734
JM
11723 [BZ #16648]
11724 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11725 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11726 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11727
c760f5c2
WN
117282014-03-31 Will Newton <will.newton@linaro.org>
11729
11730 * benchtests/Makefile (bench): Add ffs and ffsll to list
11731 of tests.
11732 * benchtests/ffs-inputs: New file.
11733 * benchtests/ffsll-inputs: Likewise.
11734
ea6029b1
JM
117352014-03-29 Joseph Myers <joseph@codesourcery.com>
11736
11737 [BZ #16770]
11738 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11739 too large before casting to int.
11740 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11741 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11742 * math/libm-test.inc (scalb_test_data): Add more tests.
11743
cf806aff
SP
117442014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11745
56737508
SP
11746 * benchtests/Makefile (DETAILED_OPT): New make option.
11747 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11748 set.
11749 * benchtests/bench-skeleton.c: Include stdbool.h.
11750 (main): Store and print timings per input.
11751 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11752 member to each argument value.
11753 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11754 (_print_arg_data): Initialize per-input timing to 0.
11755
cb5e4aad
SP
11756 * benchtests/Makefile (timing-type): New binary.
11757 (bench-clean): Also remove bench-timing-type.
11758 (bench): New target for timing-type.
11759 (bench-func): Print output in JSON format.
11760 * benchtests/bench-skeleton.c (main): Print output in JSON
11761 format.
11762 * benchtests/bench-timing-type.c: New file.
11763 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11764 (TIMING_PRINT_STATS): Remove.
11765 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11766 name separately.
11767
cf806aff
SP
11768 * benchtests/bench-modf.c: Remove.
11769 * benchtests/modf-inputs: New inputs file.
11770
289e0779
JM
117712014-03-28 Joseph Myers <joseph@codesourcery.com>
11772
11773 [BZ #16362]
11774 * math/s_clog10.c (M_PI_LOG10E): New macro.
11775 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11776 imaginary parts are 0.
11777 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11778 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11779 imaginary parts are 0.
11780 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11781 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11782 imaginary parts are 0.
11783 * math/libm-test.inc (clog10_test_data): Update expected results
11784 for when real and imaginary parts are 0.
11785
277ae3f1
PP
117862014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11787
11788 * elf/dl-load.c: Finish conversion of __builtin_expect into
11789 __glibc_{un}likely.
11790
03a7091f
JM
117912014-03-27 Joseph Myers <joseph@codesourcery.com>
11792
11793 [BZ #16348]
11794 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11795 1+x for argument with exponent below -67.
11796 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11797 Likewise.
11798 * math/auto-libm-test-in: Add more tests of exp.
11799 * math/auto-libm-test-out: Regenerated.
11800
ea7d8b95
SP
118012014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11802
dd3022d7
SP
11803 [BZ #16759]
11804 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11805 (nscd_getnetgrent): Use it.
11806
ea7d8b95
SP
11807 [BZ #16760]
11808 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11809 of stpcpy.
11810
df5b85da
AK
118112014-03-27 Andi Kleen <ak@linux.intel.com>
11812
57f41c40
AS
11813 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11814 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11815 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11816 (lll_robust_unlock): Remove out of line section. Use cfi
11817 intrinsics.
df5b85da 11818 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11819 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11820 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11821 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11822 (lll_robust_unlock): Remove out of line section. Use cfi
11823 intrinsics.
df5b85da
AK
11824 (LLL_STUB_UNWIND_INFO*): Remove.
11825
fbd6b5a4
SP
118262014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11827
11828 [BZ #16758]
11829 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11830 blank values.
11831
1b26b855
PP
118322014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11833
11834 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11835
9be36fb8
JM
118362014-03-26 Joseph Myers <joseph@codesourcery.com>
11837
11838 [BZ #16198]
11839 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11840 fnstenv.
11841 * math/test-fenv-preserve.c: New file.
11842 * math/Makefile (tests): Add test-fenv-preserve.
11843
60a2f3c1
WN
118442014-03-26 Will Newton <will.newton@linaro.org>
11845
11846 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11847
a5e5f1e2
RM
118482014-03-25 Roland McGrath <roland@hack.frob.com>
11849
11850 * scripts/versionlist.awk: Partition the version sets and emit all
11851 GLIBC_* (sorted) before all others (sorted).
11852
00f4012a
JM
118532014-03-25 Joseph Myers <joseph@codesourcery.com>
11854
11855 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11856 GLIBC_2.2.5 version.
11857
7bc5a741
AZ
118582014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11859
11860 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11861 calls.
11862
7578473b
AZ
11863 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11864 previous change.
11865
f3f1dab3
AZ
11866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11867
6da36183
AS
118682014-03-25 Andreas Schwab <schwab@suse.de>
11869
11870 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11871 label to be used after in6ailist is initialized.
11872
f3f1dab3 118732014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11874
7578473b 11875 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11876 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11877
046651c1
JM
118782014-03-25 Joseph Myers <joseph@codesourcery.com>
11879
11880 [BZ #16357]
11881 [BZ #16599]
11882 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11883 min_plus_half.
11884 (fp_formats): Update initializers.
11885 (init_fp_formats): Initialize new field.
11886 (output_for_one_input_case): Allow underflow for results up to
11887 min_plus_half.
11888 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11889 * math/auto-libm-test-in: Don't mark some underflows from asin and
11890 atanh as spurious.
11891 * math/auto-libm-test-out: Regenerated.
11892 * sysdeps/i386/fpu/libm-test-ulps: Update.
11893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11894
003e49ed
AS
118952014-03-25 Andreas Schwab <schwab@suse.de>
11896
11897 * libio/Makefile (tst-ftell-partial-wide-ENV)
11898 (tst-ftell-active-handler-ENV): Define.
11899
de031874
SL
119002014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11901
11902 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11903
55a81e3b
PP
119042014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11905
11906 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11907
f3426898
JM
119082014-03-24 Joseph Myers <joseph@codesourcery.com>
11909
11910 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11911 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11912 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11913
a42faf59
PP
119142014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11915
11916 [BZ #16634]
a42faf59 11917 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11918 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11919 (open_path): Change from boolean 'secure' to complete flag 'mode'
11920 (_dl_map_object): Adjust.
a42faf59
PP
11921 * elf/Makefile (tests): Add tst-dlopen-aout.
11922 * elf/tst-dlopen-aout.c: New test.
11923
50936127
SL
119242014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11925
11926 [BZ #16714]
11927 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11928 (struct stat): Rename member pad0 to __glibc_reserved0.
11929
26011b5c
SL
11930 [BZ #16712]
11931 * sysdeps/s390/s390-32/bits/wordsize.h
11932 (__WORDSIZE32_SIZE_ULONG): New define.
11933 * sysdeps/s390/s390-64/bits/wordsize.h
11934 (__WORDSIZE32_SIZE_ULONG): Likewise.
11935 * sysdeps/generic/stdint.h (SIZE_MAX):
11936 Define as UL if __WORDSIZE32_SIZE_ULONG.
11937
a2d86bf1
SL
11938 [BZ #16713]
11939 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11940 (__glibc_reserved0): New variable.
11941 (sa_flags): Change type to int.
11942
78b6eebc
SL
11943 * posix/Makefile (before-compile): Use += before-compile instead
11944 of a :=.
11945
f1399b5a
SL
11946 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11947 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11948
a071766e
AS
119492014-03-20 Andreas Schwab <schwab@suse.de>
11950
11951 [BZ #16743]
11952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11953 non-matching result from nscd.
11954
27c673b8
SP
119552014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11956
11957 * scripts/bench.py: Moved to ...
11958 * benchtests/scripts/bench.py: ... here.
11959 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11960
44152e4b
AS
119612014-03-24 Andreas Schwab <schwab@suse.de>
11962
11963 [BZ #16002]
11964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11965 alloca_account and account alloca use for struct in6ailist.
11966
b376a11a
JM
119672014-03-24 Joseph Myers <joseph@codesourcery.com>
11968
11969 [BZ #16284]
11970 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11971 rounding mode to recompute results that overflow to infinity or
11972 underflow to zero.
11973 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11974 bug 16284.
11975 * math/auto-libm-test-out: Regenerated.
11976 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11977 (ccosh_test): Likewise.
11978 (csin_test_data): Use plus_oflow.
11979 (csin_test): Use ALL_RM_TEST.
11980 (csinh_test_data): Use plus_oflow.
11981 (csinh_test): Use ALL_RM_TEST.
11982 * sysdeps/i386/fpu/libm-test-ulps: Update.
11983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11984
f7be7376
JM
119852014-03-21 Joseph Myers <joseph@codesourcery.com>
11986
1ca2d03e
JM
11987 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11988 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11989 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11990
f7be7376
JM
11991 [BZ #16731]
11992 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11993 when x - 1 is zero.
11994 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11995 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11996 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11997 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11998 argument is 1.
11999 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12000 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12001 zero.
12002 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12003 * sysdeps/i386/fpu/libm-test-ulps: Update.
12004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12005
fdf4534d
SP
120062014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12007
df26ea53
SP
12008 * scripts/bench.pl: Remove file.
12009 * scripts/bench.py: New benchmark script.
12010 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12011 * benchtests/README: Mention python dependency.
12012 * scripts/pylintrc: New file.
12013 * scripts/pylint: New file.
12014
fdf4534d
SP
12015 * bits/mathdef.h: Use #ifdef instead of #if.
12016 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12017 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12018 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12019 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12020 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12021 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12022
6f23d093
AZ
120232014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12024 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12025
12026 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12028 and strpbrk-ppc64 objects.
12029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12030 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12031 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12032 multiarch strpbrk for POWER7.
12033 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12034 multiarch strpbrk for PPC64.
12035 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12036 ifunc selector.
12037 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12038 strpbrk for POWER7.
12039
8c92dfff
JM
120402014-03-20 Joseph Myers <joseph@codesourcery.com>
12041
12042 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12043 (atan_test): Likewise.
12044 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12045 (atanh_test): Use ALL_RM_TEST.
12046 (atan2_test_data): Likewise.
12047 (cabs_test): Likewise.
12048 (cacosh_test): Likewise.
12049 (carg_test): Likewise.
12050 (casin_test): Likewise.
12051 (casinh_test): Likewise.
12052 (cbrt_test): Likewise.
12053 (csqrt_test): Likewise.
12054 (erf_test): Likewise.
12055 (erfc_test): Likewise.
12056 (pow10_test): Likewise.
12057 (exp2_test): Likewise.
12058 (hypot_test): Likewise.
12059 (j0_test): Likewise.
12060 (j1_test): Likewise.
12061 (lgamma_test): Likewise.
12062 (gamma_test): Likewise.
12063 (sincos_test): Likewise.
12064 (tanh_test): Likewise.
12065 (y0_test): Likewise.
12066 (y1_test): Likewise.
12067 * sysdeps/i386/fpu/libm-test-ulps: Update.
12068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12069
6eaf95cb
AZ
120702014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12071
a387428c
SP
12072 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
12074 and strcspn-ppc64 objects.
12075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12076 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12077 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12078 multiarch strcspn for POWER7.
12079 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12080 multiarch strcspn for PPC64.
12081 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12082 ifunc selector.
12083 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12084 strcspn for POWER7.
12085
ae3a5dff
JM
120862014-03-20 Joseph Myers <joseph@codesourcery.com>
12087
12088 * math/gen-libm-test.pl (generate_testfile): Expect only function
12089 name as argument to AUTO_TESTS_* and pass results for all rounding
12090 modes to parse_args.
12091 (parse_auto_input): Separate inputs of automatic tests from
12092 outputs before storing in %auto_tests.
12093 * math/libm-test.inc (acos_test_data): Update call to
12094 AUTO_TESTS_f_f.
12095 (acos_test): Use ALL_RM_TEST.
12096 (acos_tonearest_test_data): Remove.
12097 (acos_test_tonearest): Likewise.
12098 (acos_towardzero_test_data): Likewise.
12099 (acos_test_towardzero): Likewise.
12100 (acos_downward_test_data): Likewise.
12101 (acos_test_downward): Likewise.
12102 (acos_upward_test_data): Likewise.
12103 (acos_test_upward): Likewise.
12104 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12105 (asin_test_data): Likewise.
12106 (asin_test): Use ALL_RM_TEST.
12107 (asin_tonearest_test_data): Remove.
12108 (asin_test_tonearest): Likewise.
12109 (asin_towardzero_test_data): Likewise.
12110 (asin_test_towardzero): Likewise.
12111 (asin_downward_test_data): Likewise.
12112 (asin_test_downward): Likewise.
12113 (asin_upward_test_data): Likewise.
12114 (asin_test_upward): Likewise.
12115 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12116 (atan_test_data): Likewise.
12117 (atanh_test_data): Likewise.
12118 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12119 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12120 (carg_test_data): Likewise.
12121 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12122 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12123 (ccosh_test_data): Likewise.
12124 (cexp_test_data): Likewise.
12125 (clog_test_data): Likewise.
12126 (clog10_test_data): Likewise.
12127 (cos_test_data): Update call to AUTO_TESTS_f_f.
12128 (cos_test): Use ALL_RM_TEST.
12129 (cos_tonearest_test_data): Remove.
12130 (cos_test_tonearest): Likewise.
12131 (cos_towardzero_test_data): Likewise.
12132 (cos_test_towardzero): Likewise.
12133 (cos_downward_test_data): Likewise.
12134 (cos_test_downward): Likewise.
12135 (cos_upward_test_data): Likewise.
12136 (cos_test_upward): Likewise.
12137 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12138 (cosh_test): Use ALL_RM_TEST.
12139 (cosh_tonearest_test_data): Remove.
12140 (cosh_test_tonearest): Likewise.
12141 (cosh_towardzero_test_data): Likewise.
12142 (cosh_test_towardzero): Likewise.
12143 (cosh_downward_test_data): Likewise.
12144 (cosh_test_downward): Likewise.
12145 (cosh_upward_test_data): Likewise.
12146 (cosh_test_upward): Likewise.
12147 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12148 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12149 (ctan_test_data): Likewise.
12150 (ctan_test): Use ALL_RM_TEST.
12151 (ctan_tonearest_test_data): Remove.
12152 (ctan_test_tonearest): Likewise.
12153 (ctan_towardzero_test_data): Likewise.
12154 (ctan_test_towardzero): Likewise.
12155 (ctan_downward_test_data): Likewise.
12156 (ctan_test_downward): Likewise.
12157 (ctan_upward_test_data): Likewise.
12158 (ctan_test_upward): Likewise.
12159 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12160 (ctanh_test): Use ALL_RM_TEST.
12161 (ctanh_tonearest_test_data): Remove.
12162 (ctanh_test_tonearest): Likewise.
12163 (ctanh_towardzero_test_data): Likewise.
12164 (ctanh_test_towardzero): Likewise.
12165 (ctanh_downward_test_data): Likewise.
12166 (ctanh_test_downward): Likewise.
12167 (ctanh_upward_test_data): Likewise.
12168 (ctanh_test_upward): Likewise.
12169 (erf_test_data): Update call to AUTO_TESTS_f_f.
12170 (erfc_test_data): Likewise.
12171 (exp_test_data): Likewise.
12172 (exp_test): Use ALL_RM_TEST.
12173 (exp_tonearest_test_data): Remove.
12174 (exp_test_tonearest): Likewise.
12175 (exp_towardzero_test_data): Likewise.
12176 (exp_test_towardzero): Likewise.
12177 (exp_downward_test_data): Likewise.
12178 (exp_test_downward): Likewise.
12179 (exp_upward_test_data): Likewise.
12180 (exp_test_upward): Likewise.
12181 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12182 (exp10_test): Use ALL_RM_TEST.
12183 (exp10_tonearest_test_data): Remove.
12184 (exp10_test_tonearest): Likewise.
12185 (exp10_towardzero_test_data): Likewise.
12186 (exp10_test_towardzero): Likewise.
12187 (exp10_downward_test_data): Likewise.
12188 (exp10_test_downward): Likewise.
12189 (exp10_upward_test_data): Likewise.
12190 (exp10_test_upward): Likewise.
12191 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12192 (expm1_test_data): Likewise.
12193 (expm1_test): Use ALL_RM_TEST.
12194 (expm1_tonearest_test_data): Remove.
12195 (expm1_test_tonearest): Likewise.
12196 (expm1_towardzero_test_data): Likewise.
12197 (expm1_test_towardzero): Likewise.
12198 (expm1_downward_test_data): Likewise.
12199 (expm1_test_downward): Likewise.
12200 (expm1_upward_test_data): Likewise.
12201 (expm1_test_upward): Likewise.
12202 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12203 (fma_test): Use ALL_RM_TEST.
12204 (fma_towardzero_test_data): Remove.
12205 (fma_test_towardzero): Likewise.
12206 (fma_downward_test_data): Likewise.
12207 (fma_test_downward): Likewise.
12208 (fma_upward_test_data): Likewise.
12209 (fma_test_upward): Likewise.
12210 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12211 (j0_test_data): Update call to AUTO_TESTS_f_f.
12212 (j1_test_data): Likewise.
12213 (jn_test_data): Update call to AUTO_TESTS_if_f.
12214 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12215 (log_test_data): Update call to AUTO_TESTS_f_f.
12216 (log10_test_data): Likewise.
12217 (log1p_test_data): Likewise.
12218 (log2_test_data): Likewise.
12219 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12220 (pow_tonearest_test_data): Likewise.
12221 (sin_test_data): Update call to AUTO_TESTS_f_f.
12222 (sin_test): Use ALL_RM_TEST.
12223 (sin_tonearest_test_data): Remove.
12224 (sin_test_tonearest): Likewise.
12225 (sin_towardzero_test_data): Likewise.
12226 (sin_test_towardzero): Likewise.
12227 (sin_downward_test_data): Likewise.
12228 (sin_test_downward): Likewise.
12229 (sin_upward_test_data): Likewise.
12230 (sin_test_upward): Likewise.
12231 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12232 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12233 (sinh_test): Use ALL_RM_TEST.
12234 (sinh_tonearest_test_data): Remove.
12235 (sinh_test_tonearest): Likewise.
12236 (sinh_towardzero_test_data): Likewise.
12237 (sinh_test_towardzero): Likewise.
12238 (sinh_downward_test_data): Likewise.
12239 (sinh_test_downward): Likewise.
12240 (sinh_upward_test_data): Likewise.
12241 (sinh_test_upward): Likewise.
12242 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12243 (sqrt_test): Use ALL_RM_TEST.
12244 (sqrt_tonearest_test_data): Remove.
12245 (sqrt_test_tonearest): Likewise.
12246 (sqrt_towardzero_test_data): Likewise.
12247 (sqrt_test_towardzero): Likewise.
12248 (sqrt_downward_test_data): Likewise.
12249 (sqrt_test_downward): Likewise.
12250 (sqrt_upward_test_data): Likewise.
12251 (sqrt_test_upward): Likewise.
12252 (tan_test_data): Update call to AUTO_TESTS_f_f.
12253 (tan_test): Use ALL_RM_TEST.
12254 (tan_tonearest_test_data): Remove.
12255 (tan_test_tonearest): Likewise.
12256 (tan_towardzero_test_data): Likewise.
12257 (tan_test_towardzero): Likewise.
12258 (tan_downward_test_data): Likewise.
12259 (tan_test_downward): Likewise.
12260 (tan_upward_test_data): Likewise.
12261 (tan_test_upward): Likewise.
12262 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12263 (tgamma_test_data): Likewise.
12264 (y0_test_data): Likewise.
12265 (y1_test_data): Likewise.
12266 (yn_test_data): Update call to AUTO_TESTS_if_f.
12267 (main): Do not call removed functions.
12268
d71aeee8
JM
122692014-03-19 Joseph Myers <joseph@codesourcery.com>
12270
12271 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12272 (ldexp_test_data): Remove.
12273 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12274 scalbn_test_data.
12275 (scalb_test): Use ALL_RM_TEST.
12276
baaf1ded
AS
122772014-03-19 Andreas Schwab <schwab@suse.de>
12278
12279 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12280
b1115e91
JM
122812014-03-19 Joseph Myers <joseph@codesourcery.com>
12282
12283 [BZ #16649]
12284 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12285 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12286 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12287 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12288 (__ASSUME_PREADV): Undefine.
12289 (__ASSUME_PWRITEV): Likewise.
12290
0283ecca
RM
122912014-03-18 Roland McGrath <roland@hack.frob.com>
12292
7d375303
RM
12293 * bits/mman-linux.h: Add comment about non-Linux use.
12294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12295 bits/mman-linux.h resting place.
12296
0283ecca
RM
12297 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12298 * bits/mman-linux.h: ... here.
12299
aebe1003
AZ
123002014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12301
12302 * conform/conformtest.pl: Add standard definition when calling C
12303 preprocessor on data files.
12304 (checknamespace): Remove unused variable.
12305
b29b6bb8
JM
123062014-03-18 Joseph Myers <joseph@codesourcery.com>
12307
12308 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12309 minus_oflow, plus_uflow and minus_uflow in expected results.
12310 * math/libm-test.inc (scalbn_test_data): Add more tests of
12311 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12312 minus_uflow.
12313 (scalbn_test): Use ALL_RM_TEST.
12314 (scalbln_test_data): Add more tests of negative arguments. Use
12315 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12316 (scalbln_test): Use ALL_RM_TEST.
12317
c8f8fa15
RM
123182014-03-18 Roland McGrath <roland@hack.frob.com>
12319
12320 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12321
fede7a5f
WN
123222014-03-18 Will Newton <will.newton@linaro.org>
12323
12324 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12325 inaccurate comment.
12326
80cf0a58
JM
123272014-03-18 Joseph Myers <joseph@codesourcery.com>
12328
12329 * Makerules [!subdir] (check-abi): Exit with error status if a
12330 test failed.
12331
b3620862
JM
123322014-03-17 Joseph Myers <joseph@codesourcery.com>
12333
12334 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12335 for rint. Include results for all rounding modes.
12336 (nearbyint_test): Use ALL_RM_TEST.
12337 (rint_test_data): Include all tests used for nearbyint.
12338
788bba36
WN
123392014-03-17 Will Newton <will.newton@linaro.org>
12340
04ec140a
WN
12341 * nptl/sysdeps/pthread/pthread.h: Revert previous
12342 change.
12343
7579d8d5
WN
12344 * sysdeps/generic/ldsodefs.h: Revert previous
12345 change.
12346
c15cf13a
WN
12347 * libio/genops.c: Revert previous change.
12348 * libio/libioP.h: Likewise.
12349 * stdio-common/vfprintf.c: Likewise.
12350
d0ac1324
WN
12351 * sysdeps/generic/math_private.h: Revert previous
12352 change.
12353
9290130a
WN
12354 * sysdeps/generic/math_private.h: Check whether
12355 HAVE_RM_CTX is defined with #ifdef rather
12356 than #if.
12357
afb466fc
WN
12358 * argp/argp-fmtstream.h: Check whether
12359 __STRICT_ANSI__ is defined with #ifdef rather
12360 than #if.
12361 * argp/argp.h: Likewise.
12362
f7efd7c3
WN
12363 * libio/genops.c: Check whether
12364 _IO_JUMPS_OFFSET is defined with #ifdef rather
12365 than #if.
12366 * libio/libioP.h: Likewise.
12367 * stdio-common/vfprintf.c: Likewise.
12368
53f1bed3
WN
12369 * sysdeps/generic/ldsodefs.h: Check whether
12370 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12371 than #if.
12372
788bba36
WN
12373 * nptl/sysdeps/pthread/pthread.h: Check
12374 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12375 its value.
12376
fcd89ebe
SP
123772014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12378
ae42bbc5
SP
12379 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12380 setting O_APPEND.
12381 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12382 test case.
12383
ea33158c
SP
12384 [BZ #16680]
12385 * libio/fileops.c (_IO_file_open): Seek to end of file but
12386 don't cache the offset.
12387 (get_file_offset): Remove function.
12388 (do_ftell): Use cached offset when available.
12389 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12390 don't cache the offset.
12391 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12392 case.
12393 (do_one_test): Call it.
12394 (do_ftell_test): Fix up expected old offset for a+ mode.
12395 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12396 available.
12397
b1dbb426
SP
12398 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12399 up test status with function return status.
12400 (do_write_test): Likewise.
12401 (do_append_test): Likewise.
12402
fcd89ebe
SP
12403 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12404 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12405 Remove.
12406
9962a2d3
JM
124072014-03-17 Joseph Myers <joseph@codesourcery.com>
12408
12409 * math/gen-libm-test.pl (parse_args): Handle results specified for
12410 each rounding mode separately.
12411 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12412 tests and results from lrint_tonearest_test_data,
12413 lrint_towardzero_test_data, lrint_downward_test_data and
12414 lrint_upward_test_data.
12415 (lrint_test): Use ALL_RM_TEST.
12416 (lrint_tonearest_test_data): Remove.
12417 (lrint_test_tonearest): Likewise.
12418 (lrint_towardzero_test_data): Likewise.
12419 (lrint_test_towardzero): Likewise.
12420 (lrint_downward_test_data): Likewise.
12421 (lrint_test_downward): Likewise.
12422 (lrint_upward_test_data): Likewise.
12423 (lrint_test_upward): Likewise.
12424 (llrint_test_data): Merge in per-rounding-mode tests and results
12425 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12426 llrint_downward_test_data and llrint_upward_test_data.
12427 (llrint_test): Use ALL_RM_TEST.
12428 (llrint_tonearest_test_data): Remove.
12429 (llrint_test_tonearest): Likewise.
12430 (llrint_towardzero_test_data): Likewise.
12431 (llrint_test_towardzero): Likewise.
12432 (llrint_downward_test_data): Likewise.
12433 (llrint_test_downward): Likewise.
12434 (llrint_upward_test_data): Likewise.
12435 (llrint_test_upward): Likewise.
12436 (rint_test_data): Merge in per-rounding-mode tests and results
12437 from rint_tonearest_test_data, rint_towardzero_test_data,
12438 rint_downward_test_data and rint_upward_test_data. Add
12439 per-rounding-mode results for tests not in those arrays.
12440 (rint_test): Use ALL_RM_TEST.
12441 (rint_tonearest_test_data): Remove.
12442 (rint_test_tonearest): Likewise.
12443 (rint_towardzero_test_data): Likewise.
12444 (rint_test_towardzero): Likewise.
12445 (rint_downward_test_data): Likewise.
12446 (rint_test_downward): Likewise.
12447 (rint_upward_test_data): Likewise.
12448 (rint_test_upward): Likewise.
12449 (main): Don't call removed functions.
12450
5006148e
RM
124512014-03-14 Roland McGrath <roland@hack.frob.com>
12452
12453 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12454 "Compiled on ..." crapola. It is anti-useful.
12455
d6fe5e58
JM
124562014-03-14 Joseph Myers <joseph@codesourcery.com>
12457
12458 * scripts/evaluate-test.sh: Handle fourth argument to determine
12459 whether test run should stop on failure.
12460 * Makeconfig (stop-on-test-failure): New variable.
12461 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12462 $(stop-on-test-failure).
12463 * Makefile (tests): Give a summary of results from testing and
12464 exit with failure status if they include an ERROR or FAIL.
12465 (xtests): Likewise.
12466 * manual/install.texi (Configuring and compiling): Mention
12467 stop-on-test-failure=y.
12468 * INSTALL: Regenerated.
12469
498a2233
RM
124702014-03-14 Roland McGrath <roland@hack.frob.com>
12471
22dbc19d
RM
12472 * scripts/versionlist.awk: New file.
12473 * Makerules [$(build-shared) = yes]
12474 (postclean-generated): Add Versions.def, not Versions.def.v and
12475 Versions.def.v.i.
12476 ($(common-objpfx)Versions.def.v.i): Target removed.
12477 ($(common-objpfx)Versions.def): New target.
12478 ($(common-objpfx)Versions.all): Depend on that rather that
12479 $(common-objpfx)Versions.def.v.
12480 * Versions.def: File removed.
12481
498a2233
RM
12482 * Makeconfig (+gccwarn): Add -Wundef.
12483 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12484 a dl-sysdep.h breaking its contract.
12485 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12486 * include/stackinfo.h: New file.
12487 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12488 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12489 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12490 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12491 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12492 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12493 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12494 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12495 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12496 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12497 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12498 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12499 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12500 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12501 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12502
c7de5025
AZ
125032014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12504
12505 [BZ #16707]
12506 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12507 implementation.
12508 * math/libm-test.inc (round_test_data): Add more tests.
12509
98fb27a3
AZ
12510 [BZ #16706]
12511 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12512 implementation.
12513 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12514
374f7f61
AZ
12515 [BZ #16701]
12516 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12517 implementation.
12518 * math/libm-test.inc (ceil_test_data): Add more tests.
12519
4655c291
AZ
12520 * math/libm-test.inc (trunc_test_data): Add more tests related to
12521 BZ#16414.
12522
d7329d4b
RM
125232014-03-14 Roland McGrath <roland@hack.frob.com>
12524
12525 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12526 with #if rather than #ifdef.
12527 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12528
aa4de9ce
L
125292014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12530
12531 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12532 first. Disable AVX-512 GCC support if assembler doesn't support
12533 it.
12534 * sysdeps/x86_64/configure: Regenerated.
12535
2e03fae7
CD
125362014-03-13 Carlos O'Donell <carlos@redhat.com>
12537
12538 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12539 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12540 (__old_pthread_attr_setstack): Likewise.
12541 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12542 [!_STACK_GROWS_DOWN]: Likewise.
12543
43ca83ec
MF
125442014-03-13 Mike Frysinger <vapier@gentoo.org>
12545
12546 * config.make.in (have-bash2): Delete.
12547 * configure.ac (libc_cv_have_bash2): Delete.
12548 * configure: Regenerate.
12549 * elf/Makefile (common-ldd-rewrite): Rename to ...
12550 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12551 (sh-ldd-rewrite): Delete.
12552 (bash-ldd-rewrite): Delete.
12553 (have-bash2): Delete checks.
57f41c40
AS
12554 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12555 ldd-rewrite.
c66e48b4
MF
12556
12557 * config.make.in (have-ksh): Delete.
12558 (KSH): Delete.
12559 * configure.ac (libc_cv_have_ksh): Delete.
12560 * configure: Regenerate.
12561
b93834ef
MF
12562 * elf/Makefile: Delete $(have-ksh) check.
12563 ($(objpfx)sotruss): Change KSH to BASH.
12564 * elf/sotruss.ksh: Rename to ...
12565 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12566 function style to match POSIX. Drop ksh vim mode setting.
12567
f3a4632a
MF
12568 * manual/time.texi (Specifying the Time Zone with TZ): Change
12569 Tuesday to Thursday.
12570
5896c8bd
MF
12571 * debug/tst-longjmp_chk2.c: Update header comment.
12572 (stackoverflow_handler): Add comment. Call assert on pass value.
12573
2d63a517
IZ
125742014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12575
7e54fd04 12576 [BZ #16194]
2d63a517
IZ
12577 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12578 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12579 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12580 (La_x86_64_vector): Add zmm.
12581 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12582 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12583 ($(objpfx)tst-audit10): New target.
12584 ($(objpfx)tst-audit10.out): Likewise.
12585 (tst-audit10-ENV): New.
12586 (AVX512-CFLAGS): Likewise.
12587 (CFLAGS-tst-audit10.c): Likewise.
12588 (CFLAGS-tst-auditmod10a.c): Likewise.
12589 (CFLAGS-tst-auditmod10b.c): Likewise.
12590 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12591 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12592 * sysdeps/x86_64/configure: Regenerated.
12593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12594 AVX-512 zmm register support.
12595 (_dl_x86_64_save_sse): Likewise.
12596 (_dl_x86_64_restore_sse): Likewise.
12597 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12598 size vector registers.
12599 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12600 (ZMM_SIZE): Likewise.
12601 * sysdeps/x86_64/tst-audit10.c: New file.
12602 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12603 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12604
44c4e5d5
RM
126052014-03-13 Roland McGrath <roland@hack.frob.com>
12606
12607 * configure.ac (HAVE_EHDR_START): New check.
12608 * configure: Regenerated.
12609 * config.h.in (HAVE_EHDR_START): New #undef.
12610 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12611 assuming the lowest-addressed segment maps the start of the file.
12612
acd6e389
JM
126132014-03-13 Joseph Myers <joseph@codesourcery.com>
12614
12615 * INSTALL: Regenerated.
12616
6f918f36
WN
126172014-03-13 Will Newton <will.newton@linaro.org>
12618
12619 * manual/setjmp.texi (System V contexts): Improve
12620 clarity and grammar of documentation.
12621
798212a0
PP
126222014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12623
12624 [BZ #16381]
798212a0 12625 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 12626 (tests-pie): Add tst-pie2.
798212a0
PP
12627 * elf/tst-pie2.c: New file.
12628 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12629 for ET_EXEC.
12630 * elf/rtld.c (map_doit): Load executable as lt_executable.
12631 (dl_main): Likewise.
12632
abe6d90c
JM
126332014-03-12 Joseph Myers <joseph@codesourcery.com>
12634
12635 [BZ #16642]
12636 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12637 (__ASSUME_PSELECT): Undefine.
12638
dd3946c6
AZ
126392014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12640
12641 [BZ #16689]
12642 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12643 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12644 static build.
12645 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12646 selector for static builds.
12647
c44496df
SP
126482014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12649
12650 [BZ #16695]
12651 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12652 key in the buffer.
12653
27c7220a
AZ
126542014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12655
57f41c40
AS
12656 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12657 IFUNC selector for static builds.
27c7220a 12658
600fa361
JM
126592014-03-11 Joseph Myers <joseph@codesourcery.com>
12660
76c96cf7
JM
12661 * sysdeps/mips/math_private.h [__mips_hard_float]
12662 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12663 libc_feresetround_mips_ctx.
12664 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12665 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12666 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12667
600fa361
JM
12668 [BZ #16677]
12669 * math/s_nextafter.c (__nextafter): Do not return value from
12670 overflowing computation.
12671 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12672 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12674 Likewise.
12675 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12676 Likewise.
12677 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12678 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12679
d7706c32
RM
126802014-03-11 Roland McGrath <roland@hack.frob.com>
12681
12682 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12683 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12684 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12685 the new mov targetting sp.
12686
4facea47
AZ
126872014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12688
12689 [BZ #16683]
12690 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12691 Define it for static builds as well.
12692 (NO_BZERO_IMPL): Likewise.
12693
e65caf1f
VR
126942014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12695
12696 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12697 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12698 multiarch strspn for PPC64.
12699 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12700 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12702 (__libc_ifunc_impl_list): Likewise.
12703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12704 multiarch optimizations
12705 * string/strspn.c (strspn): Using macro to redefine symbol name.
12706
ba9cc071
AZ
127072014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12708 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12709
12710 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12711 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12712 multiarch strncat for PPC64.
12713 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12714 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12716 (__libc_ifunc_impl_list): Likewise.
12717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12718 multiarch optimizations
12719
8b4ff974
SP
127202014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12721
12722 [BZ #16639]
12723 * nscd/nscd.service: Make service type forking.
12724
54b46a4b
AZ
127252014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12726
12727 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12728 sign in non default rounding modes.
12729 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12730
e9996ef7
JM
127312014-03-08 Joseph Myers <joseph@codesourcery.com>
12732
12733 * math/libm-test.inc (ALL_RM_TEST): New macro.
12734 (ceil_test): Use ALL_RM_TEST.
12735 (cimag_test): Likewise.
12736 (conj_test): Likewise.
12737 (copysign_test): Likewise.
12738 (cproj_test): Likewise.
12739 (creal_test): Likewise.
12740 (fabs_test): Likewise.
12741 (floor_test): Likewise.
12742 (fmax_test): Likewise.
12743 (fmin_test): Likewise.
12744 (fmod_test): Likewise.
12745 (fpclassify_test): Likewise.
12746 (frexp_test): Likewise.
12747 (ilogb_test): Likewise.
12748 (isfinite_test): Likewise.
12749 (finite_test): Likewise.
12750 (isgreater_test): Likewise.
12751 (isgreaterequal_test): Likewise.
12752 (isinf_test): Likewise.
12753 (isless_test): Likewise.
12754 (islessequal_test): Likewise.
12755 (islessgreater_test): Likewise.
12756 (isnan_test): Likewise.
12757 (isnormal_test): Likewise.
12758 (issignaling_test): Likewise.
12759 (isunordered_test): Likewise.
12760 (logb_test): Likewise.
12761 (logb_downward_test_data): Remove.
12762 (logb_test_downward): Likewise.
12763 (lround_test): Use ALL_RM_TEST.
12764 (llround_test): Likewise.
12765 (modf_test): Likewise.
12766 (nexttoward_test): Likewise.
12767 (remainder_test): Likewise.
12768 (drem_test): Likewise.
12769 (remainder_tonearest_test_data): Likewise.
12770 (remainder_test_tonearest): Likewise.
12771 (drem_test_tonearest): Likewise.
12772 (remainder_towardzero_test_data): Likewise.
12773 (remainder_test_towardzero): Likewise.
12774 (drem_test_towardzero): Likewise.
12775 (remainder_downward_test_data): Likewise.
12776 (remainder_test_downward): Likewise.
12777 (drem_test_downward): Likewise.
12778 (remainder_upward_test_data): Likewise.
12779 (remainder_test_upward): Likewise.
12780 (drem_test_upward): Likewise.
12781 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12782 (round_test): Use ALL_RM_TEST.
12783 (signbit_test): Likewise.
12784 (trunc_test): Likewise.
12785 (significand_test): Likewise.
12786 (main): Don't call removed functions.
12787
bc61d27c
JM
127882014-03-07 Joseph Myers <joseph@codesourcery.com>
12789
5c780849
JM
12790 [BZ #16674]
12791 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12792 || __USE_XOPEN2K8].
12793 (ILL_ILLOPN): Likewise.
12794 (ILL_ILLADR): Likewise.
12795 (ILL_ILLTRP): Likewise.
12796 (ILL_PRVOPC): Likewise.
12797 (ILL_PRVREG): Likewise.
12798 (ILL_COPROC): Likewise.
12799 (ILL_BADSTK): Likewise.
12800 (FPE_INTDIV): Likewise.
12801 (FPE_INTOVF): Likewise.
12802 (FPE_FLTDIV): Likewise.
12803 (FPE_FLTOVF): Likewise.
12804 (FPE_FLTUND): Likewise.
12805 (FPE_FLTRES): Likewise.
12806 (FPE_FLTINV): Likewise.
12807 (FPE_FLTSUB): Likewise.
12808 (SEGV_MAPERR): Likewise.
12809 (SEGV_ACCERR): Likewise.
12810 (BUS_ADRALN): Likewise.
12811 (BUS_ADRERR): Likewise.
12812 (BUS_OBJERR): Likewise.
12813 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12814 (TRAP_TRACE): Likewise.
12815 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12816 __USE_XOPEN2K8].
12817 (CLD_KILLED): Likewise.
12818 (CLD_DUMPED): Likewise.
12819 (CLD_TRAPPED): Likewise.
12820 (CLD_STOPPED): Likewise.
12821 (CLD_CONTINUED): Likewise.
12822 (POLL_IN): Likewise.
12823 (POLL_OUT): Likewise.
12824 (POLL_MSG): Likewise.
12825 (POLL_ERR): Likewise.
12826 (POLL_PRI): Likewise.
12827 (POLL_HUP): Likewise.
12828 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12829 Likewise.
12830 (ILL_ILLOPN): Likewise.
12831 (ILL_ILLADR): Likewise.
12832 (ILL_ILLTRP): Likewise.
12833 (ILL_PRVOPC): Likewise.
12834 (ILL_PRVREG): Likewise.
12835 (ILL_COPROC): Likewise.
12836 (ILL_BADSTK): Likewise.
12837 (FPE_INTDIV): Likewise.
12838 (FPE_INTOVF): Likewise.
12839 (FPE_FLTDIV): Likewise.
12840 (FPE_FLTOVF): Likewise.
12841 (FPE_FLTUND): Likewise.
12842 (FPE_FLTRES): Likewise.
12843 (FPE_FLTINV): Likewise.
12844 (FPE_FLTSUB): Likewise.
12845 (SEGV_MAPERR): Likewise.
12846 (SEGV_ACCERR): Likewise.
12847 (BUS_ADRALN): Likewise.
12848 (BUS_ADRERR): Likewise.
12849 (BUS_OBJERR): Likewise.
12850 (BUS_MCEERR_AR): Likewise.
12851 (BUS_MCEERR_AO): Likewise.
12852 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12853 (TRAP_TRACE): Likewise.
12854 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12855 __USE_XOPEN2K8].
12856 (CLD_KILLED): Likewise.
12857 (CLD_DUMPED): Likewise.
12858 (CLD_TRAPPED): Likewise.
12859 (CLD_STOPPED): Likewise.
12860 (CLD_CONTINUED): Likewise.
12861 (POLL_IN): Likewise.
12862 (POLL_OUT): Likewise.
12863 (POLL_MSG): Likewise.
12864 (POLL_ERR): Likewise.
12865 (POLL_PRI): Likewise.
12866 (POLL_HUP): Likewise.
12867 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12868 (ILL_ILLOPN): Likewise.
12869 (ILL_ILLADR): Likewise.
12870 (ILL_ILLTRP): Likewise.
12871 (ILL_PRVOPC): Likewise.
12872 (ILL_PRVREG): Likewise.
12873 (ILL_COPROC): Likewise.
12874 (ILL_BADSTK): Likewise.
12875 (FPE_INTDIV): Likewise.
12876 (FPE_INTOVF): Likewise.
12877 (FPE_FLTDIV): Likewise.
12878 (FPE_FLTOVF): Likewise.
12879 (FPE_FLTUND): Likewise.
12880 (FPE_FLTRES): Likewise.
12881 (FPE_FLTINV): Likewise.
12882 (FPE_FLTSUB): Likewise.
12883 (SEGV_MAPERR): Likewise.
12884 (SEGV_ACCERR): Likewise.
12885 (BUS_ADRALN): Likewise.
12886 (BUS_ADRERR): Likewise.
12887 (BUS_OBJERR): Likewise.
12888 (BUS_MCEERR_AR): Likewise.
12889 (BUS_MCEERR_AO): Likewise.
12890 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12891 (TRAP_TRACE): Likewise.
12892 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12893 __USE_XOPEN2K8].
12894 (CLD_KILLED): Likewise.
12895 (CLD_DUMPED): Likewise.
12896 (CLD_TRAPPED): Likewise.
12897 (CLD_STOPPED): Likewise.
12898 (CLD_CONTINUED): Likewise.
12899 (POLL_IN): Likewise.
12900 (POLL_OUT): Likewise.
12901 (POLL_MSG): Likewise.
12902 (POLL_ERR): Likewise.
12903 (POLL_PRI): Likewise.
12904 (POLL_HUP): Likewise.
12905 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12906 Likewise.
12907 (ILL_ILLOPN): Likewise.
12908 (ILL_ILLADR): Likewise.
12909 (ILL_ILLTRP): Likewise.
12910 (ILL_PRVOPC): Likewise.
12911 (ILL_PRVREG): Likewise.
12912 (ILL_COPROC): Likewise.
12913 (ILL_BADSTK): Likewise.
12914 (ILL_BADIADDR): Likewise.
12915 (ILL_BREAK): Likewise.
12916 (FPE_INTDIV): Likewise.
12917 (FPE_INTOVF): Likewise.
12918 (FPE_FLTDIV): Likewise.
12919 (FPE_FLTOVF): Likewise.
12920 (FPE_FLTUND): Likewise.
12921 (FPE_FLTRES): Likewise.
12922 (FPE_FLTINV): Likewise.
12923 (FPE_FLTSUB): Likewise.
12924 (FPE_DECOVF): Likewise.
12925 (FPE_DECDIV): Likewise.
12926 (FPE_DECERR): Likewise.
12927 (FPE_INVASC): Likewise.
12928 (FPE_INVDEC): Likewise.
12929 (SEGV_MAPERR): Likewise.
12930 (SEGV_ACCERR): Likewise.
12931 (SEGV_PSTKOVF): Likewise.
12932 (BUS_ADRALN): Likewise.
12933 (BUS_ADRERR): Likewise.
12934 (BUS_OBJERR): Likewise.
12935 (BUS_MCEERR_AR): Likewise.
12936 (BUS_MCEERR_AO): Likewise.
12937 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12938 (TRAP_TRACE): Likewise.
12939 (TRAP_BRANCH): Likewise.
12940 (TRAP_HWBKPT): Likewise.
12941 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12942 __USE_XOPEN2K8].
12943 (CLD_KILLED): Likewise.
12944 (CLD_DUMPED): Likewise.
12945 (CLD_TRAPPED): Likewise.
12946 (CLD_STOPPED): Likewise.
12947 (CLD_CONTINUED): Likewise.
12948 (POLL_IN): Likewise.
12949 (POLL_OUT): Likewise.
12950 (POLL_MSG): Likewise.
12951 (POLL_ERR): Likewise.
12952 (POLL_PRI): Likewise.
12953 (POLL_HUP): Likewise.
12954 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12955 (ILL_ILLOPN): Likewise.
12956 (ILL_ILLADR): Likewise.
12957 (ILL_ILLTRP): Likewise.
12958 (ILL_PRVOPC): Likewise.
12959 (ILL_PRVREG): Likewise.
12960 (ILL_COPROC): Likewise.
12961 (ILL_BADSTK): Likewise.
12962 (FPE_INTDIV): Likewise.
12963 (FPE_INTOVF): Likewise.
12964 (FPE_FLTDIV): Likewise.
12965 (FPE_FLTOVF): Likewise.
12966 (FPE_FLTUND): Likewise.
12967 (FPE_FLTRES): Likewise.
12968 (FPE_FLTINV): Likewise.
12969 (FPE_FLTSUB): Likewise.
12970 (SEGV_MAPERR): Likewise.
12971 (SEGV_ACCERR): Likewise.
12972 (BUS_ADRALN): Likewise.
12973 (BUS_ADRERR): Likewise.
12974 (BUS_OBJERR): Likewise.
12975 (BUS_MCEERR_AR): Likewise.
12976 (BUS_MCEERR_AO): Likewise.
12977 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12978 (TRAP_TRACE): Likewise.
12979 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12980 __USE_XOPEN2K8].
12981 (CLD_KILLED): Likewise.
12982 (CLD_DUMPED): Likewise.
12983 (CLD_TRAPPED): Likewise.
12984 (CLD_STOPPED): Likewise.
12985 (CLD_CONTINUED): Likewise.
12986 (POLL_IN): Likewise.
12987 (POLL_OUT): Likewise.
12988 (POLL_MSG): Likewise.
12989 (POLL_ERR): Likewise.
12990 (POLL_PRI): Likewise.
12991 (POLL_HUP): Likewise.
12992 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12993 (ILL_ILLOPN): Likewise.
12994 (ILL_ILLADR): Likewise.
12995 (ILL_ILLTRP): Likewise.
12996 (ILL_PRVOPC): Likewise.
12997 (ILL_PRVREG): Likewise.
12998 (ILL_COPROC): Likewise.
12999 (ILL_BADSTK): Likewise.
13000 (FPE_INTDIV): Likewise.
13001 (FPE_INTOVF): Likewise.
13002 (FPE_FLTDIV): Likewise.
13003 (FPE_FLTOVF): Likewise.
13004 (FPE_FLTUND): Likewise.
13005 (FPE_FLTRES): Likewise.
13006 (FPE_FLTINV): Likewise.
13007 (FPE_FLTSUB): Likewise.
13008 (SEGV_MAPERR): Likewise.
13009 (SEGV_ACCERR): Likewise.
13010 (BUS_ADRALN): Likewise.
13011 (BUS_ADRERR): Likewise.
13012 (BUS_OBJERR): Likewise.
13013 (BUS_MCEERR_AR): Likewise.
13014 (BUS_MCEERR_AO): Likewise.
13015 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13016 (TRAP_TRACE): Likewise.
13017 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13018 __USE_XOPEN2K8].
13019 (CLD_KILLED): Likewise.
13020 (CLD_DUMPED): Likewise.
13021 (CLD_TRAPPED): Likewise.
13022 (CLD_STOPPED): Likewise.
13023 (CLD_CONTINUED): Likewise.
13024 (POLL_IN): Likewise.
13025 (POLL_OUT): Likewise.
13026 (POLL_MSG): Likewise.
13027 (POLL_ERR): Likewise.
13028 (POLL_PRI): Likewise.
13029 (POLL_HUP): Likewise.
13030 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13031 (ILL_ILLOPN): Likewise.
13032 (ILL_ILLADR): Likewise.
13033 (ILL_ILLTRP): Likewise.
13034 (ILL_PRVOPC): Likewise.
13035 (ILL_PRVREG): Likewise.
13036 (ILL_COPROC): Likewise.
13037 (ILL_BADSTK): Likewise.
13038 (FPE_INTDIV): Likewise.
13039 (FPE_INTOVF): Likewise.
13040 (FPE_FLTDIV): Likewise.
13041 (FPE_FLTOVF): Likewise.
13042 (FPE_FLTUND): Likewise.
13043 (FPE_FLTRES): Likewise.
13044 (FPE_FLTINV): Likewise.
13045 (FPE_FLTSUB): Likewise.
13046 (SEGV_MAPERR): Likewise.
13047 (SEGV_ACCERR): Likewise.
13048 (BUS_ADRALN): Likewise.
13049 (BUS_ADRERR): Likewise.
13050 (BUS_OBJERR): Likewise.
13051 (BUS_MCEERR_AR): Likewise.
13052 (BUS_MCEERR_AO): Likewise.
13053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13054 (TRAP_TRACE): Likewise.
13055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13056 __USE_XOPEN2K8].
13057 (CLD_KILLED): Likewise.
13058 (CLD_DUMPED): Likewise.
13059 (CLD_TRAPPED): Likewise.
13060 (CLD_STOPPED): Likewise.
13061 (CLD_CONTINUED): Likewise.
13062 (POLL_IN): Likewise.
13063 (POLL_OUT): Likewise.
13064 (POLL_MSG): Likewise.
13065 (POLL_ERR): Likewise.
13066 (POLL_PRI): Likewise.
13067 (POLL_HUP): Likewise.
13068 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13069 (ILL_ILLOPN): Likewise.
13070 (ILL_ILLADR): Likewise.
13071 (ILL_ILLTRP): Likewise.
13072 (ILL_PRVOPC): Likewise.
13073 (ILL_PRVREG): Likewise.
13074 (ILL_COPROC): Likewise.
13075 (ILL_BADSTK): Likewise.
13076 (ILL_DBLFLT): Likewise.
13077 (ILL_HARDWALL): Likewise.
13078 (FPE_INTDIV): Likewise.
13079 (FPE_INTOVF): Likewise.
13080 (FPE_FLTDIV): Likewise.
13081 (FPE_FLTOVF): Likewise.
13082 (FPE_FLTUND): Likewise.
13083 (FPE_FLTRES): Likewise.
13084 (FPE_FLTINV): Likewise.
13085 (FPE_FLTSUB): Likewise.
13086 (SEGV_MAPERR): Likewise.
13087 (SEGV_ACCERR): Likewise.
13088 (BUS_ADRALN): Likewise.
13089 (BUS_ADRERR): Likewise.
13090 (BUS_OBJERR): Likewise.
13091 (BUS_MCEERR_AR): Likewise.
13092 (BUS_MCEERR_AO): Likewise.
13093 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13094 (TRAP_TRACE): Likewise.
13095 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13096 __USE_XOPEN2K8].
13097 (CLD_KILLED): Likewise.
13098 (CLD_DUMPED): Likewise.
13099 (CLD_TRAPPED): Likewise.
13100 (CLD_STOPPED): Likewise.
13101 (CLD_CONTINUED): Likewise.
13102 (POLL_IN): Likewise.
13103 (POLL_OUT): Likewise.
13104 (POLL_MSG): Likewise.
13105 (POLL_ERR): Likewise.
13106 (POLL_PRI): Likewise.
13107 (POLL_HUP): Likewise.
13108 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13109 (ILL_ILLOPN): Likewise.
13110 (ILL_ILLADR): Likewise.
13111 (ILL_ILLTRP): Likewise.
13112 (ILL_PRVOPC): Likewise.
13113 (ILL_PRVREG): Likewise.
13114 (ILL_COPROC): Likewise.
13115 (ILL_BADSTK): Likewise.
13116 (FPE_INTDIV): Likewise.
13117 (FPE_INTOVF): Likewise.
13118 (FPE_FLTDIV): Likewise.
13119 (FPE_FLTOVF): Likewise.
13120 (FPE_FLTUND): Likewise.
13121 (FPE_FLTRES): Likewise.
13122 (FPE_FLTINV): Likewise.
13123 (FPE_FLTSUB): Likewise.
13124 (SEGV_MAPERR): Likewise.
13125 (SEGV_ACCERR): Likewise.
13126 (BUS_ADRALN): Likewise.
13127 (BUS_ADRERR): Likewise.
13128 (BUS_OBJERR): Likewise.
13129 (BUS_MCEERR_AR): Likewise.
13130 (BUS_MCEERR_AO): Likewise.
13131 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13132 (TRAP_TRACE): Likewise.
13133 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13134 __USE_XOPEN2K8].
13135 (CLD_KILLED): Likewise.
13136 (CLD_DUMPED): Likewise.
13137 (CLD_TRAPPED): Likewise.
13138 (CLD_STOPPED): Likewise.
13139 (CLD_CONTINUED): Likewise.
13140 (POLL_IN): Likewise.
13141 (POLL_OUT): Likewise.
13142 (POLL_MSG): Likewise.
13143 (POLL_ERR): Likewise.
13144 (POLL_PRI): Likewise.
13145 (POLL_HUP): Likewise.
13146 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13147 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13148
bc61d27c
JM
13149 [BZ #16670]
13150 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13151 before #include of <time.h>.
13152 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13153 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13154 (test-xfail-UNIX98/sched.h/conform): Likewise.
13155
302949e2
MS
131562014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13157
13158 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13159 error absence of trapping exception support.
13160 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13161
a00f522a
JM
131622014-03-07 Joseph Myers <joseph@codesourcery.com>
13163
6f99f280
JM
13164 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13165 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13166 * timezone/Makefile (testdata): Move definition above include of
13167 Rules.
13168 (test-zones): New variable.
13169 (tests-special): Add zone files.
13170 (build-testdata): Use $(evaluate-test).
13171
0b20a9e8
JM
13172 * elf/Makefile (tests-special): Rename tests to end with .out.
13173 ($(objpfx)noload-mem): Likewise.
13174 ($(objpfx)tst-leaks1-mem): Likewise.
13175 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13176 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13177 $(objpfx)test-iconvconfig.out.
13178 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13179 set -e inside subshell and redirect output to file.
13180 * iconvdata/Makefile (generated): Rename tests to end with .out.
13181 Correct type.
13182 (tests-special): Rename tests to end with .out.
13183 ($(objpfx)mtrace-tst-loading): Likewise.
13184 * intl/Makefile (generated): Likewise.
13185 (tests-special): Likewise.
13186 ($(objpfx)mtrace-tst-gettext): Likewise.
13187 * misc/Makefile (generated): Likewise.
13188 (tests-special): Likewise.
13189 ($(objpfx)tst-error1-mem): Likewise.
13190 * nptl/Makefile (tests-special): Likewise.
13191 ($(objpfx)tst-stack3-mem): Likewise.
13192 (generated): Likewise.
13193 * posix/Makefile (generated): Likewise.
13194 (tests-special): Likewise.
13195 (xtests-special): Likewise.
13196 ($(objpfx)tst-fnmatch-mem): Likewise.
13197 ($(objpfx)bug-regex2-mem): Likewise.
13198 ($(objpfx)bug-regex14-mem): Likewise.
13199 ($(objpfx)bug-regex21-mem): Likewise.
13200 ($(objpfx)bug-regex31-mem): Likewise.
13201 ($(objpfx)tst-vfork3-mem): Likewise.
13202 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13203 ($(objpfx)tst-pcre-mem): Likewise.
13204 ($(objpfx)tst-boost-mem): Likewise.
13205 ($(objpfx)bug-ga2-mem): Likewise.
13206 ($(objpfx)bug-glob2-mem): Likewise.
13207 * resolv/Makefile (generate): Likewise.
13208 (tests-special): Likewise.
13209 (xtests-special): Likewise.
13210 (generated): Likewise.
13211 ($(objpfx)mtrace-tst-leaks): Likewise.
13212 ($(objpfx)mtrace-tst-leaks2): Likewise.
13213
265d52ab
JM
13214 * scripts/merge-test-results.sh: New file.
13215 * Makefile (tests-special-notdir): New variable.
13216 (tests): Run merge-test-results.sh.
13217 (xtests): Likewise.
13218 * Rules (tests-special-notdir): New variable.
13219 (xtests-special-notdir): Likewise.
13220 (tests): Run merge-test-results.sh
13221 (xtests): Likewise.
13222
54ee292d
JM
13223 * Makeconfig (test-xfail-name): New variable.
13224 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13225 compute variable name for expected failures.
13226 * conform/Makefile (conformtest-headers-data): New variable.
13227 (conformtest-standards): Likewise.
13228 (conformtest-headers-ISO): Likewise.
13229 (conformtest-headers-ISO99): Likewise.
13230 (conformtest-headers-ISO11): Likewise.
13231 (conformtest-headers-POSIX): Likewise.
13232 (conformtest-headers-XPG3): Likewise.
13233 (conformtest-headers-XPG4): Likewise.
13234 (conformtest-headers-UNIX98): Likewise.
13235 (conformtest-headers-XOPEN2K): Likewise.
13236 (conformtest-headers-POSIX2008): Likewise.
13237 (conformtest-headers-XOPEN2K8): Likewise.
13238 (conformtest-header-list-base): Likewise.
13239 (conformtest-header-list-tests): Likewise.
13240 (conformtest-header-base): Likewise.
13241 (conformtest-header-tests): Likewise.
13242 (tests-special): Add $(conformtest-header-list-tests). If
13243 [$(fast-check) && !$(cross-compiling)], add
13244 $(conformtest-header-tests) instead of
13245 $(objpfx)run-conformtest.out.
13246 (generated): Add $(conformtest-header-list-base). If
13247 [$(fast-check) && !$(cross-compiling)], add
13248 $(conformtest-header-base). Remove previous setting.
13249 ($(conformtest-header-list-tests)): New target.
13250 (test-xfail-run-conformtest): Remove variable.
13251 ($(objpfx)run-conformtest.out): Remove target.
13252 (test-xfail-ISO11/complex.h/conform): New variable.
13253 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13254 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13255 (test-xfail-XPG3/varargs.h/conform): Likewise.
13256 (test-xfail-XPG4/varargs.h/conform): Likewise.
13257 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13258 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13259 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13260 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13261 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13262 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13263 (test-xfail-XPG3/ftw.h/conform): Likewise.
13264 (test-xfail-XPG3/grp.h/conform): Likewise.
13265 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13266 (test-xfail-XPG3/limits.h/conform): Likewise.
13267 (test-xfail-XPG3/pwd.h/conform): Likewise.
13268 (test-xfail-XPG3/search.h/conform): Likewise.
13269 (test-xfail-XPG3/signal.h/conform): Likewise.
13270 (test-xfail-XPG3/stdio.h/conform): Likewise.
13271 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13272 (test-xfail-XPG3/string.h/conform): Likewise.
13273 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13274 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13275 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13276 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13277 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13278 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13279 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13280 (test-xfail-XPG3/termios.h/conform): Likewise.
13281 (test-xfail-XPG3/time.h/conform): Likewise.
13282 (test-xfail-XPG3/unistd.h/conform): Likewise.
13283 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13284 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13285 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13286 (test-xfail-XPG4/netdb.h/conform): Likewise.
13287 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13288 (test-xfail-XPG4/signal.h/conform): Likewise.
13289 (test-xfail-XPG4/stdio.h/conform): Likewise.
13290 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13291 (test-xfail-XPG4/stropts.h/conform): Likewise.
13292 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13293 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13294 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13295 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13296 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13297 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13298 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13299 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13300 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13301 (test-xfail-XPG4/termios.h/conform): Likewise.
13302 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13303 (test-xfail-XPG4/unistd.h/conform): Likewise.
13304 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13305 (test-xfail-POSIX/sched.h/conform): Likewise.
13306 (test-xfail-POSIX/signal.h/conform): Likewise.
13307 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13308 (test-xfail-POSIX/tar.h/conform): Likewise.
13309 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13310 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13311 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13312 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13313 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13314 (test-xfail-UNIX98/sched.h/conform): Likewise.
13315 (test-xfail-UNIX98/signal.h/conform): Likewise.
13316 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13317 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13318 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13319 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13320 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13321 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13322 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13323 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13324 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13325 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13326 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13327 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13328 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13329 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13330 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13331 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13332 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13333 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13334 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13335 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13336 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13337 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13338 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13339 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13340 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13341 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13342 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13343 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13344 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13345 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13346 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13347 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13348 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13349 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13350 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13351 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13352 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13353 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13354 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13355 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13356 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13357 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13358 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13359 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13360 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13361 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13362 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13363 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13364 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13365 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13366 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13367 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13368 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13369 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13370 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13371 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13372 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13373 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13374 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13375 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13376 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13377 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13378 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13379 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13380 (conformtest-cc-flags): Likewise.
13381 ($(conformtest-header-tests): New target.
13382 * conform/check-header-lists.sh: New file.
13383 * conform/run-conformtest.sh: Remove.
13384
a00f522a
JM
13385 * conform/conformtest.pl: Allow ' and \ in values given for
13386 constants.
13387 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13388 inclusion.
13389 [POSIX] (sys/types.h): Likewise.
13390 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13391 inclusion.
13392 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13393 inclusion.
13394 * conform/data/signal.h-data (SIGIO): Remove expectation.
13395 [XPG3] (SIGBUS): Do not expect.
13396 [POSIX || XPG3] (SIGPOLL): Likewise.
13397 [POSIX || XPG3] (SIGPROF): Likewise.
13398 [POSIX || XPG3] (SIGSYS): Likewise.
13399 [XPG3] (SIGTRAP): Likewise.
13400 [POSIX || XPG3] (SIGURG): Likewise.
13401 [POSIX || XPG3] (SIGVTALRM): Likewise.
13402 [POSIX || XPG3] (SIGXCPU): Likewise.
13403 [POSIX || XPG3] (SIGXFSZ): Likewise.
13404 [POSIX] (SA_SIGINFO): Expect.
13405 [XPG3] (siginfo_t): Do not expect type or contents.
13406 [POSIX] (si_pid): Do not expect element.
13407 [POSIX] (si_uid): Likewise.
13408 [POSIX] (si_addr): Likewise.
13409 [POSIX] (si_status): Likewise.
13410 [POSIX] (si_band): Likewise.
13411 [XPG4] (si_value): Likewise.
13412 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13413 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13414 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13415 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13416 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13417 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13418 [POSIX || XPG3] (ILL_COPROC): Likewise.
13419 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13420 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13421 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13422 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13423 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13424 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13425 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13426 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13427 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13428 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13429 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13430 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13431 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13432 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13433 [POSIX || XPG3] (CLD_EXITED): Likewise.
13434 [POSIX || XPG3] (CLD_KILLED): Likewise.
13435 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13436 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13437 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13438 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13439 [POSIX || XPG3] (POLL_IN): Likewise.
13440 [POSIX || XPG3] (POLL_OUT): Likewise.
13441 [POSIX || XPG3] (POLL_MSG): Likewise.
13442 [POSIX || XPG3] (POLL_ERR): Likewise.
13443 [POSIX || XPG3] (POLL_PRI): Likewise.
13444 [POSIX || XPG3] (POLL_HUP): Likewise.
13445 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13446 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13447 (SIG*): Do not allow.
13448 [XPG3] (si_*): Likewise.
13449 [XPG3] (SI_*): Likewise.
13450 [XPG3 || XPG4] (sigev_*): Likewise.
13451 [XPG3 || XPG4] (SIGEV_*): Likewise.
13452 [XPG3 || XPG4] (sival_*): Likewise.
13453 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13454 [POSIX || XPG3] (BUS_*): Likewise.
13455 [POSIX || XPG3] (CLD_*): Likewise.
13456 [POSIX || XPG3] (FPE_*): Likewise.
13457 [POSIX || XPG3] (ILL_*): Likewise.
13458 [POSIX || XPG3] (POLL_*): Likewise.
13459 [POSIX || XPG3] (SEGV_*): Likewise.
13460 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13461 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13462 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13463 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13464 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13465 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13466 Specify type and value.
13467 (TVERSLEN): Likewise.
13468 (REGTYPE): Likewise.
13469 (AREGTYPE): Likewise.
13470 (LNKTYPE): Likewise.
13471 (SYMTYPE): Likewise.
13472 (CHRTYPE): Likewise.
13473 (BLKTYPE): Likewise.
13474 (DIRTYPE): Likewise.
13475 (FIFOTYPE): Likewise.
13476 (CONTTYPE): Likewise.
13477 (TSUID): Likewise.
13478 (TSGID): Likewise.
13479 (TSVTX): Likewise.
13480 (TUREAD): Likewise.
13481 (TUWRITE): Likewise.
13482 (TUEXEC): Likewise.
13483 (TGREAD): Likewise.
13484 (TGWRITE): Likewise.
13485 (TGEXEC): Likewise.
13486 (TOREAD): Likewise.
13487 (TOWRITE): Likewise.
13488 (TOEXEC): Likewise.
13489 [POSIX] (TSVTX): Expect constant.
13490
aa97dee1
JM
134912014-03-06 Joseph Myers <joseph@codesourcery.com>
13492
f214606a
JM
13493 * Makefile (tests): Change dependencies to ....
13494 (tests-special): ... additions to this variable.
13495 (tests): Depend on $(tests-special).
13496 * Makerules (check-abi-list): New variable.
13497 (check-abi): Depend on $(check-abi-list).
13498 [$(subdir) = elf] (tests-special): Add
13499 $(objpfx)check-abi-libc.out.
13500 [$(build-shared) = yes && subdir] (tests-special): Add
13501 $(check-abi-list).
13502 [$(build-shared) = yes && subdir] (tests): Do not depend on
13503 check-abi.
13504 * Rules (tests): Depend on $(tests-special).
13505 (xtests): Depend on $(xtests-special).
13506 * catgets/Makefile (tests): Change dependencies to ....
13507 (tests-special): ... additions to this variable.
13508 * conform/Makefile (tests): Change dependencies to ....
13509 (tests-special): ... additions to this variable.
13510 * elf/Makefile (tests): Change dependencies to ....
13511 (tests-special): ... additions to this variable.
13512 * grp/Makefile (tests): Change dependencies to ....
13513 (tests-special): ... additions to this variable.
13514 * iconv/Makefile (xtests): Change dependencies to ....
13515 (xtests-special): ... additions to this variable.
13516 * iconvdata/Makefile (tests): Change dependencies to ....
13517 (tests-special): ... additions to this variable.
13518 * intl/Makefile (tests): Change dependencies to ....
13519 (tests-special): ... additions to this variable. Also add
13520 $(objpfx)tst-gettext.out.
13521 * io/Makefile (tests): Change dependencies to ....
13522 (tests-special): ... additions to this variable.
13523 * libio/Makefile (tests): Change dependencies to ....
13524 (tests-special): ... additions to this variable.
13525 * malloc/Makefile (tests): Change dependencies to ....
13526 (tests-special): ... additions to this variable.
13527 * misc/Makefile (tests): Change dependencies to ....
13528 (tests-special): ... additions to this variable.
13529 * nptl/Makefile (tests): Change dependencies to ....
13530 (tests-special): ... additions to this variable.
13531 * nptl_db/Makefile (tests): Change dependencies to ....
13532 (tests-special): ... additions to this variable.
13533 * posix/Makefile (tests): Change dependencies to ....
13534 (tests-special): ... additions to this variable.
13535 (xtests): Change dependencies to ....
13536 (xtests-special): ... additions to this variable.
13537 * resolv/Makefile (tests): Change dependencies to ....
13538 (tests-special): ... additions to this variable.
13539 (xtests): Change dependencies to ....
13540 (xtests-special): ... additions to this variable.
13541 * stdio-common/Makefile (tests): Change dependencies to ....
13542 (tests-special): ... additions to this variable.
13543 (do-tst-unbputc): Remove target.
13544 (do-tst-printf): Likewise.
13545 * stdlib/Makefile (tests): Change dependencies to ....
13546 (tests-special): ... additions to this variable.
13547 * string/Makefile (tests): Change dependencies to ....
13548 (tests-special): ... additions to this variable.
13549 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13550 (tests-special): ... additions to this variable.
13551
81700b53
JM
13552 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13553 whole file.
13554 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13555 whole file.
13556 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13557 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13558
2ea18461
JM
13559 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13560 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13561 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13562 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13563 * conform/data/libgen.h-data [XPG3]: Likewise.
13564 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13565 * conform/data/ndbm.h-data [XPG3]: Likewise.
13566 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13567 * conform/data/netdb.h-data [XPG3]: Likewise.
13568 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13569 * conform/data/poll.h-data [XPG3]: Likewise.
13570 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13571 * conform/data/strings.h-data [XPG3]: Likewise.
13572 * conform/data/stropts.h-data [XPG3]: Likewise.
13573 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13574 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13575 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13576 Likewise.
13577 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13578 * conform/data/sys/time.h-data [XPG3]: Likewise.
13579 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13580 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13581 * conform/data/sys/un.h-data [XPG3]: Likewise.
13582 * conform/data/syslog.h-data [XPG3]: Likewise.
13583 * conform/data/ucontext.h-data [XPG3]: Likewise.
13584 * conform/data/utmpx.h-data [XPG3]: Likewise.
13585 * conform/data/varargs.h-data [UNIX98]: Enable file.
13586
355bc986
JM
13587 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13588
215db402
JM
13589 * math/libm-test.inc (struct test_f_f_data): Move expected results
13590 into structure for each rounding mode.
13591 (struct test_ff_f_data): Likewise.
13592 (struct test_ff_f_data_nexttoward): Likewise.
13593 (struct test_fi_f_data): Likewise.
13594 (struct test_fl_f_data): Likewise.
13595 (struct test_if_f_data): Likewise.
13596 (struct test_fff_f_data): Likewise.
13597 (struct test_c_f_data): Likewise.
13598 (struct test_f_f1_data): Likewise.
13599 (struct test_fF_f1_data): Likewise.
13600 (struct test_ffI_f1_data): Likewise.
13601 (struct test_c_c_data): Likewise.
13602 (struct test_cc_c_data): Likewise.
13603 (struct test_f_i_data): Likewise.
13604 (struct test_ff_i_data): Likewise.
13605 (struct test_f_l_data): Likewise.
13606 (struct test_f_L_data): Likewise.
13607 (struct test_fFF_11_data): Likewise.
13608 (RM_): New macro.
13609 (RM_FE_DOWNWARD): Likewise.
13610 (RM_FE_TONEAREST): Likewise.
13611 (RM_FE_TOWARDZERO): Likewise.
13612 (RM_FE_UPWARD): Likewise.
13613 (RUN_TEST_LOOP_f_f): Update references to expected results.
13614 (RUN_TEST_LOOP_2_f): Likewise.
13615 (RUN_TEST_LOOP_fff_f): Likewise.
13616 (RUN_TEST_LOOP_c_f): Likewise.
13617 (RUN_TEST_LOOP_f_f1): Likewise.
13618 (RUN_TEST_LOOP_fF_f1): Likewise.
13619 (RUN_TEST_LOOP_fI_f1): Likewise.
13620 (RUN_TEST_LOOP_ffI_f1): Likewise.
13621 (RUN_TEST_LOOP_c_c): Likewise.
13622 (RUN_TEST_LOOP_cc_c): Likewise.
13623 (RUN_TEST_LOOP_f_i): Likewise.
13624 (RUN_TEST_LOOP_f_i_tg): Likewise.
13625 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13626 (RUN_TEST_LOOP_f_b): Likewise.
13627 (RUN_TEST_LOOP_f_b_tg): Likewise.
13628 (RUN_TEST_LOOP_f_l): Likewise.
13629 (RUN_TEST_LOOP_f_L): Likewise.
13630 (RUN_TEST_LOOP_fFF_11): Likewise.
13631 * math/gen-libm-test.pl (parse_args): Output four copies of
13632 expected results for each test.
13633
67737b8f
JM
13634 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13635 (__ASSUME_UTIMES): Remove.
13636 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13637 (__ASSUME_UTIMES): Likewise.
13638
aa97dee1
JM
13639 * math/gen-auto-libm-tests.c: Update comment on output format.
13640 (output_for_one_input_case): Generate before-rounding and
13641 after-rounding information as conditions on output flags not
13642 floating-point format.
13643 * math/auto-libm-test-out: Regenerated.
13644 * math/gen-libm-test.pl (cond_value): New function.
13645 (or_cond_value): Use cond_value.
13646 (generate_testfile): Handle conditional exceptions.
13647
e6b6a857
JM
136482014-03-05 Joseph Myers <joseph@codesourcery.com>
13649
2f0a0f44
JM
13650 * math/libm-test.inc (max_valid_error): New variable.
13651 (init_max_error): Take new argument specifying whether function
13652 results are exactly determined. Set max_valid_error and bound
13653 other variables for errors based on this argument.
13654 (set_max_error): Do not record results above max_valid_error.
13655 (check_float_internal): Only accept errors of up to 0.5ulps if
13656 also at most max_valid_error.
13657 (START): Take new argument EXACT and pass it to init_max_error.
13658 (acos_test): Update call to START.
13659 (acos_test_tonearest): Likewise.
13660 (acos_test_towardzero): Likewise.
13661 (acos_test_downward): Likewise.
13662 (acos_test_upward): Likewise.
13663 (acosh_test): Likewise.
13664 (asin_test): Likewise.
13665 (asin_test_tonearest): Likewise.
13666 (asin_test_towardzero): Likewise.
13667 (asin_test_downward): Likewise.
13668 (asin_test_upward): Likewise.
13669 (asinh_test): Likewise.
13670 (atan_test): Likewise.
13671 (atanh_test): Likewise.
13672 (atan2_test): Likewise.
13673 (cabs_test): Likewise.
13674 (cacos_test): Likewise.
13675 (cacosh_test): Likewise.
13676 (carg_test): Likewise.
13677 (casin_test): Likewise.
13678 (casinh_test): Likewise.
13679 (catan_test): Likewise.
13680 (catanh_test): Likewise.
13681 (cbrt_test): Likewise.
13682 (ccos_test): Likewise.
13683 (ccosh_test): Likewise.
13684 (ceil_test): Likewise.
13685 (cexp_test): Likewise.
13686 (cimag_test): Likewise.
13687 (clog_test): Likewise.
13688 (clog10_test): Likewise.
13689 (conj_test): Likewise.
13690 (copysign_test): Likewise.
13691 (cos_test): Likewise.
13692 (cos_test_tonearest): Likewise.
13693 (cos_test_towardzero): Likewise.
13694 (cos_test_downward): Likewise.
13695 (cos_test_upward): Likewise.
13696 (cosh_test): Likewise.
13697 (cosh_test_tonearest): Likewise.
13698 (cosh_test_towardzero): Likewise.
13699 (cosh_test_downward): Likewise.
13700 (cosh_test_upward): Likewise.
13701 (cpow_test): Likewise.
13702 (cproj_test): Likewise.
13703 (creal_test): Likewise.
13704 (csin_test): Likewise.
13705 (csinh_test): Likewise.
13706 (csqrt_test): Likewise.
13707 (ctan_test): Likewise.
13708 (ctan_test_tonearest): Likewise.
13709 (ctan_test_towardzero): Likewise.
13710 (ctan_test_downward): Likewise.
13711 (ctan_test_upward): Likewise.
13712 (ctanh_test): Likewise.
13713 (ctanh_test_tonearest): Likewise.
13714 (ctanh_test_towardzero): Likewise.
13715 (ctanh_test_downward): Likewise.
13716 (ctanh_test_upward): Likewise.
13717 (erf_test): Likewise.
13718 (erfc_test): Likewise.
13719 (exp_test): Likewise.
13720 (exp_test_tonearest): Likewise.
13721 (exp_test_towardzero): Likewise.
13722 (exp_test_downward): Likewise.
13723 (exp_test_upward): Likewise.
13724 (exp10_test): Likewise.
13725 (exp10_test_tonearest): Likewise.
13726 (exp10_test_towardzero): Likewise.
13727 (exp10_test_downward): Likewise.
13728 (exp10_test_upward): Likewise.
13729 (pow10_test): Likewise.
13730 (exp2_test): Likewise.
13731 (expm1_test): Likewise.
13732 (expm1_test_tonearest): Likewise.
13733 (expm1_test_towardzero): Likewise.
13734 (expm1_test_downward): Likewise.
13735 (expm1_test_upward): Likewise.
13736 (fabs_test): Likewise.
13737 (fdim_test): Likewise.
13738 (floor_test): Likewise.
13739 (fma_test): Likewise.
13740 (fma_test_towardzero): Likewise.
13741 (fma_test_downward): Likewise.
13742 (fma_test_upward): Likewise.
13743 (fmax_test): Likewise.
13744 (fmin_test): Likewise.
13745 (fmod_test): Likewise.
13746 (fpclassify_test): Likewise.
13747 (frexp_test): Likewise.
13748 (hypot_test): Likewise.
13749 (ilogb_test): Likewise.
13750 (isfinite_test): Likewise.
13751 (finite_test): Likewise.
13752 (isgreater_test): Likewise.
13753 (isgreaterequal_test): Likewise.
13754 (isinf_test): Likewise.
13755 (isless_test): Likewise.
13756 (islessequal_test): Likewise.
13757 (islessgreater_test): Likewise.
13758 (isnan_test): Likewise.
13759 (isnormal_test): Likewise.
13760 (issignaling_test): Likewise.
13761 (isunordered_test): Likewise.
13762 (j0_test): Likewise.
13763 (j1_test): Likewise.
13764 (jn_test): Likewise.
13765 (ldexp_test): Likewise.
13766 (lgamma_test): Likewise.
13767 (gamma_test): Likewise.
13768 (lrint_test): Likewise.
13769 (lrint_test_tonearest): Likewise.
13770 (lrint_test_towardzero): Likewise.
13771 (lrint_test_downward): Likewise.
13772 (lrint_test_upward): Likewise.
13773 (llrint_test): Likewise.
13774 (llrint_test_tonearest): Likewise.
13775 (llrint_test_towardzero): Likewise.
13776 (llrint_test_downward): Likewise.
13777 (llrint_test_upward): Likewise.
13778 (log_test): Likewise.
13779 (log10_test): Likewise.
13780 (log1p_test): Likewise.
13781 (log2_test): Likewise.
13782 (logb_test): Likewise.
13783 (logb_test_downward): Likewise.
13784 (lround_test): Likewise.
13785 (llround_test): Likewise.
13786 (modf_test): Likewise.
13787 (nearbyint_test): Likewise.
13788 (nextafter_test): Likewise.
13789 (nexttoward_test): Likewise.
13790 (pow_test): Likewise.
13791 (pow_test_tonearest): Likewise.
13792 (pow_test_towardzero): Likewise.
13793 (pow_test_downward): Likewise.
13794 (pow_test_upward): Likewise.
13795 (remainder_test): Likewise.
13796 (drem_test): Likewise.
13797 (remainder_test_tonearest): Likewise.
13798 (drem_test_tonearest): Likewise.
13799 (remainder_test_towardzero): Likewise.
13800 (drem_test_towardzero): Likewise.
13801 (remainder_test_downward): Likewise.
13802 (drem_test_downward): Likewise.
13803 (remainder_test_upward): Likewise.
13804 (drem_test_upward): Likewise.
13805 (remquo_test): Likewise.
13806 (rint_test): Likewise.
13807 (rint_test_tonearest): Likewise.
13808 (rint_test_towardzero): Likewise.
13809 (rint_test_downward): Likewise.
13810 (rint_test_upward): Likewise.
13811 (round_test): Likewise.
13812 (scalb_test): Likewise.
13813 (scalbn_test): Likewise.
13814 (scalbln_test): Likewise.
13815 (signbit_test): Likewise.
13816 (sin_test): Likewise.
13817 (sin_test_tonearest): Likewise.
13818 (sin_test_towardzero): Likewise.
13819 (sin_test_downward): Likewise.
13820 (sin_test_upward): Likewise.
13821 (sincos_test): Likewise.
13822 (sinh_test): Likewise.
13823 (sinh_test_tonearest): Likewise.
13824 (sinh_test_towardzero): Likewise.
13825 (sinh_test_downward): Likewise.
13826 (sinh_test_upward): Likewise.
13827 (sqrt_test): Likewise.
13828 (sqrt_test_tonearest): Likewise.
13829 (sqrt_test_towardzero): Likewise.
13830 (sqrt_test_downward): Likewise.
13831 (sqrt_test_upward): Likewise.
13832 (tan_test): Likewise.
13833 (tan_test_tonearest): Likewise.
13834 (tan_test_towardzero): Likewise.
13835 (tan_test_downward): Likewise.
13836 (tan_test_upward): Likewise.
13837 (tanh_test): Likewise.
13838 (tgamma_test): Likewise.
13839 (trunc_test): Likewise.
13840 (y0_test): Likewise.
13841 (y1_test): Likewise.
13842 (yn_test): Likewise.
13843 (significand_test): Likewise.
13844
e6b6a857
JM
13845 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13846 individual tests in comment.
13847 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13848 (prev_max_error): New variable.
13849 (prev_real_max_error): Likewise.
13850 (prev_imag_max_error): Likewise.
13851 (compare_ulp_data): Don't refer to test names in comment.
13852 (find_test_ulps): Remove function.
13853 (find_function_ulps): Likewise.
13854 (find_complex_function_ulps): Likewise.
13855 (init_max_error): Take function name as argument. Look up ulps
13856 for that function.
13857 (print_ulps): Remove function.
13858 (print_max_error): Use prev_max_error instead of calling
13859 find_function_ulps.
13860 (print_complex_max_error): Use prev_real_max_error and
13861 prev_imag_max_error instead of calling find_complex_function_ulps.
13862 (check_float_internal): Take max_ulp parameter instead of calling
13863 find_test_ulps. Don't call print_ulps.
13864 (check_float): Update call to check_float_internal.
13865 (check_complex): Update calls to check_float_internal.
13866 (START): Pass argument to init_max_error.
13867 * math/gen-libm-test.pl (%results): Don't include "kind"
13868 information.
13869 (parse_ulps): Don't handle ulps of individual tests.
13870 (print_ulps_file): Likewise.
13871 (output_ulps): Likewise.
13872 * math/README.libm-test: Update.
13873 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13874 individual tests.
13875 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13876 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13877 * sysdeps/arm/libm-test-ulps: Likewise.
13878 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13879 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13880 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13881 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13882 * sysdeps/microblaze/libm-test-ulps: Likewise.
13883 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13884 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13885 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13886 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13887 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13888 * sysdeps/sh/libm-test-ulps: Likewise.
13889 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13890 * sysdeps/tile/libm-test-ulps: Likewise.
13891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13892
45adef3c
JM
138932014-03-04 Joseph Myers <joseph@codesourcery.com>
13894
13895 * math/libm-test.inc (print_complex_max_error): Check separately
13896 whether real and imaginary errors are within allowed range and
13897 pass 0 to print_complex_function_ulps instead of value within
13898 allowed range.
13899
000232b9
SP
139002014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13901
d4b17258
SP
13902 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13903 formatting.
13904 (get_handles_fopen): Likewise.
13905 (do_write_test): Likewise.
13906
091eff71
SP
13907 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13908
fa3cd248
SP
13909 * libio/fileops.c (do_ftell): Use cached offset when
13910 available.
13911 * libio/iofwide.c (do_ftell_wide): Likewise.
13912 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13913 _IO_file_attach.
13914 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13915
000232b9
SP
13916 [BZ #16532]
13917 * libio/libioP.h (get_file_offset): New function.
13918 * libio/fileops.c (get_file_offset): Likewise.
13919 (do_ftell): Likewise.
13920 (_IO_new_file_seekoff): Split out ftell logic.
13921 * libio/wfileops.c (do_ftell_wide): Likewise.
13922 (_IO_wfile_seekoff): Split out ftell logic.
13923 * libio/tst-ftell-active-handler.c: New test case.
13924 * libio/Makefile (tests): Add it.
13925
116f4d1a
RM
139262014-03-03 Roland McGrath <roland@hack.frob.com>
13927
13928 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13929 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13930
532a6035
SP
139312014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13932
13933 [BZ #16639]
13934 * nscd/connections.c (nscd_init): Call do_exit.
13935 (start_threads): Call do_exit and notify_parent.
13936 (begin_drop_privileges): Call do_exit.
13937 (finish_drop_privileges): Likewise.
13938 * nscd/selinux.c (preserve_capabilities): Likewise.
13939 (install_real_capabilities): Likewise.
13940 (nscd_selinux_enabled): Likewise.
13941 (avc_create_thread): Likewise.
13942 (avc_alloc_lock): Likewise.
13943 (nscd_avc_init): Likewise.
13944 * nscd/nscd.c (parent_fd): New static variable.
13945 (main): Create a pipe between parent and child processes.
13946 Skip closing parent_fd.
13947 (monitor_child): New function.
13948 (do_exit): Likewise.
13949 (notify_parent): Likewise.
13950 * nscd/nscd.h (notify_parent): Likewise.
13951 (do_exit): Likewise.
13952
d6285c9f
CD
139532014-03-03 Carlos O'Donell <carlos@redhat.com>
13954
13955 * malloc/malloc.c (__libc_calloc): Revert last change.
13956
2b85d2a0
AZ
139572014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13958
13959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13960
c7debbdf
RS
139612014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13962
13963 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13965 implementation.
13966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13967 (__libc_ifunc_impl_list): Likewise.
13968 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13969 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13970 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13971 * string/strrchr.c: Define STRRCHR.
13972
235eed86
OB
139732014-02-28 Ondřej Bílka <neleai@seznam.cz>
13974
13975 * benchtest/bench-strtok.c (simple_strtok): Delete.
13976 (strtok_string): Use as benchmark.
13977 * string/strtok (STRTOK): New macro.
13978
8e25d1e7
CD
139792014-02-28 Carlos O'Donell <carlos@redhat.com>
13980
ef563f92
CD
13981 * manual/threads.texi: Add header and standard comments to all
13982 functions.
13983
8e25d1e7
CD
13984 * elf/dl-lookup.c (check_match): New function.
13985 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13986 (do_lookup_x): Remove nested function check_match. Use non-nested
13987 function check_match.
13988
ff71cc37
RM
139892014-02-28 Roland McGrath <roland@hack.frob.com>
13990
f08e9a26
RM
13991 * csu/Makefile (generated, before-compile): Use += rather than =.
13992 * catgets/Makefile (generated, generated-dirs): Likewise.
13993 * debug/Makefile (generated): Likewise.
13994 * dlfcn/Makefile (generated): Likewise.
13995 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13996 * iconvdata/Makefile (before-compile, generated): Likewise.
13997 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13998 * libio/Makefile (generated): Likewise.
13999 * malloc/Makefile (generated): Likewise.
14000 * manual/Makefile (generated, generated-dirs): Likewise.
14001 * misc/Makefile (generated): Likewise.
14002 * posix/Makefile (generated): Likewise.
14003 * resolv/Makefile (generated): Likewise.
14004 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14005 * timezone/Makefile (generated, generated-dirs): Likewise.
14006
ff71cc37
RM
14007 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14008
fe13a20c
AZ
140092014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14010
57f41c40
AS
14011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14012 power8 implementation.
14013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14014 file: POWER8 llround ifunc implementation.
14015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14016 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
14017 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14018 POWER8 llround implementation.
14019
57f41c40
AS
14020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14021 power8 implementation.
14022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14023 file: POWER8 llrint ifunc implementation.
14024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14025 Add POWER8 implementation.
1ad8950a
AZ
14026 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14027 POWER8 llrint implementation.
14028
57f41c40
AS
14029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14030 power8 implementation.
14031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14032 file: POWER8 finite ifunc implementation.
14033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14034 Add POWER8 implementation.
cac626d6
AZ
14035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14036 Likewise.
14037 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14038 POWER8 finite implementation.
14039 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14040
57f41c40
AS
14041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14042 power8 implementation.
14043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14044 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
14045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14046 POWER8 implementation.
14047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14048 Likewise.
57f41c40
AS
14049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14050 isinf implementation.
4393fc11
AZ
14051 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14052
57f41c40
AS
14053 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14054 (INIT_ARCH): Add hwcap2 initialization.
14055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14056 power8 implementation.
14057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14058 file: POWER8 isnan ifunc implementation.
487972ae
AZ
14059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14060 POWER8 implementation.
14061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14062 Likewise.
57f41c40
AS
14063 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14064 isnan implementation.
487972ae
AZ
14065 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14066
7d92b787
JY
140672014-02-27 Joey Ye <joey.ye@arm.com>
14068
14069 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14070 (_FP_NANFRAC_Q): Set to zero.
14071
1cadc858
SP
140722014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14073
14074 [BZ #16623]
14075 * math/auto-libm-test-in: New test inputs.
14076 * math/auto-libm-test-out: Regenerate.
14077 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14078 and DA.
14079 (__cos): Likewise.
14080 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14081
f8c17e79
JM
140822014-02-27 Joseph Myers <joseph@codesourcery.com>
14083
14084 * scripts/evaluate-test.sh: Take new argument indicating whether
14085 failure is expected.
14086 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14087 indicating whether failure is expected.
14088 * conform/Makefile (test-xfail-run-conformtest): New variable.
14089 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14090 level.
14091 * posix/Makefile (test-xfail-annexc): New variable.
14092 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14093
a5f891ac
JM
140942014-02-26 Joseph Myers <joseph@codesourcery.com>
14095
14096 * argp/Makefile: Include Makeconfig immediately after defining
14097 subdir.
14098 * assert/Makefile: Likewise.
14099 * benchtests/Makefile: Likewise.
14100 * catgets/Makefile: Likewise.
14101 * conform/Makefile: Likewise.
14102 * crypt/Makefile: Likewise.
14103 * csu/Makefile: Likewise.
14104 (all): Remove target.
14105 * ctype/Makefile: Include Makeconfig immediately after defining
14106 subdir.
14107 * debug/Makefile: Likewise.
14108 * dirent/Makefile: Likewise.
14109 * dlfcn/Makefile: Likewise.
14110 * gmon/Makefile: Likewise.
14111 * gnulib/Makefile: Likewise.
14112 * grp/Makefile: Likewise.
14113 * gshadow/Makefile: Likewise.
14114 * hesiod/Makefile: Likewise.
14115 * hurd/Makefile: Likewise.
14116 (all): Remove target.
14117 * iconvdata/Makefile: Include Makeconfig immediately after
14118 defining subdir.
14119 * inet/Makefile: Likewise.
14120 * intl/Makefile: Likewise.
14121 * io/Makefile: Likewise.
14122 * libio/Makefile: Likewise.
14123 (all): Remove target.
14124 * locale/Makefile: Include Makeconfig immediately after defining
14125 subdir.
14126 * login/Makefile: Likewise.
14127 * mach/Makefile: Likewise.
14128 (all): Remove target.
14129 * malloc/Makefile: Include Makeconfig immediately after defining
14130 subdir.
14131 (all): Remove target.
14132 * manual/Makefile: Include Makeconfig immediately after defining
14133 subdir.
14134 * math/Makefile: Likewise.
14135 * misc/Makefile: Likewise.
14136 * nis/Makefile: Likewise.
14137 * nss/Makefile: Likewise.
14138 * po/Makefile: Likewise.
14139 (all): Remove target.
14140 * posix/Makefile: Include Makeconfig immediately after defining
14141 subdir.
14142 * pwd/Makefile: Likewise.
14143 * resolv/Makefile: Likewise.
14144 * resource/Makefile: Likewise.
14145 * rt/Makefile: Likewise.
14146 * setjmp/Makefile: Likewise.
14147 * shadow/Makefile: Likewise.
14148 * signal/Makefile: Likewise.
14149 * socket/Makefile: Likewise.
14150 * soft-fp/Makefile: Likewise.
14151 * stdio-common/Makefile: Likewise.
14152 * stdlib/Makefile: Likewise.
14153 * streams/Makefile: Likewise.
14154 * string/Makefile: Likewise.
14155 * sunrpc/Makefile: Likewise.
14156 (all): Remove target.
14157 * sysvipc/Makefile: Include Makeconfig immediately after defining
14158 subdir.
14159 * termios/Makefile: Likewise.
14160 * time/Makefile: Likewise.
14161 * timezone/Makefile: Likewise.
14162 (all): Remove target.
14163 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14164 subdir.
14165 * wctype/Makefile: Likewise.
14166
5b456e9d
SE
141672014-02-26 Steve Ellcey <sellcey@mips.com>
14168
14169 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14170 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14171 (libc_feholdexcept_setround_mips): Ditto.
14172 (libc_feholdsetround): New.
14173 (libc_feholdsetroundf): New.
14174 (libc_feholdsetroundl): New.
14175 (libc_feupdateenv_test_mips): New.
14176 (libc_feupdateenv_test): New.
14177 (libc_feupdateenv_testf): New.
14178 (libc_feupdateenv_testl): New.
14179 (libc_feresetround): New.
14180 (libc_feresetroundf): New.
14181 (libc_feresetroundl): New.
14182 (libc_fetestexcept_mips): New.
14183 (libc_fetestexcept): New.
14184 (libc_fetestexceptf): New.
14185 (libc_fetestexceptl): New.
14186 (HAVE_RM_CTX): New.
14187 (libc_feholdexcept_setround_mips_ctx): New.
14188 (libc_feholdexcept_setround_ctx): New.
14189 (libc_feholdexcept_setroundf_ctx): New.
14190 (libc_feholdexcept_setroundl_ctx): New.
14191 (libc_fesetenv_mips_ctx): New.
14192 (libc_fesetenv_ctx): New.
14193 (libc_fesetenv_ctxf): New.
14194 (libc_fesetenv_ctxl): New.
14195 (libc_feupdateenv_mips_ctx): New.
14196 (libc_feupdateenv_ctx): New.
14197 (libc_feupdateenvf_ctx): New.
14198 (libc_feupdateenvl_ctx): New.
14199 (libc_feholdsetround_mips_ctx): New.
14200 (libc_feholdsetround_ctx): New.
14201 (libc_feholdsetroundf_ctx): New.
14202 (libc_feholdsetroundl_ctx): New.
14203 (libc_feresetround_mips_ctx): New.
14204 (libc_feresetround_ctx): New.
14205 (libc_feresetroundf_ctx): New.
14206 (libc_feresetroundl_ctx): New.
14207
085d0e35
CD
142082014-02-26 Carlos O'Donell <carlos@redhat.com>
14209
f067bf1f
CD
14210 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14211
085d0e35
CD
14212 * manual/ipc.texi: New file.
14213 * manual/Makefile (chapters): Add ipc.
14214 * manual/job.texi: Add "Inter-Process Communication" to next.
14215 * manual/process.texi: Add "Inter-Process Communication" to prev.
14216
86e58c08
AZ
142172014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14218
14219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14220
4248f0da
OB
142212014-02-26 Ondřej Bílka <neleai@seznam.cz>
14222
14223 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14224
cf822e3c
OB
14225 * manual/arith.texi: Fix spaces after sentences.
14226 * manual/charset.texi: Likewise.
14227 * manual/errno.texi: Likewise.
14228 * manual/install.texi: Likewise.
14229 * manual/llio.texi: Likewise.
14230 * manual/locale.texi: Likewise.
14231 * manual/maint.texi: Likewise.
14232 * manual/math.texi: Likewise.
14233 * manual/memory.texi: Likewise.
14234 * manual/message.texi: Likewise.
14235 * manual/probes.texi: Likewise.
14236 * manual/resource.texi: Likewise.
14237 * manual/signal.texi: Likewise.
14238 * manual/socket.texi: Likewise.
14239 * manual/stdio.texi: Likewise.
14240 * manual/string.texi: Likewise.
14241 * manual/time.texi: Likewise.
14242 * manual/users.texi: Likewise.
14243
ade40b10
CD
142442014-02-25 Carlos O'Donell <carlos@redhat.com>
14245
14246 [BZ #16632]
14247 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14248 _DEFAULT_SOURCE is defined.
14249
d0503676
CD
142502014-02-25 Ulrich Drepper <drepper@gmail.com>
14251 Carlos O'Donell <carlos@redhat.com>
14252
14253 [BZ #16613]
14254 * elf/dl-tls.c (_dl_count_modids): New function.
14255 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14256 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14257 audit library and increment generation counter.
14258 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14259 * elf/tst-audit9.c: New file.
14260 * elf/tst-auditmod9a.c: New file.
14261 * elf/tst-auditmod9b.c: New file.
14262 * elf/Makefile: Add rules to build and run tst-audit9.
14263
4cbf380c
FW
142642014-02-25 Florian Weimer <fweimer@redhat.com>
14265
14266 [BZ #15347]
14267 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14268
80a56cc3
WN
142692014-02-25 Will Newton <will.newton@linaro.org>
14270
14271 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14272 (__longjmp): Restore sp and lr before restoring callee
14273 saved registers. Add longjmp and longjmp_target
14274 SystemTap probe point.
14275 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14276 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14277 Define to zero to match jmpbuf layout.
14278 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14279 (__sigsetjmp): Save sp and lr before saving callee
14280 saved registers. Add setjmp SystemTap probe point.
14281
3ea0f74e
SL
142822014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14283
14284 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14285
b04acb26
AS
142862014-02-24 Andreas Schwab <schwab@suse.de>
14287
14288 [BZ #15804]
14289 * elf/pldd.c (wait_for_ptrace_stop): New function.
14290 (main): Call it after attaching.
14291
098ad55c
RM
142922014-02-22 Roland McGrath <roland@hack.frob.com>
14293
d4ec6ae1
RM
14294 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14295 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14296 Versions files is now verboten.
14297 * hurd/Versions (libc: GLIBC_2.0):
14298 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14299 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14300 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14301 * mach/Versions: Likewise.
14302
098ad55c
RM
14303 * csu/Versions: Remove unused %include.
14304 * resolv/Versions: Likewise.
14305
acd7f096
JM
143062014-02-21 Joseph Myers <joseph@codesourcery.com>
14307
f0881698
JM
14308 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14309 ($(objpfx)check-local-headers.out): Likewise.
14310 ($(objpfx)begin-end-check.out): Likewise.
14311 * Makerules (check-abi-%.out): Likewise.
14312 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14313 ($(objpfx)test2.cat): Likewise.
14314 ($(objpfx)de/libc.cat): Likewise.
14315 ($(objpfx)test-gencat.out): Likewise.
14316 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14317 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14318 ($(objpfx)noload-mem): Likewise.
14319 ($(objpfx)tst-pathopt.out): Likewise.
14320 ($(objpfx)tst-rtld-load-self.out): Likewise.
14321 ($(objpfx)tst-array1-cmp.out): Likewise.
14322 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14323 ($(objpfx)tst-array2-cmp.out): Likewise.
14324 ($(objpfx)tst-array3-cmp.out): Likewise.
14325 ($(objpfx)tst-array4-cmp.out): Likewise.
14326 ($(objpfx)tst-array5-cmp.out): Likewise.
14327 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14328 ($(objpfx)check-textrel.out): Likewise.
14329 ($(objpfx)check-execstack.out): Likewise.
14330 ($(objpfx)check-localplt.out): Likewise.
14331 ($(objpfx)order2-cmp.out): Likewise.
14332 ($(objpfx)tst-leaks1-mem): Likewise.
14333 ($(objpfx)tst-leaks1-static-mem): Likewise.
14334 ($(objpfx)tst-initorder-cmp.out): Likewise.
14335 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14336 ($(objpfx)tst-unused-dep.out): Likewise.
14337 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14338 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14339 * iconv/Makefile (test-iconvconfig): Likewise.
14340 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14341 ($(objpfx)iconv-test.out): Likewise.
14342 ($(objpfx)tst-tables.out): Likewise.
14343 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14344 ($(objpfx)tst-gettext.out): Likewise.
14345 ($(objpfx)tst-translit.out): Likewise.
14346 ($(objpfx)tst-gettext2.out): Likewise.
14347 ($(objpfx)tst-gettext4.out): Likewise.
14348 ($(objpfx)tst-gettext6.out): Likewise.
14349 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14350 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14351 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14352 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14353 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14354 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14355 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14356 ($(objpfx)wordexp-tst.out): Likewise.
14357 ($(objpfx)annexc.out): Likewise.
14358 ($(objpfx)tst-fnmatch-mem): Likewise.
14359 ($(objpfx)bug-regex2-mem): Likewise.
14360 ($(objpfx)bug-regex14-mem): Likewise.
14361 ($(objpfx)bug-regex21-mem): Likewise.
14362 ($(objpfx)bug-regex31-mem): Likewise.
14363 ($(objpfx)tst-vfork3-mem): Likewise.
14364 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14365 ($(objpfx)tst-pcre-mem): Likewise.
14366 ($(objpfx)tst-boost-mem): Likewise.
14367 ($(objpfx)tst-getconf.out): Likewise.
14368 ($(objpfx)bug-ga2-mem): Likewise.
14369 ($(objpfx)bug-glob2-mem): Likewise.
14370 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14371 ($(objpfx)mtrace-tst-leaks2): Likewise.
14372 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14373 ($(objpfx)tst-printf.out): Likewise.
14374 ($(objpfx)tst-setvbuf1.out): Likewise.
14375 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14376 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14377 ($(objpfx)tst-fmtmsg.out): Likewise.
14378 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14379 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14380
acd7f096
JM
14381 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14382 * bits/sigaction.h [__USE_MISC]: Likewise.
14383 * bits/waitstatus.h: Update #endif comments.
14384 * ctype/ctype.h: Likewise.
14385 * dirent/dirent.h: Likewise.
14386 [__USE_MISC]: Remove redundant conditionals.
14387 * grp/grp.h: Update #endif comments.
14388 [__USE_GNU]: Remove redundant conditionals.
14389 [__USE_MISC]: Likewise.
14390 * inet/netinet/in.h [__USE_GNU]: Likewise.
14391 * io/sys/stat.h [__USE_MISC]: Likewise.
14392 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14393 * libio/bits/stdio.h: Update #endif comments.
14394 [__USE_MISC]: Remove redundant conditionals.
14395 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14396 * libio/stdio.h: Update #endif comments.
14397 [__USE_MISC]: Remove redundant conditionals.
14398 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14399 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14400 * math/math.h: Update #else and #endif comments.
14401 [__USE_MISC]: Remove redundant conditionals.
14402 * misc/sys/uio.h: Update #endif comments.
14403 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14404 * posix/glob.h [__USE_MISC]: Likewise.
14405 * posix/sys/types.h: Update #endif comments.
14406 [__USE_MISC]: Remove redundant conditionals.
14407 * posix/sys/wait.h: Update #endif comments.
14408 [__USE_MISC]: Remove redundant conditionals.
14409 * posix/unistd.h: Update #endif comments.
14410 [__USE_MISC]: Remove redundant conditionals.
14411 * pwd/pwd.h [__USE_GNU]: Likewise.
14412 [__USE_MISC]: Likewise.
14413 * resolv/netdb.h [__USE_GNU]: Likewise.
14414 * signal/signal.h: Update #endif comments.
14415 [__USE_MISC]: Remove redundant conditionals.
14416 * stdlib/stdlib.h: Update #else and #endif comments.
14417 [__USE_MISC]: Remove redundant conditionals.
14418 [__USE_GNU]: Likewise.
14419 * string/bits/string2.h [__USE_MISC]: Likewise.
14420 * string/string.h: Update #endif comments.
14421 [__USE_MISC]: Remove redundant conditionals.
14422 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14423 Likewise.
14424 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14425 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14426 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14427 Likewise.
14428 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14429 Likewise.
14430 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14431 comments.
14432 [__USE_MISC]: Remove redundant conditionals.
14433 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14434 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14435 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14436 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14437 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14438 Likewise.
14439 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14440 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14441 Likewise.
14442 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14443 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14444 Likewise.
14445 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14446 Likewise.
14447 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14448 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14449 Likewise.
14450 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14451 Likewise.
14452 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14453 * sysdeps/x86/bits/string.h: Update #endif comments.
14454 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14455 conditionals.
14456 * time/sys/time.h: Update #endif comments.
14457 * time/time.h: Likewise.
14458 [__USE_MISC]: Remove redundant conditionals.
14459
a5d82e4e
YG
144602014-02-21 Yury Gribov <y.gribov@samsung.com>
14461
14462 [BZ #16600]
14463 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14464
9a80491d
AS
144652014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14466
14467 * Versions.def (librt): Add GLIBC_2.17.
14468
105fa381
AC
144692014-02-21 Adam Conrad <adconrad@0c3.net>
14470
14471 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14472 synonym for _SYS_AUXV_H to allow direct inclusion.
14473 * sysdeps/sparc/bits/hwcap.h: Likewise.
14474 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14475 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14476 * sysdeps/sparc/sysdep.h: Likewise.
14477
b8cd1c4e
SP
144782014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14479
14480 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14481
bd939d23
RS
144822014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14483
14484 * benchtests/bench-strrchr.c: Print length instead of position.
14485
5d7b57ca
JM
144862014-02-20 Joseph Myers <joseph@codesourcery.com>
14487
bc688c10
JM
14488 [BZ #16611]
14489 * sysdeps/unix/sysv/linux/kernel-features.h
14490 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14491 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14492 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14493 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14494 Likewise.
14495 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14496 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14497 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14498 (__ASSUME_SENDMMSG): Define instead of using previous
14499 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14500 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14501 (__ASSUME_SENDMMSG_SYSCALL): Define.
14502 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14503 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14504 Likewise.
14505 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14506 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14507 Likewise.
14508 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14509 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14510 Likewise.
14511 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14512 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14513 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14514 [__ASSUME_SENDMMSG]: Change conditionals to
14515 [__ASSUME_SENDMMSG_SOCKETCALL].
14516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14517 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14518 Define.
14519 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14520 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14521 Likewise.
14522 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14523 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14524 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14525 [!__ASSUME_SENDMMSG]: Change conditional to
14526 [!__ASSUME_SENDMMSG_SOCKETCALL].
14527 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14528 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14529 Define.
14530
0e31b18c
JM
14531 [BZ #16610]
14532 * sysdeps/unix/sysv/linux/kernel-features.h
14533 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14534 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14535 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14536 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14537 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14538 [__i386__ || __sparc__]
14539 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14540 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14541 (__ASSUME_RECVMMSG): Define instead of using previous
14542 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14543 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14544 (__ASSUME_RECVMMSG_SYSCALL): Define.
14545 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14546 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14547 Likewise.
14548 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14549 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14550 Likewise.
14551 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14552 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14553 Likewise.
14554 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14555 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14556 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14557 [__ASSUME_RECVMMSG]: Change condition to
14558 [__ASSUME_RECVMMSG_SOCKETCALL].
14559 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14560 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14561 Define.
14562 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14563 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14564 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14565 Likewise.
14566 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14567 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14568 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14569 [!__ASSUME_RECVMMSG]: Change condition to
14570 [!__ASSUME_RECVMMSG_SOCKETCALL].
14571 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14572 (__ASSUME_RECVMMSG_SYSCALL): Define.
14573
dd481ccf
JM
14574 [BZ #16609]
14575 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14576 __powerpc__ || __s390__ || __sh__ || __sparc__]
14577 (__ASSUME_SOCKETCALL): Define.
14578 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14579 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14580 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14581 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14582 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14583 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14584 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14585 (__ASSUME_ACCEPT4): Define instead of using previous
14586 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14587 __powerpc__ || __sparc__ || __s390__)] condition.
14588 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14589 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14590 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14591 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14592 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14593 [!__ASSUME_ACCEPT4]: Change condition to
14594 [!__ASSUME_ACCEPT4_SOCKETCALL].
14595 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14596 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14597 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14598 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14599 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14600 __ASSUME_ACCEPT4_SYSCALL.
14601 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14602 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14603 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14604 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14605 __ASSUME_ACCEPT4_SYSCALL.
14606 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14607 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14608 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14609 [__ASSUME_ACCEPT4]: Change condition to
14610 [__ASSUME_ACCEPT4_SOCKETCALL].
14611 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14612 (__ASSUME_SOCKETCALL): Define.
14613 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14614 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14615 (__ASSUME_SOCKETCALL): Define.
14616 (__ASSUME_ACCEPT4): Remove.
14617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14618 Define.
14619 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14620 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14621 Likewise.
14622 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14623 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14624
5d7b57ca
JM
14625 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14626 macro.
14627 (HWCAP_ARM_LPAE): Likewise.
14628 (HWCAP_ARM_EVTSTRM): Likewise.
14629 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14630 Add vpfd32, lpae and evtstrm.
14631 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14632 Increase to 22.
14633
63689d61
JM
146342014-02-19 Joseph Myers <joseph@codesourcery.com>
14635
14636 * math/auto-libm-test-in: Add tests of clog10.
14637 * math/auto-libm-test-out: Regenerated.
14638 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14639 * sysdeps/i386/fpu/libm-test-ulps: Update.
14640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14641
ab09bf61
AS
146422014-02-18 Andreas Schwab <schwab@suse.de>
14643
14644 [BZ #16574]
14645 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14646 Store non-zero if the second buffer was newly allocated.
14647 (send_dg): Likewise.
14648 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14649 to send_vc and send_dg.
14650 (res_nsend): Pass NULL for ansp2_malloced.
14651 * resolv/res_query.c (__libc_res_nquery): Add parameter
14652 answerp2_malloced and pass it down to __libc_res_nsend.
14653 (res_nquery): Pass additional NULL to __libc_res_nquery.
14654 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14655 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14656 second answer buffer if answerp2_malloced was set.
14657 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14658 (__libc_res_nquerydomain): Add parameter
14659 answerp2_malloced and pass it down to __libc_res_nquery.
14660 (res_nquerydomain): Pass additional NULL to
14661 __libc_res_nquerydomain.
14662 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14663 additional NULL to __libc_res_nsend and __libc_res_nquery.
14664 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14665 additional NULL to __libc_res_nsearch.
14666 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14667 parameter of __libc_res_nsearch to check for separately allocated
14668 second buffer.
14669 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14670 __libc_res_nquery.
14671 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14672 additional NULL to __libc_res_nquery.
14673 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14674 __libc_res_nsearch.
14675 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14676 * include/resolv.h: Update prototypes of __libc_res_nquery,
14677 __libc_res_nsearch, __libc_res_nsend.
14678
a4fb7861
JM
146792014-02-18 Joseph Myers <joseph@codesourcery.com>
14680
c6af2d89
JM
14681 * math/auto-libm-test-in: Add tests of fma.
14682 * math/auto-libm-test-out: Regenerated.
14683 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14684 (fma_towardzero_test_data): Likewise.
14685 (fma_downward_test_data): Likewise.
14686 (fma_upward_test_data): Likewise.
14687 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14688 mpc_mode.
14689 (rounding_modes): Add values for new field.
14690 (func_calc_method): Add value mpfr_fff_f.
14691 (func_calc_desc): Add mpfr_fff_f union field.
14692 (test_function): Add field exact_args.
14693 (FUNC): Add macro argument EXACT_ARGS.
14694 (FUNC_mpfr_f_f): Update call to FUNC.
14695 (FUNC_mpfr_f_f): Likewise.
14696 (FUNC_mpfr_ff_f): Likewise.
14697 (FUNC_mpfr_if_f): Likewise.
14698 (FUNC_mpc_c_f): Likewise.
14699 (FUNC_mpc_c_c): Likewise.
14700 (test_functions): Add fma. Update calls to FUNC.
14701 (handle_input_arg): Add argument exact_args.
14702 (add_test): Update call to handle_input_arg.
14703 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14704 (output_for_one_input_case): Update call to calc_generic_results.
14705 Recalculate exact zero results in each rounding mode.
14706
a4fb7861
JM
14707 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14708 non-negative before setting low bit.
14709 * math/auto-libm-test-in: Mark one asin test possibly having
14710 spurious underflow.
14711 * math/auto-libm-test-out: Regenerated.
14712 * sysdeps/i386/fpu/libm-test-ulps: Update.
14713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14714
ef114eaf
DH
147152014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14716
2b7f4f2c
SP
14717 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14718 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14719 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14720 * README: Add missing listing for microblaze*-*-linux-gnu.
14721
8125aedc
AM
147222014-02-16 Ondřej Bílka <neleai@seznam.cz>
14723
14724 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14725 duplicate code
14726
c70a4b1d
MF
147272014-02-16 Mike Frysinger <vapier@gentoo.org>
14728
14729 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14730 * sysdeps/unix/sysv/linux/ia64: Move directory from
14731 ports/sysdeps/unix/sysv/linux/ia64.
14732 * README: Update listing for ia64-*-linux-gnu.
14733
591aeaf7
TD
147342014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14735 Joseph Myers <joseph@codesourcery.com>
14736
14737 * Makeconfig (test-name): New variable.
14738 (evaluate-test): Likewise.
14739 * Makerules (do-test-clean): Remove .test-result files.
14740 (common-mostlyclean): Likewise.
14741 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14742 * scripts/evaluate-test.sh: New file.
14743
6e89caf1
JM
147442014-02-14 Joseph Myers <joseph@codesourcery.com>
14745
7f98f180
JM
14746 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14747 separate $(objpfx)tst-fopenloc-cmp.out and
14748 $(objpfx)tst-fopenloc-mem.out targets.
14749 (tests): Update dependencies.
14750 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14751 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14752 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14753 (tst-rxspencer-no-utf8-ARGS): New variable.
14754 (tst-rxspencer-no-utf8-ENV): Likewise.
14755 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14756 instead of $(objpfx)tst-rxspencer-mem.
14757 ($(objpfx)tst-rxspencer-mem): Change target to
14758 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14759 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14760 * posix/tst-rxspencer-no-utf8.c: New file.
14761
6e89caf1
JM
14762 * elf/Makefile ($(objpfx)order.out): Remove rule.
14763 [$(run-built-tests) = yes] (tests): Depend on
14764 $(objpfx)order-cmp.out.
14765 ($(objpfx)order-cmp.out): New rule.
14766 [$(run-built-tests) = yes] (tests): Depend on
14767 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14768 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14769 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14770 $(objpfx)tst-array5-static-cmp.out.
14771 ($(objpfx)tst-array1.out): Remove rule.
14772 ($(objpfx)tst-array1-cmp.out): New rule.
14773 ($(objpfx)tst-array1-static.out): Remove rule.
14774 ($(objpfx)tst-array1-static-cmp.out): New rule.
14775 ($(objpfx)tst-array2.out): Remove rule.
14776 ($(objpfx)tst-array2-cmp.out): New rule.
14777 ($(objpfx)tst-array3.out): Remove rule.
14778 ($(objpfx)tst-array3-cmp.out): New rule.
14779 ($(objpfx)tst-array4.out): Remove rule.
14780 ($(objpfx)tst-array4-cmp.out): New rule.
14781 ($(objpfx)tst-array5.out): Remove rule.
14782 ($(objpfx)tst-array5-cmp.out): New rule.
14783 ($(objpfx)tst-array5-static.out): Remove rule.
14784 ($(objpfx)tst-array5-static-cmp.out): New rule.
14785 [$(run-built-tests) = yes] (tests): Depend on
14786 $(objpfx)order2-cmp.out.
14787 ($(objpfx)order2.out): Remove rule.
14788 ($(objpfx)order2-cmp.out): New rule.
14789 ($(objpfx)tst-initorder.out): Remove rule.
14790 [$(run-built-tests) = yes] (tests): Depend on
14791 $(objpfx)tst-initorder-cmp.out.
14792 ($(objpfx)tst-initorder-cmp.out): New rule.
14793 ($(objpfx)tst-initorder2.out): Remove rule.
14794 [$(run-built-tests) = yes] (tests): Depend on
14795 $(objpfx)tst-initorder2-cmp.out.
14796 ($(objpfx)tst-initorder2-cmp.out): New rule.
14797 [$(run-built-tests) = yes] (tests): Depend on
14798 $(objpfx)tst-unused-dep-cmp.out.
14799 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14800 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14801 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14802 on $(objpfx)tst-setvbuf1-cmp.out.
14803 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14804 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14805 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14806 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14807 ($(objpfx)tst-svc.out): Remove rule.
14808 ($(objpfx)tst-svc-cmp.out): New rule.
14809
ed9a38e2
JM
148102014-02-13 Joseph Myers <joseph@codesourcery.com>
14811
14812 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14813 * ctype/ctype.h [__USE_MISC]: Likewise.
14814 * dirent/dirent.h [__USE_MISC]: Likewise.
14815 * grp/grp.h [__USE_MISC]: Likewise.
14816 * io/fcntl.h [__USE_MISC]: Likewise.
14817 * io/sys/stat.h [__USE_MISC]: Likewise.
14818 * libio/stdio.h [__USE_MISC]: Likewise.
14819 * posix/unistd.h [__USE_MISC]: Likewise.
14820 * pwd/pwd.h [__USE_MISC]: Likewise.
14821 * stdlib.h [__USE_MISC]: Likewise.
14822 * string/bits/string2.h [__USE_MISC]: Likewise.
14823 * string/string.h [__USE_MISC]: Likewise.
14824 * time/time.h [__USE_MISC]: Likewise.
14825
d6680619
AS
148262014-02-13 Andreas Schwab <schwab@suse.de>
14827
14828 [BZ #16574]
14829 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14830 second answer buffer if it was separately allocated.
14831
ace614b8
JM
148322014-02-12 Joseph Myers <joseph@codesourcery.com>
14833
743151ae
JM
14834 * sysdeps/mips/math-tests.h: Include <features.h>.
14835 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14836 (ROUNDING_TESTS_long_double): Do not define.
14837 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14838 (EXCEPTION_TESTS_long_double): Likewise.
14839 * sysdeps/mips/mips64/libm-test-ulps: Update.
14840
498afc54
JM
14841 * include/features.h (__USE_BSD): Remove macro definitions.
14842 (__USE_SVID): Likewise.
14843 (_BSD_SOURCE): Likewise.
14844 (_SVID_SOURCE): Likewise.
14845 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14846 from definition of _DEFAULT_SOURCE.
14847 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14848 [_DEFAULT_SOURCE].
14849 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14850 * bits/mman.h [__USE_BSD]: Likewise.
14851 * bits/termios.h [__USE_BSD]: Likewise.
14852 * bits/waitstatus.h [__USE_BSD]: Likewise.
14853 * ctype/ctype.h [__USE_SVID]: Likewise.
14854 * dirent/dirent.h [__USE_BSD]: Likewise.
14855 * grp/grp.h [__USE_SVID]: Likewise.
14856 [__USE_BSD]: Likewise.
14857 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14858 * io/fcntl.h [__USE_BSD]: Likewise.
14859 * io/ftw.h [__USE_BSD]: Likewise.
14860 * io/sys/stat.h [__USE_BSD]: Likewise.
14861 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14862 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14863 * libio/stdio.h [__USE_SVID]: Likewise.
14864 [__USE_BSD]: Likewise.
14865 * math/math.h [__USE_SVID]: Likewise.
14866 [__USE_BSD]: Likewise.
14867 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14868 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14869 * misc/search.h [__USE_SVID]: Likewise.
14870 * misc/sys/mman.h [__USE_BSD]: Likewise.
14871 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14872 * misc/sys/uio.h [__USE_BSD]: Likewise.
14873 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14874 * posix/glob.h [__USE_BSD]: Likewise.
14875 * posix/regex.h [__USE_BSD]: Likewise.
14876 * posix/sys/types.h [__USE_BSD]: Likewise.
14877 [__USE_SVID]: Likewise.
14878 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14879 * posix/sys/wait.h [__USE_BSD]: Likewise.
14880 [__USE_SVID]: Likewise.
14881 * posix/unistd.h [__USE_BSD]: Likewise.
14882 [__USE_SVID]: Likewise.
14883 * pwd/pwd.h [__USE_SVID]: Likewise.
14884 * resolv/netdb.h [__USE_BSD]: Likewise.
14885 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14886 * signal/signal.h [__USE_BSD]: Likewise.
14887 [__USE_SVID]: Likewise.
14888 * socket/sys/socket.h [__USE_BSD]: Likewise.
14889 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14890 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14891 [__USE_SVID]: Likewise.
14892 * string/bits/string2.h [__USE_BSD]: Likewise.
14893 [__USE_SVID]: Likewise.
14894 * string/bits/string3.h [__USE_BSD]: Likewise.
14895 * string/endian.h [__USE_BSD]: Likewise.
14896 * string/string.h [__USE_SVID]: Likewise.
14897 [__USE_BSD]: Likewise.
14898 * string/strings.h [__USE_BSD]: Likewise.
14899 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14900 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14901 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14902 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14903 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14904 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14905 Likewise.
14906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14907 Likewise.
14908 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14909 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14910 Likewise.
14911 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14912 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14913 Likewise.
14914 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14915 Likewise.
14916 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14917 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14918 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14919 Likewise.
14920 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14921 Likewise.
14922 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14923 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14924 * termios/termios.h [__USE_BSD]: Likewise.
14925 * time/sys/time.h [__USE_BSD]: Likewise.
14926 * time/time.h [__USE_BSD]: Likewise.
14927 [__USE_SVID]: Likewise.
14928
dd7b064c
JM
14929 * Makefile (subdir_targets): Remove subdir_lint.out.
14930
a2c4c199
JM
14931 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14932 (do-tst-printf): Likewise.
14933 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14934 $(objpfx)tst-printf.out.
14935
8756f740
JM
14936 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14937
1b6dd3f1
JM
14938 * Makerules (check-abi-%): Change target to
14939 $(objpfx)check-abi-%.out.
14940 (check-abi target): Update dependencies.
14941 (check-abi-pattern variable): Redirect output of diff to $@.
14942 (check-abi variable): Likewise.
14943 * elf/Makefile (check-abi): Update dependencies.
14944
ace614b8
JM
14945 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14946 unused.
14947 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14948 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14949 subnormal range.
14950 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14951 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14952 value has largest subnormal exponent.
14953 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14954 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14955 * sysdeps/aarch64/soft-fp/sfp-machine.h
14956 (_FP_TININESS_AFTER_ROUNDING): New macro.
14957 * sysdeps/alpha/soft-fp/sfp-machine.h
14958 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14959 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14960 Likewise.
14961 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14962 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14963 * sysdeps/mips/soft-fp/sfp-machine.h
14964 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14965 * sysdeps/powerpc/soft-fp/sfp-machine.h
14966 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14967 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14968 Likewise.
14969 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14970 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14971 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14972 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14973 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14974 Likewise.
14975
fbfdf9cb
DAS
149762014-02-12 Dylan Alex Simon <dylan@dylex.net>
14977
14978 [BZ #16545]
14979 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14980 model 1.
14981
68b7efaa
RH
149822014-02-12 Richard Henderson <rth@redhat.com>
14983
c70a4b1d 14984 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14985 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14986 * sysdeps/unix/sysv/linux/alpha: Move directory from
14987 ports/sysdeps/unix/sysv/linux/alpha.
14988 * README: Update listing for alpha-*-linux-gnu.
14989
cb4a2928
JM
149902014-02-11 Joseph Myers <joseph@codesourcery.com>
14991
c941736c
JM
14992 * include/features.h: Update comment documenting feature test
14993 macros.
14994 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14995 _DEFAULT_SOURCE.
14996 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14997 (_SVID_SOURCE): Likewise.
14998 (_DEFAULT_SOURCE): Update description of default features.
14999 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15000 with _GNU_SOURCE.
15001 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15002 (S_ISVTX): Likewise.
15003 * manual/math.texi (Mathematical Constants): Likewise.
15004 * manual/signal.texi (Interrupted Primitives): Likewise.
15005 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15006 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15007 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15008 Don't refer to _SVID_SOURCE in warning text.
15009
e8d8d7ec
JM
15010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15011
cb4a2928
JM
15012 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15013 already defined.
15014 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15015 * sysdeps/mips/dl-lookup.c: Remove.
15016 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15017
7e6424e3
AK
150182014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15019
15020 [BZ #16447]
15021 * math/auto-libm-test-in: Add testcase for expl.
15022 * math/auto-libm-test-out: Regenerate.
15023 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15024 calculation of unsafe.
15025 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15026
75eff3fe
MS
150272014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15028
15029 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15030 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15031 ports/sysdeps/unix/sysv/linux/aarch64.
15032 * README: Update listing for aarch64*-*-linux-gnu.
15033
d35f1e80
WN
150342014-02-11 Will Newton <will.newton@linaro.org>
15035
15036 * manual/probes.texi (Mathematical Function Probes): Use
15037 "triggered" instead of "hit".
15038
7b3436d4
WN
15039 * manual/probes.texi (Internal Probes): Add documentation
15040 of setjmp, longjmp and longjmp_target probes.
15041
b4f12ca3
WN
15042 * include/stap-probe.h: Add comment about probe argument
15043 format.
15044
c13a72b7
WN
15045 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15046 definition. (tr_where, tr_freehook, tr_mallochook,
15047 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15048
195b8165
DM
150492014-02-11 David S. Miller <davem@davemloft.net>
15050
15051 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15052 processing int_tests.
15053
2ad7600b
JM
150542014-02-10 Joseph Myers <joseph@codesourcery.com>
15055
15056 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15057 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15058 * sysdeps/unix/sysv/linux/mips: Move directory from
15059 ports/sysdeps/unix/sysv/linux/mips.
15060 * README: Update listing for mips-*-linux-gnu and
15061 mips64-*-linux-gnu.
15062
73588a72
AS
150632014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15064
15065 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15066 * sysdeps/unix/sysv/linux/m68k: Move directory from
15067 ports/sysdeps/unix/sysv/linux/m68k.
15068 * README: Update listing for m68k-*-linux-gnu.
15069
4372980f
CM
150702014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15071
15072 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15073 * sysdeps/unix/sysv/linux/generic: Move directory from
15074 ports/sysdeps/unix/sysv/linux/generic.
15075 * sysdeps/unix/sysv/linux/tile: Move directory from
15076 ports/sysdeps/unix/sysv/linux/tile.
15077 * README: Update listing for tile*-*-linux-gnu.
15078
a1ffb40e
OB
150792014-02-10 Ondřej Bílka <neleai@seznam.cz>
15080
57f41c40
AS
15081 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15082 __builtin_expect.
a1ffb40e
OB
15083 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15084 * catgets/open_catalog.c (__open_catalog): Likewise.
15085 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15086 * debug/confstr_chk.c: Likewise.
15087 * debug/fread_chk.c (__fread_chk): Likewise.
15088 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15089 * debug/getgroups_chk.c: Likewise.
15090 * debug/mbsnrtowcs_chk.c: Likewise.
15091 * debug/mbsrtowcs_chk.c: Likewise.
15092 * debug/mbstowcs_chk.c: Likewise.
15093 * debug/memcpy_chk.c: Likewise.
15094 * debug/memmove_chk.c: Likewise.
15095 * debug/mempcpy_chk.c: Likewise.
15096 * debug/memset_chk.c: Likewise.
15097 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15098 * debug/strcat_chk.c (__strcat_chk): Likewise.
15099 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15100 * debug/strncat_chk.c (__strncat_chk): Likewise.
15101 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15102 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15103 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15104 * debug/wcpncpy_chk.c: Likewise.
15105 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15106 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15107 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15108 * debug/wcsncpy_chk.c: Likewise.
15109 * debug/wcsnrtombs_chk.c: Likewise.
15110 * debug/wcsrtombs_chk.c: Likewise.
15111 * debug/wcstombs_chk.c: Likewise.
15112 * debug/wmemcpy_chk.c: Likewise.
15113 * debug/wmemmove_chk.c: Likewise.
15114 * debug/wmempcpy_chk.c: Likewise.
15115 * debug/wmemset_chk.c: Likewise.
15116 * dirent/scandirat.c (SCANDIRAT): Likewise.
15117 * dlfcn/dladdr1.c (dladdr1): Likewise.
15118 * dlfcn/dladdr.c (dladdr): Likewise.
15119 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15120 * dlfcn/dlerror.c (__dlerror): Likewise.
15121 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15122 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15123 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15124 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15125 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15126 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15127 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15128 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15129 Likewise.
15130 * elf/dl-conflict.c: Likewise.
15131 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15132 * elf/dl-dst.h: Likewise.
15133 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15134 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15135 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15136 * elf/dl-init.c (call_init, _dl_init): Likewise.
15137 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
15138 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15139 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15140 Likewise.
a1ffb40e
OB
15141 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15142 Likewise.
15143 * elf/dl-minimal.c (__libc_memalign): Likewise.
15144 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15145 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15146 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15147 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
15148 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15149 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
15150 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15151 * elf/dl-writev.h (_dl_writev): Likewise.
15152 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
15153 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15154 (dl_main): Likewise.
a1ffb40e
OB
15155 * elf/setup-vdso.h (setup_vdso): Likewise.
15156 * grp/compat-initgroups.c (compat_call): Likewise.
15157 * grp/fgetgrent.c (fgetgrent): Likewise.
15158 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15159 * grp/putgrent.c (putgrent): Likewise.
15160 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15161 Likewise.
15162 * hurd/hurdinit.c: Likewise.
15163 * iconvdata/8bit-gap.c (struct): Likewise.
15164 * iconvdata/ansi_x3.110.c : Likewise.
15165 * iconvdata/big5.c : Likewise.
15166 * iconvdata/big5hkscs.c : Likewise.
15167 * iconvdata/cp1255.c: Likewise.
15168 * iconvdata/cp1258.c : Likewise.
15169 * iconvdata/cp932.c : Likewise.
15170 * iconvdata/euc-cn.c: Likewise.
15171 * iconvdata/euc-jisx0213.c : Likewise.
15172 * iconvdata/euc-jp.c: Likewise.
15173 * iconvdata/euc-jp-ms.c : Likewise.
15174 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15175 * iconvdata/gb18030.c : Likewise.
15176 * iconvdata/gbbig5.c (const): Likewise.
15177 * iconvdata/gbgbk.c: Likewise.
15178 * iconvdata/gbk.c : Likewise.
15179 * iconvdata/ibm1364.c : Likewise.
15180 * iconvdata/ibm930.c : Likewise.
15181 * iconvdata/ibm932.c: Likewise.
15182 * iconvdata/ibm933.c : Likewise.
15183 * iconvdata/ibm935.c : Likewise.
15184 * iconvdata/ibm937.c : Likewise.
15185 * iconvdata/ibm939.c : Likewise.
15186 * iconvdata/ibm943.c: Likewise.
15187 * iconvdata/iso_11548-1.c: Likewise.
15188 * iconvdata/iso-2022-cn.c : Likewise.
15189 * iconvdata/iso-2022-cn-ext.c : Likewise.
15190 * iconvdata/iso-2022-jp-3.c: Likewise.
15191 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15192 * iconvdata/iso-2022-kr.c : Likewise.
15193 * iconvdata/iso646.c (gconv_end): Likewise.
15194 * iconvdata/iso_6937-2.c : Likewise.
15195 * iconvdata/iso_6937.c : Likewise.
15196 * iconvdata/iso8859-1.c: Likewise.
15197 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15198 * iconvdata/shift_jisx0213.c : Likewise.
15199 * iconvdata/sjis.c : Likewise.
15200 * iconvdata/t.61.c : Likewise.
15201 * iconvdata/tcvn5712-1.c : Likewise.
15202 * iconvdata/tscii.c: Likewise.
15203 * iconvdata/uhc.c : Likewise.
15204 * iconvdata/unicode.c (gconv_end): Likewise.
15205 * iconvdata/utf-16.c (gconv_end): Likewise.
15206 * iconvdata/utf-32.c (gconv_end): Likewise.
15207 * iconvdata/utf-7.c (base64): Likewise.
15208 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15209 * iconv/gconv_close.c (__gconv_close): Likewise.
15210 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
15211 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15212 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15213 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15214 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15215 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
15216 * iconv/iconv.c (iconv): Likewise.
15217 * iconv/iconv_close.c: Likewise.
15218 * iconv/loop.c (SINGLE): Likewise.
15219 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15220 * include/atomic.h: Likewise.
15221 * inet/inet6_option.c (option_alloc): Likewise.
15222 * intl/bindtextdom.c (set_binding_values): Likewise.
15223 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15224 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15225 * intl/localealias.c (read_alias_file): Likewise.
15226 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
15227 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15228 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
15229 * libio/fmemopen.c (fmemopen): Likewise.
15230 * libio/iofgets.c (_IO_fgets): Likewise.
15231 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15232 * libio/iofgetws.c (fgetws): Likewise.
15233 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15234 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
15235 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15236 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
15237 * locale/findlocale.c (_nl_find_locale): Likewise.
15238 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15239 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15240 Likewise.
15241 * locale/setlocale.c (setlocale): Likewise.
15242 * login/programs/pt_chown.c (main): Likewise.
15243 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15244 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
15245 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15246 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
15247 * math/e_exp2l.c: Likewise.
15248 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15249 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15250 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15251 * math/s_catan.c (__catan): Likewise.
15252 * math/s_catanf.c (__catanf): Likewise.
15253 * math/s_catanh.c (__catanh): Likewise.
15254 * math/s_catanhf.c (__catanhf): Likewise.
15255 * math/s_catanhl.c (__catanhl): Likewise.
15256 * math/s_catanl.c (__catanl): Likewise.
15257 * math/s_ccosh.c (__ccosh): Likewise.
15258 * math/s_ccoshf.c (__ccoshf): Likewise.
15259 * math/s_ccoshl.c (__ccoshl): Likewise.
15260 * math/s_cexp.c (__cexp): Likewise.
15261 * math/s_cexpf.c (__cexpf): Likewise.
15262 * math/s_cexpl.c (__cexpl): Likewise.
15263 * math/s_clog10.c (__clog10): Likewise.
15264 * math/s_clog10f.c (__clog10f): Likewise.
15265 * math/s_clog10l.c (__clog10l): Likewise.
15266 * math/s_clog.c (__clog): Likewise.
15267 * math/s_clogf.c (__clogf): Likewise.
15268 * math/s_clogl.c (__clogl): Likewise.
15269 * math/s_csin.c (__csin): Likewise.
15270 * math/s_csinf.c (__csinf): Likewise.
15271 * math/s_csinh.c (__csinh): Likewise.
15272 * math/s_csinhf.c (__csinhf): Likewise.
15273 * math/s_csinhl.c (__csinhl): Likewise.
15274 * math/s_csinl.c (__csinl): Likewise.
15275 * math/s_csqrt.c (__csqrt): Likewise.
15276 * math/s_csqrtf.c (__csqrtf): Likewise.
15277 * math/s_csqrtl.c (__csqrtl): Likewise.
15278 * math/s_ctan.c (__ctan): Likewise.
15279 * math/s_ctanf.c (__ctanf): Likewise.
15280 * math/s_ctanh.c (__ctanh): Likewise.
15281 * math/s_ctanhf.c (__ctanhf): Likewise.
15282 * math/s_ctanhl.c (__ctanhl): Likewise.
15283 * math/s_ctanl.c (__ctanl): Likewise.
15284 * math/w_pow.c: Likewise.
15285 * math/w_powf.c: Likewise.
15286 * math/w_powl.c: Likewise.
15287 * math/w_scalb.c (sysv_scalb): Likewise.
15288 * math/w_scalbf.c (sysv_scalbf): Likewise.
15289 * math/w_scalbl.c (sysv_scalbl): Likewise.
15290 * misc/error.c (error_tail): Likewise.
15291 * misc/pselect.c (__pselect): Likewise.
15292 * nis/nis_callback.c (__nis_create_callback): Likewise.
15293 * nis/nis_call.c (__nisfind_server): Likewise.
15294 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15295 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15296 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15297 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15298 * nis/nis_lookup.c (nis_lookup): Likewise.
15299 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
15300 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15301 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 15302 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
15303 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15304 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15305 * nis/nss_compat/compat-initgroups.c (add_group)
15306 (internal_getgrent_r): Likewise.
15307 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15308 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15309 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15310 (internal_getspnam_r): Likewise.
15311 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15312 (_nss_nis_getaliasbyname_r): Likewise.
15313 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15314 (_nss_nis_getntohost_r): Likewise.
15315 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15316 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15317 (_nss_nis_getgrgid_r): Likewise.
15318 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15319 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15320 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15321 (_nss_nis_gethostbyname4_r): Likewise.
15322 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15323 (initgroups_netid): Likewise.
a1ffb40e 15324 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
15325 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15326 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15327 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15328 (_nss_nis_getprotobynumber_r): Likewise.
15329 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15330 (_nss_nis_getsecretkey): Likewise.
15331 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15332 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15333 (_nss_nis_getpwuid_r): Likewise.
15334 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15335 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15336 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15337 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15338 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15339 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
15340 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15341 Likewise.
57f41c40
AS
15342 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15343 (_nss_nisplus_getntohost_r): Likewise.
15344 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15345 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15346 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15347 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 15348 Likewise.
57f41c40
AS
15349 * nis/nss_nisplus/nisplus-initgroups.c
15350 (_nss_nisplus_initgroups_dyn): Likewise.
15351 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15352 (_nss_nisplus_getnetbyaddr_r): Likewise.
15353 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15354 (_nss_nisplus_getprotobynumber_r): Likewise.
15355 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15356 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
15357 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15358 Likewise.
57f41c40
AS
15359 * nis/nss_nisplus/nisplus-service.c
15360 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15361 (_nss_nisplus_getservbyport_r): Likewise.
15362 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15363 (_nss_nisplus_getspnam_r): Likewise.
15364 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15365 Likewise.
a1ffb40e
OB
15366 * nscd/aicache.c (addhstaiX): Likewise.
15367 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
15368 * nscd/connections.c (register_traced_file, send_ro_fd)
15369 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15370 (main_loop_epoll): Likewise.
a1ffb40e
OB
15371 * nscd/grpcache.c (addgrbyX): Likewise.
15372 * nscd/hstcache.c (addhstbyX): Likewise.
15373 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15374 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
15375 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15376 (addinnetgrX): Likewise.
15377 * nscd/nscd-client.h (__nscd_acquire_maplock)
15378 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
15379 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15380 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15381 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15382 Likewise.
15383 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15384 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
15385 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15386 (__nscd_get_map_ref): Likewise.
a1ffb40e 15387 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
15388 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15389 Likewise.
a1ffb40e
OB
15390 * nscd/pwdcache.c (addpwbyX): Likewise.
15391 * nscd/selinux.c (preserve_capabilities): Likewise.
15392 * nscd/servicescache.c (addservbyX): Likewise.
15393 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15394 * posix/fnmatch.c (fnmatch): Likewise.
15395 * posix/getopt.c (_getopt_internal_r): Likewise.
15396 * posix/glob.c (glob, glob_in_dir): Likewise.
15397 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
15398 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15399 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
15400 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15401 * resolv/res_init.c: Likewise.
15402 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15403 * resolv/res_query.c (__libc_res_nquery): Likewise.
15404 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15405 Likewise.
15406 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15407 * stdio-common/perror.c (perror): Likewise.
15408 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15409 * stdio-common/tmpnam.c (tmpnam): Likewise.
15410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15411 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
15412 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15413 Likewise.
a1ffb40e
OB
15414 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15415 * stdlib/putenv.c (putenv): Likewise.
15416 * stdlib/setenv.c (__add_to_environ): Likewise.
15417 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15418 * stdlib/strtol_l.c (INTERNAL): Likewise.
15419 * string/memmem.c (memmem): Likewise.
15420 * string/strerror.c (strerror): Likewise.
15421 * string/strnlen.c (__strnlen): Likewise.
15422 * string/test-memmem.c (simple_memmem): Likewise.
15423 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15424 * sunrpc/pm_getport.c (__get_socket): Likewise.
15425 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15426 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
15427 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15428 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
15429 Likewise.
15430 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15431 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15432 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15433 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15434 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
15435 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15436 Likewise.
15437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15438 Likewise.
a1ffb40e
OB
15439 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15440 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15441 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15442 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15443 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15445 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15446 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15447 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15448 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15449 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15450 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15451 Likewise.
15452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15453 Likewise.
15454 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15455 Likewise.
15456 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15459 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15460 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15461 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15462 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15463 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15464 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15465 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
15471 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15472 Likewise.
a1ffb40e
OB
15473 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15474 Likewise.
15475 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15476 Likewise.
15477 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15478 Likewise.
15479 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15481 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15482 Likewise.
15483 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15484 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15485 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15486 * sysdeps/posix/sleep.c: Likewise.
15487 * sysdeps/posix/tempname.c: Likewise.
15488 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15489 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15490 Likewise.
57f41c40
AS
15491 * sysdeps/powerpc/powerpc32/dl-machine.h
15492 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
15493 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15495 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15496 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15497 Likewise.
15498 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15499 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15500 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15501 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15502 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15503 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15504 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15505 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15506 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15507 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15509 (elf_machine_lazy_rel): Likewise.
a1ffb40e 15510 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15512 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15513 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15514 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15515 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15516 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15517 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15518 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15519 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15521 Likewise.
15522 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15523 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15524 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15525 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15526 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15527 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15528 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15529 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15530 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15531 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15532 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15533 Likewise.
15534 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15535 (__posix_fallocate64_l64): Likewise.
15536 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15537 (posix_fallocate): Likewise.
57f41c40
AS
15538 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15539 Likewise.
a1ffb40e 15540 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
15541 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15542 (getifaddrs_internal): Likewise.
a1ffb40e
OB
15543 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15544 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15545 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15546 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15547 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15548 (__posix_fallocate64_l64): Likewise.
15549 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15550 Likewise.
15551 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
15552 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15553 (__get_clockfreq): Likewise.
a1ffb40e
OB
15554 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15555 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15556 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15557 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15558 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15559 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15560 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15561 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15562 Likewise.
15563 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15564 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15565 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15566 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15567 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15568 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15569 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15570 Likewise.
15571 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15572 (posix_fallocate): Likewise.
15573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15574 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15575 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15576 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15577 (elf_machine_rela, elf_machine_rela_relative)
15578 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15579 * time/asctime.c (asctime_internal): Likewise.
15580 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15581 * time/tzset.c (__tzset_parse_tz): Likewise.
15582 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15583 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15584 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15585 * wcsmbs/wcsmbsload.h: Likewise.
15586
f3d338c9
OB
15587 [BZ #15894]
15588 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15589
57f41c40
AS
15590 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15591 (arena_get2): Remove THREAD_STATS conditionals.
15592 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15593 (__malloc_stats, int): Likewise.
bdfe308a 15594
d674667c
MF
155952014-02-08 Mike Frysinger <vapier@gentoo.org>
15596
15597 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15598 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15599
6349768c
MF
15600 * manual/setjmp.texi: Fix typos/grammar errors.
15601
0b7c7473
MF
15602 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15603 Only return early when n is <= 0. Delete unused return statement.
15604
ac8cc9e3
MF
15605 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15606 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15607 * debug/tst-longjmp_chk3.c: New file.
15608
c5bb8e23
MF
15609 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15610 (test_main): Replace code with set_fortify_handler call.
15611 * debug/test-strcpy_chk.c: Likewise.
15612 * debug/tst-chk1.c: Likewise.
15613 * debug/tst-longjmp_chk.c: Likewise.
15614 * test-skeleton.c: Include fcntl.h & paths.h
15615 (set_fortify_handler): Define.
15616
10444e42
MF
15617 * debug/tst-longjmp_chk.c: Add header comment and include
15618 ../test-skeleton.c.
15619 (do_test): Mark static.
15620 (TEST_FUNCTION): Define.
15621
1e805e8d
MF
15622 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15623 (IP_PMTUDISC_INTERFACE): Likewise.
15624 (IP_MULTICAST_IF): Likewise.
15625 (IP_MULTICAST_TTL): Likewise.
15626 (IP_MULTICAST_LOOP): Likewise.
15627 (IP_ADD_MEMBERSHIP): Likewise.
15628 (IP_DROP_MEMBERSHIP): Likewise.
15629 (IP_UNBLOCK_SOURCE): Likewise.
15630 (IP_BLOCK_SOURCE): Likewise.
15631 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15632 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15633 (IP_MSFILTER): Likewise.
15634 (MCAST_JOIN_GROUP): Likewise.
15635 (MCAST_BLOCK_SOURCE): Likewise.
15636 (MCAST_UNBLOCK_SOURCE): Likewise.
15637 (MCAST_LEAVE_GROUP): Likewise.
15638 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15639 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15640 (MCAST_MSFILTER): Likewise.
15641 (IP_MULTICAST_ALL): Likewise.
15642 (IP_UNICAST_IF): Likewise.
15643
73f79bb7
MF
15644 * timezone/Makefile: Delete $(have-ksh) check.
15645 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15646 * timezone/tzselect.ksh: Add +x mode bits.
15647
8da79b60
MF
15648 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15649 (ANON_INODE_FS_MAGIC): Likewise.
15650 (BDEVFS_MAGIC): Likewise.
15651 (BINFMTFS_MAGIC): Likewise.
15652 (BTRFS_TEST_MAGIC): Likewise.
15653 (CRAMFS_MAGIC_WEND): Likewise.
15654 (DEBUGFS_MAGIC): Likewise.
15655 (ECRYPTFS_SUPER_MAGIC): Likewise.
15656 (EXT3_SUPER_MAGIC): Likewise.
15657 (EXT4_SUPER_MAGIC): Likewise.
15658 (FUTEXFS_SUPER_MAGIC): Likewise.
15659 (HOSTFS_SUPER_MAGIC): Likewise.
15660 (HUGETLBFS_MAGIC): Likewise.
15661 (MINIX3_SUPER_MAGIC): Likewise.
15662 (MTD_INODE_FS_MAGIC): Likewise.
15663 (NILFS_SUPER_MAGIC): Likewise.
15664 (OPENPROM_SUPER_MAGIC): Likewise.
15665 (PIPEFS_MAGIC): Likewise.
15666 (PSTOREFS_MAGIC): Likewise.
15667 (QNX6_SUPER_MAGIC): Likewise.
15668 (RAMFS_MAGIC): Likewise.
15669 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15670 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15671 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15672 (SECURITYFS_MAGIC): Likewise.
15673 (SELINUX_MAGIC): Likewise.
15674 (SMACK_MAGIC): Likewise.
15675 (SOCKFS_MAGIC): Likewise.
15676 (SQUASHFS_MAGIC): Likewise.
15677 (STACK_END_MAGIC): Likewise.
15678 (TMPFS_MAGIC): Likewise.
15679 (USBDEVICE_SUPER_MAGIC): Likewise.
15680 (V9FS_MAGIC): Likewise.
15681 (XENFS_SUPER_MAGIC): Likewise.
15682 (CRAMFS_MAGIC): Fix typo in comment.
15683 (EXT2_SUPER_MAGIC): Update comment.
15684 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15685
464263cc
JM
156862014-02-08 Joseph Myers <joseph@codesourcery.com>
15687
c6bfe5c4
JM
15688 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15689 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15690 * sysdeps/unix/sysv/linux/arm: Move directory from
15691 ports/sysdeps/unix/sysv/linux/arm.
15692 * README: Update listing for arm-*-linux-gnueabi.
15693
464263cc
JM
15694 * README: Remove mention of am33.
15695
32749f6c
RM
156962014-02-07 Roland McGrath <roland@hack.frob.com>
15697
15698 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15699 than the comma operator, to avoid "rhs of comma has no effect"
15700 compiler warnings.
15701 (__sigfillset, __sigandset, __sigorset): Likewise.
15702 * include/signal.h (__sigemptyset): Likewise.
15703 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15704
d5b396c1
AM
157052014-02-07 Allan McRae <allan@archlinux.org>
15706
15707 * version.h (RELEASE): Set to "development".
15708 (VERSION): Set to "2.19.90"
15709 * NEWS: Add 2.20 section.
15710
3bfff2ed
CD
157112014-02-06 Carlos O'Donell <carlos@redhat.com>
15712
15713 [BZ #16529]
15714 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15715
ee7cc385
SP
157162014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15717
15718 * manual/contrib.texi: Update entry for Carlos O'Donell,
15719 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15720
f877c4f2
CD
157212014-02-05 Carlos O'Donell <carlos@rehdat.com>
15722
27e839f6
CD
15723 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15724
f877c4f2
CD
15725 * sysdeps/unix/sysv/linux/kernel-features.h
15726 [__LINUX_KERNEL_VERSION >= 0x020621]
15727 (__ASSUME_PROC_PID_TASK_COMM): Define.
15728
68159946
SP
157292014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15730
ba17cdbd
SP
15731 [BZ #16398]
15732 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15733 conversion when destination buffer does not have enough space.
15734 * libio/tst-ftell-partial-wide.c: New test case.
15735 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15736
68159946
SP
15737 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15738 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15739 Leonard and Allan McRae.
15740
2b528732
DM
157412014-02-04 David S. Miller <davem@davemloft.net>
15742
15743 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15744 32-bit.
15745
0ff82463
AZ
157462014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15747
57f41c40
AS
15748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15749 New file
c01603f7
AZ
15750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15751 New file
57f41c40
AS
15752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15753 New file.
15754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15755 New file.
c01603f7
AZ
15756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15757 New file.
57f41c40
AS
15758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15759 New file.
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15761 New file.
c01603f7
AZ
15762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15763 New file.
15764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15765 New file.
15766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15767 New file.
15768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15769 New file.
15770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15771 New file.
15772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15773 New file.
15774
157752014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15776
0ff82463
AZ
15777 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15778 * shlib-versions: Likewise.
15779
1695c773
AZ
157802014-02-04 Roland McGrath <roland@hack.frob.com>
15781 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15782
15783 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15784 (abilist-pattern): New variable, set to %-le.abilist.
15785
15786 * Makerules (abilist-pattern): New variable.
15787 (vpath): Use $(abilist-pattern) in place of %.abilist.
15788 (check-abi-% pattern rule): Likewise.
15789 (check-abi, update-abi): Likewise.
15790
6c0ce4b4
EW
157912014-02-04 Eric Wong <normalperson@yhbt.net>
15792
15793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15794
481e3524
CD
157952014-02-03 Carlos O'Donell <carlos@redhat.com>
15796
15797 * manual/startup.texi: Add next, previous, and top entries for
15798 the `Program Arguments' and `Environment Variables' nodes.
15799
375592d3
AO
158002014-02-03 Alexandre Oliva <aoliva@redhat.com>
15801
15802 * manual/macros.texi: Add comments before MTASC-safety macros.
15803
f54838ba
AO
15804 * manual/users.texi: Document MTASC-safety properties.
15805
57f41c40
AS
15806 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15807 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15808 @deftypefun, and add @safety note.
15809 * manual/signal.texi: Move comments that analyze the above
15810 functions to their home place.
15811
fd3daba4
AM
158122014-02-03 Allan McRae <allan@archlinux.org>
15813
15814 * po/sl.po: Update Slovenian translation from translation project.
15815
597636d7
AO
158162014-02-02 Alexandre Oliva <aoliva@redhat.com>
15817
15818 * manual/time.texi (timegm): Add missing blank after @c.
15819 Reported by Joseph Myers <joseph@codesourcery.com>.
15820
ee196e3c
AO
158212014-02-01 Alexandre Oliva <aoliva@redhat.com>
15822
15823 * manual/check-safety.sh: New.
15824 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15825
f8d529d5
AO
15826 * manual/terminal.texi: Document MTASC-safety properties.
15827
de55fdf4
AO
15828 * manual/filesys.texi: Document MTASC-safety properties.
15829
c3299c08
AO
15830 * manual/errno.texi: Document MTASC-safety properties.
15831
06e90b14
AO
15832 * manual/intro.texi: Document safety identifiers and
15833 conditionals.
15834
1acd4371
AO
15835 * manual/string.texi (wcstok): Fix prototype.
15836 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15837
23e5b8cb
AO
15838 * manual/time.texi: Document MTASC-safety properties.
15839
11087373
AO
15840 * manual/string.texi: Document MTASC-safety properties.
15841
5da2c93d
AO
15842 * manual/threads.texi: Document MTASC-safety properties.
15843
171e9210
AO
15844 * manual/stdio.texi: Document MTASC-safety properties.
15845
d9e02532
AO
15846 * manual/syslog.texi: Document MTASC-safety properties.
15847
6af8bab7
AO
15848 * manual/sysinfo.texi: Document MTASC-safety properties.
15849
663b02d7
AO
15850 * manual/startup.texi: Document MTASC-safety properties.
15851
973f180b
AO
15852 * manual/socket.texi: Document MTASC-safety properties.
15853
8f3c25c8
AO
15854 * manual/signal.texi: Document MTASC-safety properties.
15855
542210fb
AO
158562014-01-31 Alexandre Oliva <aoliva@redhat.com>
15857
15858 * manual/setjmp.texi: Document MTASC-safety properties.
15859
433c45a2
AO
15860 * manual/search.texi: Document MTASC-safety properties.
15861
c8ce789c
AO
15862 * manual/resource.texi: Document MTASC-safety properties.
15863
19f5d29c
AO
15864 * manual/process.texi: Document MTASC-safety properties.
15865
e2dfb7f4
AO
15866 * manual/platform.texi: Document MTASC-safety properties.
15867
8c1413f5
AO
15868 * manual/pipe.texi: Document MTASC-safety properties.
15869
03483ada
AO
15870 * manual/pattern.texi: Document MTASC-safety properties.
15871
29e7e2df
AO
15872 * manual/message.texi: Document MTASC-safety properties.
15873
9f529d7c
AO
15874 [BZ #12751]
15875 * manual/memory.texi: Document MTASC-safety properties.
15876
27aaa791
AO
15877 * manual/math.texi: Document MTASC-safety properties.
15878
f2d58726
AO
15879 * manual/locale.texi: Document MTASC-safety properties.
15880
2cc3615c
AO
15881 * manual/llio.texi: Document MTASC-safety properties.
15882
d9f0ec97
AO
15883 * manual/libdl.texi: New.
15884
e7c4409a
AO
15885 * manual/lang.texi: Document MTASC-safety properties.
15886
27bdc63c
AO
15887 * manual/job.texi: Document MTASC-safety properties.
15888
a7b90ea9
AO
15889 * manual/getopt.texi: Document MTASC-safety properties.
15890
c49130e3
AO
15891 * manual/ctype.texi: Document MTASC-safety properties.
15892
0d23a5c1
MR
158932014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15894
15895 [BZ #16046]
15896 * csu/libc-tls.c (static_map): Remove variable.
15897 (__libc_setup_tls): Use main executable's link map for TLS data.
15898 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15899 casing for LM_ID_BASE and GL(dl_nns).
15900 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15901 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15902 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15903 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15904 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15905 member.
15906 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15907 l_phnum members.
15908
0037bb60
AO
159092014-01-30 Alexandre Oliva <aoliva@redhat.com>
15910
15911 * manual/debug.texi: Document MTASC-safety properties.
15912
409e00bd
L
159132014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15914
15915 [BZ #16510]
15916 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15917 of __x86_64__ when disabling x87 inline functions.
15918
86e60666
AO
159192014-01-29 Alexandre Oliva <aoliva@redhat.com>
15920
15921 * manual/charset.texi: Document MTASC-safety properties.
15922
76167637
AO
15923 * manual/crypt.texi: Document MTASC-safety properties.
15924
e567f2a0
AO
15925 * manual/conf.texi: Document MTASC-safety properties.
15926
b719dafd
AO
15927 * manual/arith.texi: Document MTASC-safety properties.
15928
4a16c662
AO
15929 * manual/argp.texi: Document MTASC-safety properties.
15930
0a57b83e
AO
15931 * manual/macros.texi: Introduce macros to document multi
15932 thread, asynchronous signal and asynchronous cancellation
15933 safety properties.
15934 * manual/intro.texi: Introduce the properties themselves.
15935
feab2397
KK
159362014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15937
15938 * sysdeps/sh/sh4/Makefile: New file.
15939
1c0d11bc
AS
159402014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15941
15942 * math/gen-libm-test.pl ($srcdir): New variable.
15943 ($auto_input): Use it.
15944
af37a8a3
SP
159452014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15946
d7b00f98
SP
15947 [BZ #16506]
15948 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15949 access beyond array bounds when parsing netgroups file.
15950
af37a8a3
SP
15951 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15952 the old buffer before realloc.
15953
0c00f062
AM
159542014-01-27 Allan McRae <allan@archlinux.org>
15955
15956 * po/fr.po: Update French translation from translation project.
15957
7d69a1b0
KK
159582014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15959
15960 * sysdeps/sh/libm-test-ulps: Regenerate.
15961
6e697ff7
DM
159622014-01-24 David S. Miller <davem@davemloft.net>
15963
15964 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15965
9cadb35c
KK
159662014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15967
15968 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15969 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15970
5d41dadf
SP
159712013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15972
15973 [BZ #16474]
15974 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15975 string pointers after reallocation.
15976
0bad441c
KK
159772014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15978
15979 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15980 __SH4A__ instead of __SH_FPU_ANY__.
15981
7007c661
KK
159822014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15983
15984 * sysdeps/sh/fpu_control.h: New file.
15985 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15986 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15987 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15988 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15989 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15990 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15991 * sysdeps/sh/sys/ucontext.h: Remove.
15992 * sysdeps/sh/sys: Remove directory.
15993
0f0c35e4
AK
159942014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15995
15996 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15997 s390/sys/ucontext.h.
15998 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15999 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16000
4959e284
L
160012014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16002
16003 [BZ #15605]
16004 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16005
d98720e0
AZ
160062014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16007
16008 [BZ#16431]
16009 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16010 Adjust the vDSO correctly for internal calls.
16011 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16012
91cbd0bc
AM
160132014-01-20 Allan McRae <allan@archlinux.org>
16014
16015 * po/ca.po: Update Catalan translation from translation project.
16016
7a02cfad
MF
160172014-01-16 Mike Frysinger <vapier@gentoo.org>
16018
16019 * sysdeps/s390/sotruss-lib.c: New file.
16020
736c304a
AZ
160212014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16022
16023 [BZ#16430]
6e077ee5 16024 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
16025 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16026 local calls issues by not having a PLT stub required for IFUNC calls.
16027 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16028
94d0cea0
JM
160292014-01-16 Joseph Myers <joseph@codesourcery.com>
16030
16031 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16032 * math/test-fpucw-static.c: Likewise.
16033
980cb518
SP
160342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16035
16036 [BZ #16453]
16037 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16038
2393fc01
AZ
160392014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16040
16041 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16042 implementation for powerpc.
16043
d359bcc2
OB
160442014-01-15 Ondřej Bílka <neleai@seznam.cz>
16045
16046 [BZ #14782]
16047 * sysdeps/posix/system.c (__libc_system): Do not enable
16048 asynchronous cancellation.
16049
7beb48cb
AK
160502014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16051
16052 [BZ #16427]
16053 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16054 handling only for numbers special also in the IEEE case.
16055
c20d5bf5
AK
160562014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16057
16058 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16059
e83bd4ee
AM
160602014-01-11 Allan McRae <allan@archlinux.org>
16061
76d0ea69
AM
16062 * po/bg.po: Update Bulgarian translation from translation project.
16063
e83bd4ee
AM
16064 * po/de.po: Update German translation from translation project.
16065
bc2ba20a
RM
160662014-01-10 Roland McGrath <roland@hack.frob.com>
16067
16068 * sysdeps/generic/gcc-compat.h: New file.
16069
649ecea2
SP
160702014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16071
16072 * benchtests/asin-inputs: Correct slow inputs.
16073 * benchtests/acos-inputs: Likewise.
16074
1b19c006
AM
160752014-01-10 Allan McRae <allan@archlinux.org>
16076
a46dab08
AM
16077 * po:sv.po: Update Swedish translation from translation project.
16078
421df74a
AM
16079 * po/vi.po: Update Vietnamese translation from translation project.
16080
d61c51a7
AM
16081 * po/eo.po: Update Esperanto translation from translation project.
16082
0339a319
AM
16083 * po/cs.po: Update Czech translation from translation project.
16084
94ad3e99
AM
16085 * po/nl.po: Update Dutch translation from translation project.
16086
e349ca71
AM
16087 * po/pl.po: Update Polish translation from translation project.
16088
ddf930c1
AM
16089 * po/ru.po: Update Russian translation from translation project.
16090
1b19c006
AM
16091 * po/uk.po: Update Ukrainian translation from translation project.
16092
9f236c49
BM
160932014-01-08 Brooks Moses <bmoses@google.com>
16094
16095 * elf/dl-load.c: Fix comment typo.
16096
cd6701cf
CD
160972014-01-08 Carlos O'Donell <carlos@redhat.com>
16098
16099 * po/header.pot: Rename to...
16100 * po/pot.header: ... this.
16101 * po/Makefile: Use pot.header.
16102
66671c84
YK
161032014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16104 Maxim Kuvyrkov <maxim@kugelworks.com>
16105
16106 [BZ #16394]
cd6701cf
CD
16107 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16108 SRC and DEST against LEN.
66671c84 16109
38f34581
AZ
161102014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16111
16112 [BZ #16414]
16113 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16114 implementation.
16115 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16116
161172014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
16118
16119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16120
4c327f2a
JM
161212014-01-08 Joseph Myers <joseph@codesourcery.com>
16122
16123 [BZ #16408]
16124 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16125 for large positive arguments.
16126
b821f414
JM
161272014-01-07 Joseph Myers <joseph@codesourcery.com>
16128
1f0f2067
JM
16129 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16130
a5a326f6
JM
16131 * math/auto-libm-test-in: Mark various tests with
16132 xfail-rounding:ldbl-128ibm.
16133 * math/auto-libm-test-out: Regenerated.
16134
b821f414
JM
16135 [BZ #16407]
16136 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16137 Increase overflow threshold.
16138
94c8a4bc
OB
161392014-01-07 Ondřej Bílka <neleai@seznam.cz>
16140
16141 [BZ #14286]
16142 * stdio-common/vfprintf.c: Check for integer overflow.
16143
87ded0c3
AK
161442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16145
16146 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16147 the first argument and return value of __tls_get_addr_internal.
16148
c5eebdd0
AK
161492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16150
16151 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16152 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16153
05d138ef
AK
161542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16155
16156 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16157 * sysdeps/s390/rtld-global-offsets.sym: New file.
16158 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16159 GLIBC_2.19 symbol.
16160 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16161 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16162 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16163 ... this.
16164 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16165 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16166 ... this.
16167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16168 Regenerate.
16169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16170 Regenerate.
16171 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16172 halfs of GPRs for high_gprs contexts.
16173 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16174 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16175 field.
16176 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16177 uc_flags field.
16178 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16179 64 bit versions:
16180 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16181 for high GPRs (uc_high_gprs) and for future extensions
16182 (__reserved).
16183 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16184 for future extensions (__reserved).
16185 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16186 64 bit versions:
16187 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16188 SC_HIGHGPRS offset definition.
16189 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16190 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16191
93a45ff1
AK
16192 * Versions.def: Add GLIBC_2.19 for libpthread.
16193 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16194 siglongjmp for libpthread with GLIBC_2.19 symver.
16195 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16196 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16197 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16198 * sysdeps/s390/__longjmp.c: New file.
16199 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16200 * sysdeps/s390/longjmp.c: New file.
16201 * sysdeps/s390/setjmp.S: New file.
16202 * sysdeps/s390/sigjmp.S: New file.
16203 * sysdeps/s390/v1-longjmp.c: New file.
16204 * sysdeps/s390/v1-setjmp.h: New file.
16205 * sysdeps/s390/v1-sigjmp.c: New file.
16206 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16207 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16208 GLIBC_2.19 version.
16209 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16210 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16211 versioned symbols for ____longjmp_chk.
16212 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16213 Likewise.
16214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16215 Regenerate.
16216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16217 Regenerate.
16218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16219 Regenerate.
16220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16221 Regenerate.
16222 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16223 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16224 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16225 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16226 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16227 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16228 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16229 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16230 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16231 * sysdeps/s390/rtld-__longjmp.c: New file.
16232 * sysdeps/s390/rtld-setjmp.S: New file.
16233
eb3fc44b
JM
162342014-01-06 Joseph Myers <joseph@codesourcery.com>
16235
16236 [BZ #16400]
16237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16238 Return -__logl (x) for small positive arguments without evaluating
16239 a polynomial.
16240
9341dde4
MF
162412014-01-06 Mike Frysinger <vapier@gentoo.org>
16242
16243 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16244 Rename to ...
16245 (__ptrace_peeksiginfo_args): ... this.
16246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16248 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16249
4cff0293
AM
162502014-01-06 Allan McRae <allan@archlinux.org>
16251
16252 * inet/netinet/in.h: Fix typo in comment.
16253
75595dcf
AJ
162542014-01-05 Andreas Jaeger <aj@suse.de>
16255
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257
79c1e109
AM
162582014-01-05 Allan McRae <allan@archlinux.org>
16259
dd804818
AM
16260 * po/libc.pot: Regenerated.
16261
79c1e109
AM
16262 * malloc/memusagestat.c: Fix gettext call formatting.
16263
0c813d1f
SK
162642014-01-04 Sami Kerola <kerolasa@iki.fi>
16265
16266 * nscd/nscd.c: Improve usage() output.
16267
20f4a8d9
MF
162682014-01-04 Mike Frysinger <vapier@gentoo.org>
16269
16270 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16271 * sysdeps/unix/sysv/linux/configure: Regenerated.
16272 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16273 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16274
22562bb2
JM
162752014-01-03 Joseph Myers <joseph@codesourcery.com>
16276
16277 [BZ #16390]
16278 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16279 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16280
d7ad2d9b
AZ
162812014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16282
16283 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16284 extra tokens at end of #undef directive.
16285 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16286 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16287 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16288
7dd009d8
JM
162892014-01-03 Joseph Myers <joseph@codesourcery.com>
16290
24db925a
JM
16291 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16292
7dd009d8
JM
16293 * math/auto-libm-test-in: Mark various tests with
16294 xfail-rounding:ldbl-128ibm.
16295 * math/auto-libm-test-out: Regenerated.
16296
396e3ecf
JM
162972014-01-02 Joseph Myers <joseph@codesourcery.com>
16298
819e5d50
JM
16299 [BZ #16386]
16300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16301 numbers with subnormal high part when calculating exponent.
16302
90b6a1e5
JM
16303 [BZ #16385]
16304 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16305 fabs.
16306
396e3ecf
JM
16307 [BZ #16384]
16308 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16309 M_LN2l.
16310 (__ieee754_acoshl): Use __log1pl not __log1p.
16311
6c8dbf00
OB
163122013-01-02 Ondřej Bílka <neleai@seznam.cz>
16313
57f41c40
AS
16314 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16315 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16316 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16317 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16318 (reused_arena, arena_get2): Convert to GNU style.
16319 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16320 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16321 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 16322 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
16323 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16324 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16325 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16326 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16327 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16328 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 16329 * malloc/malloc.h: Likewise.
57f41c40
AS
16330 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16331 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 16332 * malloc/mcheck.h: Likewise.
57f41c40
AS
16333 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16334 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
16335 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16336 * malloc/morecore.c (__default_morecore): Likewise.
16337 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
16338 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16339 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16340 (print_and_abort): Likewise.
6c8dbf00
OB
16341 * malloc/obstack.h: Likewise.
16342 * malloc/set-freeres.c (__libc_freeres): Likewise.
16343 * malloc/tst-mallocstate.c (main): Likewise.
16344 * malloc/tst-mtrace.c (main): Likewise.
16345 * malloc/tst-realloc.c (do_test): Likewise.
16346
d4124212
SP
163472013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16348
9a3c6a6f
SP
16349 [BZ #16366]
16350 * nscd/netgroupcache.c (do_notfound): New function.
16351 (addgetnetgrentX): Use it.
16352
d4124212
SP
16353 [BZ # 16365]
16354 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16355 NSS_STATUS_NOTFOUND.
16356
97b9a009
JM
163572014-01-01 Joseph Myers <joseph@codesourcery.com>
16358
16359 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16361
d4697bc9
AM
163622014-01-01 Allan McRae <allan@archlinux.org>
16363
ddb3687f
AM
16364 * scripts/update-copyrights: Update configure input file suffix.
16365
88726d48
AM
16366 * NEWS: Update copyright year.
16367 * catgets/gencat.c: Likewise.
16368 * csu/version.c: Likewise.
16369 * debug/catchsegv.sh: Likewise.
16370 * debug/pcprofiledump.c: Likewise.
16371 * debug/xtrace.sh: Likewise.
16372 * elf/ldconfig.c: Likewise.
16373 * elf/ldd.bash.in: Likewise.
16374 * elf/pldd.c: Likewise.
16375 * elf/sotruss.ksh: Likewise.
16376 * elf/sprof.c: Likewise.
16377 * iconv/iconv_prog.c: Likewise.
16378 * iconv/iconvconfig.c: Likewise.
16379 * locale/programs/locale.c: Likewise.
16380 * locale/programs/localedef.c: Likewise.
16381 * login/programs/pt_chown.c: Likewise.
16382 * malloc/memusage.sh: Likewise.
16383 * malloc/memusagestat.c: Likewise.
16384 * malloc/mtrace.pl: Likewise.
16385 * manual/libc.texinfo: Likewise.
16386 * nscd/nscd.c: Likewise.
16387 * nss/getent.c: Likewise.
16388 * nss/makedb.c: Likewise.
16389 * posix/getconf.c: Likewise.
16390 * scripts/test-installation.pl: Likewise.
16391
d4697bc9
AM
16392 * All files with FSF copyright notices: Update copyright dates
16393 using scripts/update-copyrights.
16394 * intl/plural.c: Regenerated.
16395 * locale/programs/charmap-kw.h: Likewise.
16396 * locale/programs/locfile-kw.h: Likewise.
16397
c8590f9d
MF
163982013-12-31 Mike Frysinger <vapier@gentoo.org>
16399
16400 * sysdeps/unix/sysv/linux/configure: Regenerated.
16401 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16402 the linux/fanotify.h header.
16403 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16404 HAVE_LINUX_FANOTIFY_H is defined.
16405
b19221b9
SP
164062013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16407
dd1d85e5
SP
16408 * benchtests/cos-inputs: New inputs.
16409 * benchtests/sin-inputs: Likewise.
16410
1acbb90f
SP
16411 * benchtests/atan-inputs: New inputs. Fix name of multiple
16412 precision fallback inputs.
16413
4c012ed3
SP
16414 * benchtests/atanh-inputs: New inputs.
16415 * benchtests/tanh-inputs: Likewise.
16416
eff98324
SP
16417 * benchtests/acosh-inputs: New inputs.
16418 * benchtests/asinh-inputs: Likewise.
16419
ce641152
SP
16420 * benchtests/cosh-inputs: New inputs.
16421 * benchtests/sinh-inputs: Likewise.
16422
b19221b9
SP
16423 * benchtests/acos-inputs: Add more inputs.
16424 * benchtests/asin-inputs: Likewise.
16425
030a4976 164262013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 16427
030a4976 16428 [BZ #16375]
9dcc8f11
VS
16429 * manual/arith.texi: Fix spelling.
16430 * manual/charset.texi: Likewise.
16431 * manual/errno.texi: Likewise.
16432 * manual/filesys.texi: Likewise.
16433 * manual/lang.texi: Likewise.
16434 * manual/llio.texi: Likewise.
16435 * manual/locale.texi: Likewise.
16436 * manual/message.texi: Likewise.
16437 * manual/resource.texi: Likewise.
16438 * manual/search.texi: Likewise.
16439 * manual/setjmp.texi: Likewise.
16440 * manual/stdio.texi: Likewise.
16441 * manual/string.texi: Likewise.
16442 * manual/sysinfo.texi: Likewise.
16443 * manual/time.texi: Likewise.
16444
11520a57
CD
164452013-12-27 Carlos O'Donell <carlos@redhat.com>
16446
16447 * po/sl.po: New file.
16448
471103ae
MF
164492013-12-27 Mike Frysinger <vapier@gentoo.org>
16450
16451 * .gitignore: Add core/.gdbinit/.gdb_history.
16452
6c9642ed
AM
164532013-12-27 Allan McRae <allan@archlinux.org>
16454
16455 [BZ #16369]
16456 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16457 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16458
3f637079
BM
164592013-12-24 Brooks Moses <bmoses@google.com>
16460
16461 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16462 all compilers that claim C++98 compliance, not just GCC.
16463 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16464 Likewise.
16465
abc26e99
MK
164662013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16467
16468 * NEWS: Restore accidentally deleted bug-fix entries.
16469
362b47fe
MK
164702013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16471 Ondřej Bílka <neleai@seznam.cz>
16472
16473 [BZ #15073]
16474 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 16475 have_lock.
362b47fe 16476
b9bcbbcb
OB
164772013-12-23 Ondřej Bílka <neleai@seznam.cz>
16478
16479 [BZ #12986]
16480 * manual/stdio.texi (String Input Conversions): Clarify that character
16481 classes are not supported.
16482
fb55fcd2
AZ
164832013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16484
16485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16486
ef7344f0
JM
164872013-12-22 Joseph Myers <joseph@codesourcery.com>
16488
4f40e4b3
JM
16489 [BZ #16337]
16490 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16491 Calculate results for small negative arguments directly rather
16492 than using reflection formula with special underflow handling.
16493
ef7344f0
JM
16494 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16495 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16496 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16497 (fchflags): Likewise.
16498 (revoke): Likewise.
16499 (setlogin): Likewise.
16500 (sigaltstack): Likewise.
16501 (wait4): Likewise.
16502 (sigblock): Remove.
16503 (sigsetmask): Likewise.
16504 (wait3): Likewise.
16505 (waitpid): Likewise.
16506 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16507 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16508 file.
16509 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16510 * sysdeps/unix/bsd/Makefile: ... here.
16511 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16512 * sysdeps/unix/bsd/Versions: ... here.
16513 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16514 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16515 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16516 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16517 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16518 * sysdeps/unix/bsd/sigblock.c: ... here.
16519 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16520 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16521 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16522 * sysdeps/unix/bsd/sigvec.c: ... here.
16523 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16524 * sysdeps/unix/bsd/tcdrain.c: ... here.
16525 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16526 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16527 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16528 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16529 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16530 * sysdeps/unix/bsd/wait.c: ... here.
16531 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16532 * sysdeps/unix/bsd/wait3.c: ... here.
16533 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16534 * sysdeps/unix/bsd/waitpid.c: ... here.
16535
5b0626b9
JM
165362013-12-21 Joseph Myers <joseph@codesourcery.com>
16537
16538 [BZ #16356]
16539 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16540 round-to-nearest for [!USE_AS_EXPM1L].
16541 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16542 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16543 more tests of exp and exp10. Expect some exp10 tests to miss
16544 exceptions or fail in directed rounding modes.
16545 * math/auto-libm-test-out: Regenerated.
16546 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16547 (exp10_test_tonearest): New function.
16548 (exp10_towardzero_test_data): New array.
16549 (exp10_test_towardzero): New function.
16550 (exp10_downward_test_data): New array.
16551 (exp10_test_downward): New function.
16552 (exp10_upward_test_data): New array.
16553 (exp10_test_upward): New function.
16554 (main): Call the new functions.
16555 * sysdeps/i386/fpu/libm-test-ulps: Update.
16556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16557
7fda5682
JM
165582013-12-20 Joseph Myers <joseph@codesourcery.com>
16559
31e3a405
JM
16560 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16561 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16562 * math/auto-libm-test-out: Regenerated.
16563 * math/libm-test.inc (acosh_test_data): Add more tests.
16564 (atanh_test_data): Likewise.
16565 (ceil_test_data): Likewise.
16566 (copysign_test_data): Likewise.
16567 * sysdeps/i386/fpu/libm-test-ulps: Update.
16568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16569
85bff96a
JM
16570 * timezone/checktab.awk: Update from tzcode 2013i.
16571 * timezone/private.h: Likewise.
16572 * timezone/scheck.c: Likewise.
16573 * timezone/tzfile.h: Likewise.
16574 * timezone/tzselect.ksh: Likewise.
16575 * timezone/zdump.c: Likewise.
16576 * timezone/zic.c: Likewise.
16577
b7867a3b
JM
16578 * math/auto-libm-test-in: Add tests of cpow.
16579 * math/auto-libm-test-out: Regenerated.
16580 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 16581 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
16582 mpc_cc_c.
16583 (func_calc_desc): Add mpc_cc_c union field.
16584 (test_functions): Add cpow.
16585 (special_fill_2pi): New function.
16586 (special_real_inputs): Add 2pi.
16587 (calc_generic_results): Handle mpc_cc_c.
16588 * sysdeps/i386/fpu/libm-test-ulps: Update.
16589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16590
7fda5682
JM
16591 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16592 csqrt, ctan and ctanh.
16593 * math/auto-libm-test-out: Regenerated.
16594 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16595 (TEST_COND_x86): Likewise.
16596 (ccos_test_data): Use AUTO_TESTS_c_c.
16597 (ccosh_test_data): Likewise.
16598 (cexp_test_data): Likewise.
16599 (clog_test_data): Likewise.
16600 (csqrt_test_data): Likewise.
16601 (ctan_test_data): Likewise.
16602 (ctan_tonearest_test_data): Likewise.
16603 (ctan_towardzero_test_data): Likewise.
16604 (ctan_downward_test_data): Likewise.
16605 (ctan_upward_test_data): Likewise.
16606 (ctanh_test_data): Likewise.
16607 (ctanh_tonearest_test_data): Likewise.
16608 (ctanh_towardzero_test_data): Likewise.
16609 (ctanh_downward_test_data): Likewise.
16610 (ctanh_upward_test_data): Likewise.
16611 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16612 mpc_c_c.
16613 (func_calc_desc): Add mpc_c_c union field.
16614 (FUNC_mpc_c_c): New macro.
16615 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16616 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16617 ctanh.
16618 (special_fill_min_subnorm_p120): New function.
16619 (special_real_inputs): Add min_subnorm_p120.
16620 (calc_generic_results): Handle mpc_c_c.
16621 * sysdeps/i386/fpu/libm-test-ulps: Update.
16622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16623
5ff8d60e
SP
166242013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16625
57f41c40
AS
16626 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16627 (do_sin_slow): New functions.
16628 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16629 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 16630
84ba214c
SP
16631 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16632 Use M to change sign of result instead of X. Assume X is
16633 positive.
16634 (csloww1): Likewise.
16635 (__sin): Adjust.
16636 (__cos): Adjust.
16637
975195e4
SP
16638 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16639 arguments A and DA.
16640 (__sin): Adjust.
16641 (__cos): Likewise.
16642
5ff8d60e
SP
16643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16644 (__cos): Likewise.
16645 (sloww1): Don't adjust sign of DX.
16646 (csloww1): Likewise.
16647 (sloww2): Use X directly and don't adjust sign of DX.
16648 (csloww2): Likewise.
16649
eb983568
JM
166502013-12-19 Joseph Myers <joseph@codesourcery.com>
16651
64a17f1a
JM
16652 * math/auto-libm-test-in: Add tests of cabs and carg.
16653 * math/auto-libm-test-out: Regenerated.
16654 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16655 (carg_test_data): Likewise.
16656 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16657 mpc_c_f.
16658 (func_calc_desc): Add mpc_c_f union field.
16659 (test_functions): Add cabs and carg.
16660 (calc_generic_results): Handle mpc_c_f.
16661
eb983568
JM
16662 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16663 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16664 as a macro and a compat symbol.
16665 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16666 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16667 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16668 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16669 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16670 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16671 not use .hidden.
16672 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16673 Likewise.
16674 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16675 Likewise.
16676 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16677 Likewise.
16678 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16679 Likewise.
16680 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16681 Likewise.
16682 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16683 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16684 from GLIBC_2.3.2.
16685
6eeb678a
AZ
166862013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16687
16688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16689
6f6fc482
JM
166902013-12-19 Joseph Myers <joseph@codesourcery.com>
16691
21fea2e2
JM
16692 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16693 trailing whitespace removed.
16694 * scripts/config.guess: Update to version 2013-11-29.
16695 * scripts/config.sub: Update to version 2013-10-01.
16696
6f6fc482
JM
16697 * math/auto-libm-test-in: Add tests of sincos.
16698 * math/auto-libm-test-out: Regenerated.
16699 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16700 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16701 mpfr_f_11.
16702 (func_calc_desc): Add mpfr_f_11 union field.
16703 (test_functions): Add sincos.
16704 (calc_generic_results): Handle mpfr_f_11.
16705 * sysdeps/i386/fpu/libm-test-ulps: Update.
16706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16707
83f5c32d
AS
167082013-12-19 Andreas Schwab <schwab@suse.de>
16709
16710 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16711 CALL_MCOUNT.
16712 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16714 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16715
c688b419
JM
167162013-12-19 Joseph Myers <joseph@codesourcery.com>
16717
335ee092
JM
16718 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16719 * sysdeps/i386/fpu/libm-test-ulps: Update.
16720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16721
f88acd39
JM
16722 [BZ #16293]
16723 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16724 round-to-nearest mode when using frndint.
16725 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16726 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16727 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16728 Likewise.
16729 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16730 sinh test to fail.
16731 * math/auto-libm-test-out: Regenerated.
16732 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16733 (TEST_COND_x86): Likewise.
16734 (expm1_tonearest_test_data): New array.
16735 (expm1_test_tonearest): New function.
16736 (expm1_towardzero_test_data): New array.
16737 (expm1_test_towardzero): New function.
16738 (expm1_downward_test_data): New array.
16739 (expm1_test_downward): New function.
16740 (expm1_upward_test_data): New array.
16741 (expm1_test_upward): New function.
16742 (main): Run the new test functions.
16743 * sysdeps/i386/fpu/libm-test-ulps: Update.
16744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16745
c688b419
JM
16746 * include/features.h: Update comment documenting feature test
16747 macros. Mention _DEFAULT_SOURCE in comment.
16748 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16749 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16750 _BSD_SOURCE and _SVID_SOURCE.
16751 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16752 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16753 !_SVID_SOURCE]: Likewise.
16754 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16755 (__USE_POSIX_IMPLICITLY): Define.
16756 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16757 (_POSIX_SOURCE): Undefine and redefine.
16758 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16759 (_POSIX_C_SOURCE): Likewise.
16760 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16761 (Feature Test Macros): Update documentation of default features.
16762
9f6e964c
RS
167632013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16764
16765 * benchtests/Makefile: Add bench-strtok.
16766 * benchtests/bench-strtok.c: New file: strtok benchtest.
16767
ee0a148a
AM
167682013-12-19 Allan McRae <allan@archlinux.org>
16769
16770 * manual/install.texi: Suppress menu for plain text output.
16771 * INSTALL: Regenerated.
16772
b9ab448f
BM
167732013-12-18 Brooks Moses <bmoses@google.com>
16774
16775 [BZ #15846]
16776 * misc/getauxval.c: Include errno.h.
16777 (__getauxval): Set errno to ENOENT if the requested type is not
16778 found.
16779 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16780 don't declare with __attribute_const__.
16781 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16782 * manual/startup.texi: Document that getauxval sets errno.
16783
23776487
JM
167842013-12-18 Joseph Myers <joseph@codesourcery.com>
16785
f889953b
JM
16786 * math/auto-libm-test-in: Add tests of jn and yn.
16787 * math/auto-libm-test-out: Regenerated.
16788 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16789 (yn_test_data): Likewise.
16790 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16791 mpfr_if_f.
16792 (func_calc_desc): Add mpfr_if_f union field.
16793 (FUNC_mpfr_if_f): New macro.
16794 (test_functions): Add jn and yn.
16795 (calc_generic_results): Assert type of second input for
16796 mpfr_ff_f. Handle mpfr_if_f.
16797 (output_for_one_input_case): Disable all checking for arguments
16798 fitting floating-point types in case of an integer argument.
16799 * sysdeps/i386/fpu/libm-test-ulps: Update.
16800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16801
23776487
JM
16802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16803 Don't expect fegetround reference in libm.so.
16804
cb756c6d
MS
168052013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16806
16807 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16808 $(config-cflags-nofma).
16809
2dec468f
JM
168102013-12-18 Joseph Myers <joseph@codesourcery.com>
16811
5953eb3a
JM
16812 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16813 * math/auto-libm-test-out: Regenerated.
16814
2dec468f
JM
16815 [BZ #16338]
16816 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16817 to determine exponent and adjust argument to have exponent of -1.
16818 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16819 log2.
16820 * math/auto-libm-test-out: Regenerated.
16821 * sysdeps/i386/fpu/libm-test-ulps: Update.
16822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16823
4d84e6ad
OB
168242013-12-18 Ondřej Bílka <neleai@seznam.cz>
16825
16826 * manual/probes.texi: Remove cases when per-thread arenas are
16827 disabled.
16828
1818483b
AS
168292013-12-18 Andreas Schwab <schwab@suse.de>
16830
16831 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16832 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16833 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16834 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16835 * sysdeps/i386/i686/multiarch/Makefile: Update.
16836 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16837
25de95bf
JM
168382013-12-17 Joseph Myers <joseph@codesourcery.com>
16839
16840 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16841 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16842
674762d9
PE
168432013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16844
ed27ed83 16845 [BZ #15968]
0748546f
PE
16846 Support TZ transition times < 00:00:00.
16847 This is needed for version-3 tz-format files; it supports time
16848 stamps past 2037 for America/Godthab (the only entry in the tz
16849 database for which this change is relevant).
16850 * manual/time.texi (TZ Variable): Document transition times
16851 from -167:59:59 through -00:00:01.
16852 * time/tzset.c (tz_rule): Time of day is now signed.
16853 (__tzset_parse_tz): Parse negative time of day.
16854
4480e934
PE
16855 Document TZ transition times >= 25:00:00.
16856 * manual/time.texi (TZ Variable): Document transition times from
16857 25:00:00 through 167:59:59. These are already supported, and this
16858 support will help with version-3 tz-format files.
16859
69947401
PE
16860 * manual/time.texi (TZ Variable): Modernize North America example
16861 to reflect current (i.e., 2007-and-later) daylight saving rules.
16862
674762d9
PE
16863 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16864
7011c262
JM
168652013-12-17 Joseph Myers <joseph@codesourcery.com>
16866
2fc6557e
JM
16867 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16868 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16871 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16872 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16873 * sysdeps/unix/bsd/clock.c: Likewise.
16874 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16875 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16876 * sysdeps/unix/bsd/init-posix.c: Likewise.
16877 * sysdeps/unix/bsd/poll.c: Likewise.
16878 * sysdeps/unix/bsd/ptsname.c: Likewise.
16879 * sysdeps/unix/bsd/seekdir.c: Likewise.
16880 * sysdeps/unix/bsd/setegid.c: Likewise.
16881 * sysdeps/unix/bsd/seteuid.c: Likewise.
16882 * sysdeps/unix/bsd/setgid.c: Likewise.
16883 * sysdeps/unix/bsd/setrgid.c: Likewise.
16884 * sysdeps/unix/bsd/setruid.c: Likewise.
16885 * sysdeps/unix/bsd/setsid.c: Likewise.
16886 * sysdeps/unix/bsd/setuid.c: Likewise.
16887 * sysdeps/unix/bsd/sigaction.c: Likewise.
16888 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16889 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16890 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16891 * sysdeps/unix/bsd/telldir.c: Likewise.
16892 * sysdeps/unix/bsd/times.c: Likewise.
16893 * sysdeps/unix/bsd/usleep.c: Likewise.
16894
029c7b25
JM
16895 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16896 ($(objpfx)libbsd-compat.a): Remove rule.
16897
7011c262
JM
16898 * include/features.h (__FAVOR_BSD): Do not define.
16899 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16900 features conflicting with POSIX.
16901 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16902 (_BSD_SOURCE): Remove description of not being a subset of other
16903 feature test macros.
16904 * manual/job.texi (getpgrp): Do not document BSD version.
16905 (getpgid): Do not document by reference to BSD getpgrp.
16906 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16907 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16908 * signal/signal.h [__FAVOR_BSD]: Likewise.
16909 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16910 instead of making contents conditional on [__FAVOR_BSD].
16911 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16912
affb6f78
AZ
169132013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16914
16915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16916
c88769dd
JM
169172013-12-17 Joseph Myers <joseph@codesourcery.com>
16918
6432a540
JM
16919 [BZ #16314]
16920 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16921 values below 2**-450, not 2**-500.
16922 * math/auto-libm-test-in: Don't allow spurious underflow from
16923 hypot.
16924 * math/auto-libm-test-out: Regenerated.
16925
c88769dd
JM
16926 [BZ #16316]
16927 [BZ #16330]
16928 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16929 values of ha and hb and sort them after adjusting subnormal
16930 arguments.
16931 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16932 Likewise.
16933 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16934 values of ea and eb and sort them after adjusting subnormal
16935 arguments.
16936 * math/auto-libm-test-in: Do not expect some hypot tests of
16937 subnormals to fail. Add more hypot tests.
16938 * math/auto-libm-test-out: Regenerated.
16939
29618f6b
KK
169402013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16941
16942 [BZ #13304]
16943 * sysdeps/sh/s_fma.c: New file.
16944 * sysdeps/sh/s_fmaf.c: New file.
16945 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16946 version.
16947 * sysdeps/sh/Implies: Add sh/soft-fp.
16948
eacfdfbf
RM
169492013-12-16 Roland McGrath <roland@hack.frob.com>
16950
16951 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16952 level of indirection to members `objname', `errstring', `malloced'.
16953 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16954 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16955 it as the __longjmp argument (just pass 1 instead).
16956 (_dl_catch_error): Initialize C with argument pointers and address of
16957 volatile local ERRCODE rather than copying values out of C at return.
16958
ff362e5b
JM
169592013-12-16 Joseph Myers <joseph@codesourcery.com>
16960
16961 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16962 * math/auto-libm-test-out: Regenerated.
16963 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16964 (hypot_test_data): Likewise.
16965 (pow_test_data): Likewise.
16966 (pow_tonearest_test_data): Likewise.
16967 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16968 mpfr_ff_f.
16969 (func_calc_desc): Add mpfr_ff_f union field.
16970 (FUNC_mpfr_ff_f): New macro.
16971 (test_functions): Add atan2, hypot and pow.
16972 (special_fill_min): New function.
16973 (special_fill_minus_min): Likewise.
16974 (special_fill_min_subnorm): Likewise.
16975 (special_fill_minus_min_subnorm): Likewise.
16976 (special_real_inputs): Add min, -min, min_subnorm and
16977 -min_subnorm.
16978 (calc_generic_results): Handle mpfr_ff_f.
16979 * sysdeps/i386/fpu/libm-test-ulps: Update.
16980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16981
5764c27f
WN
169822013-12-16 Will Newton <will.newton@linaro.org>
16983
16984 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16985 (Aligned Memory Blocks): Add documentation for aligned_alloc
16986 and suggest it as an alternative to posix_memalign.
16987 (Hooks for Malloc): Document __memalign_hook is also called
16988 for aligned_alloc. (Summary of Malloc): Add summary for
16989 aligned alloc. Document __memalign_hook is also called
16990 for aligned_alloc.
16991
0a096e44
WN
169922013-12-16 Will Newton <will.newton@linaro.org>
16993
16994 * manual/memory.texi (Malloc Examples): Clarify default
16995 alignment documentation. Suggest posix_memalign rather
16996 than memalign or valloc.
16997 (Aligned Memory Blocks): Remove suggestion to use memalign
16998 or valloc. Remove obsolete comment about BSD.
16999 Document memalign errno values and mark the function obsolete.
17000 Document posix_memalign returned error codes. Mark valloc
17001 as obsolete. (Hooks for Malloc): __memalign_hook is also
17002 called for posix_memalign and valloc.
17003 (Summary of Malloc): Add posix_memalign to function summary.
17004 __memalign_hook is also called for posix_memalign and valloc.
17005
8d561986
SP
170062013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17007
17008 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17009 TAYLOR_SIN.
17010 (__sin): Adjust.
17011 (__cos): Likewise.
17012 (sloww): Use mynumber union. Expand ternary operator into
17013 if-else statements.
17014 (cslow): use mynumber union.
17015
73616a74
AM
170162013-12-16 Allan McRae <allan@archlinux.org>
17017
9e8ac24b
AM
17018 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17019 * configure: Regenerated.
17020
6f8e37eb
AM
17021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17022
8894bad3
AM
17023 [BZ #14120]
17024 * configure.ac: Added --enable-maintainer-mode. Check for
17025 autoconf when enabled.
17026 * configure: Regenerated.
17027
73616a74
AM
17028 * nscd/nscd.service: New file.
17029 * nscd/nscd.tmpfiles: New file.
17030
584b18eb
OB
170312013-12-14 Ondřej Bílka <neleai@seznam.cz>
17032
17033 [BZ #12100]
17034 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17035 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17036 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17037 (strstr): Add __strstr_sse2_unaligned ifunc.
17038 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17039 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17040 (strcasestr): Remove __strcasestr_sse42 ifunc.
17041 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17042 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17044
8a5c7897
KK
170452013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17046
17047 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17048 * sysdeps/sh/bits/fenv.h: ... here.
17049 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17050
fd712ef3
AZ
170512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17052
17053 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17054
42fcb46c
AZ
17055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17056 hypotf multiarch implementations.
17057 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17058 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17059 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17060 multiarch hypot for PPC64.
17061 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17062 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17063 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17064 multiarch hypotf for PPC64.
17065
83efded4
AZ
17066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17067 modff multiarch implementations.
17068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17071 multiarch modf for PPC64.
17072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17075 multiarch modff for PPC64.
17076
43e246d2
AZ
17077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17078 and logl multiarch implementations.
17079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17082 multiarch logb for PPC64.
17083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17086 multiarch logb for PPC64.
17087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17090 multiarch logb for PPC64.
17091
8fdad123
AZ
17092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17093 isinff multiarch implementation.
17094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17095 file.
17096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17098 multiarch isinf for PPC64.
17099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17100 file.
17101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17102 multiarch isinff for PPC64.
17103
1481d706
AZ
17104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17105 finitef multiarch implementation.
17106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17107 file.
17108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17110 multiarch finite for PPC64.
17111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17112 file.
17113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17114 multiarch finitef for PPC64.
17115
5ccd5fc8
AZ
17116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17117 lrint multiarch implementation.
17118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17119 file.
17120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17122 multiarch llrint for PPC64.
17123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17124 multiarch lrint for PPC64.
17125
2568f3fa
AZ
17126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17127 copysignf multiarch implementation.
17128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17129 file.
17130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17131 file.
17132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17133 multiarch copysign for PPC64.
17134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17135 multiarch copysignf for PPC64.
17136
1cb341fd
AZ
17137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17138 multiarch implementation.
17139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17140 file.
17141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17142 file.
17143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17144 file.
17145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17146 file.
17147 multiarch llround for PPC64.
17148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17149 multiarch trunc for PPC64.
17150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17151 multiarch truncf for PPC64.
17152
59a3e194
AZ
17153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17154 multiarch implementation.
17155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17156 file.
17157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17158 file.
17159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17160 file.
17161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17162 file.
17163 multiarch llround for PPC64.
17164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17165 multiarch round for PPC64.
17166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17167 multiarch roundf for PPC64.
17168
357fd3b4
AZ
17169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17170 multiarch implementation.
17171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17172 file.
17173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17174 file.
17175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17176 file.
17177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17178 file.
17179 multiarch llround for PPC64.
17180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17181 multiarch floor for PPC64.
17182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17183 multiarch floorf for PPC64.
17184
96770f12
AZ
17185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17186 multiarch implementation.
17187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17188 file.
17189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17190 file.
17191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17192 file.
17193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17194 file.
17195 multiarch llround for PPC64.
17196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17197 multiarch ceil for PPC64.
17198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17199 multiarch ceilf for PPC64.
17200
c3627f6e
AZ
17201 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17202 multiarch implementation.
17203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17204 file.
17205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17206 file.
17207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17208 file.
17209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17210 multiarch llround for PPC64.
17211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17212 multiarch lround for PPC64.
17213
b2284ad7
AZ
17214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17215 multiarch implementation.
17216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17219 file.
17220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17223 multiarch isnan for PPC64.
17224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17225 multiarch isnanf for PPC64.
17226
69bbc63d
AZ
17227 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17228 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17229 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17230 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17231 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17233
c24517c9
AZ
17234 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17235 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17238
a52374e8
AZ
17239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17240 multiarch implementations.
17241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17242 (__libc_ifunc_impl_list): Likewise.
17243 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17244 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17245 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17246 multiarch stpcpy for PPC64.
17247
7f5ec113
AZ
17248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17249 multiarch implementations.
17250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17251 (__libc_ifunc_impl_list): Likewise.
17252 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17253 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17254 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17255 multiarch strcpy for PPC64.
17256
e28bcd42
AZ
17257 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17258 redefine function name.
17259 (_wordcopy_fwd_dest_aligned): Likewise.
17260 (_wordcopy_bwd_aligned): Likewise.
17261 (_wordcopy_bwd_dest_aligned): Likewise.
17262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17263 multiarch implementations.
17264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17265 (__libc_ifunc_impl_list): Likewise.
17266 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17267 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17268 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17269 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17270 multiarch wcscpy for PPC64.
17271
92cacfce
AZ
17272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17273 multiarch implementations.
17274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17275 (__libc_ifunc_impl_list): Likewise.
17276 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17277 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17278 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17279 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17280 multiarch wcscpy for PPC64.
17281
7b714620
AZ
17282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17283 multiarch implementations.
17284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17285 (__libc_ifunc_impl_list): Likewise.
17286 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17287 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17288 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17289 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17290 multiarch wcsrchr for PPC64.
17291
16fd2ae3
AZ
17292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17293 multiarch implementations.
17294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17295 (__libc_ifunc_impl_list): Likewise.
17296 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17297 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17298 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17299 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17300 multiarch wcschr for PPC64.
17301
9ee2969b
AZ
17302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17303 multiarch implementations.
17304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17305 (__libc_ifunc_impl_list): Likewise.
17306 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17307 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17308 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17309 multiarch strchrnul for PPC64.
17310
372dc060
AZ
17311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17312 implementations.
17313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17314 (__libc_ifunc_impl_list): Likewise.
17315 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17316 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17317 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17318 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17319 strchr for PPC64.
17320
24c2c3b9
AZ
17321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17322 implementations.
17323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17324 (__libc_ifunc_impl_list): Likewise.
17325 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17326 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17327 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17328 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17329 strncmp for PPC64.
17330
1c92d9a0
AZ
17331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17332 multiarch implementations.
17333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17334 (__libc_ifunc_impl_list): Likewise.
17335 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17336 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17337 strncasecmp for PPC64.
17338 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17339 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17340 multiarch strncasecmp_l for PPC64.
17341
17de3ee3
AZ
17342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17343 multiarch implementations.
17344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17345 (__libc_ifunc_impl_list): Likewise.
17346 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17347 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17348 multiarch strcasecmp for PPC64.
17349 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17350 file.
17351 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17352 multiarch strcasecmp_l for PPC64.
17353
62982bf9
AZ
17354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17355 implementations.
17356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17357 (__libc_ifunc_impl_list): Likewise.
17358 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17359 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17360 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17361 strnlen for PPC64.
17362
a65f4904
AZ
17363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17364 implementations.
17365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17366 (__libc_ifunc_impl_list): Likewise.
17367 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17368 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17369 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17370 strlen for PPC64.
17371
1fd005ad
AZ
17372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17373 implementations.
17374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17375 (__libc_ifunc_impl_list): Likewise.
17376 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17377 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17378 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17379 rawmemrchr for PPC64.
17380
cd05ba91
AZ
17381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17382 implementation.
17383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17384 (__libc_ifunc_impl_list): Likewise.
17385 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17386 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17387 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17388 memrchr for PPC64.
17389
870f8676
AZ
17390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17391 implementation.
17392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17393 (__libc_ifunc_impl_list): Likewise.
17394 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17395 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17396 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17397 memchr for PPC64.
17398
f00be62b
AZ
17399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17400 implementation.
17401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17402 (__libc_ifunc_impl_list): Likewise.
17403 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17404 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17405 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17406 mempcpy for PPC64.
17407
8a29a3d0
AZ
17408 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17409 avoid cretion of __bzero symbol.
17410 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17411 Likewise.
17412 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17413 Likewise.
17414 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17415 Likewise.
17416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17417 multiarch implementations.
17418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17419 (__libc_ifunc_impl_list): Likewise.
17420 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17421 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17422 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17423 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17424 bzero for PPC32.
17425 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17426 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17427 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17428 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17429 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17430 memset for PPC64.
17431 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17432
07253fcf
AZ
17433 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17435 implementations.
17436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17437 (__libc_ifunc_impl_list): Likewise.
17438 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17439 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17440 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17441 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17442 memcmp for PPC64.
17443
b5beafbc
AZ
17444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17445 multiarch for POWER/PPC64.
17446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17447 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17448 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17449 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17450 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17451 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17452 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17453 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17454 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17455 memcpy for PPC64.
17456
5e6a4d4b
AZ
17457 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17458 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17459 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17460 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17461 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17462 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17463 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17464 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17465 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17466 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17467 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17468 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17469 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17470 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17471 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17479
ddfab6dc
KK
174802013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17481
17482 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17483
19b5525e
SP
174842013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17485
17486 * benchtests/Makefile (bench): Add exp2 and log2.
17487 (LDLIBS-bench-exp2): Add -lm.
17488 (LDLIBS-bench-log2): Likewise.
17489 * benchtests/exp2-inputs: New inputs file.
17490 * benchtests/log2-inputs: New inputs file.
17491 * benchtests/log-inputs: Add new inputs.
17492 * benchtests/tan-inputs: Likewise.
17493
196f7f5d
SP
174942013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17495
7a74607f
SP
17496 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17497 definition...
57f41c40
AS
17498 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17499 (csloww2): ... from here.
7a74607f 17500
196f7f5d
SP
17501 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17502 instead of structures.
17503 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17504 (POLYNOMIAL): Likewise.
17505 (TAYLOR_SLOW): Likewise.
17506 (__sin): Likewise.
17507 (__cos): Likewise.
17508 (slow1): Likewise.
17509 (slow2): Likewise.
17510 (sloww): Likewise.
17511 (sloww1); Likewise.
17512 (sloww2): Likewise.
17513 (bsloww1): Likewise.
17514 (bsloww2): Likewise.
17515 (cslow2): Likewise.
17516 (csloww): Likewise.
17517 (csloww1): Likewise.
17518 (csloww2): Likewise.
17519
0dfa665c
OB
175202013-12-10 Ondřej Bílka <neleai@seznam.cz>
17521
17522 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
17523 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17524 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
17525 * malloc/hooks.c (realloc_check): Likewise.
17526
5782a80f
OB
17527 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17528 * malloc/arena.c: Remove PER_THREAD conditional.
17529 [!PER_THREAD]: Remove code.
17530 (ptmalloc_unlock_all2): Likewise.
17531 (ptmalloc_init): Likewise.
17532 (_int_new_arena): Likewise.
17533 (arena_get2): Likewise.
17534 * malloc/hooks.c (__malloc_get_state): Likewise.
17535 (__malloc_set_state): Likewise.
17536 * malloc/malloc.c: Likewise.
17537 (struct malloc_state): Likewise.
17538 (struct malloc_par): Likewise.
17539 (__libc_realloc): Likewise.
17540 (__libc_mallopt): Likewise.
17541
aeb95445
AZ
175422013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17543
17544 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17545
e8349efd
OB
175462013-12-09 Ondřej Bílka <neleai@seznam.cz>
17547
17548 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17549 macro to a function. Check for zero perturb_byte.
17550 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17551
f3eeb3fc 17552 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
17553 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17554 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
17555 force_reg by atomic_forced_read.
17556 * malloc/arena.c (ptmalloc_init): Likewise.
17557 * malloc/hooks.c (top_check): Likewise.
17558
be2f9009
AZ
175592013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17560
17561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17562
e7b914bd
MT
175632013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17564
17565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17566
9f0be4f8
JM
175672013-12-08 Joseph Myers <joseph@codesourcery.com>
17568
17569 * math/auto-libm-test-in: Add tests of lgamma.
17570 * math/auto-libm-test-out: Regenerated.
17571 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17572 (M_LOG_2_SQRT_PIl): Likewise.
17573 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17574 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17575 mpfr_f_f1.
17576 (func_calc_desc): Add mpfr_f_f1 union field.
17577 (ARGS1): New macro.
17578 (ARGS2): Likewise.
17579 (ARGS3): Likewise.
17580 (ARGS4): Likewise.
17581 (RET1): Likewise.
17582 (RET2): Likewise.
17583 (CALC): Likewise.
17584 (FUNC): Likewise.
17585 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17586 (test_functions): Add lgamma.
17587 (calc_generic_results): Handle mpfr_f_f1.
17588 * sysdeps/i386/fpu/libm-test-ulps: Update.
17589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17590
24eeafdb
AZ
175912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17592
17593 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17594 __mpn_add_n for PowerPC64/POWER7.
17595 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17596 __mpn_sub_n for PowerPC64/POWER7.
17597
4a2c0fd4
AZ
17598 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17599 __mpn_addmul_1 for PowerPC64.
17600 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17601 __mpn_submul_1 for PowerPC64.
17602 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17603 for PowerPC64.
17604 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17605 for PowerPC64.
17606
4b5b548c
FS
176072013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17608
17609 [BZ #15089]
17610 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17611
0a3ac0aa
AZ
176122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17613
17614 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17615
ccdc8438
AZ
17616 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17617 add multiarch folders.
17618 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17619 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17620 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17621 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17622 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17623 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17624 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17625 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17626 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17627 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17628 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17635
2e973d99
AZ
17636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17637 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17639 New file.
17640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17641 New file.
17642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17643 multiarch __ieee754_hypot for PowerPC32.
17644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17645 New file.
17646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17647 New file.
17648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17649 multiarch __ieee754_hypotf for PowerPC32.
17650
2d9470b2
AZ
17651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17652 long_double_symbol only if __logbl is defined.
17653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17654 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17656 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17658 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17659 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17660 path for implementation.
17661 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17662 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17664 logb, and logbl multiarch implementations for PowerPC32.
17665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17666 file.
17667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17668 file.
17669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17670 multiarch logb for PowerPC32.
17671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17672 file.
17673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17674 file.
17675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17676 multiarch logbf for PowerPC32.
17677 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17679 file.
17680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17681 multiarch logbl implementation for PowerPC32.
17682
5212ffce
AZ
17683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17684 and modff multiarch implementations.
17685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17686 New file.
17687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17688 New file.
17689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17690 multiarch modf for PowerPC32.
17691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17692 New file.
17693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17694 New file.
17695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17696 multiarch modff for PowerPC32.
17697
79dccf31
AZ
17698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17699 and lrintf multiarch implementations.
17700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17701 New file.
17702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17703 New file.
17704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17705 multiarch lrint for PowerPC32.
17706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17707 file: multiarch lrintf for PowerPC32.
17708
deb66480
AZ
17709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17710 and lroundf multiarch implementations.
17711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17712 New file.
17713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17714 New file.
17715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17716 New file.
17717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17718 multiarch lround for PowerPC32.
17719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17720 file: multiarch lroundf for PowerPC32.
17721
264b036b
AZ
17722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17723 copysign and copysignf multiarch implementations.
17724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17725 New file.
17726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17727 New file.
17728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17729 file: multiarch copysign for PowerPC32.
17730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17731 file: multiarch copysignf for PowerPC32.
17732
d47db6c9
AZ
17733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17734 and truncf multiarch implementations.
17735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17736 New file.
17737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17738 file.
17739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17740 multiarch trunc for PowerPC32.
17741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17742 New file.
17743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17744 New file.
17745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17746 multiarch truncf for PowerPC32.
17747
ddb60b5a
AZ
17748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17749 and roundf multiarch implementations.
17750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17751 New file.
17752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17753 file.
17754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17755 multiarch round for PowerPC32.
17756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17757 New file.
17758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17759 New file.
17760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17761 multiarch roundf for PowerPC32.
17762
bedcf49b
AZ
17763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17764 and floorf multiarch implementations.
17765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17766 New file.
17767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17768 file.
17769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17770 multiarch floor for PowerPC32.
17771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17772 New file.
17773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17774 New file.
17775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17776 multiarch floorf for PowerPC32.
17777
35ae5b40
AZ
17778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17779 and ceilf multiarch implementations.
17780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17781 New file.
17782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17783 file.
17784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17785 multiarch ceil for PowerPC32.
17786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17787 New file.
17788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17789 file.
17790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17791 multiarch ceilf for PowerPC32.
17792
ae1a4cd9
AZ
17793 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17794 is defined.
17795 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17796 FINITEF is defined.
17797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17798 and finitef multiarch implementations.
17799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17800 New file.
17801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17802 file.
17803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17804 multiarch finite for PowerPC32.
17805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17806 New file.
17807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17808 file: multiarch finitef for PowerPC32.
17809
64fffd65
AZ
17810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17811 and isinff multiarch implementations.
17812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17813 file.
17814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17815 file.
17816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17817 multiarch isinf for PowerPC32.
17818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17819 New file.
17820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17821 multiarch isinff for PowerPC32.
17822
8e4e7ba2
AZ
17823 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17824 alias when __isnan is defined.
17825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17826 and isnanf multiarch implementations.
17827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17828 file.
17829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17830 file.
17831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17832 file.
17833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17834 file.
17835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17836 multiarch isnan for PowerPC32.
17837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17838 New file.
17839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17840 New file.
17841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17842 multiarch isnanf for PowerPC32.
17843
ddba588e
AZ
17844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17845 and sqrtf multiarch implementations.
17846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17847 file.
17848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17849 file.
17850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17851 multiarch sqrt for PowerPC32.
17852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17853 file.
17854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17855 file.
17856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17857 multiarch sqrtf for PowerPC32.
17858
0f96a2f0
AZ
17859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17860 and llroundf multiarch implementations.
17861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17862 New file.
17863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17864 New file.
17865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17866 New file.
17867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17868 file: multiarch llround for PowerPC32.
17869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17870 file: multiarch llroundf for PowerPC32.
17871
c9b5d79e
AZ
17872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17873 multiarch PowerPC32 fpu implementations.
17874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17875 New file.
17876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17877 New file.
17878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17879 multiarch llrint for PowerPC32.
17880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17881 New file.
17882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17883 New file.
17884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17885 file.
17886
9cbb3aab
AZ
17887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17888
ea5a72f8
AZ
17889 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17890 file.
17891 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17892 file.
17893 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17894 file.
17895 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17896 multiarch wordcopy for PPC32.
17897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17898 wordcopy objects.
17899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17900 (__libc_ifunc_impl_list): Likewise.
17901 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17902 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17904 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17905 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17906 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17907
93be09e7
AZ
17908 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17910 file.
17911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17912 file.
17913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17914 file.
17915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17916 multiarch wcscpy for PPC32.
17917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17918 multiarch objects.
17919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17920 (__libc_ifunc_impl_list): Likewise.
17921 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17922 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17923 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17924 sysdeps/powerpc/power6/wcscpy.c.
17925
bb04e529
AZ
17926 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17928 file.
17929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17930 file.
17931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17932 file.
17933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17934 multiarch wcsrchr for PPC32.
17935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17936 multiarch objects.
17937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17938 (__libc_ifunc_impl_list): Likewise.
17939 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17940 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17941 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17942 sysdeps/powerpc/power6/wcsrchr.c.
17943
05b5cd1c
AZ
17944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17945 file.
17946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17947 file.
17948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17950 multiarch wcschr for PPc32.
17951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17952 multiarch objects.
17953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17954 (__libc_ifunc_impl_list): Likewise.
17955 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17956 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17957 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17958 sysdeps/powerpc/power6/wcschr.c.
17959
ba964147
AZ
17960 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17961 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17962 file.
17963 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17964 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17965 file: multiarch strchr for PPC32.
17966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17967 multiarch objects.
17968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17969 (__libc_ifunc_impl_list): Likewise.
17970
31c81aaa
AZ
17971 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17972 name.
17973 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17974 file.
17975 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17976 file.
17977 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17978 multiarch strchrnul for PPC32.
17979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17980 multiarch objects.
17981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17982 (__libc_ifunc_impl_list): Likewise.
17983
0d0607d9
AZ
17984 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17985 file.
17986 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17987 multiarch strncasecmp for PPC32.
17988 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17989 file.
17990 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17991 multiarch strncasecmp_l for PPC32.
17992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17993 strncasecmp multiarch objects.
17994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17995 (__libc_ifunc_impl_list): Likewise.
17996
4dfd5c86
AZ
17997 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17998 file.
17999 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18000 multiarch strncasecmp for PPC32.
18001 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18002 New file.
18003 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18004 multiarch strcasecmp_l for PPC32.
18005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18006 multiarch objects.
18007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18008 (__libc_ifunc_impl_list): Likewise.
18009
a19e01a3
AZ
18010 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18011 file.
18012 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18013 file.
18014 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18015 multiarch strncmp for PPC32.
18016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18017 multiarch objects.
18018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18019 (__libc_ifunc_impl_list): Likewise.
18020
ae9cf7a2
AZ
18021 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18022 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18023 file.
18024 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18025 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18027 multiarch objects.
18028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18029 (__libc_ifunc_impl_list): Likewise.
18030
3148bb7d
AZ
18031 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18032 file.
18033 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18034 file.
18035 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18037 multiarch objects.
18038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18039 (__libc_ifunc_impl_list): Likewise.
18040
7af8b946
AZ
18041 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18042 file.
18043 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18044 file.
18045 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18046 multiarch rawmemchr for PPC32.
18047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18048 multiarch objects.
18049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18050 (__libc_ifunc_impl_list): Likewise.
18051
03a6aa6a
AZ
18052 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18053 file.
18054 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18055 file.
18056 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18057 file: memrchr multiarch for PPC32.
18058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18059 multiarch objects.
18060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18061 (__libc_ifunc_impl_list): Likewise.
18062
1c62e6d9
AZ
18063 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18064 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18065 file.
18066 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18067 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18068 multiarch memchr for PPC32.
18069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18070 multiarch objects.
18071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18072 (__libc_ifunc_impl_list): Likewise.
18073
87da8bdb
AZ
18074 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18075 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18076 file.
18077 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18078 file.
18079 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18080 file: multiarch mempcpy for PPC32.
18081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18082 multiarch objects.
18083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18084 (__libc_ifunc_impl_list): Likewise.
18085
20ed4714
AZ
18086 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18087 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18088 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18089 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18090 multiarch bzero for PPC32.
18091 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18092 file.
18093 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18094 file.
18095 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18096 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18097 file: multiarch memset for PPC32.
18098 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18100 memset multiarch objects.
18101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18102 (__libc_ifunc_impl_list): Likewise.
18103
ab3e3a46
AZ
18104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18105 file.
18106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18108 memcmp for PPC32.
18109 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18110 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18111 multiarch objects.
18112 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18113 (__libc_ifunc_impl_list): Likewise.
18114
930de6f0
AZ
18115 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18116 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18117 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18118 file.
18119 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18120 file.
18121 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18122 file.
18123 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18124 multiarch memcpy for PPC32.
18125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18126 multiarch objects.
18127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18128 (__libc_ifunc_impl_list): Likewise.
18129
4c628e00
AZ
18130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18131 support multiarch for POWER/PPC32.
18132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18133 Likewise.
18134 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18136 Implies file to make multiarch folder appers before the fpu and
18137 default folder for power4 configuration.
18138
f4479220
SP
181392013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18140
18141 * scripts/bench.pl: Append volatile keyword to type.
18142
8517800f
KK
181432013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18144
18145 * sysdeps/sh/sotruss-lib.c: New file.
18146 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18147
180138f1
AZ
181482013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18149
18150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18151
bbf37bdc
JM
181522013-12-05 Joseph Myers <joseph@codesourcery.com>
18153
e47cc4e0
JM
18154 [BZ #6810]
18155 * math/w_tgamma.c: Include <errno.h>.
18156 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18157 * math/w_tgammaf.c: Include <errno.h>.
18158 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18159 * math/w_tgammal.c: Include <errno.h>.
18160 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18161 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18162 underflow. Add more tgamma tests.
18163 * math/auto-libm-test-out: Regenerated.
18164 * sysdeps/i386/fpu/libm-test-ulps: Update.
18165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18166
bbf37bdc
JM
18167 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18168 sin, sinh, tan, tanh, tgamma, y0 and y1.
18169 * math/auto-libm-test-out: Regenerated.
18170 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18171 (TEST_COND_x86): Likewise.
18172 (M_E2l): Remove macro.
18173 (M_E3l): Likewise.
18174 (M_2_SQRT_PIl): Likewise.
18175 (M_SQRT_PIl): Likewise.
18176 (M_1_DIV_El): Likewise.
18177 (log_test_data): Use AUTO_TESTS_f_f.
18178 (log10_test_data): Likewise.
18179 (log1p_test_data): Likewise.
18180 (log2_test_data): Likewise.
18181 (sin_test_data): Likewise.
18182 (sin_tonearest_test_data): Likewise.
18183 (sin_towardzero_test_data): Likewise.
18184 (sin_downward_test_data): Likewise.
18185 (sin_upward_test_data): Likewise.
18186 (sinh_test_data): Likewise.
18187 (sinh_tonearest_test_data): Likewise.
18188 (sinh_towardzero_test_data): Likewise.
18189 (sinh_downward_test_data): Likewise.
18190 (sinh_upward_test_data): Likewise.
18191 (tan_test_data): Likewise.
18192 (tan_tonearest_test_data): Likewise.
18193 (tan_towardzero_test_data): Likewise.
18194 (tan_downward_test_data): Likewise.
18195 (tan_upward_test_data): Likewise.
18196 (tanh_test_data): Likewise.
18197 (tgamma_test_data): Likewise.
18198 (y0_test_data): Likewise.
18199 (y1_test_data): Likewise.
18200 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18201 (special_real_inputs): Add pi/4.
18202 * sysdeps/i386/fpu/libm-test-ulps: Update.
18203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18204
eb5ad6b9
AZ
182052013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18206
18207 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18208 "longjmp_target" static probes.
18209 (__longjmp): Rename to __longjmp_symbol.
18210 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18211 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18212 on which longjmp to generate.
18213 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18214 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18215 probe.
18216 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18217 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18218 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18219 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18220 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18221 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18223 __longjmp_symbol based on which __longjmp to generate.
18224 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18225 probe.
18226 (setjmp): Rename to setjmp_symbol.
18227 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18228 (_setjmp): Rename to _setjmp_symbol.
18229 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18230 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18231 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18232 which setjmp to generate.
18233 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18234 "longjmp_target" static probes.
18235
d136c6dc
SP
182362013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18237
9298ecba
SP
18238 * benchtests/README: Add note about output arguments.
18239 * benchtests/bench-sincos.c: Remove file.
18240 * benchtests/sincos-inputs: New file.
18241 * scripts/bench.pl: Identify output arguments and define
18242 static variables for them.
18243
232983e9
SP
18244 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18245
d136c6dc
SP
18246 [BZ #15941]
18247 * Makefile (INSTALL): Add install-plain.texi as the primary
18248 dependency.
18249 * manual/install-plain.texi: New file.
18250 * manual/install.texi: Include node directive only for
18251 non-plaintext output.
18252
699ff837
JM
182532013-12-04 Joseph Myers <joseph@codesourcery.com>
18254
ab07cea8
JM
18255 * stdlib/longlong.h: Update from GCC.
18256
699ff837
JM
18257 [BZ #6807]
18258 [BZ #15901]
18259 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18260 * math/w_j0f.c (y0f): Likewise.
18261 * math/w_j0l.c (__y0l): Likewise.
18262 * math/w_j1.c (y1): Likewise.
18263 * math/w_j1f.c (y1f): Likewise.
18264 * math/w_j1l.c (__y1l): Likewise
18265 * math/w_jn.c (yn): Likewise.
18266 * math/w_jnf.c (ynf): Likewise.
18267 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18268 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18269 value for Bessel function domain errors outside _SVID_ mode.
18270 Adjust sign of return value for yn (negative integer, 0).
18271 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18272 by zero in return for negative x and set sign appropriately for
18273 negative n.
18274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18275 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18276 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18277 expectations in error cases.
18278 (y1_test_data): Likewise.
18279 (yn_test_data): Likewise.
18280 * sysdeps/i386/fpu/libm-test-ulps: Update.
18281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18282
5b118558
UW
182832013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18284
18285 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18286 "64" to "64-v1". Add "64-v2".
18287 (abi-64-options): Rename to ...
18288 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18289 (abi-64-condition): Rename to ...
18290 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18291 (abi-64-ld-soname): Rename to ...
18292 (abi-64-v1-ld-soname): ... this.
18293 (abi-64-v2-options): Define.
18294 (abi-64-v2-condition): Likewise.
18295 (abi-64-v2-ld-soname): Likewise.
18296 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18297 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18301
61cd8fe4
UW
183022013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18303 Alan Modra <amodra@gmail.com>
18304
18305 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18306 New versions for use with the ELFv2 ABI.
18307 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18308 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18309 declaration.
18310 (struct La_ppc64v2_retval): Likewise.
18311 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18312 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18313 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18314 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18315 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18316 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18317 Do not save or restore CR.
18318 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18319 (_dl_profile_resolve): Do no save or restore CR. Support extended
18320 return values for ELFv2 ABI. Fix location of FPR return registers.
18321 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18322 updated values for _CALL_ELF == 2.
18323 (La_regs, La_retval, int_retval): Likewise.
18324
8b8a692c
UW
183252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18326
18327 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18328 (FRAME_MIN_SIZE_PARM): Likewise.
18329 (FRAME_BACKCHAIN): Likewise.
18330 (FRAME_CR_SAVE): Likewise.
18331 (FRAME_LR_SAVE): Likewise.
18332 (FRAME_TOC_SAVE): Likewise.
18333 (FRAME_PARM_SAVE): Likewise.
18334 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18335 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18336 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18337 (call_mcount_parm_offset): New macro.
18338 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18339 (PROF): Use symbolic stack frame offsets.
18340 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18341 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18342 Redefine in terms of FRAME_MIN_SIZE.
18343 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18344 (_dl_profile_resolve): Likewise. Update comment.
18345 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18346 symbols stack frame offsets.
18347 (__sigsetjmp): Likewise.
18348 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18349 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18350 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18351 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18352
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18354 (FRAME_BACKCHAIN): Remove.
18355 (FRAME_CR_SAVE): Likewise.
18356 (FRAME_LR_SAVE): Likewise.
18357 (FRAME_COMPILER_DW): Likewise.
18358 (FRAME_LINKER_DW): Likewise.
18359 (FRAME_TOC_SAVE): Likewise.
18360 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
18361 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18362 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18363 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18365 (CHECK_SP): Use symbolic stack frame offsets.
18366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18367 zone" instead of caller's parameter save area for temp storage.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18369 Likewise. Also, use symbolic stack frame offsets.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18371 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18372 our own stack frame instead of the caller's.
18373 (__socket): Use symbolic stack frame offsets.
18374
122b66de
UW
183752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18376 Alan Modra <amodra@gmail.com>
18377
18378 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18379 Define.
57f41c40
AS
18380 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18381 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
18382 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18383 New function.
18384 (elf_machine_fixup_plt): Call it.
18385 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18386 reloc arguments.
18387 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
18388 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18389 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
18390 r2 before calling target.
18391
696caf1d
UW
183922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18393 Alan Modra <amodra@gmail.com>
18394
18395 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18396 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18397 versions of macros to support ELFv2 ABI.
18398 (LOCALENTRY): New macro.
18399 (ENTRY, EALIGN): Use it.
18400 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18401 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18402 fall through into ENTRY entry point.
18403 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18404 Only define if _CALL_ELF != 2.
18405
18406 (elf_machine_matches_host): Verify ABI version matches.
18407 (RTLD_START): Use LOCALENTRY.
18408 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18409 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18410 (PLT_ENTRY_WORDS): New macro.
18411 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18412 (elf_machine_runtime_setup): Support ELFv2 ABI.
18413 (elf_machine_fixup_plt): Likewise.
18414 (elf_machine_plt_conflict): Likewise.
18415 (resolve_ifunc): Likewise.
18416 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18417 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18418 Likewise.
18419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18420 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18422 (makecontext): Support ELFv2 ABI.
18423 * elf/elf.h (EF_PPC64_ABI): Define.
18424
d31beafa
UW
184252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18426
57f41c40
AS
18427 * sysdeps/powerpc/powerpc64/sysdep.h
18428 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18429 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18430 (ENTRY) [ASSEMBLER]: ... but instead here ...
18431 (EALIGN) [ASSEMBLER]: ... and here.
18432 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18433 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18434 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
18435 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18436 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
18437 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18438 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
18439 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18441 Use PPC64_LOAD_FUNCPTR.
18442
b525166b
UW
18443 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18444
7ec07d9a
AM
184452013-12-04 Alan Modra <amodra@gmail.com>
18446
18447 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18448 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18449 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18450 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18451
18452 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18453 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18454 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18455 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18456 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18457 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18458
5162e7dd
UW
184592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18460
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18462 (__makecontext): Fix incorrect CFI when backtracing out of
18463 context created via makecontext.
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18465 (__setcontext): Fix incorrect CFI during switch to new context.
18466 (__novec_setcontext): Likewise.
18467
19e3372b
OB
184682013-12-04 Ondřej Bílka <neleai@seznam.cz>
18469
18470 [BZ #4772]
18471 * time/strptime_l.c (__strptime_internal): Allow modifiers
18472 in strptime.
18473 * time/tst-strptime.c (day_tests): Add testcase.
18474
ecaf142d
SP
184752013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18476
18477 * scripts/bench.pl: Skip over blank lines.
18478
fbf964ae
PE
184792013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18480
18481 [BZ #926]
18482 * manual/time.texi (Calendar Time): Clarify what timezone functions
18483 use.
18484
fa60a674
AZ
184852013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18486
18487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18488
d674f0ef
OB
184892013-12-04 Ondřej Bílka <neleai@seznam.cz>
18490
18491 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18492 implementation.
18493 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18494 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18495 * debug/memset_chk.c (__memset_chk): Likewise.
18496 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18497 * debug/strncpy_chk.c: Likewise.
18498
17dea188
JM
184992013-12-03 Joseph Myers <joseph@codesourcery.com>
18500
749008ff
JM
18501 [BZ #15268]
18502 [BZ #15425]
18503 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18504 (__ieee754_exp): For possibly underflowing results, check size of
18505 result and force underflow exception if required.
18506 * math/auto-libm-test-in: Add more tests of exp.
18507 * math/auto-libm-test-out: Regenerated.
18508 * sysdeps/i386/fpu/libm-test-ulps: Update.
18509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18510
17dea188
JM
18511 [BZ #16283]
18512 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18513 * math/w_exp2f.c (__exp2f): Likewise.
18514 * math/w_exp2l.c (__exp2l): Likewise.
18515 * math/auto-libm-test-in: Do not allow missing errno on exp2
18516 underflow.
18517 * math/auto-libm-test-out: Regenerated.
18518
b20de2c3
OB
185192013-12-03 Ondřej Bílka <neleai@seznam.cz>
18520
18521 [BZ #16274]
18522 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18523 handle filename validation.
18524 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18525 (do_open): Delete.
18526
d8e2dbe3
JM
185272013-12-03 Joseph Myers <joseph@codesourcery.com>
18528
34e16df5
JM
18529 [BZ #6786]
18530 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18531 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18532 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18533 <float.h>.
18534 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18536 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18537 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18538 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18539 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18540 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18541 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18542 Add more erfc tests.
18543 * math/auto-libm-test-out: Regenerated.
18544 * sysdeps/i386/fpu/libm-test-ulps: Update.
18545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18546
d8e2dbe3
JM
18547 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18548 exp2, expm1, j0 and j1.
18549 * math/auto-libm-test-out: Regenerated.
18550 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18551 (erfc_test_data): Likewise.
18552 (exp_test_data): Likewise.
18553 (exp_tonearest_test_data): Likewise.
18554 (exp_towardzero_test_data): Likewise.
18555 (exp_downward_test_data): Likewise.
18556 (exp_upward_test_data): Likewise.
18557 (exp10_test_data): Likewise.
18558 (exp2_test_data): Likewise.
18559 (expm1_test_data): Likewise.
18560 (j0_test_data): Likewise.
18561 (j1_test_data): Likewise.
18562 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18563 (input_flag_type): Add flag_xfail_rounding.
18564 (input_flags): Add xfail-rounding.
18565 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18566 (output_for_one_input_case): Handle flag_xfail_rounding.
18567 * sysdeps/i386/fpu/libm-test-ulps: Update.
18568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18569
18d14251
AJ
185702013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18571
3d2e6075 18572 [BZ #16289]
18d14251
AJ
18573 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18574 division by 0.
18575
520d437b
SP
185762013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18577
18578 [BZ #16195]
18579 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18580 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18581 (STAP_PROBE0): New macro.
18582 (STAP_PROBE1): Likewise.
18583 (STAP_PROBE2): Likewise.
18584 (STAP_PROBE3): Likewise.
18585 (STAP_PROBE4): Likewise.
18586
416e0145
OB
185872013-12-02 Ondřej Bílka <neleai@seznam.cz>
18588
18589 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18590
9d17796a
SE
185912013-12-02 Steve Ellcey <sellcey@mips.com>
18592
18593 * benchtests/Makefile (bench): Add sqrt.
18594 (LDLIBS-bench-sqrt): New.
18595 * benchtests/sqrt-input: New.
18596
f524d6a8
PS
185972013-12-02 Pavel Simerda <psimerda@redhat.com>
18598
639a0ef8
PS
18599 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18600 (GAIH_EAI): Likewise.
18601 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18602 (gaih_inet): Likewise.
18603 (getaddrinfo): Don't use GAIH_EAI.
18604
f524d6a8
PS
18605 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18606 (struct gaih): Remove definition.
18607
df3aedaf
SP
186082013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18609
18610 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18611 Use HERRNOP directly.
18612
1ab19dec
AZ
186132013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18614
b42ad38d 18615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 18616
176b0c79
JM
186172013-11-30 Joseph Myers <joseph@codesourcery.com>
18618
18619 * math/gen-auto-libm-tests.c (test_functions): Add more
18620 single-argument functions.
18621 (special_fill_pi_2): New function.
18622 (special_fill_minus_pi_2): Likewise.
18623 (special_fill_pi_6): Likewise.
18624 (special_fill_minus_pi_6): Likewise.
18625 (special_fill_pi_3): Likewise.
18626 (special_fill_2pi_3): Likewise.
18627 (special_fill_e): Likewise.
18628 (special_fill_1_e): Likewise.
18629 (special_fill_e_minus_1): Likewise.
18630 (special_real_inputs): Add more special inputs.
18631 (output_for_one_input_case): Do not require ERANGE on underflow to
18632 zero if round-to-nearest result does not underflow to zero, unless
18633 exact results required.
18634 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18635 atan, atanh, cbrt, cos and cosh.
18636 * math/auto-libm-test-out: Regenerated.
18637 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18638 (acos_tonearest_test_data): Likewise.
18639 (acos_towardzero_test_data): Likewise.
18640 (acos_downward_test_data): Likewise.
18641 (acos_upward_test_data): Likewise.
18642 (acosh_test_data): Likewise.
18643 (asin_test_data): Likewise.
18644 (asin_tonearest_test_data): Likewise.
18645 (asin_towardzero_test_data): Likewise.
18646 (asin_upward_test_data): Likewise.
18647 (asinh_test_data): Likewise.
18648 (atan_test_data): Likewise.
18649 (atanh_test_data): Likewise.
18650 (cbrt_test_data): Likewise.
18651 (cos_test_data): Likewise.
18652 (cos_tonearest_test_data): Likewise.
18653 (cos_towardzero_test_data): Likewise.
18654 (cos_downward_test_data): Likewise.
18655 (cos_upward_test_data): Likewise.
18656 (cosh_test_data): Likewise.
18657 (cosh_tonearest_test_data): Likewise.
18658 (cosh_towardzero_test_data): Likewise.
18659 (cosh_downward_test_data): Likewise.
18660 (cosh_upward_test_data): Likewise.
18661 * sysdeps/i386/fpu/libm-test-ulps: Update.
18662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18663
ffb536d0
JM
186642013-11-29 Joseph Myers <joseph@codesourcery.com>
18665
2a77a467
JM
18666 [BZ #6787]
18667 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18668 * math/w_exp10f.c (__exp10f): Likewise.
18669 * math/w_exp10l.c (__exp10l): Likewise.
18670 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18671 errno settings in existing tests.
18672
ea3bc4e8
JM
18673 [BZ #14032]
18674 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18675 precision control set to double precision.
18676 * sysdeps/i386/fpu/w_sqrt.c: New file.
18677 * math/auto-libm-test-in: Add more tests.
18678 * math/auto-libm-test-out: Update.
18679
0712c9d8
JM
18680 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18681 (sqrt_test_tonearest): New function.
18682 (sqrt_towardzero_test_data): New variable.
18683 (sqrt_test_towardzero): New function.
18684 (sqrt_downward_test_data): New variable.
18685 (sqrt_test_downward): New function.
18686 (sqrt_upward_test_data): New variable.
18687 (sqrt_test_upward): New function.
18688 (main): Call the new functions.
18689
ffb536d0
JM
18690 * math/gen-auto-libm-tests.c: New file.
18691 * math/auto-libm-test-in: Likewise.
18692 * math/auto-libm-test-out: New generated file.
18693 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18694 variables.
18695 (%beautify): Add generated representations of zero.
18696 (top level): Set $auto_input and call parse_auto_input.
18697 (beautify): Remove trailing "f" from hex float constants.
18698 (parse_args): Handle XFAIL_TEST.
18699 (convert_condition): New function.
18700 (or_value): Likewise.
18701 (or_cond_value): Likewise.
18702 (generate_testfile): Handle AUTO_TESTS_* lines.
18703 (parse_auto_input): New function.
18704 * math/libm-test.inc (XFAIL_TEST): New macro.
18705 (ERRNO_UNCHANGED): Update value.
18706 (ERRNO_EDOM): Likewise.
18707 (ERRNO_ERANGE): Likewise.
18708 (IGNORE_RESULT): Likewise.
18709 (TEST_COND_flt_32): New macro.
18710 (TEST_COND_dbl_64): Likewise.
18711 (TEST_COND_ldbl_96_intel): Likewise.
18712 (TEST_COND_ldbl_96_m68k): Likewise.
18713 (TEST_COND_ldbl_128): Likewise.
18714 (TEST_COND_ldbl_128ibm): Likewise.
18715 (TEST_COND_long32): Likewise.
18716 (TEST_COND_long64): Likewise.
18717 (TEST_COND_before_rounding): Likewise.
18718 (TEST_COND_after_rounding): Likewise.
18719 (enable_test): Handle XFAIL_TEST flag.
18720 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18721 with finite results.
18722 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18723 auto-libm-test-out.
18724
acd98a8e
AK
187252013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18726 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18727
18728 [BZ #16214]
18729 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18730 __tls_get_addr_internal instead of __tls_get_offset in order to
18731 avoid GOT pointer dependency. Make rtld export
18732 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18733 __tls_get_addr since we are a __tls_get_offset platform.
18734 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18735 GOT pointer being set up before.
18736 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18737
3c1c46a6
JM
187382013-11-28 Joseph Myers <joseph@codesourcery.com>
18739
7475aef5
JM
18740 * manual/math.texi (Errors in Math Functions): Document accuracy
18741 goals.
18742
8bca7cd8
JM
18743 [BZ #15004]
18744 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18745 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18748 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18750 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18754 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18759 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18760
91a1f3fe
JM
18761 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18762 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18763 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18764 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18765 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18766 Likewise.
18767 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18768 Likewise.
18769 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18770 Likewise.
18771 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18772 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18773 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18774 atomic-feupdateenv and flt-rounds.
18775 * sysdeps/powerpc/nofpu/Versions (libc): Add
18776 __atomic_feholdexcept, __atomic_feclearexcept,
18777 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18778 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18779 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18780 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18781 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18782 here.
18783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18784 Update.
18785
c5df7609
JM
18786 * manual/arith.texi (FP Exceptions): Document that exceptions may
18787 not be raised when matherr is used.
18788 (Math Error Reporting): Document overflow in directed rounding
18789 modes. Document that errno may not be set when finite values are
18790 returned on overflow. Document intent to set errno on underflow
18791 only for underflow to zero.
18792
3c1c46a6
JM
18793 [BZ #16271]
18794 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18795 round-to-nearest then adjust result for other rounding modes.
18796 * include/fenv.h (fegetround): Use libm_hidden_proto.
18797 * math/fegetround.c (fegetround): Use libm_hidden_def.
18798 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18799 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18800 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18801 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18802 Likewise.
18803 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18804 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18805 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18806 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18807
5a4c6d53
SP
188082013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18809
18810 [BZ #16077]
18811 * nss/Versions (libnss_files): Add
18812 _nss_files_gethostbyname3_r.
18813 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18814 New function.
18815 (HOST_DB_LOOKUP): Remove macro.
18816 (_nss_files_gethostbyname_r): Implement function without the
18817 HOST_DB_LOOKUP macro.
18818 (_nss_files_gethostbyname2_r): Likewise.
18819
897b98ba
OB
188202013-11-28 Ondřej Bílka <neleai@seznam.cz>
18821
18822 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18823
6f476861
UB
188242013-11-26 Uros Bizjak <ubizjak@gmail.com>
18825
18826 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18827 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18828 warning.
18829
bd12ab55
AZ
188302013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18831
18832 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18833 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18834 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18835 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18836 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18837 __fe_nomask_env_priv and attribute_hidden.
18838 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18839 (libc_feupdateenv_test_ppc): Likewise.
18840 (libc_feresetround_ppc): Likewise.
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18842 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18843 compat_symbol macro.
18844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18845 (__fe_nomask_env): Likewise.
18846 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18847
52bb6543
OB
188482013-11-26 Ondřej Bílka <neleai@seznam.cz>
18849
18850 * string/Makefile: Remove ifunc tests.
18851 * string/test-string.h: Define TEST_IFUNC.
18852 * string/test-bcopy-ifunc.c: Remove.
18853 * string/test-bzero-ifunc.c: Likewise.
18854 * string/test-memccpy-ifunc.c: Likewise.
18855 * string/test-memchr-ifunc.c: Likewise.
18856 * string/test-memcmp-ifunc.c: Likewise.
18857 * string/test-memcpy-ifunc.c: Likewise.
18858 * string/test-memmem-ifunc.c: Likewise.
18859 * string/test-memmove-ifunc.c: Likewise.
18860 * string/test-mempcpy-ifunc.c: Likewise.
18861 * string/test-memrchr-ifunc.c: Likewise.
18862 * string/test-memset-ifunc.c: Likewise.
18863 * string/test-rawmemchr-ifunc.c: Likewise.
18864 * string/test-stpcpy-ifunc.c: Likewise.
18865 * string/test-stpncpy-ifunc.c: Likewise.
18866 * string/test-strcasecmp-ifunc.c: Likewise.
18867 * string/test-strcasestr-ifunc.c: Likewise.
18868 * string/test-strcat-ifunc.c: Likewise.
18869 * string/test-strchr-ifunc.c: Likewise.
18870 * string/test-strchrnul-ifunc.c: Likewise.
18871 * string/test-strcmp-ifunc.c: Likewise.
18872 * string/test-strcpy-ifunc.c: Likewise.
18873 * string/test-strcspn-ifunc.c: Likewise.
18874 * string/test-strlen-ifunc.c: Likewise.
18875 * string/test-strncasecmp-ifunc.c: Likewise.
18876 * string/test-strncat-ifunc.c: Likewise.
18877 * string/test-strncmp-ifunc.c: Likewise.
18878 * string/test-strncpy-ifunc.c: Likewise.
18879 * string/test-strnlen-ifunc.c: Likewise.
18880 * string/test-strpbrk-ifunc.c: Likewise.
18881 * string/test-strrchr-ifunc.c: Likewise.
18882 * string/test-strspn-ifunc.c: Likewise.
18883 * string/test-strstr-ifunc.c: Likewise.
18884
ab260039 188852013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18886
18887 * benchtests/Makefile: Remove ifunc tests.
18888 * benchtests/bench-string.h: Define TEST_IFUNC.
18889 * benchtests/bench-bcopy-ifunc.c: Remove.
18890 * benchtests/bench-bzero-ifunc.c: Likewise.
18891 * benchtests/bench-memccpy-ifunc.c: Likewise.
18892 * benchtests/bench-memchr-ifunc.c: Likewise.
18893 * benchtests/bench-memcmp-ifunc.c: Likewise.
18894 * benchtests/bench-memcpy-ifunc.c: Likewise.
18895 * benchtests/bench-memmem-ifunc.c: Likewise.
18896 * benchtests/bench-memmove-ifunc.c: Likewise.
18897 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18898 * benchtests/bench-memrchr-ifunc.c: Likewise.
18899 * benchtests/bench-memset-ifunc.c: Likewise.
18900 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18901 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18902 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18903 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18904 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18905 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18906 * benchtests/bench-strcat-ifunc.c: Likewise.
18907 * benchtests/bench-strchr-ifunc.c: Likewise.
18908 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18909 * benchtests/bench-strcmp-ifunc.c: Likewise.
18910 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18911 * benchtests/bench-strcpy-ifunc.c: Likewise.
18912 * benchtests/bench-strcspn-ifunc.c: Likewise.
18913 * benchtests/bench-strlen-ifunc.c: Likewise.
18914 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18915 * benchtests/bench-strncat-ifunc.c: Likewise.
18916 * benchtests/bench-strncmp-ifunc.c: Likewise.
18917 * benchtests/bench-strncpy-ifunc.c: Likewise.
18918 * benchtests/bench-strnlen-ifunc.c: Likewise.
18919 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18920 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18921 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18922 * benchtests/bench-strspn-ifunc.c: Likewise.
18923 * benchtests/bench-strstr-ifunc.c: Likewise.
18924
189252013-11-26 Ondřej Bílka <neleai@seznam.cz>
18926
ab260039
OB
18927 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18928
d1d9eaf4 189292013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18930
d1d9eaf4
OB
18931 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18932 * rt/aio.h: Likewise.
18933 * sysdeps/gnu/bits/utmp.h: Likewise.
18934 * sysdeps/gnu/bits/utmpx.h: Likewise.
18935 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18936 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18937 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18938 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18939 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18940 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18941 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18942 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18943 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18944 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18945 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18946 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18947 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18949 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18950 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18951 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18952 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18953 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18954 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18955 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18956 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18957 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18958 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18959 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18961 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18962 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18963 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18964 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18965 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18966 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18967 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18968 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18969 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18970 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18971 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18972 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18973 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18974 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18975 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18976 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18977
a7624ed9
CD
189782013-11-25 Carlos O'Donell <carlos@redhat.com>
18979
18980 [BZ #16245]
18981 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18982 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18983
63cfe52b
JM
189842013-11-25 Joseph Myers <joseph@codesourcery.com>
18985
18986 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18987 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18988 Likewise.
18989
41e8926a
AZ
189902013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18991
18992 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18993 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18994 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18995 (__fesetround): Remove define.
18996 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18997 rounding and exceptions handling.
18998 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18999 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19000 (__fe_nomask_env): Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19002 __fegetround instead of fegetround.
19003 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19005
6851bd4d
RM
190062013-11-21 Roland McGrath <roland@hack.frob.com>
19007
070906ff
RM
19008 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19009 it's there.
19010
6851bd4d
RM
19011 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19012
84ae135d
MI
190132013-11-21 Meador Inge <meadori@codesourcery.com>
19014
19015 [BZ #11157]
19016 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19017 (encrypt_r): Likewise.
19018 * malloc/obstack.h (obstack_free): Likewise.
19019 * posix/unistd.h (encrypt): Likewise.
19020
daf75146
GM
190212013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19022
19023 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19024 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19025 DL_CALL_DT_FINI() that call the functions directly.
19026 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19027 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19028 * elf/dl-fini.c: Likewise.
19029
10ad46bc
OB
190302013-11-20 Ondřej Bílka <neleai@seznam.cz>
19031
19032 * malloc/hooks.c (memalign_check): Add alignment rounding.
19033 * malloc/malloc.c (_mid_memalign): New function.
19034 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19035 Implement by calling _mid_memalign.
19036 * manual/probes.texi (Memory Allocation Probes): Remove
19037 memory_valloc_retry and memory_pvalloc_retry.
19038
f3fd2628
SP
190392013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19040
4712799f
SP
19041 * locale/programs/locarchive.c (open_archive): Add const
19042 qualifier to ARCHIVEFNAME and copy default fname to
19043 DEFAULT_FNAME.
19044
0417b20f
SP
19045 [BZ #15601]
19046 * libio/tst-widetext.input: Rename Oriya to Odia.
19047 * locale/iso-639.def: Likewise.
19048
f3fd2628
SP
19049 * manual/probes.texi (Mathematical Function Probes): Add
19050 documentation for sin, cos, asin and acos probes.
19051 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19052 (__sin32): Add slowasin probe.
19053 (__cos32): Add slowacos probe.
19054 (__mpsin): Add slowsin probe.
19055 (__mpcos): Add slowcos probe.
19056
73c1ce4f
JM
190572013-11-19 Joseph Myers <joseph@codesourcery.com>
19058
19059 [BZ #15483]
19060 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19061 thread-local __sim_exceptions_thread and global
19062 __sim_exceptions_global.
19063 (__sim_disabled_exceptions): Change to thread-local
19064 __sim_disabled_exceptions_thread and global
19065 __sim_disabled_exceptions_global.
19066 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19067 and global __sim_round_mode_global.
19068 (__simulate_exceptions): Use thread-local floating-point state and
19069 set global state from it as needed.
19070 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19071 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19072 __sim_round_mode_thread.
19073 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19074 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19075 and global __sim_exceptions_global.
19076 (__sim_disabled_exceptions): Change to thread-local
19077 __sim_disabled_exceptions_thread and global
19078 __sim_disabled_exceptions_global.
19079 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19080 and global __sim_round_mode_global.
19081 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19082 (SIM_SET_GLOBAL): Likewise.
19083 * sysdeps/powerpc/soft-fp/sfp-machine.h
19084 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19085 __sim_round_mode_thread.
19086 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19087 __sim_disabled_exceptions_thread.
19088 (__sim_exceptions): Change to __sim_exceptions_thread.
19089 (__sim_disabled_exceptions): Change to
19090 __sim_disabled_exceptions_thread.
19091 (__sim_round_mode): Change to __sim_round_mode_thread.
19092 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19093 thread-local floating-point state and set global state from it as
19094 needed.
19095 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19096 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19097 (__sim_disabled_exceptions): Remove extern declaration.
19098 (feenableexcept): Use thread-local floating-point state and set
19099 global state from it as needed.
19100 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19101 extern declaration.
19102 (__sim_disabled_exceptions): Likewise.
19103 (__sim_round_mode): Likewise.
19104 (__fegetenv): Use thread-local floating-point state.
19105 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19106 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19107 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19108 floating-point state and set global state from it as needed.
19109 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19110 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19111 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19112 Likewise.
19113 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19114 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19115 Likewise.
19116 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19117 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19118 Use __sim_round_mode_thread.
19119 * math/test-fenv-tls.c: New file.
19120 * math/Makefile (tests): Add test-fenv-tls.
19121 ($(objpfx)test-fenv-tls): Depend on
19122 $(common-objpfx)nptl/libpthread.so.
19123
b5449b12
AS
191242013-11-19 Andreas Schwab <schwab@suse.de>
19125
19126 * locale/programs/locale.c (show_info): Decode wordarray elements.
19127 * locale/categories.def (LC_MONETARY): Add element for
19128 _NL_MONETARY_CRNCYSTR.
19129 * locale/C-monetary.c (conversion_rate): New variable.
19130 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19131 element.
19132
e186536b
CM
191332013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19134
19135 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19136 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19137
5c349950
PP
191382013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19139
19140 * elf/Makefile (tst-auxv): New test.
19141 * elf/tst-auxv.c: New
19142 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19143
699df45b
JM
191442013-11-18 Joseph Myers <joseph@codesourcery.com>
19145
19146 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19147 (hidden_proto): Caller changed.
19148 (hidden_tls_proto): New macro.
19149 (libc_hidden_tls_proto): Likewise.
19150 (rtld_hidden_tls_proto): Likewise.
19151 (libm_hidden_tls_proto): Likewise.
19152 (libresolv_hidden_tls_proto): Likewise.
19153 (librt_hidden_tls_proto): Likewise.
19154 (libdl_hidden_tls_proto): Likewise.
19155 (libnss_files_hidden_tls_proto): Likewise.
19156 (libnsl_hidden_tls_proto): Likewise.
19157 (libnss_nisplus_hidden_tls_proto): Likewise.
19158 (libutil_hidden_tls_proto): Likewise.
19159
b7589107
OB
191602013-11-18 Ondřej Bílka <neleai@seznam.cz>
19161
19162 [BZ #10253]
19163 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19164 (decompose_rpath): Defer expansion to fillin_rpath.
19165 (_dl_init_paths): Pass linkmap to fillin_rpath.
19166
250c23bd
RS
191672013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19168
19169 * benchtests/Makefile: Add strsep.
19170 * benchtests/bench-strsep.c: New file: strsep benchtest.
19171 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19172
a7931fcf
AS
191732013-11-18 Andreas Schwab <schwab@suse.de>
19174
19175 * locale/programs/locale.c (show_info) [case byte]: Check for
19176 '\377' instead of '\177'.
19177 * locale/C-monetary.c (not_available): Always use "\377".
19178 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19179 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19180 detect unavailable sign_posn locale elements.
19181 * locale/localeconv.c (__localeconv): For grouping and
19182 mon_grouping handle "\177" and "\377" like no grouping.
19183 (INT_ELEM): New macro. Use it to set all numeric members.
19184 * locale/programs/ld-monetary.c (monetary_read)
19185 <tok_mon_grouping>: Normalize single -1 to the empty string.
19186 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19187 Likewise.
19188
728dab0e
OB
191892013-11-07 Ondřej Bílka <neleai@seznam.cz>
19190
19191 [BZ #16055]
19192 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19193 when we match (nil).
19194 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19195
66294491
JM
191962013-11-16 Joseph Myers <joseph@codesourcery.com>
19197
ce665817
JM
19198 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19199 (NO_TEST_INLINE): Update value.
19200 (ERRNO_UNCHANGED): Likewise.
19201 (ERRNO_EDOM): Likewise.
19202 (ERRNO_ERANGE): Likewise.
19203 (IGNORE_RESULT): Likewise.
19204 (check_float_internal): Check signs of NaN results if
19205 TEST_NAN_SIGN used.
19206 (check_complex): Pass TEST_NAN_SIGN flag through to second
19207 check_float_internal call.
19208 (copysign_test_data): Add tests with quiet NaNs as second
19209 argument. Use TEST_NAN_SIGN.
19210 (fabs_test_data): Add test of negative quiet NaN argument. Use
19211 TEST_NAN_SIGN.
19212 (signbit_test_data): Add tests of quiet NaN argument.
19213 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19214
ee1466a9
JM
19215 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19216 $ignore_result.
19217 (parse_args): Handle function results specified as IGNORE.
19218 * math/libm-test.inc (IGNORE_RESULT): New macro.
19219 (check_float_internal): Do not check numerical result if flag
19220 IGNORE_RESULT set.
19221 (check_complex): Pass through IGNORE_RESULT to second
19222 check_float_internal call.
19223 (check_int): Do not check numerical result if flag IGNORE_RESULT
19224 set.
19225 (check_long): Likewise.
19226 (check_bool): Likewise.
19227 (check_longlong): Likewise.
19228 (lrint_test_data): Add tests of infinite and NaN arguments.
19229 (lrint_tonearest_test_data): Likewise.
19230 (lrint_towardzero_test_data): Likewise.
19231 (lrint_downward_test_data): Likewise.
19232 (lrint_upward_test_data): Likewise.
19233 (llrint_test_data): Likewise.
19234 (llrint_tonearest_test_data): Likewise.
19235 (llrint_towardzero_test_data): Likewise.
19236 (llrint_downward_test_data): Likewise.
19237 (llrint_upward_test_data): Likewise.
19238 (lround_test_data): Likewise.
19239 (llround_test_data): Likewise.
19240
14407b7e
JM
19241 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19242 (ERRNO_UNCHANGED): Update value.
19243 (ERRNO_EDOM): Likewise.
19244 (ERRNO_ERANGE): Likewise.
19245 (NO_TEST_INLINE_FLOAT): New macro.
19246 (NO_TEST_INLINE_DOUBLE): Likewise.
19247 (enable_test): New function.
19248 (RUN_TEST_f_f): Check enable_test before running test.
19249 (RUN_TEST_2_f): Likewise.
19250 (RUN_TEST_fff_f): Likewise.
19251 (RUN_TEST_c_f): Likewise.
19252 (RUN_TEST_f_f1): Likewise.
19253 (RUN_TEST_fF_f1): Likewise.
19254 (RUN_TEST_fI_f1): Likewise.
19255 (RUN_TEST_ffI_f1): Likewise.
19256 (RUN_TEST_c_c): Likewise.
19257 (RUN_TEST_cc_c): Likewise.
19258 (RUN_TEST_f_i): Likewise.
19259 (RUN_TEST_f_i_tg): Likewise.
19260 (RUN_TEST_ff_i_tg): Likewise.
19261 (RUN_TEST_f_b): Likewise.
19262 (RUN_TEST_f_b_tg): Likewise.
19263 (RUN_TEST_f_l): Likewise.
19264 (RUN_TEST_f_L): Likewise.
19265 (RUN_TEST_fFF_11): Likewise.
19266 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19267 conditionals.
19268 (cosh_test_data): Likewise.
19269 (exp_test_data): Likewise.
19270 (expm1_test_data): Likewise.
19271 (hypot_test_data): Likewise.
19272 (pow_test_data): Likewise.
19273 (sinh_test_data): Likewise.
19274 (tanh_test_data): Likewise.
19275 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19276 flags argument.
19277
ca07f197
JM
19278 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19279 tests with quiet NaN input and output.
19280 (acosh_test_data): Likewise.
19281 (asin_test_data): Likewise.
19282 (asinh_test_data): Likewise.
19283 (atan_test_data): Likewise.
19284 (atanh_test_data): Likewise.
19285 (atan2_test_data): Likewise.
19286 (cbrt_test_data): Likewise.
19287 (cos_test_data): Likewise.
19288 (cosh_test_data): Likewise.
19289 (erf_test_data): Likewise.
19290 (erfc_test_data): Likewise.
19291 (exp_test_data): Likewise.
19292 (exp10_test_data): Likewise.
19293 (exp2_test_data): Likewise.
19294 (expm1_test_data): Likewise.
19295 (hypot_test_data): Likewise.
19296 (j0_test_data): Likewise.
19297 (j1_test_data): Likewise.
19298 (jn_test_data): Likewise.
19299 (lgamma_test_data): Likewise.
19300 (log_test_data): Likewise.
19301 (log10_test_data): Likewise.
19302 (log1p_test_data): Likewise.
19303 (log2_test_data): Likewise.
19304 (pow_test_data): Likewise.
19305 (scalb_test_data): Likewise.
19306 (sin_test_data): Likewise.
19307 (sincos_test_data): Likewise.
19308 (sinh_test_data): Likewise.
19309 (tan_test_data): Likewise.
19310 (tanh_test_data): Likewise.
19311 (tgamma_test_data): Likewise.
19312 (y0_test_data): Likewise.
19313 (y1_test_data): Likewise.
19314 (yn_test_data): Likewise.
19315
66294491
JM
19316 [BZ #16167]
19317 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19318 argument being NaN and avoid computations with second argument in
19319 that case.
19320 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19321 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19322 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19323
1820b143
CL
193242013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19325
19326 * locale/iso-639.def: Add Chitwani Tharu (the).
19327
714bd261
AS
193282013-11-14 Andreas Schwab <schwab@suse.de>
19329
19330 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19331 word instead of empty string.
19332
7ab44563
AZ
193332013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19334
19335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19336 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19338 (__fe_nomask_env): Likewise.
19339
e8470ea2
SE
193402013-11-13 Steve Ellcey <sellcey@mips.com>
19341
19342 * benchtests/bench-timing.h: Include time.h.
19343
17c1d9f0
L
193442013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19345
19346 [BZ #15997]
19347 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19348 to 3.4.0 for x32.
19349 * sysdeps/unix/sysv/linux/configure: Regenerated.
19350
9310c284
JM
193512013-11-13 Joseph Myers <joseph@codesourcery.com>
19352
19353 [BZ #16151]
19354 * stdlib/strtod_l.c (round_and_return): Do not consider
19355 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19356 exponent one less than half the least subnormal exponent.
19357 * stdlib/test-strtod-round-data: Add more tests.
19358 * stdlib/tst-strtod-round.c (tests): Regenerated.
19359
7a2ad8cf
AZ
193602013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19361
19362 [BZ #14143]
19363 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19364 (__fe_mask_env): Likewise.
19365 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19366 libm_hidden_proto and add function prototype.
19367 (__fe_mask_env): Add function prototype.
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19369 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19371 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19373 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19374
50727aa7
MS
193752013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19376
b2f386c1 19377 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
19378 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19379
a615be46
MS
193802013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19381
19382 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19383 of htab_find_slot().
19384
7ddace62
DM
193852013-11-11 David S. Miller <davem@davemloft.net>
19386
19387 [BZ #16150]
19388 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19389 symbol in the non-vis3 case in static builds.
19390 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19391 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19392 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19393 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19394
9182aa67
JK
193952013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19396
19397 [BZ #387]
19398 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19399 it is empty.
19400
450a2e2d
AZ
194012013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19402
b2f386c1
SP
19403 * benchtests/Makefile: Add bench-strtod.
19404 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 19405
8ec3f656
AS
194062013-11-11 Andreas Schwab <schwab@suse.de>
19407
19408 [BZ #16153]
19409 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19410 terminating NUL in key length.
19411
76a9b998
AZ
194122013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19413
19414 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19415 Add artificial ODP entry for vDSO symbol for PPC64.
19416 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19417 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19418
e4368156
OB
194192013-11-07 Ondřej Bílka <neleai@seznam.cz>
19420
19421 [BZ #15374]
19422 * nss/getent.c (services_keys): Recognize services starting with digit.
19423
8d6bb57c
DM
194242013-11-06 David S. Miller <davem@davemloft.net>
19425
19426 [BZ #15985]
19427 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19428 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19429
e256c421
WN
194302013-11-06 Will Newton <will.newton@linaro.org>
19431
19432 * manual/memory.texi (Malloc Examples): Remove register
19433 keyword from examples.
19434
f6e12daa 194352013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 19436
f6e12daa 19437 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 19438
9d880655
AS
194392013-11-04 Joseph Myers <joseph@codesourcery.com>
19440
fd2f9486 19441 [BZ #6981]
9d880655
AS
19442 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19443 depending on [__GCC_IEC_559 > 0].
19444 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19445 depending on [__GCC_IEC_559_COMPLEX > 0].
19446
ae129d3c
CL
194472013-11-03 Chris Leonard <cjl@sugarlabs.org>
19448
19449 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19450 to iso-639.def.
19451
4a15c2a4 194522013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
19453
19454 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19455
8b35e35d
OB
194562013-11-01 Ondřej Bílka <neleai@seznam.cz>
19457
19458 [BZ #16112]
19459 * malloc/malloc (malloc_info): Do not handle first bin as
19460 special case.
19461
1d70fd6c
CL
194622013-11-01 Chris Leonard <cjl@sugarlabs.org>
19463
19464 * locale/iso-639.def: Add Central Nahuatl (nhn).
19465
8c5c2600
BH
194662013-11-01 Bruno Haible <bruno@clisp.org>
19467
19468 [BZ #7003]
19469 * manual/math.texi (BSD Random): Specify range upper bound as
19470 in POSIX.
19471
da5579c2
CL
194722013-10-31 Chris Leonard <cjl@sugarlabs.org>
19473
19474 * locale/iso-639.def: Add Meadow Mari (mhr).
19475
5d30d853
OB
194762013-10-31 Ondřej Bílka <neleai@seznam.cz>
19477
19478 [BZ #14752], [BZ #15763]
19479 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19480 Validate name.
19481 * rt/tst_shm.c: Add test for escaping directory.
19482
a4966c61
AS
194832013-10-31 Andreas Schwab <schwab@suse.de>
19484
8a43e768 19485 [BZ #15917]
a4966c61
AS
19486 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19487 followed by 'x' as part of digit sequence.
19488 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19489
28d708c4
MAP
194902013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19491
19492 [BZ #16037]
19493 * configure.ac: allow GNU Make 4.0 and greater.
19494 * configure: Regenerated.
19495
a56ee40b
WN
194962013-10-30 Will Newton <will.newton@linaro.org>
19497
19498 [BZ #16038]
19499 * malloc/hooks.c (memalign_check): Limit alignment to the
19500 maximum representable power of two.
19501 * malloc/malloc.c (__libc_memalign): Likewise.
19502 * malloc/tst-memalign.c (do_test): Add test for very
19503 large alignment values.
19504 * malloc/tst-posix_memalign.c (do_test): Likewise.
19505
c6e4925d
OB
195062013-10-30 Ondřej Bílka <neleai@seznam.cz>
19507
19508 [BZ #11087]
19509 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19510 (munmap_chunk): Likewise.
19511 (mremap_chunk): Likewise.
19512
195132013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 19514
8a43e768 19515 [BZ #15799]
bbea82f7
OB
19516 * stdlib/div.c (div): Remove obsolete code.
19517 * stdlib/ldiv.c (ldiv): Likewise.
19518 * stdlib/lldiv.c (lldiv): Likewise.
19519
977f4b31
SP
195202013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19521
19522 [BZ #16071]
19523 * nss/nss_files/files-XXX.c (get_contents_ret): New
19524 enumerator.
19525 (get_contents): New function.
19526 (internal_getent): Use it. Expand size of LINEBUFLEN.
19527
cb8a6dbd
MF
195282013-10-30 Mike Frysinger <vapier@gentoo.org>
19529
19530 * configure.in: Moved to ...
19531 * configure.ac: ... here. Change reference to configure.in
19532 to configure.ac.
19533 * sysdeps/arm/preconfigure.ac: ... here.
19534 configure.in to configure.ac.
19535 * sysdeps/gnu/configure.in: Moved to ...
19536 * sysdeps/gnu/configure.ac: ... here.
19537 * sysdeps/i386/configure.in: Moved to ...
19538 * sysdeps/i386/configure.ac: ... here.
19539 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19540 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19541 * sysdeps/mach/configure.in: Moved to ...
19542 * sysdeps/mach/configure.ac: ... here.
19543 * sysdeps/mach/hurd/configure.in: Moved to ...
19544 * sysdeps/mach/hurd/configure.ac: ... here.
19545 * sysdeps/powerpc/configure.in: Moved to ...
19546 * sysdeps/powerpc/configure.ac: ... here.
19547 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19548 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19549 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19550 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19551 * sysdeps/s390/s390-32/configure.in: Moved to ...
19552 * sysdeps/s390/s390-32/configure.ac: ... here.
19553 * sysdeps/s390/s390-64/configure.in: Moved to ...
19554 * sysdeps/s390/s390-64/configure.ac: ... here.
19555 * sysdeps/sh/configure.in: Moved to ...
19556 * sysdeps/sh/configure.ac: ... here.
19557 * sysdeps/sparc/configure.in: Moved to ...
19558 * sysdeps/sparc/configure.ac: ... here.
19559 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19560 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19561 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19562 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19563 * sysdeps/x86_64/configure.in: Moved to ...
19564 * sysdeps/x86_64/configure.ac: ... here.
19565 * sysdeps/x86_64/preconfigure.in: Moved to ...
19566 * sysdeps/x86_64/preconfigure.ac: ... here.
19567 * aclocal.m4: Change reference to configure.in to configure.ac.
19568 * config.h.in: Likewise.
19569 * manual/install.texi: Likewise.
19570 * manual/maint.texi: Likewise.
19571 * Makefile: Likewise.
19572 * malloc/Makefile: Likewise.
19573 * nscd/Makefile: Likewise.
19574 * Makeconfig: Change reference to configure.in and
19575 preconfigure.in to configure.ac and preconfigure.ac
19576 respectively.
19577 * INSTALL: Regenerated.
19578 * configure: Likewise.
19579 * sysdeps/gnu/configure: Likewise.
19580 * sysdeps/i386/configure: Likewise.
19581 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19582 * sysdeps/mach/configure: Likewise.
19583 * sysdeps/mach/hurd/configure: Likewise.
19584 * sysdeps/powerpc/configure: Likewise.
19585 * sysdeps/powerpc/powerpc32/configure: Likewise.
19586 * sysdeps/powerpc/powerpc64/configure: Likewise.
19587 * sysdeps/s390/s390-32/configure: Likewise.
19588 * sysdeps/s390/s390-64/configure: Likewise.
19589 * sysdeps/sh/configure: Likewise.
19590 * sysdeps/sparc/configure: Likewise.
19591 * sysdeps/unix/sysv/linux/configure: Likewise.
19592 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19593 * sysdeps/x86_64/configure: Likewise.
19594 * sysdeps/x86_64/preconfigure: Likewise.
19595
36a4953a
AS
195962013-10-29 Andreas Schwab <schwab@suse.de>
19597
19598 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19599
c79a1204
SP
196002013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19601
dfa1b402
SP
19602 * benchtests/pow-inputs: Add new inputs.
19603
54f73d9c
SP
19604 * benchtests/exp-inputs: Add new inputs.
19605
c79a1204
SP
19606 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19607 conditional check for return value.
19608 (__cos32): Likewise.
19609
67beb545 196102013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
19611
19612 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19613 to provide a boost for large inputs with word alignment.
19614 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19615 implementation based on optimized PPC64 strcpy.
19616 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19617 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19618 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19619 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19620
151659f6
OB
196212013-10-25 Ondřej Bílka <neleai@seznam.cz>
19622
482a077e 19623 [BZ #2801]
151659f6
OB
19624 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19625
10b0f26b
OB
196262013-10-25 Ondřej Bílka <neleai@seznam.cz>
19627
19628 [BZ #14876]
19629 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19630 * time/tst-strptime.c (day_tests): Add testcase.
19631
ca42d35e
OB
196322013-10-25 Ondřej Bílka <neleai@seznam.cz>
19633
482a077e 19634 [BZ #14029]
ca42d35e
OB
19635 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19636
52e6d801
FB
196372013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19638
19639 [BZ #16074]
19640 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19641 MAP_FAILED on error.
19642
7cbcdb36
SP
196432013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19644
19645 [BZ #16072]
19646 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19647 heap for large requests.
19648
894f3f10
AM
196492013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19650
19651 [BZ #9954]
19652 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19653 result if the result has no associated interface.
19654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19655 interface for all 127.X.Y.Z addresses.
19656
b85545a6
CL
196572013-10-24 Chris Leonard <cjl@sugarlabs.org>
19658
19659 * locale/iso-639.def: Add Ligurian (lij)
19660
d1f23d46
OB
196612013-10-21 Ondřej Bílka <neleai@seznam.cz>
19662
19663 [BZ #15825]
19664 * sunrpc/rpc_main.c: Document rpcgen -5.
19665
4db5b08f
MS
196662013-10-19 Michael Stahl <mstahl@redhat.com>
19667
19668 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19669
a471e96a
OB
196702013-10-19 Ondřej Bílka <neleai@seznam.cz>
19671
d1f23d46 19672 [BZ #10278]
a471e96a
OB
19673 * posix/glob.c: Match only directories when trailing slash is present.
19674 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19675 (main): Add testcase.
19676
45c30c61
OB
196772013-10-19 Ondřej Bílka <neleai@seznam.cz>
19678
19679 [BZ #15670]
19680 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19681
484c12fb
CD
196822013-10-18 Carlos O'Donell <carlos@redhat.com>
19683
3d7dc513
CD
19684 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19685 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19686 AUTH_DES and cindex for FIPS 140-2.
19687 (DES Encryption): Add cindex FIPS 46-3.
19688
484c12fb
CD
19689 * locale/locarchive.h (struct locarhandle): Add fname.
19690 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19691 if an optional argument was specified to --list-archive,
19692 otherwise NULL.
19693 * locale/programs/locarchive.c (show_archive_content): Take new
19694 argument fname and pass it via ah.fname to open_archive.
19695 * locale/programs/localedef.h: Update decl.
19696 (open_archive): If AH->fname is non-null, open that file
19697 rather than the default file name, and don't ignore ENOENT.
19698 (create_archive): Set AH.fname to NULL.
19699 (delete_locales_from_archive): Likewise.
19700 (add_locales_to_archive): Likewise.
19701 * locale/programs/locfile.c (write_all_categories): Likewise.
19702
3c8325fb
JM
197032013-10-18 Joseph Myers <joseph@codesourcery.com>
19704 Aldy Hernandez <aldyh@redhat.com>
19705
19706 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19707 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19708 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19709 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19710 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19711 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19712 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19713 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19714 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19715 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19716 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19717 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19718 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19719 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19720 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19721 Likewise.
19722 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19723 Likewise.
19724 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19725 Likewise.
19726 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19727 Likewise.
19728 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19729 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19730 Likewise.
19731 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19732 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19733 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19734 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19735 Likewise.
19736 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19737 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19738 * sysdeps/powerpc/preconfigure: Likewise.
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19740 Likewise.
19741 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19742 Replace contents of file by #include of <fenv_libc.h>.
19743 * sysdeps/powerpc/soft-fp/sfp-machine.h
19744 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19745 and <sys/prctl.h>.
19746 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19747 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19748 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19749 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19750 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19751 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19753 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19754 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19755 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19756 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19757 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19759 Allow copysignl PLT reference to be missing.
19760
5abe0682
RS
197612013-10-18 Richard Sandiford <richard@codesourcery.com>
19762 Joseph Myers <joseph@codesourcery.com
19763
19764 [BZ #15948]
19765 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19766 single character.
19767 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19768
c7738d08
SP
197692013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19770
19771 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19772 * elf/tst-tls1.c: Likewise.
19773 * elf/tst-tls10.h: Likewise.
19774 * elf/tst-tls14.c: Likewise.
19775 * elf/tst-tls2.c: Likewise.
19776 * elf/tst-tls3.c: Likewise.
19777 * elf/tst-tls4.c: Likewise.
19778 * elf/tst-tls5.c: Likewise.
19779 * elf/tst-tls6.c: Likewise.
19780 * elf/tst-tls7.c: Likewise.
19781 * elf/tst-tls8.c: Likewise.
19782 * elf/tst-tls9.c: Likewise.
19783 * elf/tst-tlsmod1.c: Likewise.
19784 * elf/tst-tlsmod13.c: Likewise.
19785 * elf/tst-tlsmod13a.c: Likewise.
19786 * elf/tst-tlsmod14a.c: Likewise.
19787 * elf/tst-tlsmod16a.c: Likewise.
19788 * elf/tst-tlsmod16b.c: Likewise.
19789 * elf/tst-tlsmod2.c: Likewise.
19790 * elf/tst-tlsmod3.c: Likewise.
19791 * elf/tst-tlsmod4.c: Likewise.
19792 * elf/tst-tlsmod5.c: Likewise.
19793 * elf/tst-tlsmod6.c: Likewise.
19794
0bfcf2c7
OB
197952013-10-18 Ondřej Bílka <neleai@seznam.cz>
19796
19797 [BZ #12486]
19798 * malloc/malloc.c: remove checks for statistics.
19799
264aad1e
OB
198002013-10-17 Ondřej Bílka <neleai@seznam.cz>
19801
19802 [BZ #15277]
19803 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19804 * inet/tst-network.c: Add testcase.
19805
b957ced8
AS
198062013-10-17 Andreas Schwab <schwab@suse.de>
19807
19808 [BZ #15218]
19809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19810 to determine canonical name.
19811
c5d5d574
OB
198122013-10-17 Ondřej Bílka <neleai@seznam.cz>
19813
19814 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19815 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19817 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19819 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19820 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19821 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19822 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19823 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19824 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19825 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19826 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19827 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19828 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19829 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19830 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19831 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19832 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19833 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19834 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19836 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19837 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19838 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19839 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19840 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19841 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19842 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19843 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19844 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19845 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19846 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19847 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19848 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19849 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19850 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19851 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19858 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19859 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19860 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19861 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19863 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19864 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19865 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19866 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19867 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19868 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19869 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19870 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19871 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19872
e5c2c2d0
JM
198732013-10-17 Joseph Myers <joseph@codesourcery.com>
19874
19875 [BZ #16041]
19876 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19877 make result into a quiet NaN.
19878
51ca9e29
JM
198792013-10-16 Joseph Myers <joseph@codesourcery.com>
19880
19881 * soft-fp/adddf3.c: Fix horizontal whitespace.
19882 * soft-fp/addsf3.c: Likewise.
19883 * soft-fp/addtf3.c: Likewise.
19884 * soft-fp/divdf3.c: Likewise.
19885 * soft-fp/divsf3.c: Likewise.
19886 * soft-fp/divtf3.c: Likewise.
19887 * soft-fp/double.h: Likewise.
19888 * soft-fp/eqdf2.c: Likewise.
19889 * soft-fp/eqsf2.c: Likewise.
19890 * soft-fp/eqtf2.c: Likewise.
19891 * soft-fp/extenddftf2.c: Likewise.
19892 * soft-fp/extended.h: Likewise.
19893 * soft-fp/extendsfdf2.c: Likewise.
19894 * soft-fp/extendsftf2.c: Likewise.
19895 * soft-fp/extendxftf2.c: Likewise.
19896 * soft-fp/fixdfdi.c: Likewise.
19897 * soft-fp/fixdfsi.c: Likewise.
19898 * soft-fp/fixdfti.c: Likewise.
19899 * soft-fp/fixsfdi.c: Likewise.
19900 * soft-fp/fixsfsi.c: Likewise.
19901 * soft-fp/fixsfti.c: Likewise.
19902 * soft-fp/fixtfdi.c: Likewise.
19903 * soft-fp/fixtfsi.c: Likewise.
19904 * soft-fp/fixtfti.c: Likewise.
19905 * soft-fp/fixunsdfdi.c: Likewise.
19906 * soft-fp/fixunsdfsi.c: Likewise.
19907 * soft-fp/fixunsdfti.c: Likewise.
19908 * soft-fp/fixunssfdi.c: Likewise.
19909 * soft-fp/fixunssfsi.c: Likewise.
19910 * soft-fp/fixunssfti.c: Likewise.
19911 * soft-fp/fixunstfdi.c: Likewise.
19912 * soft-fp/fixunstfsi.c: Likewise.
19913 * soft-fp/fixunstfti.c: Likewise.
19914 * soft-fp/floatdidf.c: Likewise.
19915 * soft-fp/floatdisf.c: Likewise.
19916 * soft-fp/floatditf.c: Likewise.
19917 * soft-fp/floatsidf.c: Likewise.
19918 * soft-fp/floatsisf.c: Likewise.
19919 * soft-fp/floatsitf.c: Likewise.
19920 * soft-fp/floattidf.c: Likewise.
19921 * soft-fp/floattisf.c: Likewise.
19922 * soft-fp/floattitf.c: Likewise.
19923 * soft-fp/floatundidf.c: Likewise.
19924 * soft-fp/floatundisf.c: Likewise.
19925 * soft-fp/floatunditf.c: Likewise.
19926 * soft-fp/floatunsidf.c: Likewise.
19927 * soft-fp/floatunsisf.c: Likewise.
19928 * soft-fp/floatunsitf.c: Likewise.
19929 * soft-fp/floatuntidf.c: Likewise.
19930 * soft-fp/floatuntisf.c: Likewise.
19931 * soft-fp/floatuntitf.c: Likewise.
19932 * soft-fp/fmadf4.c: Likewise.
19933 * soft-fp/fmasf4.c: Likewise.
19934 * soft-fp/fmatf4.c: Likewise.
19935 * soft-fp/gedf2.c: Likewise.
19936 * soft-fp/gesf2.c: Likewise.
19937 * soft-fp/getf2.c: Likewise.
19938 * soft-fp/ledf2.c: Likewise.
19939 * soft-fp/lesf2.c: Likewise.
19940 * soft-fp/letf2.c: Likewise.
19941 * soft-fp/muldf3.c: Likewise.
19942 * soft-fp/mulsf3.c: Likewise.
19943 * soft-fp/multf3.c: Likewise.
19944 * soft-fp/negdf2.c: Likewise.
19945 * soft-fp/negsf2.c: Likewise.
19946 * soft-fp/negtf2.c: Likewise.
19947 * soft-fp/op-1.h: Likewise.
19948 * soft-fp/op-2.h: Likewise.
19949 * soft-fp/op-4.h: Likewise.
19950 * soft-fp/op-8.h: Likewise.
19951 * soft-fp/op-common.h: Likewise.
19952 * soft-fp/quad.h: Likewise.
19953 * soft-fp/single.h: Likewise.
19954 * soft-fp/soft-fp.h: Likewise.
19955 * soft-fp/sqrtdf2.c: Likewise.
19956 * soft-fp/sqrtsf2.c: Likewise.
19957 * soft-fp/sqrttf2.c: Likewise.
19958 * soft-fp/subdf3.c: Likewise.
19959 * soft-fp/subsf3.c: Likewise.
19960 * soft-fp/subtf3.c: Likewise.
19961 * soft-fp/truncdfsf2.c: Likewise.
19962 * soft-fp/trunctfdf2.c: Likewise.
19963 * soft-fp/trunctfsf2.c: Likewise.
19964 * soft-fp/trunctfxf2.c: Likewise.
19965 * soft-fp/unorddf2.c: Likewise.
19966 * soft-fp/unordsf2.c: Likewise.
19967 * soft-fp/unordtf2.c: Likewise.
19968
9ebb0332
JM
199692013-10-15 Joseph Myers <joseph@codesourcery.com>
19970
19971 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19972 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19973
4b1a6d8b
OB
199742013-10-15 Ondřej Bílka <neleai@seznam.cz>
19975
19976 * elf/dl-libc.c: Clear initfini list after freeing.
19977
1e145589
JM
199782013-10-14 Joseph Myers <joseph@codesourcery.com>
19979
19980 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19981 * soft-fp/addsf3.c: Likewise.
19982 * soft-fp/addtf3.c: Likewise.
19983 * soft-fp/divdf3.c: Likewise.
19984 * soft-fp/divsf3.c: Likewise.
19985 * soft-fp/divtf3.c: Likewise.
19986 * soft-fp/double.h: Likewise.
19987 * soft-fp/eqdf2.c: Likewise.
19988 * soft-fp/eqsf2.c: Likewise.
19989 * soft-fp/eqtf2.c: Likewise.
19990 * soft-fp/extenddftf2.c: Likewise.
19991 * soft-fp/extended.h: Likewise.
19992 * soft-fp/extendsfdf2.c: Likewise.
19993 * soft-fp/extendsftf2.c: Likewise.
19994 * soft-fp/extendxftf2.c: Likewise.
19995 * soft-fp/fixdfdi.c: Likewise.
19996 * soft-fp/fixdfsi.c: Likewise.
19997 * soft-fp/fixdfti.c: Likewise.
19998 * soft-fp/fixsfdi.c: Likewise.
19999 * soft-fp/fixsfsi.c: Likewise.
20000 * soft-fp/fixsfti.c: Likewise.
20001 * soft-fp/fixtfdi.c: Likewise.
20002 * soft-fp/fixtfsi.c: Likewise.
20003 * soft-fp/fixtfti.c: Likewise.
20004 * soft-fp/fixunsdfdi.c: Likewise.
20005 * soft-fp/fixunsdfsi.c: Likewise.
20006 * soft-fp/fixunsdfti.c: Likewise.
20007 * soft-fp/fixunssfdi.c: Likewise.
20008 * soft-fp/fixunssfsi.c: Likewise.
20009 * soft-fp/fixunssfti.c: Likewise.
20010 * soft-fp/fixunstfdi.c: Likewise.
20011 * soft-fp/fixunstfsi.c: Likewise.
20012 * soft-fp/fixunstfti.c: Likewise.
20013 * soft-fp/floatdidf.c: Likewise.
20014 * soft-fp/floatdisf.c: Likewise.
20015 * soft-fp/floatditf.c: Likewise.
20016 * soft-fp/floatsidf.c: Likewise.
20017 * soft-fp/floatsisf.c: Likewise.
20018 * soft-fp/floatsitf.c: Likewise.
20019 * soft-fp/floattidf.c: Likewise.
20020 * soft-fp/floattisf.c: Likewise.
20021 * soft-fp/floattitf.c: Likewise.
20022 * soft-fp/floatundidf.c: Likewise.
20023 * soft-fp/floatundisf.c: Likewise.
20024 * soft-fp/floatunsidf.c: Likewise.
20025 * soft-fp/floatunsisf.c: Likewise.
20026 * soft-fp/floatuntidf.c: Likewise.
20027 * soft-fp/floatuntisf.c: Likewise.
20028 * soft-fp/floatuntitf.c: Likewise.
20029 * soft-fp/fmadf4.c: Likewise.
20030 * soft-fp/fmasf4.c: Likewise.
20031 * soft-fp/fmatf4.c: Likewise.
20032 * soft-fp/gedf2.c: Likewise.
20033 * soft-fp/gesf2.c: Likewise.
20034 * soft-fp/getf2.c: Likewise.
20035 * soft-fp/ledf2.c: Likewise.
20036 * soft-fp/lesf2.c: Likewise.
20037 * soft-fp/letf2.c: Likewise.
20038 * soft-fp/muldf3.c: Likewise.
20039 * soft-fp/mulsf3.c: Likewise.
20040 * soft-fp/multf3.c: Likewise.
20041 * soft-fp/negdf2.c: Likewise.
20042 * soft-fp/negsf2.c: Likewise.
20043 * soft-fp/negtf2.c: Likewise.
20044 * soft-fp/op-1.h: Likewise.
20045 * soft-fp/op-2.h: Likewise.
20046 * soft-fp/op-4.h: Likewise.
20047 * soft-fp/op-8.h: Likewise.
20048 * soft-fp/op-common.h: Likewise.
20049 * soft-fp/quad.h: Likewise.
20050 * soft-fp/single.h: Likewise.
20051 * soft-fp/soft-fp.h: Likewise.
20052 * soft-fp/sqrtdf2.c: Likewise.
20053 * soft-fp/sqrtsf2.c: Likewise.
20054 * soft-fp/sqrttf2.c: Likewise.
20055 * soft-fp/subdf3.c: Likewise.
20056 * soft-fp/subsf3.c: Likewise.
20057 * soft-fp/subtf3.c: Likewise.
20058 * soft-fp/truncdfsf2.c: Likewise.
20059 * soft-fp/trunctfdf2.c: Likewise.
20060 * soft-fp/trunctfsf2.c: Likewise.
20061 * soft-fp/trunctfxf2.c: Likewise.
20062 * soft-fp/unorddf2.c: Likewise.
20063 * soft-fp/unordsf2.c: Likewise.
20064 * soft-fp/unordtf2.c: Likewise.
20065
17c48a60
OB
200662013-10-14 Ondřej Bílka <neleai@seznam.cz>
20067
20068 [BZ #15672]
20069 * misc/error.c (error_tail): Fix possible buffer overflow.
20070
cabba934
OB
200712013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20072
20073 [BZ #13028]
20074 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20075 address.
20076
94bf958a
PM
200772013-10-14 P. J. McDermott <pj@pehjota.net>
20078
20079 [BZ #832]
20080 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20081 testing pipefail option.
20082
71b4dea7
JM
200832013-10-12 Joseph Myers <joseph@codesourcery.com>
20084
20085 * soft-fp/double.h: Indent preprocessor directives inside #if.
20086 * soft-fp/extended.h: Likewise.
20087 * soft-fp/op-2.h: Likewise.
20088 * soft-fp/op-4.h: Likewise.
20089 * soft-fp/op-common.h: Likewise.
20090 * soft-fp/quad.h: Likewise.
20091 * soft-fp/single.h: Likewise.
20092 * soft-fp/soft-fp.h: Likewise.
20093
55602758
YC
200942013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20095
20096 * iconv/iconv_prog.c: Fix typos.
20097 * stdio-common/psiginfo-data.h: Likewise.
20098
9cd83302
RT
200992013-10-12 Reuben Thomas <rrt@sc3d.org>
20100
20101 [BZ #15764]
20102 * locale/setlocale.c: Fix typo.
20103
99fd9f47
JM
201042013-10-12 Joseph Myers <joseph@codesourcery.com>
20105
b7ea74f0
JM
20106 [BZ #16036]
20107 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20108 signaling NaN arguments.
20109 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20110 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20111
8a509447
JM
20112 [BZ #14910]
20113 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20114 unordered operands.
20115 * soft-fp/gesf2.c (__gesf2): Likewise.
20116 * soft-fp/getf2.c (__getf2): Likewise.
20117 * soft-fp/ledf2.c (__ledf2): Likewise.
20118 * soft-fp/lesf2.c (__lesf2): Likewise.
20119 * soft-fp/letf2.c (__letf2): Likewise.
20120
98998e9f
JM
20121 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20122 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20123 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20124 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20125 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20126 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20127 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20128 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20129 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20130 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20131 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20132 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20133 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20134 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20135 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20136 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20137 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20138 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20139 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20140 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20141 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20142 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20143 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20144 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20145 * soft-fp/floattidf.c (__floattidf): Likewise.
20146 * soft-fp/floattisf.c (__floattisf): Likewise.
20147 * soft-fp/floattitf.c (__floattitf): Likewise.
20148 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20149 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20150 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20151 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20152 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20153 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20154 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20155 * soft-fp/gesf2.c (__gesf2): Likewise.
20156 * soft-fp/getf2.c (__getf2): Likewise.
20157 * soft-fp/ledf2.c (__ledf2): Likewise.
20158 * soft-fp/lesf2.c (__lesf2): Likewise.
20159 * soft-fp/letf2.c (__letf2): Likewise.
20160
8edc4a11
JM
20161 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20162 Undefine and redefine.
20163 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20164 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20165 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20166 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20167 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20168 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20169 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20170 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20171 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20172 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20173 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20174 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20175 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20176 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20177 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20178
8399acaf
JM
20179 [BZ #16032]
20180 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20181 without decrementing exponent if mantissa >= that for the
20182 denominator, not >.
20183 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20184 denominator, not >. Decrement exponent in < case instead of
20185 incrementing in >= case.
20186 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20187 without decrementing exponent if mantissa >= that for the
20188 denominator, not >.
20189
99fd9f47
JM
20190 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20191 computing saturated result for unsigned overflow.
20192
10e1cf6b
SP
201932013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20194 Jeff Law <law@redhat.com>
20195
20196 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20197 (atan2Mp): Add systemtap probe marker.
20198 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20199 (__ieee754_log): Add systemtap probe marker.
20200 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20201 (atanMp): Add systemtap probe marker.
20202 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20203 (tanMp): Add systemtap probe marker.
20204 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20205 (__slowexp): Add systemtap probe marker.
20206 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20207 (__slowpow): Add systemtap probe marker.
20208 * manual/probes.texi: Document probes.
20209
3d110c7c
EB
202102013-10-11 Eric Biggers <ebiggers3@gmail.com>
20211
20212 [BZ #15362]
20213 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20214 written.
20215 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20216 written.
20217 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20218 written to buffer but not flushed.
20219 * libio/iofwrite_u.c: Likewise.
20220 * libio/iopadn.c: Return bytes returned even if EOF was
20221 encountered.
20222 * libio/iowpadn.c: Likewise.
20223 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20224 if _IO_padn does not write the whole buffer.
20225 [!COMPILE_WPRINTF] (PAD): Likewise.
20226
75b4202a
DM
202272013-10-10 David S. Miller <davem@davemloft.net>
20228
20229 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20230 directory block.
20231
6c6352e6
JM
202322013-10-10 Joseph Myers <joseph@codesourcery.com>
20233
33b853c3
JM
20234 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20235 instead of FSF address.
20236 * soft-fp/fixdfti.c: Likewise.
20237 * soft-fp/fixsfti.c: Likewise.
20238 * soft-fp/fixtfti.c: Likewise.
20239 * soft-fp/fixunsdfti.c: Likewise.
20240 * soft-fp/fixunssfti.c: Likewise.
20241 * soft-fp/fixunstfti.c: Likewise.
20242 * soft-fp/floattidf.c: Likewise.
20243 * soft-fp/floattisf.c: Likewise.
20244 * soft-fp/floattitf.c: Likewise.
20245 * soft-fp/floatuntidf.c: Likewise.
20246 * soft-fp/floatuntisf.c: Likewise.
20247 * soft-fp/floatuntitf.c: Likewise.
20248 * soft-fp/trunctfxf2.c: Likewise.
20249
6c6352e6
JM
20250 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20251 * soft-fp/fixdfti.c: Likewise.
20252 * soft-fp/fixsfti.c: Likewise.
20253 * soft-fp/fixtfti.c: Likewise.
20254 * soft-fp/fixunsdfti.c: Likewise.
20255 * soft-fp/fixunssfti.c: Likewise.
20256 * soft-fp/fixunstfti.c: Likewise.
20257 * soft-fp/floattidf.c: Likewise.
20258 * soft-fp/floattisf.c: Likewise.
20259 * soft-fp/floattitf.c: Likewise.
20260 * soft-fp/floatuntidf.c: Likewise.
20261 * soft-fp/floatuntisf.c: Likewise.
20262 * soft-fp/floatuntitf.c: Likewise.
20263 * soft-fp/trunctfxf2.c: Likewise.
20264
3bf78b71
DM
202652013-10-10 David S. Miller <davem@davemloft.net>
20266
20267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20268
6f10289e
JM
202692013-10-10 Joseph Myers <joseph@codsourcery.com>
20270
bd878fc0
JM
20271 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20272 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20273 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20278
6f10289e
JM
20279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20280 for NaNs before doing comparisons on argument.
20281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20282 Likewise.
20283
321e2684
WN
202842013-10-10 Will Newton <will.newton@linaro.org>
20285
20286 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20287 passed to _int_memalign does not overflow.
20288
40fefba1
TR
202892013-10-10 Torvald Riegel <triegel@redhat.com>
20290
20291 * scripts/bench.pl: Add include-sources directive.
20292 * benchtests/README: Update documentation.
20293
2ae21ed2
JM
202942013-10-10 Joseph Myers <joseph@codesourcery.com>
20295
dcc2dd3f
JM
20296 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20297 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20298 instead of FP_INIT_ROUNDMODE.
20299 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20300 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20301
2ae21ed2
JM
20302 [BZ #16034]
20303 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20304 copy class of input value.
20305 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20306 not handle exceptions.
20307 * soft-fp/negsf2.c (__negsf2): Likewise.
20308 * soft-fp/negtf2.c (__negtf2): Likewise.
20309 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20310
cb8f9562
JM
203112013-10-09 Joseph Myers <joseph@codesourcery.com>
20312
20313 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20314 semicolon. From Linux kernel.
20315
5b60c59d
AB
203162013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20317
20318 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20319
b86835ca
YC
203202013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20321
20322 [BZ #156]
20323 * manual/socket.texi: Added statement about buffer
20324 for gethostbyname2_r.
20325
e7044ea7
OB
203262013-10-08 Ondřej Bílka <neleai@seznam.cz>
20327
20328 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20329 Use .p2align directive instead, throughout.
20330 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20331 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20332 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20335 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20336 * sysdeps/x86_64/strchr.S: Likewise.
20337 * sysdeps/x86_64/strrchr.S: Likewise.
20338
09544cbc
SP
203392013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20340
88576635
SP
20341 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20342
e7b2d1dd
SP
20343 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20344
09544cbc
SP
20345 * sysdeps/generic/math_private.h (__mpsin1): Remove
20346 declaration.
20347 (__mpcos1): Likewise.
20348 (__mpsin): New argument __range_reduce.
20349 (__mpcos): Likewise.
20350 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20351 (slow): Use __mpsin and __mpcos.
20352 (slow1): Likewise.
20353 (slow2): Likewise.
20354 (sloww): Likewise.
20355 (sloww1): Likewise.
20356 (sloww2): Likewise.
20357 (bsloww): Likewise.
20358 (bsloww1): Likewise.
20359 (bsloww2): Likewise.
20360 (cslow2): Likewise.
20361 (csloww): Likewise.
20362 (csloww1): Likewise.
20363 (csloww2): Likewise.
20364 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20365 range_reduce. Merge in __mpsin1.
20366 (__mpcos): Likewise.
20367 (__mpsin1): Remove.
20368 (__mpcos1): Likewise.
20369
7602d070
JM
203702013-10-07 Joseph Myers <joseph@codesourcery.com>
20371
20372 * locale/loadlocale.c (_nl_intern_locale_data): Use
20373 LOCFILE_ALIGNED_P.
20374 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20375 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20376 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20377 obstack data is appropriately aligned.
20378 (obstack_int32_grow_fast): Likewise.
20379 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20380 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20381 (add_locale_uint32_array): Likewise.
20382
a357259b
SP
203832013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20384
20385 * benchtests/Makefile: Remove ARGLIST and RET variables.
20386 ($(objpfx)bench-%.c): Pass only function name to the script.
20387 * benchtests/README: Update documentation.
20388 * benchtests/acos-inputs: Add new directives.
20389 * benchtests/acosh-inputs: Likewise.
20390 * benchtests/asin-inputs: Likewise.
20391 * benchtests/asinh-inputs: Likewise.
20392 * benchtests/atan-inputs: Likewise.
20393 * benchtests/atanh-inputs: Likewise.
20394 * benchtests/cos-inputs: Likewise.
20395 * benchtests/cosh-inputs: Likewise.
20396 * benchtests/exp-inputs: Likewise.
20397 * benchtests/log-inputs: Likewise.
20398 * benchtests/pow-inputs: Likewise.
20399 * benchtests/rint-inputs: Likewise.
20400 * benchtests/sin-inputs: Likewise.
20401 * benchtests/sinh-inputs: Likewise.
20402 * benchtests/tan-inputs: Likewise.
20403 * benchtests/tanh-inputs: Likewise.
20404 * scripts/bench.pl: Add support for new directives.
20405
9ec1b13d
AM
204062013-10-07 Alan Modra <amodra@gmail.com>
20407
20408 * README: Fix careless merge.
20409
8b7d57cd
AM
204102013-10-05 Alan Modra <amodra@gmail.com>
20411
20412 * NEWS: Mention powerpc64le support and bugs fixed.
20413 * README: Both big-endian and little-endian powerpc64 supported.
20414
7b7bab13
ST
204152013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20416
57f41c40
AS
20417 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20418 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
20419 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20420 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20421
d39baad1
RA
204222013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20423
20424 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20425 match prototype.
20426
cd78f7e7
JM
204272013-10-04 Joseph Myers <joseph@codesourcery.com>
20428
29d73d86
JM
20429 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20430 Move -mhard-float appending from
20431 ports/sysdeps/powerpc/powerpc32/Makefile.
20432 [$(with-fp) = yes] (ASFLAGS): Likewise.
20433 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20434 * sysdeps/powerpc/nofpu: Move directory from
20435 ports/sysdeps/powerpc/nofpu.
20436 * sysdeps/powerpc/soft-fp: Move directory from
20437 ports/sysdeps/powerpc/soft-fp.
20438 * sysdeps/powerpc/powerpc32/405: Move directory from
20439 ports/sysdeps/powerpc/powerpc32/405.
20440 * sysdeps/powerpc/powerpc32/440: Move directory from
20441 ports/sysdeps/powerpc/powerpc32/440.
20442 * sysdeps/powerpc/powerpc32/464: Move directory from
20443 ports/sysdeps/powerpc/powerpc32/464.
20444 * sysdeps/powerpc/powerpc32/476: Move directory from
20445 ports/sysdeps/powerpc/powerpc32/476.
20446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20447 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20449 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20451 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20453 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20455 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20456 * README: Update for powerpc-*-linux-gnu software floating point
20457 support in libc.
20458
e246b347
JM
20459 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20460 case to powerpc/powerpc32*.
20461 * sysdeps/unix/sysv/linux/configure: Regenerated.
20462
89c2003e
JM
20463 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20464 (_FPU_MASK_OM): Define as 0x04.
20465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20467 0x00c10080.
20468 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20469 0x0000003c.
20470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20471
cd78f7e7
JM
20472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20473 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20474 getcontext_e500.
20475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20476 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20477 setcontext_e500.
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20479 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20480 and setcontext_e500.
20481
c755294d
CL
204822013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20483
20484 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20485
e16d221c
SP
204862013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20487
20488 * manual/threads.texi (Default Thread Attributes): Fix typo.
20489
215c7d43
WN
204902013-10-04 Will Newton <will.newton@linaro.org>
20491
20492 * malloc/Makefile: Add tst-memalign.
20493 * malloc/tst-memalign.c: New file.
20494
27d0461b
WN
20495 * malloc/tst-posix_memalign.c: Add comments.
20496 (do_test): Add comments and call free on all potentially
20497 allocated pointers. Add space after cast.
20498
1bc92709
WN
20499 * malloc/tst-pvalloc.c: Add comments.
20500 (do_test): Add comments and call free on all potentially
20501 allocated pointers. Remove duplicate check for NULL pointer.
20502 Add space after cast.
20503
66a9be9d
WN
20504 * malloc/tst-valloc.c: Add comments.
20505 (do_test): Add comments and call free on all potentially
20506 allocated pointers. Remove duplicate check for NULL pointer.
20507 Add space after cast.
20508
4cb81307
AM
205092013-10-04 Alan Modra <amodra@gmail.com>
20510
20511 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20512 Use stdint types in rather than __attribute__((mode())).
20513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20514
f8e3e9f3
AM
205152013-10-04 Alan Modra <amodra@gmail.com>
20516
20517 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20518 Correct handling of unaligned relocs for little-endian.
20519 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20520
8f9ebb08
AM
205212013-10-04 Alan Modra <amodra@gmail.com>
20522
20523 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20524 * configure: Regenerate.
20525 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20526 * shlib-versions: Likewise.
20527
0edf96c2
AM
205282013-10-04 Alan Modra <amodra@gmail.com>
20529
20530 * string/tester.c (test_memrchr): Increment reported test cycle.
20531
e0f7a380
AM
205322013-10-04 Alan Modra <amodra@gmail.com>
20533
20534 * string/test-memcpy.c (do_one_test): When reporting errors, print
20535 string address and don't overrun end of string.
20536
466b0393
AM
205372013-10-04 Alan Modra <amodra@gmail.com>
20538
20539 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20540 insrdi. Make better use of reg selection to speed exit slightly.
20541 Schedule entry path a little better. Remove useless "are we done"
20542 checks on entry to main loop. Handle wrapping around zero address.
20543 Correct main loop count. Handle single left-over word from main
20544 loop inline rather than by using loop_small. Remove extra word
20545 case in loop_small caused by wrong loop count. Add little-endian
20546 support.
20547 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20548 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20549 cache hint.
20550 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20551 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20552 support. Avoid rlwimi.
20553 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20554
3be87c77
AM
205552013-10-04 Alan Modra <amodra@gmail.com>
20556
20557 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 20558 insrdi. Formatting.
3be87c77
AM
20559 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20560 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20561 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20562 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20563 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20564 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20565
759cfef3
AM
205662013-10-04 Alan Modra <amodra@gmail.com>
20567
20568 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20569 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20570 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20571 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20572 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20573 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20574 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20575 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20576 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20577 use of regs. Use power7 mtocrf. Tidy function tails.
20578
fe6e95d7
AM
205792013-10-04 Alan Modra <amodra@gmail.com>
20580
20581 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20582 Formatting. Consistently use rXXX register defines or rN defines.
20583 Use early exit labels that avoid restoring unused non-volatile regs.
20584 Make cr field use more consistent with rWORDn compares. Rename
20585 regs used as shift registers for unaligned loop, using rN defines
20586 for short lifetime/multiple use regs.
20587 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20588 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20589 addi 1,1,64 to pop stack frame. Simplify return value code.
20590 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20591
664318c3
AM
205922013-10-04 Alan Modra <amodra@gmail.com>
20593
20594 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20595 support. Correct typos, formatting. Optimize tail. Use insrdi
20596 rather than rlwimi.
20597 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20598 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20599 little-endian support. Correct typos.
20600 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20601 rather than rlwimi.
20602 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20603 in loop and entry code to keep "and." results.
20604 (strchr): Add little-endian support. Comment. Move cntlzd
20605 earlier in tail.
20606 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20607
43b84013
AM
206082013-10-04 Alan Modra <amodra@gmail.com>
20609
20610 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20611 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20612 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20613 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20614
8a7413f9
AM
206152013-10-04 Alan Modra <amodra@gmail.com>
20616
20617 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20618 (rTMP): Define as r11.
20619 (strcmp): Add little-endian support. Optimise tail.
20620 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20621 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20622 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20623 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20624 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20625 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20626 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20627
33ee81de
AM
206282013-10-04 Alan Modra <amodra@gmail.com>
20629
20630 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20631 little-endian support. Remove unnecessary "are we done" tests.
20632 Handle "s" wrapping around zero and extremely large "size".
20633 Correct main loop count. Handle single left-over word from main
20634 loop inline rather than by using small_loop. Correct comments.
20635 Delete "zero" tail, use "end_max" instead.
20636 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20637
db9b4570
AM
206382013-10-04 Alan Modra <amodra@gmail.com>
20639
20640 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20641 support. Don't branch over align.
20642 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20643 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20644 support. Rearrange tmp reg use to suit. Comment.
20645 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20646
f7c399cf
AM
206472013-10-04 Alan Modra <amodra@gmail.com>
20648
20649 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20650
0b2c2ace
AM
206512013-10-04 Alan Modra <amodra@gmail.com>
20652
20653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20654 conditional form of branch and link when obtaining pc.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20656
02f04a6c
AM
206572013-10-04 Alan Modra <amodra@gmail.com>
20658
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20660 HIWORD/LOWORD.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20663
9b874b2f
AM
206642013-10-04 Alan Modra <amodra@gmail.com>
20665
20666 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20667 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20668 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20669 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20670 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20671 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20672 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20673 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20674 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20675 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20676
be1e5d31
AB
206772013-10-04 Anton Blanchard <anton@au1.ibm.com>
20678 Alistair Popple <alistair@ozlabs.au.ibm.com>
20679 Alan Modra <amodra@gmail.com>
20680
20681 [BZ #15723]
20682 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20683 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20684 _dl_hwcap access for little-endian.
20685 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20686 destroy vmx regs when saving unaligned.
20687 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20688 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20689 destroy vmx regs when saving unaligned.
20690
fef13a78
AM
206912013-10-04 Alan Modra <amodra@gmail.com>
20692
20693 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20694 Don't use a union to pack hi/low value.
20695
76a66d51
AB
206962013-10-04 Anton Blanchard <anton@au1.ibm.com>
20697
20698 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20699 for little-endian.
20700 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20702 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20703 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20704 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20705
6a31fe7f
AM
207062013-10-04 Alan Modra <amodra@gmail.com>
20707
20708 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20709 constants to usual value for .cst8 section, and remove redundant
20710 high address load.
20711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20712 constant for 0x1p52. Load little-endian words of double from
20713 correct stack offsets.
20714
7b88401f
AM
207152013-10-04 Alan Modra <amodra@gmail.com>
20716
20717 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20718 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20719 words of double from correct stack offsets.
20720 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20721 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20722 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20723 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20724 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20725 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20726 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20727 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20728 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20729 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20730 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20731 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20732 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20733 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20734 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20735 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20736 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20737
9c008155
AM
207382013-10-04 Alan Modra <amodra@gmail.com>
20739
20740 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20741 64-bit int/double union.
20742 (_FPU_SETCW): Likewise.
20743 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20744 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20745
da13146d
AM
207462013-10-04 Alan Modra <amodra@gmail.com>
20747
20748 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20749 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20750
603e8410
AM
207512013-10-04 Alan Modra <amodra@gmail.com>
20752
20753 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20754 use vector int constants.
20755 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20756
4a28b3ca
AB
207572013-10-04 Anton Blanchard <anton@au1.ibm.com>
20758
20759 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20760 array with long long.
20761 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20762 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20763 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20764 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20765 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20766 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20767 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20768 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20769 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20770 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20771 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20772 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20773 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20774
2ca85d2b
AB
207752013-10-04 Anton Blanchard <anton@au1.ibm.com>
20776
20777 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20778 (__signbit): Likewise. Correct for little-endian.
20779 (__signbitl): Call __signbit.
20780 (lrint): Correct for little-endian.
20781 (lrintf): Call lrint.
20782
62a728ae
AM
207832013-10-04 Alan Modra <amodra@gmail.com>
20784
20785 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20786 union 32-bit int array member with 64-bit int array.
20787 (t515, tm256): Double rather than long double.
20788 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20789
32c301df
AM
207902013-10-04 Alan Modra <amodra@gmail.com>
20791
20792 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20793 Delete.
20794 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20796 version of math_ldbl.h.
20797
650ef4bd
AM
207982013-10-04 Alan Modra <amodra@gmail.com>
20799
20800 [BZ #15734], [BZ #15735]
20801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20802 all uses of ieee875 long double macros and unions. Simplify test
20803 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20804 ldbl_extract_mantissa value for ix,iy exponents. Properly
20805 normalize after ldbl_extract_mantissa, and don't add hidden bit
20806 already handled. Don't treat low word of ieee854 mantissa like
20807 low word of IBM long double and mask off bit when testing for
20808 zero.
20809 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20810 all uses of ieee875 long double macros and unions. Simplify tests
20811 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20812 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20813 two1022, instead use their values. Recognise that tests for large
20814 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20815 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20816 Rewrite all uses of ieee875 long double macros and unions. Simplify
20817 test for 0.0L and nan. Correct negation.
20818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20819 ieee875 long double macros and unions. Correct output for large
20820 magnitude x. Correct absolute value calculation.
20821 (__erfcl): Likewise.
20822 * math/libm-test.inc: Add tests for errors discovered in IBM long
20823 double versions of fmodl, remainderl, erfl and erfcl.
20824
765714ca
AM
208252013-10-04 Alan Modra <amodra@gmail.com>
20826
20827 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20828 all uses of ieee854 long double macros and unions. Simplify tests
20829 for long doubles that are fully specified by the high double.
20830 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20831 Likewise.
20832 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20833 Remove dead code too.
20834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20835 (__ieee754_ynl): Likewise.
20836 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20839 Remove dead code too.
20840 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20841 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20842 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20843 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20844 Simplify.
20845 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20846 Simplify.
20847 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20848 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20849 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20850 Comment on variable precision.
20851 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20852 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20853 Likewise.
20854 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20855 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20856 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20857 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20858 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20859
4ebd120c
AM
208602013-10-04 Alan Modra <amodra@gmail.com>
20861
20862 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20863 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20864 all uses of ieee854 long double macros and unions.
20865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20867 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20868 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20869 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20871 Likewise.
20872 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20873 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20874 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20875 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20876 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20877 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20878 Simplify sign and nan test too.
20879 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20880 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20881 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20882 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20883 Likewise.
20884 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20885 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20886 Likewise.
20887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20888 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20889 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20890 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20891 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20893
1b6adf88
AM
208942013-10-04 Alan Modra <amodra@gmail.com>
20895
20896 * stdio-common/printf_size.c (__printf_size): Don't use
20897 union ieee854_long_double in fpnum union.
20898 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20899 signbit macro to retrieve sign from long double.
20900 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20901 retrieve sign from long double.
20902 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20903 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20904 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20905 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20906 * math/test-misc.c (main): Don't use union ieee854_long_double.
20907
4cf69995
AM
209082013-10-04 Alan Modra <amodra@gmail.com>
20909
20910 [BZ #15680]
20911 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20912 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20913 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20914 calculation. Remove unnecessary test for denormal exponent.
20915 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20916 Correct handling of denormals. Avoid undefined shift behaviour.
20917 Correct normalisation of low mantissa when low double is denormal.
20918 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20919 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20920 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20921 Correct normalisation of low mantissa. Test for overflow of high
20922 mantissa and normalise.
20923 (ldbl_nearbyint): Use more readable constant for two52.
20924 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20925 (__mpn_construct_long_double): Fix test for overflow of high
20926 mantissa and correct normalisation. Avoid undefined shift.
20927
9605ca6c
AM
209282013-10-04 Alan Modra <amodra@gmail.com>
20929
20930 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20931 (union ibm_extended_long_double): Define as an array of ieee754_double.
20932 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20933 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20934 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20935 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20939 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20943
975569d0
JM
209442013-10-03 Joseph Myers <joseph@codesourcery.com>
20945
d3d23756
JM
20946 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20947 page size instead of calling getpagesize.
20948
975569d0
JM
20949 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20950 (LOCFILE_ALIGN_MASK): Likewise.
20951 (LOCFILE_ALIGN_UP): Likewise.
20952 (LOCFILE_ALIGNED_P): Likewise.
20953 * locale/programs/ld-collate.c (collate_output): Use the new
20954 macros instead of __alignof__ (int32_t).
20955 * locale/weight.h (findidx): Likewise.
20956
b1fe1f2b
OB
209572013-10-03 Ondřej Bílka <neleai@seznam.cz>
20958
20959 [BZ #431]
20960 * manual/string.texi: Fix strncat and wcsncat.
20961
5f855e35
BM
209622013-10-03 Brooks Moses <bmoses@google.com>
20963
20964 [BZ #15915]
20965 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20966 * Makerules: ...here, and adjust associated comments.
20967
3cef6009
WN
209682013-10-02 Will Newton <will.newton@linaro.org>
20969
20970 * malloc/Makefile: Add tst-pvalloc.
20971 * malloc/tst-pvalloc.c: New file.
20972
7815420b
WN
209732013-10-02 Will Newton <will.newton@linaro.org>
20974
20975 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20976 improve test coverage.
20977
4868b204
WN
209782013-10-02 Will Newton <will.newton@linaro.org>
20979
20980 * malloc/Makefile: Add tst-posix_memalign.
20981 * malloc/tst-posix_memalign.c: New file.
20982
29c793b3
EB
209832013-10-01 Eric Blake <eblake@redhat.com>
20984
20985 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20986 Use __THROWNL rather than __THROW on static functions.
20987
fd967522
PM
209882013-09-30 Petr Machata <pmachata@redhat.com>
20989
20990 * elf/elf.h (R_AARCH64_ABS16): New macro.
20991 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20992 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20993 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20994 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20995 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20996 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20997 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20998 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20999 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21000 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21001 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21002 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21003 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21004 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21005 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21006 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21007 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21008 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21009 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21010 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21011 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21012 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21013 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21014 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21015 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21016 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21017 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21018 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21019 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21020 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21021 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21022 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21023 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21024 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21025 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21026 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21027 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21028 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21029 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21030 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21031 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21032 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21033 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21034 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21035 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21036 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21037 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21038 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21039 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21040 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21041 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21042 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21043 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21044 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21045 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21046 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21047 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21048 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21049 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21050 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21051 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21052 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21053 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21054 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21055 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21056 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21057 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21058 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21059 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21060 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21061 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21062 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21063 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21064 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21065 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21066 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21067 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21068 (R_AARCH64_TLSDESC_LDR): Likewise.
21069 (R_AARCH64_TLSDESC_ADD): Likewise.
21070 (R_AARCH64_TLSDESC_CALL): Likewise.
21071
b2179107
AS
210722013-09-30 Andreas Schwab <schwab@suse.de>
21073
21074 [BZ #15048]
21075 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21076 the nss database lookup.
21077 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21079
47f28d0a
MF
210802013-09-28 Mike Frysinger <vapier@gentoo.org>
21081
21082 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21083
210842013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
21085
21086 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21087 ${Bash-specific parameter/pattern/string} parameter expansion.
21088 * sysdeps/unix/make-syscalls.sh: Likewise.
21089
f4518a17
KK
210902013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21091
21092 * sysdeps/sh/stackguard-macros.h: New file.
21093
dc1a95c7
OB
210942013-09-26 Ondřej Bílka <neleai@seznam.cz>
21095
21096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21098 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21099 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21100 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21101 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21102
5ebbff8f
AZ
211032013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21104
21105 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21106 Fix thread ID register.
21107
4fd2cf9f
JM
211082013-09-25 Joseph Myers <joseph@codesourcery.com>
21109
21110 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21111 [POSIX || UNIX98]: Require rather than permitting all symbols from
21112 <time.h>.
21113 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21114 element of struct sched_param.
21115 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21116 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21117 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21118 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21119 constant.
21120
12c22bc4
OL
211212013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21122
21123 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21124 argument calculation.
21125
a03d8ea7
JM
211262013-09-24 Joseph Myers <joseph@codesourcery.com>
21127
21128 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21129 Expect macro.
21130 [POSIX] (pthread_attr_t): Do not require type.
21131 [POSIX] (pthread_cond_t): Likewise.
21132 [POSIX] (pthread_condattr_t): Likewise.
21133 [POSIX] (pthread_key_t): Likewise.
21134 [POSIX] (pthread_mutex_t): Likewise.
21135 [POSIX] (pthread_mutexattr_t): Likewise.
21136 [POSIX] (pthread_once_t): Likewise.
21137 [POSIX] (pthread_t): Likewise.
21138 [POSIX-based standards] (pthread_atfork): Expect function.
21139
6055173a
JM
211402013-09-24 Joseph Myers <joseph@codesourcery.com>
21141 Richard Sandiford <richard@codesourcery.com>
21142
21143 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21144 (swap_endianness_p): New extern variable.
21145 (set_big_endian): New inline function.
21146 (maybe_swap_uint32): Likewise.
21147 (maybe_swap_uint32_array): Likewise.
21148 (maybe_swap_uint32_obstack): Likewise.
21149 * locale/programs/locfile.c: Include <stdbool.h>.
21150 (swap_endianness_p): New variable.
21151 (add_locale_uint32): Call maybe_swap_uint32.
21152 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21153 (write_locale_data): Call maybe_swap_uint32_array.
21154 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21155 maybe_swap_uint32.
21156 (obstack_int32_grow_fast): Likewise.
21157 (output_weightwc): Call maybe_swap_uint32_obstack.
21158 (collate_output): Likewise.
21159 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21160 (OPT_LITTLE_ENDIAN): Likewise.
21161 (options): Add --little-endian and --big-endian options.
21162 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21163 * locale/programs/locarchive.c: Include "locfile.h".
21164 (GET): New macro.
21165 (SET): Likewise.
21166 (INC): Likewise.
21167 (create_archive): Use the new macros to access fields of
21168 structures directly mapped from or written to locale archives.
21169 (oldlocrecentcmp): Likewise.
21170 (enlarge_archive): Likewise.
21171 (insert_name): Likewise.
21172 (add_alias): Likewise.
21173 (add_locale): Likewise.
21174 (delete_locales_from_archive): Likewise.
21175 (show_archive_content): Likewise.
21176 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21177 locale data.
21178
39bf0bb4
RM
211792013-09-24 Roland McGrath <roland@hack.frob.com>
21180
21181 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21182 http://www.gnu.org/doc/freemanuals.texi.
21183 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21184
f02eed10
WN
211852013-09-24 Will Newton <will.newton@linaro.org>
21186
21187 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21188 macro.
21189
a3a6c312
JM
211902013-09-23 Joseph Myers <joseph@codesourcery.com>
21191
21192 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21193 unsigned char.
21194
107375ac
MR
211952013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21196
21197 * manual/threads.texi (POSIX Threads): Fix a typo.
21198
141f3a77
SP
211992013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21200
303e567a
SP
21201 [BZ #14547]
21202 * string/tst-strcoll-overflow.c: New test case.
21203 * string/Makefile (xtests): Add tst-strcoll-overflow.
21204 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21205 cache if string sizes may cause integer overflow.
21206
141f3a77
SP
21207 [BZ #14547]
21208 * string/strcoll_l.c (coll_seq): New members rule, idx,
21209 save_idx and back_us.
21210 (get_next_seq_nocache): New function.
21211 (do_compare_nocache): New function.
21212 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21213 when malloc fails.
21214
c61b4d41
CD
212152013-09-23 Carlos O'Donell <carlos@redhat.com>
21216
0b1f8e35
CD
21217 [BZ #15754]
21218 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21219 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21220 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21221
c61b4d41
CD
21222 [BZ #15754]
21223 * elf/Makefile (tests): Add tst-ptrguard1.
21224 (tests-static): Add tst-ptrguard1-static.
21225 (tst-ptrguard1-ARGS): Define.
21226 (tst-ptrguard1-static-ARGS): Define.
21227 * elf/tst-ptrguard1.c: New file.
21228 * elf/tst-ptrguard1-static.c: New file.
21229 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21230 * sysdeps/i386/stackguard-macros.h: Likewise.
21231 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21232 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21233 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21234 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21235 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21236 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21237
212382013-09-23 Hector Marco <hecmargi@upv.es>
21239 Ismael Ripoll <iripoll@disca.upv.es>
21240 Carlos O'Donell <carlos@redhat.com>
21241
21242 [BZ #15754]
21243 * sysdeps/generic/stackguard-macros.h: Define
21244 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21245 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21246 Define __pointer_chk_guard_local.
21247 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21248 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21249
f5f4e7b4
VV
212502013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21251
21252 [BZ #15859]
21253 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21254
5bb43a43
AS
212552013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21256
21257 * include/string.h (__ffs): Declare as hidden.
21258 * string/ffs.c (__ffs): Define as hidden.
21259 * sysdeps/i386/ffs.c (__ffs): Likewise.
21260 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21261 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21262 * sysdeps/s390/ffs.c (__ffs): Likewise.
21263 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21264
3ea5be54
AO
212652013-09-20 Alexandre Oliva <aoliva@redhat.com>
21266
ffb89e53
AO
21267 * NEWS: Mention malloc probes.
21268
322dea08
AO
21269 * malloc/arena.c (new_heap): New memory_heap_new probe.
21270 (grow_heap): New memory_heap_more probe.
21271 (shrink_heap): New memory_heap_less probe.
21272 (heap_trim): New memory_heap_free probe.
21273 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21274 (systrim): New memory_sbrk_less probe.
21275 * manual/probes.texi: Document them.
21276
655673f3
AO
21277 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21278 * manual/probes.texi: Document it.
21279
35fed6f1
AO
21280 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21281 (__libc_realloc): Add memory_realloc_retry probe.
21282 (__libc_memalign): Add memory_memalign_retry probe.
21283 (__libc_valloc): Add memory_valloc_retry probe.
21284 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21285 (__libc_calloc): Add memory_calloc_retry probe.
21286 * manual/probes.texi: Document them.
21287
6999d38c
AO
21288 * malloc/arena.c (get_free_list): Add probe
21289 memory_arena_reuse_free_list.
21290 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21291 and memory_arena_reuse.
21292 (arena_get2) [!PER_THREAD]: Likewise.
21293 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21294 memory_arena_reuse_realloc.
21295 * manual/probes.texi: Document them.
21296
0653427f
AO
21297 * malloc/malloc.c (__libc_free): Add
21298 memory_mallopt_free_dyn_thresholds probe.
21299 (__libc_mallopt): Add multiple memory_mallopt probes.
21300 * manual/probes.texi: Document them.
21301
3ea5be54
AO
21302 * malloc/malloc.c: Include stap-probe.h.
21303 (__libc_mallopt): Add memory_mallopt probe.
21304 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21305 * manual/probes.texi: New.
21306 * manual/Makefile (chapters): Add probes.
21307 * manual/threads.texi: Set next node.
21308
e35696c3 213092013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 21310
e35696c3
CL
21311 [BZ #15963, #13985]
21312 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21313 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21314 Add `Chinese' to `nan' entry name.
21315
4aafb73c
SP
213162013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21317
21318 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21319 (POLYNOMIAL): Likewise.
21320 (TAYLOR_SINCOS): Likewise.
21321 (TAYLOR_SLOW): Likewise.
21322 (__sin): Use TAYLOR_SINCOS.
21323 (__cos): Likewise.
21324 (slow): Use TAYLOR_SLOW.
21325 (sloww): Likewise.
21326 (bsloww): Likewise.
21327 (csloww): Likewise.
21328
d84f25c7
LD
213292013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21330
21331 * stdlib/strtod_l.c: Fix buffer overrun.
21332
5eea0404
SP
213332013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21334
7849ff93
SP
21335 * benchtests/Makefile (bench): Add sincos.
21336 * benchtests/bench-sincos.c: New file.
21337
cfa3c886
SP
21338 * math/libm-test.inc (cos_test_data): New test inputs.
21339 (sin_test_data): Likewise.
21340
b348e1e3
SP
21341 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21342 macro.
21343 (__sin): Use it.
21344 (__cos): Likewise.
21345 (slow1): Likewise.
21346 (slow2): Likewise.
21347 (sloww1): Likewise.
21348 (sloww2): Likewise.
21349 (bsloww1): Likewise.
21350 (bsloww2): Likewise.
21351 (cslow2): Likewise.
21352 (csloww1): Likewise.
21353 (csloww2): Likewise.
21354
6cce25f8
SP
21355 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21356 function.
21357 (__sin): Use it.
21358 (__cos): Likewise.
21359
5eea0404
SP
21360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21361 gotos.
21362 (__cos): Likewise.
21363
9c21573c
MR
213642013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21365
21366 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21367 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21368 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21369 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21370 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21371 * elf/cache.c (print_entry): Handle the new cache flags.
21372
24d22e65
JM
213732013-09-18 Joseph Myers <joseph@codesourcery.com>
21374 Aldy Hernandez <aldyh@redhat.com>
21375
21376 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21377 Change condition to [_SOFT_FLOAT].
21378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21390 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21393 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21394 declaration.
21395
d13ef066
JM
213962013-09-18 Joseph Myers <joseph@codesourcery.com>
21397
2e071de0
JM
21398 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21399 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21400 (__longjmp): Use LOAD_GP to load saved GPRs.
21401 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21402 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21403 (__sigsetjmp): Use SAVE_GP to save GPRs.
21404
d13ef066
JM
21405 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21406 Do not append -msoft-float.
21407 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21408
97a0650b
SP
214092013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21410
21411 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21412
11ca09e9
JM
214132013-09-17 Joseph Myers <joseph@codesourcery.com>
21414
21415 [BZ #15966]
21416 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21417 (_FPU_GETCW): Use initial "__" on variable and field names but not
21418 on macro parameter name.
21419 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21420 parentheses around reference to macro parameter.
21421
08ffcf34
RS
214222013-09-13 Richard Sandiford <richard@codesourcery.com>
21423
21424 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21425 prototype.
21426 (ctype_startup): Use uint32_t in cast and sizeof for
21427 ctype->charnames.
21428
ae7080d3
JL
214292013-09-11 Jia Liu <proljc@gmail.com>
21430
21431 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21432 __daddr_t_defined.
21433 [__FreeBSD__]: Likewise.
21434
5905e7b3
OB
214352013-09-11 Ondřej Bílka <neleai@seznam.cz>
21436
21437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21438 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21439 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21440 (strchr): Remove __strchr_sse42 ifunc selection.
21441 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21442 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21443
b987c776
WN
214442013-09-11 Will Newton <will.newton@linaro.org>
21445
21446 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21447 parameter to RES. Remove hardcoded 1000 value.
21448 * benchtests/bench-skeleton.c (main): Pass RES parameter
21449 to TIMING_INIT and multiply result by 1000.
21450
ddf985af
AZ
214512013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21452
21453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21454
ffdd3181
AS
214552013-09-11 Andreas Schwab <schwab@suse.de>
21456
21457 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21458 if not defined.
21459 (O_TMPFILE) [__USE_GNU]: Define.
21460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21461 Define.
21462
b73ed247
WN
214632013-09-11 Will Newton <will.newton@linaro.org>
21464
21465 [BZ #15857]
21466 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21467 does not overflow.
21468
55e17aad
WN
214692013-09-11 Will Newton <will.newton@linaro.org>
21470
21471 [BZ #15856]
21472 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21473 does not overflow.
21474
1159a193
WN
214752013-09-11 Will Newton <will.newton@linaro.org>
21476
21477 [BZ #15855]
21478 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21479 does not overflow.
21480
5905e7b3 214812013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
21482
21483 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21484 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21485 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21486 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21487 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21488
cdfc721b
AM
214892013-09-10 Allan McRae <allan@archlinux.org>
21490
aa04af00
AM
21491 [BZ #15748]
21492 * manual/arith.texi (Parsing of Floats): Clarify
21493 cross-reference.
21494
cdfc721b
AM
21495 [BZ #15849]
21496 * manual/install.texi (Running make install): Mention
21497 --enable-pt-chown.
21498 * INSTALL: Regenerated.
21499
95e7cf29
MR
215002013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21501
21502 * csu/init-first.c (_init): Remove the !SHARED condition around
21503 FPU control word initialization.
21504 * elf/dl-support.c (_dl_fpu_control): New variable.
21505 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21506 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21507 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21508 * math/test-fpucw-static.c: New file.
21509 * math/test-fpucw-ieee.c: New file.
21510 * math/test-fpucw-ieee-static.c: New file.
21511 * math/Makefile (tests): Add `test-fpucw-ieee' and
21512 `$(tests-static)'.
21513 (tests-static): New variable.
21514 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21515 dependency to...
21516 [($(build-shared),yes)]
21517 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21518 ... this.
21519 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21520 New dependency.
21521
83e43bf0
AM
215222013-09-09 Allan McRae <allan@archlinux.org>
21523
a9f5ce09
AM
21524 [BZ #15939]
21525 * manual/string.texi (Collation Functions): Fix typo in
21526 strcoll example.
21527 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21528
34829bc2
AM
21529 [BZ #15893]
21530 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21531
3932737d
AM
21532 [BZ #15892]
21533 * libio/memstream.c (open_memstream): Fix memory leak.
21534 * libio/wmemstream.c (open_wmemstream): Likewise.
21535
83e43bf0
AM
21536 [BZ #15895]
21537 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21538
0c66b8e9
WN
215392013-09-09 Will Newton <will.newton@linaro.org>
21540
21541 * malloc/Makefile: Add tst-realloc to tests.
21542 * malloc/tst-realloc.c: New file.
21543
f6b00fd1
AM
215442013-09-09 Allan McRae <allan@archlinux.org>
21545
21546 [BZ #15844]
21547 * COPYING: Update from GNU website to fix FSF address.
21548 * COPYING.LIB: Likewise.
21549
eec55e16
DM
215502013-09-06 David S. Miller <davem@davemloft.net>
21551
21552 * po/zh_TW.po: Update Chinese (traditional) translation from
21553 translation project.
21554
1ecbb381
RS
215552013-09-06 Richard Sandiford <richard@codesourcery.com>
21556 Joseph Myers <joseph@codesourcery.com>
21557
21558 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21559 "localeinfo.h".
21560 (obstack_chunk_alloc): New macro.
21561 (obstack_chunk_free): Likewise.
21562 (record_offset): New function.
21563 (init_locale_data): Likewise.
21564 (align_locale_data): Likewise.
21565 (add_locale_empty): Likewise.
21566 (add_locale_raw_data): Likewise.
21567 (add_locale_raw_obstack): Likewise.
21568 (add_locale_string): Likewise.
21569 (add_locale_wstring): Likewise.
21570 (add_locale_uint32): Likewise.
21571 (add_locale_uint32_array): Likewise.
21572 (add_locale_char): Likewise.
21573 (start_locale_structure): Likewise.
21574 (end_locale_structure): Likewise.
21575 (start_locale_prelude): Likewise.
21576 (end_locale_prelude): Likewise.
21577 (write_locale_data): Take locale_file structure rather than an
21578 iovec.
21579 * locale/programs/locfile.h: Include "obstack.h".
21580 (struct locale_file): Change to store locale file contents instead
21581 of header.
21582 (init_locale_data): New prototype.
21583 (align_locale_data): Likewise.
21584 (add_locale_empty): Likewise.
21585 (add_locale_raw_data): Likewise.
21586 (add_locale_raw_obstack): Likewise.
21587 (add_locale_string): Likewise.
21588 (add_locale_wstring): Likewise.
21589 (add_locale_uint32): Likewise.
21590 (add_locale_uint32_array): Likewise.
21591 (add_locale_char): Likewise.
21592 (start_locale_structure): Likewise.
21593 (end_locale_structure): Likewise.
21594 (start_locale_prelude): Likewise.
21595 (end_locale_prelude): Likewise.
21596 (write_locale_data): Update prototype.
21597 * locale/programs/3level.h (struct TABLE): Remove result field.
21598 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21599 Use new locale_file interface.
21600 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21601 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21602 * locale/programs/ld-address.c (address_output): Use new
21603 locale_file interface.
21604 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21605 NO_ADD_LOCALE.
21606 (collate_finish): Don't call collseq_table_finalize.
21607 (collate_output): Use new locale_file interface.
21608 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21609 in file.
21610 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21611 (TABLE): Move defines earlier in file.
21612 (ELEMENT): Likewise.
21613 (DEFAULT): Likewise.
21614 (wctrans_table_add): Move macro and inline function earlier in
21615 file.
21616 (struct wctype_table): Move type earlier in file.
21617 (add_locale_wctype_table): New static prototype.
21618 (struct locale_ctype_t): Use logical types instead of struct iovec
21619 pointers for members.
21620 (ctype_output): Use new locale_file interface.
21621 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21622 new locale_file interface.
21623 (allocate_arrays): Update for use of new locale_file interface.
21624 * locale/programs/ld-identification.c (identification_output): Use
21625 new locale_file interface.
21626 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21627 * locale/programs/ld-messages.c (messages_output): Likewise.
21628 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21629 * locale/programs/ld-name.c (name_output): Likewise.
21630 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21631 * locale/programs/ld-paper.c (paper_output): Likewise.
21632 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21633 * locale/programs/ld-time.c (time_output): Likewise.
21634
e029e2e5
AZ
216352013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21636
21637 * benchtests/Makefile: Add memrchr benchmark.
21638 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21639 benchmark as memrchr.
21640 * benchtests/bench-memrchr-ifunc.c: New file.
21641 * benchtests/bench-memrchr.c: New file.
21642
bbf6e8e4
WN
216432013-09-06 Will Newton <will.newton@linaro.org>
21644
21645 * benchtests/Makefile (string-bench): Add memcpy.
21646
6c82a2f8
CD
216472013-09-05 Carlos O'Donell <carlos@redhat.com>
21648 Cong Wang <amwang@redhat.com>
21649
e732c5f0 21650 [BZ #15850]
6c82a2f8
CD
21651 * sysdeps/unix/sysv/linux/bits/in.h
21652 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21653 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21654 before __USE_KERNEL_IPV6_DEFS uses.
21655 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21656 IPPROTO_BEETPH.
21657 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21658 sockaddr_in6, or ipv6_mreq.
21659
5430fc65
AZ
216602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21661
21662 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21663 memory access for final bytes in some large inputs.
21664 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21665
4660856c
AZ
216662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21667
21668 * string/test-memrchr.c: New file.
21669 * string/test-memrchr-ifunc.c: New file.
21670 * string/Makefile: Add new memrchr testcase.
21671
bb8ea713
MF
216722013-09-05 Mike Frysinger <vapier@gentoo.org>
21673
21674 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21675 fanotify_init returns EPERM.
21676
b92a20b5
JM
216772013-09-04 Joseph Myers <joseph@codesourcery.com>
21678
21679 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21680 errors.
21681 (top level): Treat second token from macro or constant entries for
21682 allowed headers as allowed.
21683 * include/complex.h: Condition internal declarations on
21684 [!_ISOMAC].
21685 * include/fenv.h: Condition include of <stdbool.h> and internal
21686 declarations on [!_ISOMAC].
7447ccd9
CL
21687
216882013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21689
3e181dda 21690 [BZ #15923]
7447ccd9
CL
21691 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21692
3f2e46a4
JM
216932013-09-04 Joseph Myers <joseph@codesourcery.com>
21694
21695 * configure.in (--enable-versioning): Remove configure option.
21696 (libc_cv_asm_symver_directive): Remove configure test.
21697 (libc_cv_ld_version_script_option): Likewise.
21698 (VERSIONING): Remove variable and AC_SUBST.
21699 (DO_VERSIONING): Remove AC_DEFINE.
21700 * configure: Regenerated.
21701 * config.h.in (DO_VERSIONING): Remove macro.
21702 * Makerules [$(versioning) = yes]: Change conditionals to
21703 [$(build-shared) = yes].
21704 * config.make.in (versioning): Remove variable.
21705 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21706 [$(build-shared) = yes].
21707 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21708 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21709 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21710 [$(build-shared) = yes].
21711 * extra-lib.mk [$(versioning) = yes]: Likewise.
21712 * hurd/Makefile [$(versioning) = yes]: Likewise.
21713 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21714 [SHARED].
21715 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21716 [SHARED].
21717 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21718 [SHARED && !NO_HIDDEN].
21719 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21720 [SHARED].
21721 [SHARED && DO_VERSIONING]: Likewise..
21722 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21723 [$(build-shared) = yes].
21724 * manual/install.texi (--disable-versioning): Remove
21725 documentation.
21726 * INSTALL: Regenerated.
21727 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21728 to [SHARED].
21729 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21730 [$(build-shared) = yes].
21731 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21732 * sysdeps/i386/i686/multiarch/strstr-c.c
21733 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21734 [SHARED && !NO_HIDDEN].
21735 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21736 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21737 * sysdeps/powerpc/powerpc32/dl-machine.c
21738 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21739 * sysdeps/powerpc/powerpc32/sysdep.h
21740 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21741 to [SHARED && PIC && !NO_HIDDEN].
21742 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21743 conditional to [SHARED].
21744
44558701
WN
217452013-09-04 Will Newton <will.newton@linaro.org>
21746
21747 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21748 * benchtests/bench-string.h: Include bench-timing.h instead
21749 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21750 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21751 call to HP_TIMING_DIFF_INIT.
21752 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21753 instead of hp-timing.h macros.
21754 * benchtests/bench-memchr.c: Likewise.
21755 * benchtests/bench-memcmp.c: Likewise.
21756 * benchtests/bench-memcpy.c: Likewise.
21757 * benchtests/bench-memmem.c: Likewise.
21758 * benchtests/bench-memmove.c: Likewise.
21759 * benchtests/bench-memset.c: Likewise.
21760 * benchtests/bench-rawmemchr.c: Likewise.
21761 * benchtests/bench-strcasecmp.c: Likewise.
21762 * benchtests/bench-strcasestr.c: Likewise.
21763 * benchtests/bench-strcat.c: Likewise.
21764 * benchtests/bench-strchr.c: Likewise.
21765 * benchtests/bench-strcmp.c: Likewise.
21766 * benchtests/bench-strcpy.c: Likewise.
21767 * benchtests/bench-strcpy_chk.c: Likewise.
21768 * benchtests/bench-strlen.c: Likewise.
21769 * benchtests/bench-strncasecmp.c: Likewise.
21770 * benchtests/bench-strncat.c: Likewise.
21771 * benchtests/bench-strncmp.c: Likewise.
21772 * benchtests/bench-strncpy.c: Likewise.
21773 * benchtests/bench-strnlen.c: Likewise.
21774 * benchtests/bench-strpbrk.c: Likewise.
21775 * benchtests/bench-strrchr.c: Likewise.
21776 * benchtests/bench-strspn.c: Likewise.
21777 * benchtests/bench-strstr.c: Likewise.
21778
cae16d66
WN
217792013-09-04 Will Newton <will.newton@linaro.org>
21780
21781 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21782
ffa3cd7f
JM
217832013-09-03 Joseph Myers <joseph@codesourcery.com>
21784
21785 [BZ #15427]
21786 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21787 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21788 * math/libm-test.inc (lgamma_test_data): Add more tests.
21789 * sysdeps/i386/fpu/libm-test-ulps: Update.
21790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21791
8f02859f
OB
217922013-09-03 Ondřej Bílka <neleai@seznam.cz>
21793
21794 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21796 Add ifunc.
21797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21798 Add strcmp-sse2-unaligned
21799 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21800
18d43716
MF
218012013-09-02 Mike Frysinger <vapier@gentoo.org>
21802
21803 * Versions.def (libc): Add GLIBC_2.19.
21804
ac444012
MF
218052013-09-02 Mike Frysinger <vapier@gentoo.org>
21806
21807 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21808 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21809
b7835e32
JM
218102013-09-02 Joseph Myers <joseph@codesourcery.com>
21811
21812 [BZ #14155]
21813 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21814 intermediate calculations in recurrence.
21815 (__ieee754_ynf): Likewise.
21816 * math/libm-test.inc (jn_test_data): Do not allow spurious
21817 underflow exception. Add more tests.
21818 (yn_test_data): Add more tests.
21819 * sysdeps/i386/fpu/libm-test-ulps: Update.
21820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21821
8220f4f0
OB
218222013-09-02 Ondřej Bílka <neleai@seznam.cz>
21823
21824 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21825
f24a6d08
OB
218262013-08-30 Ondřej Bílka <neleai@seznam.cz>
21827
21828 * csu/init-first.c: Fix then/than typos.
21829 * locale/programs/ld-collate.c: Likewise.
21830 * locale/programs/linereader.h: Likewise.
21831 * manual/charset.texi: Likewise.
21832 * manual/filesys.texi: Likewise.
21833 * manual/stdio.texi: Likewise.
21834 * manual/string.texi: Likewise.
21835 * stdlib/fmtmsg.c: Likewise.
21836 * sysdeps/i386/stpncpy.S: Likewise.
21837 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21838 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21839 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21840 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21841
382466e0
OB
218422013-08-30 Ondřej Bílka <neleai@seznam.cz>
21843
21844 * elf/dl-open.c: Fix typos.
21845 * iconvdata/gbbig5.c: Likewise.
21846 * iconvdata/iso-2022-jp.c: Likewise.
21847 * iconv/gconv_int.h: Likewise.
21848 * iconv/loop.c: Likewise.
21849 * nis/rpcsvc/nis.h: Likewise.
21850 * resolv/ns_name.c: Likewise.
21851 * stdio-common/vfscanf.c: Likewise.
21852 * streams/stropts.h: Likewise.
21853 * sunrpc/rpc_thread.c: Likewise.
21854 * sysdeps/i386/strpbrk.S: Likewise.
21855 * sysdeps/ieee754/k_standard.c: Likewise.
21856 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21858 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21859 * sysdeps/mach/hurd/profil.c: Likewise.
21860 * sysdeps/s390/dl-procinfo.h: Likewise.
21861 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21862 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21863 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21864 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21865 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21866
0186c6e9
OB
218672013-08-30 Ondřej Bílka <neleai@seznam.cz>
21868
21869 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21870 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21871
d4e16af1
OB
218722013-08-29 Ondřej Bílka <neleai@seznam.cz>
21873
21874 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21875 aix specific files.
21876 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21877 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21878 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21879 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21880 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21881 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21882 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21883 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21884
88335980
TS
218852013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21886 Roland McGrath <roland@hack.frob.com>
21887
21888 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21889 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21890
ed479b02
ST
218912013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21892
21893 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21894 __executable_start symbol instead of _start.
21895
f1cc4c86
TS
218962013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21897
d821f07c
TS
21898 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21899 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21900 Move macros to...
21901 * sysdeps/gnu/ldsodefs.h: ... this new file.
21902
c54290cf
TS
21903 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21904 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21905 instead of ELFOSABI_LINUX.
21906
0007fc9b 21907 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21908 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21909 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21910 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21911 Likewise.
21912 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21913 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21914 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21915 Likewise.
21916 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21917 (ibm_extended_long_double): Add ieee_nan member.
21918 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21919 (do_test): New function.
21920
f1cc4c86
TS
21921 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21922 TEST_TRUNC.
21923 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21924 functions, renamed from truncdfsf_test, trunctfsf_test,
21925 trunctfdf_test.
21926 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21927 functions.
21928 (do_test): Run all these.
21929
6f65e668
OB
219302013-08-29 Ondřej Bílka <neleai@seznam.cz>
21931
21932 * argp/argp-help.c: Fix typos.
21933 * argp/argp-parse.c: Likewise.
21934 * debug/backtracesyms.c: Likewise.
21935 * elf/elf.h: Likewise.
21936 * malloc/malloc.c: Likewise.
21937 * nis/nis_print.c: Likewise.
21938 * resolv/res_comp.c: Likewise.
21939 * stdlib/stdlib.h: Likewise.
21940 * sunrpc/clnt_tcp.c: Likewise.
21941 * sunrpc/clnt_udp.c: Likewise.
21942 * sunrpc/clnt_unix.c: Likewise.
21943 * sysdeps/unix/bsd/ptsname.c: Likewise.
21944 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21945 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21947 Likewise.
21948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21949 Likewise.
21950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21951 Likewise.
6f65e668
OB
21952 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21953
3a309239
SP
219542013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21955
21956 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21958
3b813b29
MF
219592013-08-27 Mike Frysinger <vapier@gentoo.org>
21960
21961 [BZ #15897]
21962 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21963 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21964 ($(objpfx)bug-dl-leaf): New rule.
21965 ($(objpfx)bug-dl-leaf.so): Likewise.
21966 ($(objpfx)bug-dl-leaf.out): Likewise.
21967 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21968 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21969 * dlfcn/bug-dl-leaf.c: New test.
21970 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21971 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21972 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21973 (dlclose): Likewise.
21974 (dlmopen): Likewise.
21975
8cc3269f
RM
219762013-08-27 Roland McGrath <roland@hack.frob.com>
21977
7f9d0034
RM
21978 * include/netdb.h [!_ISOMAC]:
21979 Don't include <tls.h>.
21980 (h_errno, __libc_h_errno): Move declaration and macros out of
21981 [_LIBC_REENTRANT].
21982
fb431262
RM
21983 * include/resolv.h [_RESOLV_H_]:
21984 Don't include <tls.h>.
21985 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21986 * resolv/res_libc.c: Don't include <tls.h>.
21987 (_res): Use __attribute__ ((nocommon)) in place of
21988 __attribute__ ((section (".bss"))).
21989
bd81123a
RM
21990 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21991 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21992
c4e42566
RM
21993 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21994
f890a59b
RM
21995 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21996 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21997
21998 * resolv/res_mkquery.c: Include <sys/time.h>.
21999
5d1f0a09
RM
22000 * inet/ifreq.c: Moved to ...
22001 * sysdeps/unix/ifreq.c: ... here.
22002 * inet/ifreq.c: New file, true stub version.
22003
6fcf28b3
RM
22004 * socket/sa_len.c: New file.
22005 * socket/Makefile (aux): Add it.
22006 * sysdeps/unix/sysv/linux/Makefile
22007 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22008 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22009 and #include <socket/sa_len.c>.
22010 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22011 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22012
e041fb8b
RM
22013 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22014 * bits/socket.h: ... here.
22015
8cc3269f
RM
22016 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22017 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22018 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22019
5d228a43
AS
220202013-08-27 Andreas Schwab <schwab@suse.de>
22021
45b8accc
AS
22022 [BZ #15736]
22023 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22024 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22025 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22026 * string/test-strcasecmp.c (test_main): Run tests in several
22027 locales.
22028 * string/test-strncasecmp.c (test_main): Likewise.
22029
5d228a43
AS
22030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22031 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22032 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22034 (__strncasecmp_ssse3) [PIC]: Likewise.
22035
59d112a4
RM
220362013-08-26 Roland McGrath <roland@hack.frob.com>
22037
53234cc3
RM
22038 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22039
59d112a4
RM
22040 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22041 instead of explicitly declaring xdecrypt.
22042 * nis/nss_nis/nis-publickey.c: Likewise.
22043
595aba70
SP
220442013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22045
22046 [BZ #15890]
22047 * nscd/aicache.c: Include res_hconf.h.
22048 (addhstaiX): Initialize res_hconf.
22049
ffabd393
AS
220502013-08-26 Andreas Schwab <schwab@suse.de>
22051
22052 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22053 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22054
e0a69f5c
SP
220552013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22056
22057 * nscd/aicache.c (addhstaiX): Fix indentation.
22058
8c12f01d
MF
220592013-08-25 Mike Frysinger <vapier@gentoo.org>
22060
22061 * configure.ac: Quote $build_pt_chown test.
22062 * configure: Regenerated.
22063
8fe89494
JM
220642013-08-23 Joseph Myers <joseph@codesourcery.com>
22065
22066 [BZ #15532]
22067 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22068 * math/s_cexpf.c (__cexpf): Likewise.
22069 * math/s_cexpl.c (__cexpl): Likewise.
22070 * math/libm-test.inc (cexp_test_data): Correct expected return
22071 value for NaN + i0. Add another test.
22072
75b181d6
DM
220732013-08-22 David S. Miller <davem@davemloft.net>
22074
22075 * po/ca.po: Update Catalan translation from translation project.
936241e4 22076 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 22077
acd06bb1
JM
220782013-08-21 Joseph Myers <joseph@codesourcery.com>
22079
22080 [BZ #15797]
22081 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22082 is infinite, not alongside NaN test.
22083 * math/s_fdimf.c (__fdimf): Likewise.
22084 * math/s_fdiml.c (__fdiml): Likewise.
22085 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22086 errno is unchanged.
22087
c0c3f78a
OB
220882013-08-21 Ondřej Bílka <neleai@seznam.cz>
22089
22090 * argp/argp-help.c: Fix typos.
22091 * crypt/speeds.c: Likewise.
22092 * csu/check_fds.c: Likewise.
22093 * elf/dl-load.c: Likewise.
22094 * elf/dl-open.c: Likewise.
22095 * elf/reldep3.c: Likewise.
22096 * elf/reldep.c: Likewise.
22097 * elf/sprof.c: Likewise.
22098 * iconv/iconv_charmap.c: Likewise.
22099 * iconv/skeleton.c: Likewise.
22100 * iconv/strtab.c: Likewise.
22101 * io/lockf64.c: Likewise.
22102 * libio/libioP.h: Likewise.
22103 * resolv/gai_notify.c: Likewise.
22104 * resolv/ns_name.c: Likewise.
22105 * resolv/ns_samedomain.c: Likewise.
22106 * resolv/res_send.c: Likewise.
22107 * stdlib/random.c: Likewise.
22108 * sunrpc/rpc/xdr.h: Likewise.
22109 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22110 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22111 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22112 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22113 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22114 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22116 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22117 * sysdeps/mach/hurd/check_fds.c: Likewise.
22118 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22119 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22120 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22121 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22122 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22123 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22124 * sysdeps/pthread/aio_notify.c: Likewise.
22125 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22126 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22127 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22128 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22129 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22130
46ed1038
LD
221312013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22132
22133 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22134 version if bit_Slow_SSE4_2 is set.
22135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22136 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22137
d400dcac
AZ
221382013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22139
22140 [BZ #15867]
22141 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22142 trampoline stack frame information.
22143 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22144 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22145 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22146 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22147 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22148 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22149 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22150 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22151 sa_flags value.
22152 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22153 interrupting a syscall and set with option SA_SIGINFO.
22154
42c8fdd8
JM
221552013-08-20 Joseph Myers <joseph@codesourcery.com>
22156
c980f2f4
JM
22157 [BZ #15531]
22158 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22159 argument is infinite.
22160 * math/s_cprojf.c (__cprojf): Likewise.
22161 * math/s_cprojl.c (__cprojl): Likewise.
22162 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22163 * math/libm-test.inc (cproj_test_data): Add more tests.
22164
0716c4fc
JM
22165 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22166
42c8fdd8
JM
22167 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22168 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22169 size. Use __ffs to determine corresponding shift.
22170
b31469d0
JM
221712013-08-20 Joseph Myers <joseph@codesourcery.com>
22172 Roland McGrath <roland@hack.frob.com>
22173
22174 * Makefile (INSTALL): Remove trailing blank lines from output of
22175 makeinfo.
22176
4e39af6e
AK
221772013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22178
22179 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22180 Align 32 bit compat elf_greg to 8 bytes.
22181
f315524e
AA
221822013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22183
22184 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22185
1326ba1a
SP
221862013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22187
22188 * string/strcoll_l.c (coll_seq): New structure.
22189 (get_next_seq_cached): New function.
22190 (get_next_seq): New function.
22191 (do_compare): New function.
22192 (STRCOLL): Use GNU style definition. Simplify implementation
22193 by using get_next_seq, get_next_seq_cached and do_compare.
22194
91ce4085
FW
221952013-08-16 Florian Weimer <fweimer@redhat.com>
22196
22197 [BZ #14699]
22198 CVE-2013-4237
22199 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22200 member.
22201 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22202 member.
22203 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22204 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22205 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22206 conditional.
22207 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22208 GETDENTS_64BIT_ALIGNED.
22209 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22210 * manual/filesys.texi (Reading/Closing Directory): Document
22211 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22212 strongly.
22213 * manual/conf.texi (Limits for Files): Add portability note to
22214 NAME_MAX, PATH_MAX.
22215 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22216
ca0a6bc4
AS
222172013-08-13 Andreas Schwab <schwab@suse.de>
22218
22219 [BZ #15749]
22220 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22221 of fabs.
22222 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22223 LDBL_MAX_EXP >= 16384]: Add tests for it.
22224
6c1fd795
DM
222252013-08-12 David S. Miller <davem@davemloft.net>
22226
22227 * version.h (RELEASE): Set to "development".
22228 (VERSION): Set to "2.18.90".
22229 * NEWS: Add 2.19 section.
22230
31ad488d
DM
222312013-08-03 David S. Miller <davem@davemloft.net>
22232
22233 * po/ko.po: Update Korean translation from translation project.
22234
db24e684
DM
222352013-08-01 David S. Miller <davem@davemloft.net>
22236
22237 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22238 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22239 Bilka.
22240
f723285b
DM
222412013-07-30 David S. Miller <davem@davemloft.net>
22242
22243 * po/fr.po: Update French translation from translation project.
22244
3cbc52db
DM
222452013-07-28 David S. Miller <davem@davemloft.net>
22246
30bbc0cc
DM
22247 * po/cs.po: Update Czech translation from translation project.
22248
3cbc52db
DM
22249 * po/sv.po: Update Swedish translation from translation project.
22250
d492e6d0
DM
222512013-07-27 David S. Miller <davem@davemloft.net>
22252
f1a7f492
DM
22253 * po/eo.po: Update Esperanto translation from translation project.
22254
90e62a4a
DM
22255 * po/vi.po: Update Vietnamese translation from translation project.
22256
d492e6d0
DM
22257 * po/de.po: Update German translation from translation project.
22258
d4baa62d
DM
222592013-07-26 David S. Miller <davem@davemloft.net>
22260
641aa7b4
DM
22261 * po/bg.po: Update Bulgarian translation from translation project.
22262
d4baa62d
DM
22263 * po/nl.po: Update Dutch translation from translation project.
22264 * po/pl.po: Update Polish translation from translation project.
22265 * po/ru.po: Update Russian translation from translation project.
22266
61a9dcb9
DM
222672013-07-24 David S. Miller <davem@davemloft.net>
22268
22269 * po/libc.pot: Update.
22270
7b1f8b58
AZ
222712013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22272
22273 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22274 variable page size.
22275 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22276 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22277 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22278
a8fc7a03
AK
222792013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22280
22281 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22282
e4608715
CD
222832013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22284 Andreas Schwab <schwab@suse.de>
22285 Roland McGrath <roland@hack.frob.com>
22286 Joseph Myers <joseph@codesourcery.com>
22287 Carlos O'Donell <carlos@redhat.com>
22288
22289 [BZ #15755]
22290 * config.h.in: Define HAVE_PT_CHOWN.
22291 * config.make.in (build-pt-chown): New variable.
22292 * configure.in (--enable-pt_chown): New configure option.
22293 * configure: Regenerate.
22294 * login/Makefile: Include Makeconfig. Build pt_chown only if
22295 build-pt-chown is enabled.
22296 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22297 pt_chown to fix pty ownership.
22298 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22299 CLOSE_ALL_FDS.
22300 * manual/install.texi (Configuring and compiling): Mention
22301 --enable-pt_chown. Add @findex for grantpt.
22302 * INSTALL: Regenerate.
22303
da2d62df
DM
223042013-07-20 David S. Miller <davem@davemloft.net>
22305
22306 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22307 difference between 32-bit and 64-bit.
22308
d7e06450
CD
223092013-07-15 Carlos O'Donell <carlos@redhat.com>
22310
22311 [BZ #15711]
22312 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22313 Avoid system header dependency with -ffreestanding.
22314 ($(objpfx)bits/syscall%d): Likewise.
22315
f959cfd7
DM
223162013-07-13 David S. Miller <davem@davemloft.net>
22317
22318 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22319 underflows from atanl/atan2l due to bug 15319.
22320 (casinh_test_data): Likewise.
22321
c61f8513
DM
223222013-07-07 David S. Miller <davem@davemloft.net>
22323
22324 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22325
72c90ed0
JA
223262013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22327
22328 * sysdeps/i386/fpu/libm-test-ulps: Update.
22329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22330
52dfbe13
SP
223312013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22332
22333 * configure.in (--enable-lock-elision): Fix message text.
22334 * INSTALL: Regenerate.
22335 * configure: Regenerate.
22336
3f169543
AZ
223372013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22338
22339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22340
521c6785
AJ
223412013-07-03 Andreas Jaeger <aj@suse.de>
22342
22343 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22344 define.
22345 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22346 (ptrace_peeksiginfo_args): Add.
22347 (__ptrace_peeksiginfo_flags): Add.
22348 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22349 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22350 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22351
d2cc15cb
AM
223522013-07-03 Allan McRae <allan@archlinux.org>
22353
22354 * sysdeps/i386/fpu/libm-test-ulps: Update.
22355
3aaeeca7
DM
223562013-07-02 David S. Miller <davem@davemloft.net>
22357
22358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22359
5314ed1a
MT
223602013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22361
22362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22363
67338156
JM
223642013-07-02 Joseph Myers <joseph@codesourcery.com>
22365
22366 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22368
1717da59
AK
223692013-07-02 Andi Kleen <ak@linux.intel.com>
22370
22371 * config.h.in (ENABLE_LOCK_ELISION): Add.
22372 * configure.in (--enable-lock-elision): Add option.
22373 * manual/install.texi: Document --enable lock elision.
22374 * configure: Regenerate
22375 * INSTALL: Regenerate.
22376
1c81621c
L
223772013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22378
22379 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22380 SSE4.2 strcasecmp for libc.a.
22381 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22382
77f01ab5
JM
223832013-07-02 Joseph Myers <joseph@codesourcery.com>
22384
22385 [BZ #13304]
22386 * soft-fp/op-common.h (_FP_FMA): New macro.
22387 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22388 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22389 (_FP_MUL_MEAT_1_imm): ... here.
22390 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22391 (_FP_MUL_MEAT_1_wide): ... here.
22392 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22393 (_FP_MUL_MEAT_1_hard): ... here.
22394 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22395 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22396 (_FP_MUL_MEAT_2_wide): ... here.
22397 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22398 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22399 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22400 (_FP_MUL_MEAT_2_gmp): ... here.
22401 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22402 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22403 (_FP_MUL_MEAT_4_wide): ... here.
22404 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22405 (_FP_MUL_MEAT_4_gmp): ... here.
22406 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22407 (_FP_WFRACBITS_DW_S): Likewise.
22408 (_FP_WFRACXBITS_DW_S): Likewise.
22409 (_FP_HIGHBIT_DW_S): Likewise.
22410 (FP_FMA_S): Likewise.
22411 (_FP_FRAC_HIGH_DW_S): Likewise.
22412 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22413 (_FP_WFRACBITS_DW_D): Likewise.
22414 (_FP_WFRACXBITS_DW_D): Likewise.
22415 (_FP_HIGHBIT_DW_D): Likewise.
22416 (FP_FMA_D): Likewise.
22417 (_FP_FRAC_HIGH_DW_D): Likewise.
22418 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22419 (_FP_WFRACBITS_DW_E): Likewise.
22420 (_FP_WFRACXBITS_DW_E): Likewise.
22421 (_FP_HIGHBIT_DW_E): Likewise.
22422 (FP_FMA_E): Likewise.
22423 (_FP_FRAC_HIGH_DW_E): Likewise.
22424 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22425 (_FP_WFRACBITS_DW_Q): Likewise.
22426 (_FP_WFRACXBITS_DW_Q): Likewise.
22427 (_FP_HIGHBIT_DW_Q): Likewise.
22428 (FP_FMA_Q): Likewise.
22429 (_FP_FRAC_HIGH_DW_Q): Likewise.
22430 * soft-fp/fmasf4.c: New file.
22431 * soft-fp/fmadf4.c: Likewise.
22432 * soft-fp/fmatf4.c: Likewise.
22433
6308fd9a
LD
224342013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22435
22436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22437 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22438 Silvermont.
22439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22440 macro.
22441 (index_Slow_SSE4_2): Likewise.
22442 (index_Prefer_PMINUB_for_stringop): Likewise.
22443 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22444 bit_Slow_SSE4_2 is set.
22445 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22446 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22447
89cd9569
RA
224482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22449
22450 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22451 rtld_global._dl_hwcap2.
22452 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22453 POWER8.
22454 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22455 POWER8 feature descriptions defined in _dl_hwcap2.
22456 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22457 string handling for POWER8 feature bits.
22458 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22459 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22460 _dl_powerpc_cap_flags.
22461 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22462 * sysdeps/powerpc/rtld-global-offsets.sym
22463 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22464 _dl_hwcap2 in the rtld_global_ro structure.
22465
1ae8bfe0
RA
224662013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22467
22468 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22469 hardware capabilities in support of AT_HWCAP2.
22470 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22471 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22472 GLRO(dl_hwcap2).
22473 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22474 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22475 explicitly the unknown a_type display mechanism is used.
22476 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22477 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22478 struct member.
22479 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22480 to macro prototype for AT_HWCAP2 support.
22481 * sysdeps/i386/dl-procinfo.h: Likewise.
22482 * sysdeps/s390/dl-procinfo.h: Likewise.
22483 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22484 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22485 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22486 return -1 for unknown a_type display fallback.
22487 * sysdeps/sparc/dl-procinfo.h: Likewise.
22488 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22489 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22490
8fbec010
JM
224912013-06-28 Joseph Myers <joseph@codesourcery.com>
22492
22493 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22494 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22495
0432680e
PY
224962013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22497
22498 [BZ #12492]
22499 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22500 mprotect making __stack_prot writable.
22501
ce61a2ad
NF
225022013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22503 Joseph Myers <joseph@codesourcery.com>
22504
22505 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22506 as being properly aligned.
22507
f91f1c0f
MR
225082013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22509
3d0f5d0c
MR
22510 * dlfcn/modstatic5.c: New file.
22511 * dlfcn/tststatic5.c: New file.
22512 * dlfcn/Makefile (tests): Add tststatic5.
22513 (tests-static): Likewise.
22514 (modules-names): Add modstatic5.
22515 (tststatic5-ENV): New variable.
22516 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22517
f91f1c0f
MR
22518 [BZ #15022]
22519 * elf/dl-support.c (_dl_main_map): New variable.
22520 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22521 (_dl_nns, _dl_load_adds): Set to 1.
22522 (_dl_initial_searchlist): Refer to _dl_main_map.
22523 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22524 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22525 call to _dl_get_origin.
22526 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22527 around call_map.
22528 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22529 * dlfcn/modstatic3.c: New file.
22530 * dlfcn/tststatic3.c: New file.
22531 * dlfcn/tststatic4.c: New file.
22532 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22533 (tests-static): Likewise.
22534 (modules-names): Add modstatic3.
22535 (tststatic3-ENV, tststatic4-ENV): New variables.
22536 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22537 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22538
cbe7d24b
JM
225392013-06-26 Joseph Myers <joseph@codesourcery.com>
22540
22541 * configure.in (CC): Require GCC version 4.4 or later.
22542 * configure: Regenerated.
22543 * manual/install.texi (Tools for Compilation): Update GCC version
22544 requirement.
22545 * INSTALL: Regenerated.
22546
11b8a0e1
LD
225472013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22548
22549 [BZ #15674]
bb5bb87c
L
22550 * string/test-memcmp.c (check2): New.
22551 (main): Call check2.
22552
11b8a0e1
LD
22553 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22554
b0037103
MR
225552013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22556
22557 [BZ #15022]
22558 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22559 over to...
22560 (dl_open_worker) [!SHARED]: ... here.
22561
c18c701d
RA
225622013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22563
22564 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22565
1d17fa5f
RH
225662013-06-25 Richard Henderson <rth@redhat.com>
22567
22568 * locale/programs/locarchive.c: Include <libc-internal.h>
22569
8fcb833a
JM
225702013-06-25 Joseph Myers <joseph@codesourcery.com>
22571
22572 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22573 trailing whitespace removed.
22574
17db6e8d
MF
225752013-06-24 Mike Frysinger <vapier@gentoo.org>
22576
22577 [BZ #10283]
17db6e8d
MF
22578 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22579 * locale/programs/locarchive.c: Include libc-mmap.h.
22580 (prepare_address_space): Take two new outputs (the mmap base and len).
22581 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22582 values.
22583 (create_archive): Declare new mmap base and len values for
22584 prepare_address_space, and store the result in ah.
22585 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22586 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22587 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22588 Declare new mmap base and len values for
22589 prepare_address_space, and store the result in new_ah.
22590 (open_archive): Declare new mmap base and len values for
22591 prepare_address_space, and store the result in ah.
22592 (close_archive): If ah->mmap_base is not NULL, use that and
22593 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22594 * sysdeps/generic/libc-mmap.h: New file.
22595
d605071e
MF
225962013-06-24 Mike Frysinger <vapier@gentoo.org>
22597
22598 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22599 (ALIGN_UP): Likewise.
22600 (PTR_ALIGN_DOWN): Likewise.
22601 (PTR_ALIGN_UP): Likewise.
22602
2f063a6e
RA
226032013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22604
22605 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22606 entry mapped to PPC_PLATFORM_POWER8.
22607 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22608 POWER8.
22609 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22610 (_dl_string_platform): Add case for exporting platform position for
22611 POWER8.
22612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22613 search path to sysdeps/powerpc/powerpc32/power8 directory.
22614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22615 search path to sysdeps/powerpc/powerpc64/power8 directory.
22616 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22617 power7 directories.
22618 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22619 power7 directories.
22620
a31ee4b3
SP
226212013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22622
a74ca98f
SP
22623 * INSTALL: Regenerate.
22624
a31ee4b3
SP
22625 * nscd/connections.c (nscd_init): Fix comment.
22626
695c378f
JM
226272013-06-22 Joseph Myers <joseph@codesourcery.com>
22628
d8412221
JM
22629 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22630
695c378f
JM
22631 [BZ #15667]
22632 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22633 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22634
d1d54715
MR
226352013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22636
22637 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22638 DL_DST_REQ_STATIC.
22639 (DL_DST_REQ_STATIC): Remove macro.
22640
8fdda7af
JM
226412013-06-21 Joseph Myers <joseph@codesourcery.com>
22642
22643 [BZ #7006]
22644 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22645 with a shift of 0 bits.
22646
f3bc5e5a
MR
226472013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22648
22649 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22650 $(tststatic-ENV).
22651
be09e8c9
KK
226522013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22653
22654 [BZ #15655]
22655 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22656
85c2e611
AZ
226572013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22658
22659 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22660 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22661 accepts -fno-tree-loop-distribute-patterns.
22662 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22663 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22664 recursive call.
22665 * string/memset.c (memset): Likewise.
22666 * string/test-memmove.c (simple_memmove): Disable loop transformation
22667 to library calls.
22668 * string/test-memset.c (simple_memset): Likewise.
22669 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22670 * benchtests/bench-memset.c (simple_memset): Likewise.
22671 * configure: Regenerated.
22672
c91e0825
JM
226732013-06-20 Joseph Myers <joseph@codesourcery.com>
22674
b8c792af
JM
22675 * math/test-misc.c (main): Ignore fesetround failure when failures
22676 of subsequent rounding tests would be ignored.
22677
c91e0825
JM
22678 [BZ #15654]
22679 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22680 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22681 * math/fegetenv.c (__fegetenv): Return 0.
22682 * math/fegetexcept.c (fegetexcept): Return 0.
22683 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22684 FE_TONEAREST.
22685 * math/feholdexcpt.c (feholdexcept): Return 0.
22686 * math/fesetenv.c (__fesetenv): Return 0.
22687 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22688 argument FE_TONEAREST.
22689 * math/feupdateenv.c (__feupdateenv): Return 0.
22690 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22691
bfcacbde
RM
226922013-06-18 Roland McGrath <roland@hack.frob.com>
22693
22694 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22695 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22696 ($(objpfx)rtld-%.os rules): Use them.
22697
e55a9b25
AZ
226982013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22699
22700 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22701 fields.
22702
346d65b3
RM
227032013-06-17 Roland McGrath <roland@hack.frob.com>
22704
12086fb4
RM
22705 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22706 length of target pattern, then descending length of dependency pattern.
22707 * configure.in (AWK): Require gawk 3.1.2 or newer.
22708 * manual/install.texi (Tools for Compilation): Say that we do.
22709 * configure: Regenerated.
22710
346d65b3
RM
22711 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22712 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22713 * scripts/sysd-rules.awk: ... this new script.
22714 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22715 than a glob-style pattern.
22716
1a846317
JM
227172013-06-17 Joseph Myers <joseph@codesourcery.com>
22718
22719 * math/test-misc.c (main): Do not treat incorrectly rounded
22720 conversions as failure unless ROUNDING_TESTS passes.
22721
8fc75e6f
JM
227222013-06-15 Joseph Myers <joseph@codesourcery.com>
22723
3711a167
JM
22724 [BZ #15631]
22725 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22726 restore exception state around main square root computation, then
22727 check for inexactness explicitly.
22728
8fc75e6f
JM
22729 * math/libm-test.inc (fma_test_data): Add another test.
22730
61dd6208
SP
227312013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22732
adf23d2c
SP
22733 * manual/threads.texi (Non-POSIX Extensions): New document
22734 node. Document pthread_getattr_default_np and
22735 pthread_setattr_default_np.
22736
61dd6208
SP
22737 * Versions.def (libpthread): Add GLIBC_2.18.
22738 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22740 Likewise.
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22742 Likewise.
22743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22744 Likewise.
22745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22746 Likewise.
22747 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22748 Likewise.
22749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22750 Likewise.
22751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22752 Likewise.
22753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22754 Likewise.
22755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22756 Likewise.
22757
d086fc7b
LD
227582013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22759
22760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22761 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22762
747ef469
SP
227632013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22764 H.J. Lu <hjl.tools@gmail.com>
22765
22766 [BZ #15627]
22767 * sysdeps/x86_64/rtld-memset.c: Remove file.
22768 * sysdeps/x86_64/rtld-memset.S: New file.
22769
1b2feed2
JM
227702013-06-14 Joseph Myers <joseph@codesourcery.com>
22771
22772 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22773 (test_in_one_mode): Take arguments for whether the rounding mode
22774 is supported for each floating-point type.
22775 (do_test): Pass new arguments to test_in_one_mode using
22776 ROUNDING_TESTS.
22777
a58ad3f8
RM
227782013-06-13 Roland McGrath <roland@hack.frob.com>
22779
22780 * posix/tst-waitid.c (do_test): Distinguish different instances of
22781 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22782 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22783 before entering the kernel for waitpid.
22784
c204ab28
SP
227852013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22786
22787 * NEWS: Fix note on clock function precision. Text by Roland
22788 McGrath.
22789
f4a29fba
RM
227902013-06-13 Roland McGrath <roland@hack.frob.com>
22791
22792 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22793 it into place only when and if the sanity check passes.
22794
1f24b9ad
JM
227952013-06-13 Joseph Myers <joseph@codesourcery.com>
22796
22797 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22798 output for whether conversion result is exact. Take argument
22799 indicating whether type is IBM long double.
22800 (round_for_all): Change need_exact field to ibm_ld.
22801 * stdlib/tst-strtod-round.c (struct exactness): New type.
22802 (struct test): Change bool ld_ok field to struct exactness exact.
22803 (TEST): Update all definitions for change to field.
22804 (tests): Regenerate array contents.
22805 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22806 field value. Check for IBM long double here.
22807 (do_test): Update calls to test_in_one_mode.
22808
58206c68
SP
228092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22810
22811 [BZ #12515]
22812 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22813 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22814
2d6f4c5b 228152013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22816
22817 [BZ #15605]
22818 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22819 generated by the compiler on loop optimizations.
22820 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22821 general definitions.
22822
94f2c076
JM
228232013-06-12 Joseph Myers <joseph@codesourcery.com>
22824
22825 * math/bug-nextafter.c: Include <math-tests.h>.
22826 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22827 the relevant type.
22828 * math/bug-nexttoward.c: Include <math-tests.h>.
22829 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22830 the relevant type.
22831 * math/test-misc.c: Include <math-tests.h>.
22832 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22833 the relevant type.
22834
e0e50a0a
AJ
228352013-06-12 Andreas Jaeger <aj@suse.de>
22836
22837 * po/ia.po: Update Interlingua translation from translation
22838 project.
22839
25061094
SP
228402013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22841
22842 * include/fenv.h: Include stdbool.h.
22843 (struct rm_ctx): New structure.
22844 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22845 Define macro.
22846 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22847 (SET_RESTORE_ROUNDF): Likewise.
22848 (SET_RESTORE_ROUNDL): Likewise.
22849 (SET_RESTORE_ROUND_NOEX): Likewise.
22850 (SET_RESTORE_ROUND_NOEXF): Likewise.
22851 (SET_RESTORE_ROUND_NOEXL): Likewise.
22852 (SET_RESTORE_ROUND_53BIT): Likewise.
22853 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22854 (libc_feresetround_noexf_ctx): Likewise.
22855 (libc_feresetround_noexl_ctx): Likewise.
22856 (libc_feholdsetround_53bit_ctx): Likewise.
22857 (libc_feresetround_53bit_ctx): Likewise.
22858 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22859 (libc_feholdexcept_setround_sse_ctx): New function.
22860 (libc_fesetenv_sse_ctx): Likewise.
22861 (libc_feupdateenv_sse_ctx): Likewise.
22862 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22863 (libc_feholdexcept_setround_387_ctx): Likewise.
22864 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22865 (libc_feholdsetround_387_prec_ctx): Likewise.
22866 (libc_feholdsetround_387_ctx): Likewise.
22867 (libc_feholdsetround_387_53bit_ctx): Likewise.
22868 (libc_feholdsetround_sse_ctx): Likewise.
22869 (libc_feresetround_sse_ctx): Likewise.
22870 (libc_feresetround_387_ctx): Likewise.
22871 (libc_feupdateenv_387_ctx): Likewise.
22872 (libc_feholdexcept_setroundf_ctx): Define macro.
22873 (libc_fesetenvf_ctx): Likewise.
22874 (libc_feupdateenvf_ctx): Likewise.
22875 (libc_feholdsetroundf_ctx): Likewise.
22876 (libc_feresetroundf_ctx): Likewise.
22877 (libc_feholdexcept_setround_ctx): Likewise.
22878 (libc_fesetenv_ctx): Likewise.
22879 (libc_feupdateenv_ctx): Likewise.
22880 (libc_feholdsetround_ctx): Likewise.
22881 (libc_feresetround_ctx): Likewise.
22882 (libc_feholdexcept_setroundl_ctx): Likewise.
22883 (libc_feupdateenvl_ctx): Likewise.
22884 (libc_feholdsetroundl_ctx): Likewise.
22885 (libc_feresetroundl_ctx): Likewise.
22886 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22887 (libc_feresetround_53bit_ctx): Likewise.
22888
59b30555
SP
228892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22890
22891 * locale/iso-639.def: Convert to UTF-8.
22892
f1d73d30
JM
228932013-06-11 Joseph Myers <joseph@codesourcery.com>
22894
22895 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22896 (EXCEPTION_TESTS_double): Likewise.
22897 (EXCEPTION_TESTS_long_double): Likewise.
22898 (EXCEPTION_TESTS): Likewise.
22899 * math/libm-test.inc (test_exceptions): Only test exceptions if
22900 EXCEPTION_TESTS (FLOAT).
22901
94aca5e7
SP
229022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22903
22904 * benchtests/Makefile (string-bench): Add strcpy_chk and
22905 stpcpy_chk.
22906 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22907 * benchtests/bench-stpcpy_chk.c: New file.
22908 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22909 * benchtests/bench-strcpy_chk.c: New file.
22910 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22911 code.
22912 (do_test): Likewise.
22913
fac0c5f2
RA
229142013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22915
22916 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22917 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22918 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22919 with tabs where appropriate.
22920 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22921 dl-procinfo.h.
22922 [PPC_PLATFORM_PPC440]: Likewise.
22923 [PPC_PLATFORM_PPC464]: Likewise.
22924 [PPC_PLATFORM_PPC476]: Likewise.
22925 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22926 ppc464, and ppc476 platform strings merging from ports/
22927 dl-procinfo.h.
22928
f22bc486
AS
229292013-06-11 Andreas Schwab <schwab@suse.de>
22930
22931 [BZ #14991]
22932 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22933 (from_ucs4_idx): Regenerate.
22934 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22935 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22936 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22937 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22938 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22939 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22940 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22941 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22942 from FROM_LOOP and TO_LOOP specific macros.
22943 (BODY): Handle combining characters.
22944 * iconvdata/BIG5HKSCS.irreversible: Update.
22945 * iconvdata/BIG5HKSCS.precomposed: New file.
22946 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22947 characters.
22948 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22949
c1f75dc3
SP
229502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22951
4eacded2
SP
22952 * include/sys/time.h: Fix indentation and add copyright header.
22953
fec799f8
SP
22954 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22955 (do_test): Likewise.
22956 * string/test-memchr.c (do_one_test): Likewise.
22957 (do_test): Likewise.
22958 * string/test-memcmp.c (do_one_test): Likewise.
22959 (do_test): Likewise.
22960 * string/test-memcpy.c (do_one_test): Likewise.
22961 (do_test): Likewise.
22962 * string/test-memmem.c (do_one_test): Likewise.
22963 (do_test): Likewise.
22964 (do_random_tests): Likewise.
22965 * string/test-memmove.c (do_one_test): Likewise.
22966 (do_test): Likewise.
22967 * string/test-memset.c (do_one_test): Likewise.
22968 (do_test): Likewise.
22969 * string/test-rawmemchr.c (do_one_test): Likewise.
22970 (do_test): Likewise.
22971 * string/test-strcasecmp.c (do_one_test): Likewise.
22972 (do_test): Likewise.
22973 * string/test-strcasestr.c (do_one_test): Likewise.
22974 (do_test): Likewise.
22975 * string/test-strcat.c (do_one_test): Likewise.
22976 (do_test): Likewise.
22977 * string/test-strchr.c (do_one_test): Likewise.
22978 (do_test): Likewise.
22979 * string/test-strcmp.c (do_one_test): Likewise.
22980 (do_test): Likewise.
22981 * string/test-strcpy.c (do_one_test): Likewise.
22982 (do_test): Likewise.
22983 * string/test-string.h: Likewise.
22984 (test_init): Likewise.
22985 * string/test-strlen.c (do_one_test): Likewise.
22986 (do_test): Likewise.
22987 * string/test-strncasecmp.c (do_one_test): Likewise.
22988 (do_test): Likewise.
22989 * string/test-strncat.c (do_one_test): Likewise.
22990 (do_test): Likewise.
22991 * string/test-strncmp.c (do_one_test): Likewise.
22992 (do_test_limit): Likewise.
22993 (do_test): Likewise.
22994 * string/test-strncpy.c (do_one_test): Likewise.
22995 (do_test): Likewise.
22996 * string/test-strnlen.c (do_one_test): Likewise.
22997 (do_test): Likewise.
22998 * string/test-strpbrk.c (do_one_test): Likewise.
22999 (do_test): Likewise.
23000 * string/test-strrchr.c (do_one_test): Likewise.
23001 (do_test): Likewise.
23002 * string/test-strspn.c (do_one_test): Likewise.
23003 (do_test): Likewise.
23004 * string/test-strstr.c (do_one_test): Likewise.
23005 (do_test): Likewise.
23006
97020474
SP
23007 * benchtests/Makefile (string-bench): Add string benchmarks.
23008 * benchtests/bench-bcopy-ifunc.c: New file.
23009 * benchtests/bench-bcopy.c: New file.
23010 * benchtests/bench-bzero-ifunc.c: New file.
23011 * benchtests/bench-bzero.c: New file.
23012 * benchtests/bench-memccpy-ifunc.c: New file.
23013 * benchtests/bench-memccpy.c: New file.
23014 * benchtests/bench-memchr-ifunc.c: New file.
23015 * benchtests/bench-memchr.c: New file.
23016 * benchtests/bench-memcmp-ifunc.c: New file.
23017 * benchtests/bench-memcmp.c: New file.
23018 * benchtests/bench-memmem-ifunc.c: New file.
23019 * benchtests/bench-memmem.c: New file.
23020 * benchtests/bench-memmove-ifunc.c: New file.
23021 * benchtests/bench-memmove.c: New file.
23022 * benchtests/bench-mempcpy-ifunc.c: New file.
23023 * benchtests/bench-mempcpy.c: New file.
23024 * benchtests/bench-memset-ifunc.c: New file.
23025 * benchtests/bench-memset.c: New file.
23026 * benchtests/bench-rawmemchr-ifunc.c: New file.
23027 * benchtests/bench-rawmemchr.c: New file.
23028 * benchtests/bench-stpcpy-ifunc.c: New file.
23029 * benchtests/bench-stpcpy.c: New file.
23030 * benchtests/bench-stpncpy-ifunc.c: New file.
23031 * benchtests/bench-stpncpy.c: New file.
23032 * benchtests/bench-strcasecmp-ifunc.c: New file.
23033 * benchtests/bench-strcasecmp.c: New file.
23034 * benchtests/bench-strcasestr-ifunc.c: New file.
23035 * benchtests/bench-strcasestr.c: New file.
23036 * benchtests/bench-strcat-ifunc.c: New file.
23037 * benchtests/bench-strcat.c: New file.
23038 * benchtests/bench-strchr-ifunc.c: New file.
23039 * benchtests/bench-strchr.c: New file.
23040 * benchtests/bench-strchrnul-ifunc.c: New file.
23041 * benchtests/bench-strchrnul.c: New file.
23042 * benchtests/bench-strcmp-ifunc.c: New file.
23043 * benchtests/bench-strcmp.c: New file.
23044 * benchtests/bench-strcpy-ifunc.c: New file.
23045 * benchtests/bench-strcpy.c: New file.
23046 * benchtests/bench-strcspn-ifunc.c: New file.
23047 * benchtests/bench-strcspn.c: New file.
23048 * benchtests/bench-strlen-ifunc.c: New file.
23049 * benchtests/bench-strlen.c: New file.
23050 * benchtests/bench-strncasecmp-ifunc.c: New file.
23051 * benchtests/bench-strncasecmp.c: New file.
23052 * benchtests/bench-strncat-ifunc.c: New file.
23053 * benchtests/bench-strncat.c: New file.
23054 * benchtests/bench-strncmp-ifunc.c: New file.
23055 * benchtests/bench-strncmp.c: New file.
23056 * benchtests/bench-strncpy-ifunc.c: New file.
23057 * benchtests/bench-strncpy.c: New file.
23058 * benchtests/bench-strnlen-ifunc.c: New file.
23059 * benchtests/bench-strnlen.c: New file.
23060 * benchtests/bench-strpbrk-ifunc.c: New file.
23061 * benchtests/bench-strpbrk.c: New file.
23062 * benchtests/bench-strrchr-ifunc.c: New file.
23063 * benchtests/bench-strrchr.c: New file.
23064 * benchtests/bench-strspn-ifunc.c: New file.
23065 * benchtests/bench-strspn.c: New file.
23066 * benchtests/bench-strstr-ifunc.c: New file.
23067 * benchtests/bench-strstr.c: New file.
23068
c1f75dc3
SP
23069 * benchtests/Makefile: Disable parallel execution of targets.
23070 (string-bench): Add memcpy.
23071 (benchset): New variable to store a list of benchmark sets.
23072 (bench-func): Renamed from bench.
23073 (bench-set): New target.
23074 (bench): Depend on bench-func and bench-set.
23075 * benchtests/README: Add section on benchmark sets.
23076 * benchtests/bench-memcpy-ifunc.c: New file.
23077 * benchtests/bench-memcpy.c: New file.
23078 * benchtests/bench-string.h: New file.
23079
50fd745b
AS
230802013-06-11 Andreas Schwab <schwab@suse.de>
23081
23082 [BZ #15577]
23083 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23084 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23085 values in the triple.
23086 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23087 terminator in the group key.
23088
3ee7e9fe
AJ
230892013-06-11 Andreas Jaeger <aj@suse.de>
23090
23091 * po/zh_TW.po: Update Chinese (traditional) translation from
23092 translation project.
23093
89fb6835
SP
230942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23095
23096 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23097 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23098 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23099 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23100 (clock_getcpuclockid): Likewise.
23101 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23102 Add weak_alias and libc_hidden_def.
23103 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23104 * rt/clock_gettime.c (clock_gettime): Rename to
23105 __clock_gettime. Add weak_alias and libc_hidden_def.
23106 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23107 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23108 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23109 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23110 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23111 Likewise.
23112 * rt/clock_settime.c (clock_settime): Rename to
23113 __clock_settime. Add weak_alias and libc_hidden_def.
23114 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23115
0efa6f8b
JM
231162013-06-10 Joseph Myers <joseph@codesourcery.com>
23117
b8c61b4b
JM
23118 * mach/err_boot.sub: Remove trailing whitespace.
23119 * mach/err_ipc.sub: Likewise.
23120 * mach/err_mach.sub: Likewise.
23121
0efa6f8b
JM
23122 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23123 (ROUNDING_TESTS_double): Likewise.
23124 (ROUNDING_TESTS_long_double): Likewise.
23125 (ROUNDING_TESTS): Likewise.
23126 * math/libm-test.inc: Include <math-tests.h>.
23127 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23128 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23129 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23130 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23131
50b818bf
SP
231322013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23133
23134 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23135 of assigning.
23136
60d2f8f3
JM
231372013-06-08 Joseph Myers <joseph@codesourcery.com>
23138
4902d2c3
JM
23139 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23140 otherwise empty TRANS lines.
23141 * sysdeps/gnu/errlist.c: Regenerated.
23142
60d2f8f3
JM
23143 * catgets/gencat.c (error_print): Use (void) in function
23144 definition.
23145 * crypt/crypt_util.c (__init_des): Likewise.
23146 * crypt/speeds.c (Stop): Likewise.
23147 (main): Likewise.
23148 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23149 * inet/ruserpass.c (token): Likewise.
23150 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23151 * intl/localealias.c (extend_alias_table): Likewise.
23152 * intl/plural-exp.c (init_germanic_plural): Likewise.
23153 * libio/fcloseall.c (__fcloseall): Likewise.
23154 * libio/genops.c (_IO_flush_all): Likewise.
23155 (_IO_flush_all_linebuffered): Likewise.
23156 (_IO_cleanup): Likewise.
23157 (_IO_iter_begin): Likewise.
23158 (_IO_iter_end): Likewise.
23159 (_IO_list_lock): Likewise.
23160 (_IO_list_unlock): Likewise.
23161 (_IO_list_resetlock): Likewise.
23162 * libio/getchar.c (getchar): Likewise.
23163 * libio/getchar_u.c (getchar_unlocked): Likewise.
23164 * libio/getwchar.c (getwchar): Likewise.
23165 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23166 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23167 * login/getpt.c (__getpt): Likewise.
23168 * login/tst-utmp.c (main): Likewise.
23169 * malloc/hooks.c (__malloc_check_init): Likewise.
23170 * malloc/malloc.c (__malloc_stats): Likewise.
23171 * malloc/mtrace.c (tr_break): Likewise.
23172 (mtrace): Likewise.
23173 (muntrace): Likewise.
23174 * misc/fstab.c (endfsent): Likewise.
23175 * misc/getclktck.c (__getclktck): Likewise.
23176 * misc/getdtsz.c (__getdtablesize): Likewise.
23177 * misc/gethostid.c (gethostid): Likewise.
23178 * misc/getpagesize.c (__getpagesize): Likewise.
23179 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23180 (__get_nprocs): Likewise.
23181 (__get_phys_pages): Likewise.
23182 (__get_avphys_pages): Likewise.
23183 * misc/getttyent.c (getttyent): Likewise.
23184 (setttyent): Likewise.
23185 (endttyent): Likewise.
23186 * misc/getusershell.c (getusershell): Likewise.
23187 (endusershell): Likewise.
23188 (setusershell): Likewise.
23189 (initshells): Likewise.
23190 * misc/hsearch.c (__hdestroy): Likewise.
23191 * misc/sync.c (sync): Likewise.
23192 * misc/syslog.c (closelog_internal): Likewise.
23193 (closelog): Likewise.
23194 * misc/ttyslot.c (ttyslot): Likewise.
23195 * misc/vhangup.c (vhangup): Likewise.
23196 * posix/fork.c (__fork): Likewise.
23197 * posix/getegid.c (__getegid): Likewise.
23198 * posix/geteuid.c (__geteuid): Likewise.
23199 * posix/getgid.c (__getgid): Likewise.
23200 * posix/getpid.c (__getpid): Likewise.
23201 * posix/getppid.c (__getppid): Likewise.
23202 * posix/getuid.c (__getuid): Likewise.
23203 * posix/pause.c (pause): Likewise.
23204 * posix/setpgrp.c (setpgrp): Likewise.
23205 * posix/setsid.c (__setsid): Likewise.
23206 * posix/test-vfork.c (noop): Likewise.
23207 * resolv/gethnamaddr.c (_endhtent): Likewise.
23208 (_gethtent): Likewise.
23209 (ht_endhostent): Likewise.
23210 (gethostent): Likewise.
23211 (dns_service): Likewise.
23212 * stdlib/drand48.c (drand48): Likewise.
23213 * stdlib/lrand48.c (lrand48): Likewise.
23214 * stdlib/mrand48.c (mrand48): Likewise.
23215 * stdlib/rand.c (rand): Likewise.
23216 * stdlib/random.c (__random): Likewise.
23217 * stdlib/setenv.c (clearenv): Likewise.
23218 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23219 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23220 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23221 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23222 (__get_nprocs): Likewise.
23223 (__get_phys_pages): Likewise.
23224 (__get_avphys_pages): Likewise.
23225 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23226 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23227 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23228 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23229 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23230 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23231 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23232 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23233 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23234 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23235 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23236 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23237 * sysdeps/posix/clock.c (clock): Likewise.
23238 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23239 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23240 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23241 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23242 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23244 (__get_nprocs_conf): Likewise.
23245 (__get_phys_pages): Likewise.
23246 (__get_avphys_pages): Likewise.
23247 * time/clock.c (clock): Likewise.
23248 * time/tzset.c (__tzname_max): Likewise.
23249
2e09a79a
JM
232502013-06-07 Joseph Myers <joseph@codesourcery.com>
23251
23252 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23253 (__bswap_32): Do not use "register".
23254 * crypt/crypt.c (_ufc_doit_r): Likewise.
23255 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23256 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23257 * gmon/gmon.c (__monstartup): Likewise.
23258 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23259 * hurd/hurdmalloc.c (more_memory): Likewise.
23260 (malloc): Likewise.
23261 (free): Likewise.
23262 (realloc): Likewise.
23263 (malloc_fork_prepare): Likewise.
23264 (malloc_fork_parent): Likewise.
23265 (malloc_fork_child): Likewise.
23266 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23267 (_svcauth_des): Likewise.
23268 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23269 * inet/inet_net.c (inet_network): Likewise.
23270 * inet/inet_netof.c (inet_netof): Likewise.
23271 * inet/rcmd.c (__validuser2_sa): Likewise.
23272 * io/fts.c (fts_open): Likewise.
23273 (fts_load): Likewise.
23274 (fts_close): Likewise.
23275 (fts_read): Likewise.
23276 (fts_children): Likewise.
23277 (fts_build): Likewise.
23278 (fts_stat): Likewise.
23279 (fts_sort): Likewise.
23280 (fts_alloc): Likewise.
23281 (fts_lfree): Likewise.
23282 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23283 (_IO_file_xsgetn): Likewise.
23284 (_IO_file_xsgetn_mmap): Likewise.
23285 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23286 (_IO_cookie_write): Likewise.
23287 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23288 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23289 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23290 * malloc/obstack.c (_obstack_begin): Likewise.
23291 (_obstack_begin_1): Likewise.
23292 (_obstack_newchunk): Likewise.
23293 (_obstack_allocated_p): Likewise.
23294 (obstack_free): Likewise.
23295 (_obstack_memory_used): Likewise.
23296 * misc/getttyent.c (getttynam): Likewise.
23297 (getttyent): Likewise.
23298 (skip): Likewise.
23299 (value): Likewise.
23300 * misc/getusershell.c (initshells): Likewise.
23301 * misc/syslog.c (__vsyslog_chk): Likewise.
23302 * misc/ttyslot.c (ttyslot): Likewise.
23303 * nis/nis_hash.c (__nis_hash): Likewise.
23304 * posix/fnmatch_loop.c (FCT): Likewise.
23305 * posix/getconf.c (print_all): Likewise.
23306 (main): Likewise.
23307 * posix/getopt.c (exchange): Likewise.
23308 * posix/glob.c (globfree): Likewise.
23309 (prefix_array): Likewise.
23310 (__glob_pattern_type): Likewise.
23311 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23312 (NS_GET32): Likewise.
23313 (NS_PUT16): Likewise.
23314 (NS_PUT32): Likewise.
23315 * resolv/gethnamaddr.c (getanswer): Likewise.
23316 (gethostbyname2): Likewise.
23317 (gethostbyaddr): Likewise.
23318 (_gethtent): Likewise.
23319 (_gethtbyname2): Likewise.
23320 (_gethtbyaddr): Likewise.
23321 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23322 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23323 * resolv/res_init.c (__res_vinit): Likewise.
23324 (net_mask): Likewise.
23325 * resolv/res_mkquery.c (outchar): Likewise.
23326 (PRINT): Likewise.
23327 * stdio-common/printf_fp.c (outchar): Likewise.
23328 (PRINT): Likewise.
23329 * stdio-common/printf_fphex.c (outchar): Likewise.
23330 (PRINT): Likewise.
23331 * stdio-common/printf_size.c (outchar): Likewise.
23332 (PRINT): Likewise.
23333 * stdio-common/test_rdwr.c (main): Likewise.
23334 * stdio-common/tfformat.c (matches): Likewise.
23335 * stdio-common/vfprintf.c (outchar): Likewise.
23336 (printf_unknown): Likewise.
23337 (buffered_vfprintf): Likewise.
23338 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23339 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23340 (ReadFile): Likewise.
23341 * stdlib/qsort.c (SWAP): Likewise.
23342 (_quicksort): Likewise.
23343 * stdlib/setenv.c (__add_to_environ): Likewise.
23344 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23345 * stdlib/strtol_l.c (__strtol_l): Likewise.
23346 * stdlib/tst-strtod.c (main): Likewise.
23347 * stdlib/tst-strtol.c (main): Likewise.
23348 * stdlib/tst-strtoll.c (main): Likewise.
23349 * string/bits/string2.h (__strcmp_cc): Likewise.
23350 (__strcmp_cg): Likewise.
23351 (__strcspn_c1): Likewise.
23352 (__strcspn_c2): Likewise.
23353 (__strcspn_c3): Likewise.
23354 (__strspn_c1): Likewise.
23355 (__strspn_c2): Likewise.
23356 (__strspn_c3): Likewise.
23357 (__strsep_1c): Likewise.
23358 (__strsep_2c): Likewise.
23359 (__strsep_3c): Likewise.
23360 * string/memccpy.c (__memccpy): Likewise.
23361 * string/stpcpy.c (__stpcpy): Likewise.
23362 * string/strcmp.c (strcmp): Likewise.
23363 * string/strrchr.c (strrchr): Likewise.
23364 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23365 Likewise.
23366 * sysdeps/mach/hurd/getcwd.c
23367 (_hurd_canonicalize_directory_name_internal): Likewise.
23368 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23369 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23370 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23371 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23372 Likewise, in both definitions.
23373 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23374 definitions.
23375 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23376 64] (__bswap_64): Likewise.
23377 * time/test_time.c (main): Likewise.
23378 * time/tzfile.c (__tzfile_read): Likewise.
23379 (__tzfile_compute): Likewise.
23380 * time/tzset.c (__tzset_parse_tz): Likewise.
23381 (tzset_internal): Likewise.
23382 (compute_change): Likewise.
23383 * wcsmbs/wcscat.c (__wcscat): Likewise.
23384 * wcsmbs/wcschr.c (wcschr): Likewise.
23385 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23386 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23387 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23388 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23389 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23390 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23391 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23392 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23393 * wcsmbs/wmemset.c (wmemset): Likewise.
23394
9e54314b
JM
233952013-06-06 Joseph Myers <joseph@codesourcery.com>
23396
23397 * scripts/config.guess: Update to version 2013-05-16.
23398 * scripts/config.sub: Update to version 2013-04-24.
23399 * scripts/install-sh: Update to version 2011-11-20.07.
23400 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23401 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23402
350635a5
OB
234032013-06-06 Ondřej Bílka <neleai@seznam.cz>
23404
23405 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23406 * elf/sln.c: Likewise.
23407 * hurd/hurd/ioctl.h: Likewise.
23408 * hurd/hurdmalloc.c: Likewise.
23409 * hurd/xattr.c: Likewise.
23410 * include/shlib-compat.h: Likewise.
23411 * inet/ruserpass.c: Likewise.
23412 * libio/iofgets_u.c: Likewise.
23413 * libio/iofgetws_u.c: Likewise.
23414 * locale/programs/ld-identification.c: Likewise.
23415 * locale/programs/ld-time.c: Likewise.
23416 * mach/msg-destroy.c: Likewise.
23417 * nss/nss_files/files-netgrp.c: Likewise.
23418 * resolv/res_data.c: Likewise.
23419 * soft-fp/op-1.h: Likewise.
23420 * soft-fp/op-2.h: Likewise.
23421 * soft-fp/op-4.h: Likewise.
23422 * soft-fp/op-common.h: Likewise.
23423 * stdio-common/printf_fphex.c: Likewise.
23424 * stdlib/strtod_l.c: Likewise.
23425 * sunrpc/rpc/clnt.h: Likewise.
23426 * sysdeps/generic/framestate.c: Likewise.
23427 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23428 * sysdeps/i386/bsd-setjmp.S: Likewise.
23429 * sysdeps/i386/__longjmp.S: Likewise.
23430 * sysdeps/i386/setjmp.S: Likewise.
23431 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23432 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23433 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23449 * sysdeps/ieee754/support.c: Likewise.
23450 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23451 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23452 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23453 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23454 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23455 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23456 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23457 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23458 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23459 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23460 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23461 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23462 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23463 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23464 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23465 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23466 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23468
44a988af
OB
234692013-06-05 Ondřej Bílka <neleai@seznam.cz>
23470
25506f09 23471 * posix/transbug.c: Remove executable mode.
44a988af 23472
9c84384c
JM
234732013-06-05 Joseph Myers <joseph@codesourcery.com>
23474
23475 * crypt/speeds.c: Remove trailing whitespace.
23476 * dlfcn/default.c: Likewise.
23477 * elf/ifuncdep2.c: Likewise.
23478 * elf/ifuncmain1.c: Likewise.
23479 * elf/ifuncmain1vis.c: Likewise.
23480 * elf/testobj.h: Likewise.
23481 * elf/tst-stackguard1.c: Likewise.
23482 * gmon/sys/gmon.h: Likewise.
23483 * hurd/hurdmsg.c: Likewise.
23484 * hurd/new-fd.c: Likewise.
23485 * hurd/ports-get.c: Likewise.
23486 * iconvdata/ibm1008_420.c: Likewise.
23487 * inet/tst-getni1.c: Likewise.
23488 * inet/tst-getni2.c: Likewise.
23489 * libio/ioungetc.c: Likewise.
23490 * libio/wfiledoalloc.c: Likewise.
23491 * manual/libm-err-tab.pl: Likewise.
23492 * math/w_dremf.c: Likewise.
23493 * misc/ftruncate.c: Likewise.
23494 * posix/bug-glob2.c: Likewise.
23495 * posix/tst-pcre.c: Likewise.
23496 * posix/wait4.c: Likewise.
23497 * resolv/README: Likewise.
23498 * resolv/res_debug.h: Likewise.
23499 * resolv/tst-inet_ntop.c: Likewise.
23500 * setjmp/bug269-setjmp.c: Likewise.
23501 * soft-fp/extended.h: Likewise.
23502 * soft-fp/op-1.h: Likewise.
23503 * soft-fp/op-2.h: Likewise.
23504 * soft-fp/op-4.h: Likewise.
23505 * soft-fp/op-8.h: Likewise.
23506 * soft-fp/testit.c: Likewise.
23507 * stdio-common/bug16.c: Likewise.
23508 * stdlib/random.c: Likewise.
23509 * sunrpc/rpcsvc/rquota.x: Likewise.
23510 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23511 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23512 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23513 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23514 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23515 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23516 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23517 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23518 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23519 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23520 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23539 * sysdeps/ieee754/s_lib_version.c: Likewise.
23540 * sysdeps/mach/hurd/check_fds.c: Likewise.
23541 * sysdeps/mach/hurd/getsockname.c: Likewise.
23542 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23543 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23544 * sysdeps/powerpc/bits/link.h: Likewise.
23545 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23546 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23547 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23548 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23549 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23550 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23551 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23552 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23553 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23554 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23555 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23556 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23557 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23558 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23559 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23560 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23561 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23562 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23563 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23564 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23565 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23566 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23567 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23568 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23569 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23570 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23571 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23572 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23573 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23574 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23575 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23576 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23577 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23578 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23579 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23580 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23581 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23582 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23583 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23584 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23585 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23586 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23587 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23588 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23589 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23590 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23591 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23592 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23593 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23594 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23595 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23596 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23597 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23598 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23599 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23600 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23601 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23602 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23603 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23604 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23605 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23606 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23609 * sysdeps/powerpc/sysdep.h: Likewise.
23610 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23611 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23612 * sysdeps/sh/dl-trampoline.S: Likewise.
23613 * sysdeps/sh/memset.S: Likewise.
23614 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23615 * sysdeps/sh/strlen.S: Likewise.
23616 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23617 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23618 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23619 * sysdeps/sparc/sparc32/rem.S: Likewise.
23620 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23621 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23622 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23623 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23624 * sysdeps/sparc/sparc32/urem.S: Likewise.
23625 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23626 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23627 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23628 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23629 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23630 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23631 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23632 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23633 * sysdeps/unix/bsd/times.c: Likewise.
23634 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23635 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23639 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23640 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23641 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23642 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23643 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23644 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23645 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23646 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23647 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23648 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23649 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23650 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23651 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23652 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23653 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23654 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23655 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23656 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23657 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23658 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23659 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23660 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23661 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23662 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23663 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23664 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23665 * sysdeps/x86_64/strcspn.S: Likewise.
23666
869378a5
RA
236672013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23668
23669 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23670 generated file. Regenerate properly from gen-translit.pl.
23671 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23672 locale/C-translit.h.
23673
840e2943
AS
236742013-06-05 Andreas Schwab <schwab@suse.de>
23675
23676 [BZ #15100]
23677 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23678 week as 6 instead of -1.
23679 * time/tst-strptime.c (day_tests): Add test case.
23680
4c60cb0c
SP
236812013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23682
23683 * sysdeps/generic/math_private.h
23684 (libc_feholdexcept_setround_53bit): Replace with
23685 libc_feholdsetround_53bit.
23686 (libc_feupdateenv_53bit): Replace with
23687 libc_feresetround_53bit.
23688 (SET_RESTORE_ROUND_53BIT): Adjust.
23689
d180203e
SP
236902013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23691
96df079a
SP
23692 * string/test-strchrnul.c: Add copyright header.
23693
d180203e
SP
23694 * posix/tst-getaddrinfo4.c: Increase test timeout.
23695
8b0ccb2d
CD
236962013-06-03 Carlos O'Donell <carlos@redhat.com>
23697
23698 [BZ #15536]
23699 * math/libm-test.inc (MAX_EXP): Remove
23700 (MIN_EXP): Define.
23701 (ulp): Use MIN_EXP - MANT_DIG.
23702 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23703
3b3c4d40
CD
237042013-05-31 Carlos O'Donell <carlos@redhat.com>
23705
23706 * po/be.po: Revert last change.
23707 * po/zh_CN.po: Likewise.
23708 * po/header.pot: Likewise.
23709
fab7ce3f
JM
237102013-05-31 Joseph Myers <joseph@codesourcery.com>
23711
23712 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23713 link-libc-deps to empty as target-specific variable.
23714 * Makerules (link-libc-args): New variable.
23715 (libc-for-link): Likewise.
23716 (link-libc-deps): Likewise.
23717 (lib%.so): Depend on $(link-libc-deps). Link with
23718 $(link-libc-args).
23719 (build-module): Link with $(link-libc-args).
23720 (build-module-asneeded): Likewise.
23721 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23722 list of objects.
23723 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23724 target-specific variable.
23725 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23726 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23727 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23728 libc.
23729 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23730 libc and ld.so.
23731 ($(objpfx)libpcprofile.so): Likewise.
23732 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23733 libc_nonshared.a.
23734 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23735 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23736 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23737 $(link-libc-deps).
23738 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23739 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23740 * login/Makefile ($(objpfx)libutil.so): Likewise.
23741 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23742 * math/Makefile ($(objpfx)libm.so): Likewise.
23743 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23744 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23745 variable instead of depending directly on libc.
23746 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23747 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23748 $(link-libc-deps).
23749 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23750 libc.
23751 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23752 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23753 ($(objpfx)libanl.so): Likewise.
23754 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23755 ld.so.
23756 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23757 $(link-libc-deps).
23758 * sysdeps/i386/fpu/Makefile: Remove file.
23759 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23760 ($(objpfx)libm.so): Remove dependency on ld.so.
23761
eca5920c
PF
237622013-05-30 Patsy Franklin <pfrankli@redhat.com>
23763
23764 [BZ # 15553]
23765 * nis/yp_xdr.c (XDRMAXNAME): Define.
23766 (XDRMAXRECORD): Define.
23767 (xdr_domainname): Use XDRMAXNAME.
23768 (xdr_mapname): Likewise.
23769 (xdr_peername): Likewise.
23770 (xdr_keydat): Use XDRMAXRECORD.
23771 (xdr_valdat): Likewise.
23772
237732013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23774
23775 [BZ #14256]
23776 * manual/errno.texi (ESTALE): Update to account for more than
23777 just NFS file systems.
23778 * sysdeps/gnu/errlist.c: Regenerated.
23779
b9375348
SP
237802013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23781
23782 [BZ #15465]
23783 * elf/Makefile (tests): Add tst-null-argv.
23784 (modules-names): Add tst-null-argv-lib.
23785 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23786 (tst-null-argv-ENV): Set environment for tst-null-argv.
23787 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23788 (RTLD_PROGNAME): New macro.
23789 * elf/tst-null-argv.c: New test case.
23790 * elf/tst-null-argv-lib.c: Library for test case.
23791 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23792 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23793 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23794 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23795 * elf/dl-init.c (call_init): Likewise.
23796 (_dl_init): Likewise.
23797 * elf/dl-load.c (print_search_path): Likewise.
23798 (_dl_map_object): Likewise.
23799 * elf/dl-lookup.c (do_lookup_x): Likewise.
23800 (add_dependency): Likewise.
23801 (_dl_lookup_symbol_x): Likewise.
23802 (_dl_debug_bindings): Likewise.
23803 * elf/dl-open.c (_dl_show_scope): Likewise.
23804 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23805 * elf/dl-version.c (match_symbol): Likewise.
23806 (_dl_check_map_versions): Likewise.
23807 * elf/rtld.c (dl_main): Likewise.
23808 (print_unresolved): Use RTLD_PROGNAME.
23809 (print_missing_version): Likewise.
23810 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23811 (elf_machine_rela): Likewise.
23812 * sysdeps/powerpc/powerpc32/dl-machine.c
23813 (__process_machine_rela): Likewise.
23814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23815 Likewise.
23816 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23817 Likewise.
23818 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23819 Likewise.
23820 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23822 Likewise.
23823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23824 Likewise.
23825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23826
8a9f20c8
CD
238272013-05-28 Carlos O'Donell <carlos@redhat.com>
23828
23829 * po/be.po: Add descriptive title.
23830 * po/zh_CN.po: Likewise.
23831 * po/header.pot: Likewise.
23832
0e60d68e
MF
238332013-05-28 Mike Frysinger <vapier@gentoo.org>
23834
23835 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23836 error message.
23837 (enlarge_archive): Likewise.
23838
56b672e9
BN
238392013-05-28 Ben North <ben@redfrontdoor.org>
23840
23841 * manual/arith.texi (frexp): It is the magnitude of the return
23842 value which lies in [0.5, 1), not the return value itself.
23843
5e056687
AZ
238442013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23845
23846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23847
2b66ef5d
TS
238482013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23849
528c2405
TS
23850 * stdio-common/bug26.c (main): Correct fscanf template.
23851
07b4c13d
TS
23852 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23853 declare _dl_skip_args.
23854
ec9dd97c
TS
23855 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23856 Don't declare.
23857
2b66ef5d
TS
23858 * manual/platform.texi: Add missing @end deftypefun.
23859
4f8dfe27
JM
238602013-05-24 Joseph Myers <joseph@codesourcery.com>
23861
0323d086
JM
23862 [BZ #15529]
23863 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23864 bit of mantissa of 2^16382.
23865 * math/libm-test.inc (hypot_test_data): Add more tests.
23866
dd4259b9
JM
23867 * math/libm-test.inc: Add drem and pow10 to list of tested
23868 functions.
23869 (pow10_test): New function.
23870 (drem_test): Likewise.
23871 (drem_test_tonearest): Likewise.
23872 (drem_test_towardzero): Likewise.
23873 (drem_test_downward): Likewise.
23874 (drem_test_upward): Likewise.
23875 (main): Call the new functions.
23876
4f8dfe27
JM
23877 * math/libm-test.inc (finite_test_data): Remove.
23878 (finite_test): Run tests from isfinite_test_data.
23879 (gamma_test_data): Remove.
23880 (gamma_test): Run tests from lgamma_test_data.
23881 * sysdeps/i386/fpu/libm-test-ulps: Update.
23882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23883
d116b7c4
AZ
238842013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23885
23886 * manual/platform.texi: Add PowerPC PPR function set documentation.
23887 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23888 implementation.
23889
e96e3767
CD
238902013-05-24 Carlos O'Donell <carlos@redhat.com>
23891
23892 * math/libm-test.inc (MAX_EXP): Define.
23893 (ULPDIFF): Define.
23894 (ulp): New function.
23895 (check_float_internal): Use ULPDIFF.
23896 (cpow_test): Disable failing test.
23897 (check_ulp): Test ulp() implemetnation.
23898 (main): Call check_ulp before starting tests.
23899
b679a606
JM
239002013-05-24 Joseph Myers <joseph@codesourcery.com>
23901
e8bdba36
JM
23902 * math/gen-libm-test.pl (generate_testfile): Do not handle
23903 START_DATA and END_DATA.
23904 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23905 END_DATA.
23906 (acos_tonearest_test_data): Likewise.
23907 (acos_towardzero_test_data): Likewise.
23908 (acos_downward_test_data): Likewise.
23909 (acos_upward_test_data): Likewise.
23910 (acosh_test_data): Likewise.
23911 (asin_test_data): Likewise.
23912 (asin_tonearest_test_data): Likewise.
23913 (asin_towardzero_test_data): Likewise.
23914 (asin_downward_test_data): Likewise.
23915 (asin_upward_test_data): Likewise.
23916 (asinh_test_data): Likewise.
23917 (atan_test_data): Likewise.
23918 (atanh_test_data): Likewise.
23919 (atan2_test_data): Likewise.
23920 (cabs_test_data): Likewise.
23921 (cacos_test_data): Likewise.
23922 (cacosh_test_data): Likewise.
23923 (carg_test_data): Likewise.
23924 (casin_test_data): Likewise.
23925 (casinh_test_data): Likewise.
23926 (catan_test_data): Likewise.
23927 (catanh_test_data): Likewise.
23928 (cbrt_test_data): Likewise.
23929 (ccos_test_data): Likewise.
23930 (ccosh_test_data): Likewise.
23931 (ceil_test_data): Likewise.
23932 (cexp_test_data): Likewise.
23933 (cimag_test_data): Likewise.
23934 (clog_test_data): Likewise.
23935 (clog10_test_data): Likewise.
23936 (conj_test_data): Likewise.
23937 (copysign_test_data): Likewise.
23938 (cos_test_data): Likewise.
23939 (cos_tonearest_test_data): Likewise.
23940 (cos_towardzero_test_data): Likewise.
23941 (cos_downward_test_data): Likewise.
23942 (cos_upward_test_data): Likewise.
23943 (cosh_test_data): Likewise.
23944 (cosh_tonearest_test_data): Likewise.
23945 (cosh_towardzero_test_data): Likewise.
23946 (cosh_downward_test_data): Likewise.
23947 (cosh_upward_test_data): Likewise.
23948 (cpow_test_data): Likewise.
23949 (cproj_test_data): Likewise.
23950 (creal_test_data): Likewise.
23951 (csin_test_data): Likewise.
23952 (csinh_test_data): Likewise.
23953 (csqrt_test_data): Likewise.
23954 (ctan_test_data): Likewise.
23955 (ctan_tonearest_test_data): Likewise.
23956 (ctan_towardzero_test_data): Likewise.
23957 (ctan_downward_test_data): Likewise.
23958 (ctan_upward_test_data): Likewise.
23959 (ctanh_test_data): Likewise.
23960 (ctanh_tonearest_test_data): Likewise.
23961 (ctanh_towardzero_test_data): Likewise.
23962 (ctanh_downward_test_data): Likewise.
23963 (ctanh_upward_test_data): Likewise.
23964 (erf_test_data): Likewise.
23965 (erfc_test_data): Likewise.
23966 (exp_test_data): Likewise.
23967 (exp_tonearest_test_data): Likewise.
23968 (exp_towardzero_test_data): Likewise.
23969 (exp_downward_test_data): Likewise.
23970 (exp_upward_test_data): Likewise.
23971 (exp10_test_data): Likewise.
23972 (exp2_test_data): Likewise.
23973 (expm1_test_data): Likewise.
23974 (fabs_test_data): Likewise.
23975 (fdim_test_data): Likewise.
23976 (finite_test_data): Likewise.
23977 (floor_test_data): Likewise.
23978 (fma_test_data): Likewise.
23979 (fma_towardzero_test_data): Likewise.
23980 (fma_downward_test_data): Likewise.
23981 (fma_upward_test_data): Likewise.
23982 (fmax_test_data): Likewise.
23983 (fmin_test_data): Likewise.
23984 (fmod_test_data): Likewise.
23985 (fpclassify_test_data): Likewise.
23986 (frexp_test_data): Likewise.
23987 (gamma_test_data): Likewise.
23988 (hypot_test_data): Likewise.
23989 (ilogb_test_data): Likewise.
23990 (isfinite_test_data): Likewise.
23991 (isgreater_test_data): Likewise.
23992 (isgreaterequal_test_data): Likewise.
23993 (isinf_test_data): Likewise.
23994 (isless_test_data): Likewise.
23995 (islessequal_test_data): Likewise.
23996 (islessgreater_test_data): Likewise.
23997 (isnan_test_data): Likewise.
23998 (isnormal_test_data): Likewise.
23999 (issignaling_test_data): Likewise.
24000 (isunordered_test_data): Likewise.
24001 (j0_test_data): Likewise.
24002 (j1_test_data): Likewise.
24003 (jn_test_data): Likewise.
24004 (ldexp_test_data): Likewise.
24005 (lgamma_test_data): Likewise.
24006 (lrint_test_data): Likewise.
24007 (lrint_tonearest_test_data): Likewise.
24008 (lrint_towardzero_test_data): Likewise.
24009 (lrint_downward_test_data): Likewise.
24010 (lrint_upward_test_data): Likewise.
24011 (llrint_test_data): Likewise.
24012 (llrint_tonearest_test_data): Likewise.
24013 (llrint_towardzero_test_data): Likewise.
24014 (llrint_downward_test_data): Likewise.
24015 (llrint_upward_test_data): Likewise.
24016 (log_test_data): Likewise.
24017 (log10_test_data): Likewise.
24018 (log1p_test_data): Likewise.
24019 (log2_test_data): Likewise.
24020 (logb_test_data): Likewise.
24021 (logb_downward_test_data): Likewise.
24022 (lround_test_data): Likewise.
24023 (llround_test_data): Likewise.
24024 (modf_test_data): Likewise.
24025 (nearbyint_test_data): Likewise.
24026 (nextafter_test_data): Likewise.
24027 (nexttoward_test_data): Likewise.
24028 (pow_test_data): Likewise.
24029 (pow_tonearest_test_data): Likewise.
24030 (pow_towardzero_test_data): Likewise.
24031 (pow_downward_test_data): Likewise.
24032 (pow_upward_test_data): Likewise.
24033 (remainder_test_data): Likewise.
24034 (remainder_tonearest_test_data): Likewise.
24035 (remainder_towardzero_test_data): Likewise.
24036 (remainder_downward_test_data): Likewise.
24037 (remainder_upward_test_data): Likewise.
24038 (remquo_test_data): Likewise.
24039 (rint_test_data): Likewise.
24040 (rint_tonearest_test_data): Likewise.
24041 (rint_towardzero_test_data): Likewise.
24042 (rint_downward_test_data): Likewise.
24043 (rint_upward_test_data): Likewise.
24044 (round_test_data): Likewise.
24045 (scalb_test_data): Likewise.
24046 (scalbn_test_data): Likewise.
24047 (scalbln_test_data): Likewise.
24048 (signbit_test_data): Likewise.
24049 (sin_test_data): Likewise.
24050 (sin_tonearest_test_data): Likewise.
24051 (sin_towardzero_test_data): Likewise.
24052 (sin_downward_test_data): Likewise.
24053 (sin_upward_test_data): Likewise.
24054 (sincos_test_data): Likewise.
24055 (sinh_test_data): Likewise.
24056 (sinh_tonearest_test_data): Likewise.
24057 (sinh_towardzero_test_data): Likewise.
24058 (sinh_downward_test_data): Likewise.
24059 (sinh_upward_test_data): Likewise.
24060 (sqrt_test_data): Likewise.
24061 (tan_test_data): Likewise.
24062 (tan_tonearest_test_data): Likewise.
24063 (tan_towardzero_test_data): Likewise.
24064 (tan_downward_test_data): Likewise.
24065 (tan_upward_test_data): Likewise.
24066 (tanh_test_data): Likewise.
24067 (tgamma_test_data): Likewise.
24068 (trunc_test_data): Likewise.
24069 (y0_test_data): Likewise.
24070 (y1_test_data): Likewise.
24071 (yn_test_data): Likewise.
24072 (significand_test_data): Likewise.
24073
b679a606
JM
24074 * math/gen-libm-test.pl (@functions): Remove variable.
24075 (generate_testfile): Don't handle START and END lines.
24076 * math/libm-test.inc (START): New macro.
24077 (END): Likewise.
24078 (END_COMPLEX): Likewise.
24079 (acos_test): Use END macro without arguments.
24080 (acos_test_tonearest): Likewise.
24081 (acos_test_towardzero): Likewise.
24082 (acos_test_downward): Likewise.
24083 (acos_test_upward): Likewise.
24084 (acosh_test): Likewise.
24085 (asin_test): Likewise.
24086 (asin_test_tonearest): Likewise.
24087 (asin_test_towardzero): Likewise.
24088 (asin_test_downward): Likewise.
24089 (asin_test_upward): Likewise.
24090 (asinh_test): Likewise.
24091 (atan_test): Likewise.
24092 (atanh_test): Likewise.
24093 (atan2_test): Likewise.
24094 (cabs_test): Likewise.
24095 (cacos_test): Use END_COMPLEX macro without arguments.
24096 (cacosh_test): Likewise.
24097 (carg_test): Use END macro without arguments.
24098 (casin_test): Use END_COMPLEX macro without arguments.
24099 (casinh_test): Likewise.
24100 (catan_test): Likewise.
24101 (catanh_test): Likewise.
24102 (cbrt_test): Use END macro without arguments.
24103 (ccos_test): Use END_COMPLEX macro without arguments.
24104 (ccosh_test): Likewise.
24105 (ceil_test): Use END macro without arguments.
24106 (cexp_test): Use END_COMPLEX macro without arguments.
24107 (cimag_test): Use END macro without arguments.
24108 (clog_test): Use END_COMPLEX macro without arguments.
24109 (clog10_test): Likewise.
24110 (conj_test): Likewise.
24111 (copysign_test): Use END macro without arguments.
24112 (cos_test): Likewise.
24113 (cos_test_tonearest): Likewise.
24114 (cos_test_towardzero): Likewise.
24115 (cos_test_downward): Likewise.
24116 (cos_test_upward): Likewise.
24117 (cosh_test): Likewise.
24118 (cosh_test_tonearest): Likewise.
24119 (cosh_test_towardzero): Likewise.
24120 (cosh_test_downward): Likewise.
24121 (cosh_test_upward): Likewise.
24122 (cpow_test): Use END_COMPLEX macro without arguments.
24123 (cproj_test): Likewise.
24124 (creal_test): Use END macro without arguments.
24125 (csin_test): Use END_COMPLEX macro without arguments.
24126 (csinh_test): Likewise.
24127 (csqrt_test): Likewise.
24128 (ctan_test): Likewise.
24129 (ctan_test_tonearest): Likewise.
24130 (ctan_test_towardzero): Likewise.
24131 (ctan_test_downward): Likewise.
24132 (ctan_test_upward): Likewise.
24133 (ctanh_test): Likewise.
24134 (ctanh_test_tonearest): Likewise.
24135 (ctanh_test_towardzero): Likewise.
24136 (ctanh_test_downward): Likewise.
24137 (ctanh_test_upward): Likewise.
24138 (erf_test): Use END macro without arguments.
24139 (erfc_test): Likewise.
24140 (exp_test): Likewise.
24141 (exp_test_tonearest): Likewise.
24142 (exp_test_towardzero): Likewise.
24143 (exp_test_downward): Likewise.
24144 (exp_test_upward): Likewise.
24145 (exp10_test): Likewise.
24146 (exp2_test): Likewise.
24147 (expm1_test): Likewise.
24148 (fabs_test): Likewise.
24149 (fdim_test): Likewise.
24150 (finite_test): Likewise.
24151 (floor_test): Likewise.
24152 (fma_test): Likewise.
24153 (fma_test_towardzero): Likewise.
24154 (fma_test_downward): Likewise.
24155 (fma_test_upward): Likewise.
24156 (fmax_test): Likewise.
24157 (fmin_test): Likewise.
24158 (fmod_test): Likewise.
24159 (fpclassify_test): Likewise.
24160 (frexp_test): Likewise.
24161 (gamma_test): Likewise.
24162 (hypot_test): Likewise.
24163 (ilogb_test): Likewise.
24164 (isfinite_test): Likewise.
24165 (isgreater_test): Likewise.
24166 (isgreaterequal_test): Likewise.
24167 (isinf_test): Likewise.
24168 (isless_test): Likewise.
24169 (islessequal_test): Likewise.
24170 (islessgreater_test): Likewise.
24171 (isnan_test): Likewise.
24172 (isnormal_test): Likewise.
24173 (issignaling_test): Likewise.
24174 (isunordered_test): Likewise.
24175 (j0_test): Likewise.
24176 (j1_test): Likewise.
24177 (jn_test): Likewise.
24178 (ldexp_test): Likewise.
24179 (lgamma_test): Likewise.
24180 (lrint_test): Likewise.
24181 (lrint_test_tonearest): Likewise.
24182 (lrint_test_towardzero): Likewise.
24183 (lrint_test_downward): Likewise.
24184 (lrint_test_upward): Likewise.
24185 (llrint_test): Likewise.
24186 (llrint_test_tonearest): Likewise.
24187 (llrint_test_towardzero): Likewise.
24188 (llrint_test_downward): Likewise.
24189 (llrint_test_upward): Likewise.
24190 (log_test): Likewise.
24191 (log10_test): Likewise.
24192 (log1p_test): Likewise.
24193 (log2_test): Likewise.
24194 (logb_test): Likewise.
24195 (logb_test_downward): Likewise.
24196 (lround_test): Likewise.
24197 (llround_test): Likewise.
24198 (modf_test): Likewise.
24199 (nearbyint_test): Likewise.
24200 (nextafter_test): Likewise.
24201 (nexttoward_test): Likewise.
24202 (pow_test): Likewise.
24203 (pow_test_tonearest): Likewise.
24204 (pow_test_towardzero): Likewise.
24205 (pow_test_downward): Likewise.
24206 (pow_test_upward): Likewise.
24207 (remainder_test): Likewise.
24208 (remainder_test_tonearest): Likewise.
24209 (remainder_test_towardzero): Likewise.
24210 (remainder_test_downward): Likewise.
24211 (remainder_test_upward): Likewise.
24212 (remquo_test): Likewise.
24213 (rint_test): Likewise.
24214 (rint_test_tonearest): Likewise.
24215 (rint_test_towardzero): Likewise.
24216 (rint_test_downward): Likewise.
24217 (rint_test_upward): Likewise.
24218 (round_test): Likewise.
24219 (scalb_test): Likewise.
24220 (scalbn_test): Likewise.
24221 (scalbln_test): Likewise.
24222 (signbit_test): Likewise.
24223 (sin_test): Likewise.
24224 (sin_test_tonearest): Likewise.
24225 (sin_test_towardzero): Likewise.
24226 (sin_test_downward): Likewise.
24227 (sin_test_upward): Likewise.
24228 (sincos_test): Likewise.
24229 (sinh_test): Likewise.
24230 (sinh_test_tonearest): Likewise.
24231 (sinh_test_towardzero): Likewise.
24232 (sinh_test_downward): Likewise.
24233 (sinh_test_upward): Likewise.
24234 (sqrt_test): Likewise.
24235 (tan_test): Likewise.
24236 (tan_test_tonearest): Likewise.
24237 (tan_test_towardzero): Likewise.
24238 (tan_test_downward): Likewise.
24239 (tan_test_upward): Likewise.
24240 (tanh_test): Likewise.
24241 (tgamma_test): Likewise.
24242 (trunc_test): Likewise.
24243 (y0_test): Likewise.
24244 (y1_test): Likewise.
24245 (yn_test): Likewise.
24246 (significand_test): Likewise.
24247
bae143d2
OB
242482013-05-24 Ondřej Bílka <neleai@seznam.cz>
24249
24250 [BZ #15381]
24251 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24252
9323d39b
EM
242532013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24254
d4ea44a0 24255 [BZ #14894]
9323d39b
EM
24256 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24257 __ppc_mdoio and __ppc_mdoom.
24258 * manual/platform.texi: Document new functions __ppc_yield,
24259 __ppc_mdoio and __ppc_mdoom.
24260
13e23af7
CD
242612013-05-22 Carlos O'Donell <carlos@redhat.com>
24262
24263 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24264 (main): Mention "tls" pseudo-hwcap is legacy.
24265 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24266
351fe550
JM
242672013-05-22 Joseph Myers <joseph@codesourcery.com>
24268
24269 * math/gen-libm-test.pl (parse_args): Output only string of
24270 arguments as text for test name, not full call or descriptions of
24271 tests for extra outputs.
24272 (generate_testfile): Do not pass function name to parse_args.
24273 Generate this_func variable from START.
24274 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24275 field to arg_str.
24276 (struct test_ff_f_data): Likewise.
24277 (test_ff_f_data_nexttoward): Likewise.
24278 (struct test_fi_f_data): Likewise.
24279 (struct test_fl_f_data): Likewise.
24280 (struct test_if_f_data): Likewise.
24281 (struct test_fff_f_data): Likewise.
24282 (struct test_c_f_data): Likewise.
24283 (struct test_f_f1_data): Likewise. Remove field extra_name.
24284 (struct test_fF_f1_data): Likewise.
24285 (struct test_ffI_f1_data): Likewise.
24286 (struct test_c_c_data): Rename test_name field to arg_str.
24287 (struct test_cc_c_data): Likewise.
24288 (struct test_f_i_data): Likewise.
24289 (struct test_ff_i_data): Likewise.
24290 (struct test_f_l_data): Likewise.
24291 (struct test_f_L_data): Likewise.
24292 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24293 and extra2_name.
24294 (COMMON_TEST_SETUP): New macro.
24295 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24296 (COMMON_TEST_CLEANUP): Likewise.
24297 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24298 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24299 macros.
24300 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24301 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24302 macros.
24303 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24304 (RUN_TEST_fff_f): Take argument string. Call new setup and
24305 cleanup macros.
24306 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24307 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24308 macros.
24309 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24310 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24311 macros.
24312 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24313 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24314 cleanup macros.
24315 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24316 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24317 cleanup macros.
24318 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24319 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24320 cleanup macros.
24321 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24322 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24323 macros.
24324 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24325 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24326 macros.
24327 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24328 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24329 macros.
24330 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24331 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24332 cleanup macros.
24333 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24334 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24335 cleanup macros.
24336 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24337 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24338 macros.
24339 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24340 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24341 cleanup macros.
24342 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24343 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24344 macros.
24345 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24346 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24347 macros.
24348 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24349 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24350 cleanup macros.
24351 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24352
85118d4d
EBM
243532013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24354
24355 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24356 to _sifields.sigfault.
24357 (si_addr_lsb): Define new macro.
24358 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24359 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24360 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24361
7a44c18f
CD
243622013-05-03 Carlos O'Donell <carlos at redhat.com>
24363
24364 [BZ #15441]
24365 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24366 returns -1.
24367 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24368 null return -1.
24369 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24370 loading the domain.
24371
b50a7181
JM
243722013-05-22 Joseph Myers <joseph@codesourcery.com>
24373
24374 * math/gen-libm-test.pl (parse_args): Do not include expected
24375 result in test name.
24376 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24377 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24378 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24379 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24380 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24382
051063c8
SP
243832013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24384
3ce9e010
SP
24385 * benchtests/Makefile: Sort function entries.
24386
051063c8
SP
24387 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24388 tanh, asinh, acosh, atanh.
24389 * benchtests/acos-inputs: New file.
24390 * benchtests/acosh-inputs: New file.
24391 * benchtests/asin-inputs: New file.
24392 * benchtests/asinh-inputs: New file.
24393 * benchtests/atanh-inputs: New file.
24394 * benchtests/cosh-inputs: New file.
24395 * benchtests/log-inputs: New file.
24396 * benchtests/sinh-inputs: New file.
24397 * benchtests/tanh-inputs: New file.
24398
47c22455
DL
243992013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24400
24401 [BZ #15339]
24402 * posix/tst-getaddrinfo4.c: New test.
24403 * posix/Makefile (tests): Add it.
24404
3d04f5db
SP
244052013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24406
24407 [BZ #15339]
24408 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24409 when no services were used.
24410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24411 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24412
d5dd6189
AS
244132013-05-21 Andreas Schwab <schwab@suse.de>
24414
24415 [BZ #15014]
24416 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24417 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24418 successful.
24419 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24420 redundant variable declarations and reallocation of buffer when
24421 parsing as IPv6 address. Always set NSS status when called from
24422 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24423 buffer too small. Correct computation of needed size.
24424 * nss/Makefile (tests): Add test-digits-dots.
24425 * nss/test-digits-dots.c: New test.
24426
fef94eab
SP
244272013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24428
24429 * benchtests/Makefile: Remove instructions for adding
24430 benchmark tests.
24431 * benchtests/README: New file to explain how to execute and
24432 enhance the benchmark tests.
24433
e39adf43
AS
244342013-05-21 Andreas Schwab <schwab@suse.de>
24435
24436 [BZ #15493]
24437 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24438 * setjmp/tst-sigsetjmp.c: New test.
24439
b2b671b6
OB
244402013-05-20 Ondřej Bílka <neleai@seznam.cz>
24441
24442 * sysdeps/x86_64/memset.S (memset): New implementation.
24443 (__bzero): Likewise.
24444 (__memset_tail): New function.
24445
2d48b41c
OB
244462013-05-20 Ondřej Bílka <neleai@seznam.cz>
24447
24448 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24449 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24450 __memcpy_sse2_unaligned ifunc selection.
24451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24452 Add memcpy-sse2-unaligned.S.
24453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24454 Add: __memcpy_sse2_unaligned.
24455
f16cc3eb
JM
244562013-05-19 Joseph Myers <joseph@codesourcery.com>
24457
3e694268
JM
24458 [BZ #15490]
24459 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24460 math_force_eval before restoring floating-point envrionment.
24461 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24462 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24463 Likewise.
24464 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24465 <math_private.h>.
24466 (__nearbyintl): Use math_force_eval before restoring
24467 floating-point environment.
24468 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24469
db62a907
JM
24470 * math/gen-libm-test.pl (special_functions): Remove.
24471 (parse_args): Don't handle TEST_extra. Handle functions with no
24472 return value.
24473 * math/libm-test.inc (struct test_sincos_data): Replace with
24474 struct test_fFF_11_data.
24475 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24476 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24477 (sincos_test_data): Change element type to struct
24478 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24479 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24480 RUN_TEST_LOOP_sincos.
24481 * math/README.libm-test: Don't mention special handling of
24482 individual functions.
24483 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24484 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24485 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24486 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24487 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24489
f16cc3eb
JM
24490 * math/gen-libm-test.pl (get_variable): Remove function.
24491 (parse_args): Don't show pointer parameters to call in test
24492 names. Use "extra output N" in test names for extra outputs
24493 rather than naming variables.
24494
3779b5b6
JM
244952013-05-18 Joseph Myers <joseph@codesourcery.com>
24496
2ee094ff
JM
24497 [BZ #15488]
24498 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24499 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24500 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24501 double tests.
24502 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24503 disable.
24504 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24505 check_long_double.
24506
3779b5b6
JM
24507 * math/gen-libm-test.pl (@tests): Remove variable.
24508 ($count): Likewise.
24509 (new_test): Remove function.
24510 (show_exceptions): New function.
24511 (special_functions): Use show_exceptions instead of new_test.
24512 (parse_args): Likewise.
24513 (generate_testfile): Pass only function name in generated call to
24514 print_max_error or print_complex_max_error.
24515 (get_ulps): Do not handle complex tests specially.
24516 (output_test): Rename to ...
24517 (get_all_ulps_for_test): ... this. Return a string rather than
24518 printing to a file. Require ulps to be present.
24519 (output_ulps): Generate arrays rather than #defines.
24520 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24521 (struct ulp_data): New type.
24522 (BUILD_COMPLEX_ULP): Remove macro.
24523 (compare_ulp_data): New function.
24524 (find_ulps): Likewise.
24525 (find_test_ulps): Likewise.
24526 (find_function_ulps): Likewise.
24527 (find_complex_function_ulps): Likewise.
24528 (print_max_error): Determine allowed ulps using
24529 find_function_ulps.
24530 (print_complex_max_error): Determine allowed ulps using
24531 find_complex_function_ulps.
24532 (check_float_internal): Determine max ulps using find_test_ulps.
24533 (check_float): Do not take max_ulp parameter. Update call to
24534 check_float_internal.
24535 (check_complex): Likewise.
24536 (check_int): Do not take max_ulp parameter.
24537 (check_long): Likewise.
24538 (check_bool): Likewise.
24539 (check_longlong): Likewise.
24540 (struct test_f_f_data): Remove max_ulp field.
24541 (struct test_ff_f_data): Likewise.
24542 (struct test_ff_f_data_nexttoward): Likewise.
24543 (struct test_fi_f_data): Likewise.
24544 (struct test_fl_f_data): Likewise.
24545 (struct test_if_f_data): Likewise.
24546 (struct test_fff_f_data): Likewise.
24547 (struct test_c_f_data): Likewise.
24548 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24549 (struct test_fF_f1_data): Likewise.
24550 (struct test_ffI_f1_data): Likewise.
24551 (struct test_c_c_data): Remove max_ulp field.
24552 (struct test_cc_c_data): Likewise.
24553 (struct test_f_i_data): Likewise.
24554 (struct test_ff_i_data): Likewise.
24555 (struct test_f_l_data): Likewise.
24556 (struct test_f_L_data): Likewise.
24557 (struct test_sincos_data): Likewise.
24558 (RUN_TEST_f_f): Do not handle ulps.
24559 (RUN_TEST_LOOP_f_f): Likewise.
24560 (RUN_TEST_2_f): Likewise.
24561 (RUN_TEST_LOOP_2_f): Likewise.
24562 (RUN_TEST_fff_f): Likewise.
24563 (RUN_TEST_LOOP_fff_f): Likewise.
24564 (RUN_TEST_c_f): Likewise.
24565 (RUN_TEST_LOOP_c_f): Likewise.
24566 (RUN_TEST_f_f1): Likewise.
24567 (RUN_TEST_LOOP_f_f1): Likewise.
24568 (RUN_TEST_fF_f1): Likewise.
24569 (RUN_TEST_LOOP_fF_f1): Likewise.
24570 (RUN_TEST_fI_f1): Likewise.
24571 (RUN_TEST_LOOP_fI_f1): Likewise.
24572 (RUN_TEST_ffI_f1): Likewise.
24573 (RUN_TEST_LOOP_ffI_f1): Likewise.
24574 (RUN_TEST_c_c): Likewise.
24575 (RUN_TEST_LOOP_c_c): Likewise.
24576 (RUN_TEST_cc_c): Likewise.
24577 (RUN_TEST_LOOP_cc_c): Likewise.
24578 (RUN_TEST_f_i): Likewise.
24579 (RUN_TEST_LOOP_f_i): Likewise.
24580 (RUN_TEST_f_i_tg): Likewise.
24581 (RUN_TEST_LOOP_f_i_tg): Likewise.
24582 (RUN_TEST_ff_i_tg): Likewise.
24583 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24584 (RUN_TEST_f_b): Likewise.
24585 (RUN_TEST_LOOP_f_b): Likewise.
24586 (RUN_TEST_f_b_tg): Likewise.
24587 (RUN_TEST_LOOP_f_b_tg): Likewise.
24588 (RUN_TEST_f_l): Likewise.
24589 (RUN_TEST_LOOP_f_l): Likewise.
24590 (RUN_TEST_f_L): Likewise.
24591 (RUN_TEST_LOOP_f_L): Likewise.
24592 (RUN_TEST_sincos): Likewise.
24593 (RUN_TEST_LOOP_sincos): Likewise.
24594
8269107f
JM
245952013-05-17 Joseph Myers <joseph@codesourcery.com>
24596
bb38759d
JM
24597 [BZ #15480]
24598 [BZ #15485]
24599 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24600 main case of finite arguments, set rounding mode to FE_TONEAREST
24601 and discard exceptions.
24602 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24603 exceptions.
24604 (remainder_tonearest_test_data): New variable.
24605 (remainder_test_tonearest): New function.
24606 (remainder_towardzero_test_data): New variable.
24607 (remainder_test_towardzero): New function.
24608 (remainder_downward_test_data): New variable.
24609 (remainder_test_downward): New function.
24610 (remainder_upward_test_data): New variable.
24611 (remainder_test_upward): New function.
24612 (main): Call the new test functions.
24613
a00bdcf0
JM
24614 * math/libm-test.inc (struct test_f_f1_data): Remove field
24615 extra_init.
24616 (struct test_fF_f1_data): Likewise.
24617 (struct test_ffI_f1_data): Likewise.
24618 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24619 based on value of EXTRA_EXPECTED.
24620 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24621 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24622 EXTRA_VAR based on value of EXTRA_EXPECTED.
24623 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24624 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24625 EXTRA_VAR based on value of EXTRA_EXPECTED.
24626 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24627 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24628 EXTRA_VAR based on value of EXTRA_EXPECTED.
24629 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24630 * math/gen-libm-test.pl (parse_args): Don't output initializers
24631 for extra output values.
24632
de407f79
JM
24633 * math/libm-test.inc (check_int): Expect result to be exactly
24634 equal to expected value and do not handle ulps.
24635 (check_long): Likewise.
24636 (check_longlong): Likewise.
24637
8269107f
JM
24638 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24639 exceptions.
24640 (cimag_test_data): Likewise.
24641 (conj_test_data): Likewise.
24642 (copysign_test_data): Likewise.
24643 (cproj_test_data): Likewise.
24644 (creal_test_data): Likewise.
24645 (fabs_test_data): Likewise.
24646 (fdim_test_data): Likewise.
24647 (finite_test_data): Likewise.
24648 (floor_test_data): Likewise.
24649 (fmax_test_data): Likewise.
24650 (fmin_test_data): Likewise.
24651 (fmod_test_data): Likewise.
24652 (fpclassify_test_data): Likewise.
24653 (frexp_test_data): Likewise.
24654 (ilogb_test_data): Likewise.
24655 (isfinite_test_data): Likewise.
24656 (isgreater_test_data): Likewise.
24657 (isgreaterequal_test_data): Likewise.
24658 (isinf_test_data): Likewise.
24659 (isless_test_data): Likewise.
24660 (islessequal_test_data): Likewise.
24661 (islessgreater_test_data): Likewise.
24662 (isnan_test_data): Likewise.
24663 (isnormal_test_data): Likewise.
24664 (issignaling_test_data): Likewise.
24665 (isunordered_test_data): Likewise.
24666 (ldexp_test_data): Likewise.
24667 (lrint_test_data): Likewise.
24668 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24669 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24670 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24671 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24672 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24673 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24674 test input.
24675 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24676 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24677 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24678 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24679 that test input.
24680 (lrint_downward_test_data): Test for "inexact" exceptions.
24681 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24682 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24683 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24684 test input.
24685 (lrint_upward_test_data): Test for "inexact" exceptions.
24686 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24687 test input.
24688 (llrint_test_data): Test for "inexact" exceptions.
24689 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24690 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24691 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24692 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24693 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24694 (llrint_downward_test_data): Test for "inexact" exceptions.
24695 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24696 (llrint_upward_test_data): Test for "inexact" exceptions.
24697 (logb_test_data): Likewise.
24698 (logb_downward_test_data): Likewise.
24699 (nextafter_test_data): Likewise.
24700 (nexttoward_test_data): Likewise.
24701 (remainder_test_data): Likewise.
24702 (remquo_test_data): Likewise.
24703 (scalbn_test_data): Likewise.
24704 (scalbln_test_data): Likewise.
24705 (signbit_test_data): Likewise.
24706 (sqrt_test_data): Likewise.
24707 (significand_test_data): Likewise.
24708
48a18de1
SP
247092013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24710
24711 [BZ #15424]
24712 * benchtests/bench-modf.c (struct args): Mark arg0 as
24713 volatile.
24714 * scripts/bench.pl: Mark members of struct args as volatile.
24715
13d3b41a
AZ
247162013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24717
68191c1d 24718 [BZ # 15497]
13d3b41a
AZ
24719 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24720 negative infinity on POWER6 or lower.
24721 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24722
2848b105
MR
247232013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24724
24725 [BZ #15442]
24726 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24727 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24728 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24729 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24730 (_FP_SETQNAN): New macro.
24731 (_FP_SETQNAN_SEMIRAW): Likewise.
24732 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24733 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24734 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24735 (FP_EXTEND): Use _FP_FRAC_SNANP.
24736 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24737 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24738 into account.
24739 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24740 New macro.
24741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24742 Likewise.
24743
323e5cb7
JM
247442013-05-16 Joseph Myers <joseph@codesourcery.com>
24745
c58b274f
JM
24746 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24747 with DIVIDE_BY_ZERO_EXCEPTION.
24748 (gamma_test_data): Likewise.
24749 (lgamma_test_data): Likewise.
24750 (log_test_data): Likewise.
24751 (log10_test_data): Likewise.
24752 (log2_test_data): Likewise.
24753 (tgamma_test_data): Likewise.
24754
0ab34904
JM
24755 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24756 (acos_test_tonearest): Likewise.
24757 (acos_test_towardzero): Likewise.
24758 (acos_test_downward): Likewise.
24759 (acos_test_upward): Likewise.
24760 (acosh_test): Likewise.
24761 (asin_test): Likewise.
24762 (asin_test_tonearest): Likewise.
24763 (asin_test_towardzero): Likewise.
24764 (asin_test_downward): Likewise.
24765 (asin_test_upward): Likewise.
24766 (asinh_test): Likewise.
24767 (atan_test): Likewise.
24768 (atanh_test): Likewise.
24769 (atan2_test): Likewise.
24770 (cabs_test): Likewise.
24771 (cacos_test): Likewise.
24772 (cacosh_test): Likewise.
24773 (casin_test): Likewise.
24774 (casinh_test): Likewise.
24775 (catan_test): Likewise.
24776 (catanh_test): Likewise.
24777 (cbrt_test): Likewise.
24778 (ccos_test): Likewise.
24779 (ccosh_test): Likewise.
24780 (cexp_test): Likewise.
24781 (clog_test): Likewise.
24782 (clog10_test): Likewise.
24783 (cos_test): Likewise.
24784 (cos_test_tonearest): Likewise.
24785 (cos_test_towardzero): Likewise.
24786 (cos_test_downward): Likewise.
24787 (cos_test_upward): Likewise.
24788 (cosh_test): Likewise.
24789 (cosh_test_tonearest): Likewise.
24790 (cosh_test_towardzero): Likewise.
24791 (cosh_test_downward): Likewise.
24792 (cosh_test_upward): Likewise.
24793 (cpow_test): Likewise.
24794 (csin_test): Likewise.
24795 (csinh_test): Likewise.
24796 (csqrt_test): Likewise.
24797 (ctan_test): Likewise.
24798 (ctan_test_tonearest): Likewise.
24799 (ctan_test_towardzero): Likewise.
24800 (ctan_test_downward): Likewise.
24801 (ctan_test_upward): Likewise.
24802 (ctanh_test): Likewise.
24803 (ctanh_test_tonearest): Likewise.
24804 (ctanh_test_towardzero): Likewise.
24805 (ctanh_test_downward): Likewise.
24806 (ctanh_test_upward): Likewise.
24807 (erf_test): Likewise.
24808 (erfc_test): Likewise.
24809 (exp_test): Likewise.
24810 (exp_test_tonearest): Likewise.
24811 (exp_test_towardzero): Likewise.
24812 (exp_test_downward): Likewise.
24813 (exp_test_upward): Likewise.
24814 (exp10_test): Likewise.
24815 (exp2_test): Likewise.
24816 (expm1_test): Likewise.
24817 (fmod_test): Likewise.
24818 (gamma_test): Likewise.
24819 (hypot_test): Likewise.
24820 (j0_test): Likewise.
24821 (j1_test): Likewise.
24822 (jn_test): Likewise.
24823 (lgamma_test): Likewise.
24824 (log_test): Likewise.
24825 (log10_test): Likewise.
24826 (log1p_test): Likewise.
24827 (log2_test): Likewise.
24828 (logb_test_downward): Likewise.
24829 (pow_test): Likewise.
24830 (pow_test_tonearest): Likewise.
24831 (pow_test_towardzero): Likewise.
24832 (pow_test_downward): Likewise.
24833 (pow_test_upward): Likewise.
24834 (remainder_test): Likewise.
24835 (remquo_test): Likewise.
24836 (sin_test): Likewise.
24837 (sin_test_tonearest): Likewise.
24838 (sin_test_towardzero): Likewise.
24839 (sin_test_downward): Likewise.
24840 (sin_test_upward): Likewise.
24841 (sincos_test): Likewise.
24842 (sinh_test): Likewise.
24843 (sinh_test_tonearest): Likewise.
24844 (sinh_test_towardzero): Likewise.
24845 (sinh_test_downward): Likewise.
24846 (sinh_test_upward): Likewise.
24847 (sqrt_test): Likewise.
24848 (tan_test): Likewise.
24849 (tan_test_tonearest): Likewise.
24850 (tan_test_towardzero): Likewise.
24851 (tan_test_downward): Likewise.
24852 (tan_test_upward): Likewise.
24853 (tanh_test): Likewise.
24854 (tgamma_test): Likewise.
24855 (y0_test): Likewise.
24856 (y1_test): Likewise.
24857 (yn_test): Likewise.
24858
323e5cb7
JM
24859 * math/gen-libm-test.pl (adjust_arg): Remove function.
24860 (special_function): Remove argument $in_func. Only handle
24861 generating output for tables of tests, not inside functions.
24862 (parse_args): Likewise.
24863 (generate_testfile): Remove variable $in_func. Update call to
24864 parse_args.
24865 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24866 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24867 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24868 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24869 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24870 (MAX_VALUE_INIT): Rename macro to max_value.
24871 (MIN_VALUE_INIT): Rename macro to min_value.
24872 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24873 (plus_zero): Remove variable.
24874 (minus_zero): Likewise.
24875 (plus_infty): Likewise.
24876 (minus_infty): Likewise.
24877 (qnan_value): Likewise.
24878 (max_value): Likewise.
24879 (min_value): Likewise.
24880 (min_subnorm_value): Likewise.
24881
e054f494
RA
248822013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24883
24884 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24885 uint64_t or uint32_t usage.
24886 * crypt/sha256-block.c: Likewise.
24887 * crypt/sha256-crypt.c: Likewise.
24888 * crypt/sha256.c: Likewise.
24889 * crypt/sha512-block.c: Likewise.
24890 * crypt/sha512-crypt.c: Likewise.
24891 * crypt/sha512.c: Likewise.
24892 * debug/backtrace-tst.c: Likewise.
24893 * debug/pcprofiledump.c: Likewise.
24894 * elf/cache.c: Likewise.
24895 * elf/dl-cache.c: Likewise.
24896 * elf/dl-misc.c: Likewise.
24897 * elf/dl-profile.c: Likewise.
24898 * elf/dl-support.c: Likewise.
24899 * elf/ldconfig.c: Likewise.
24900 * elf/sprof.c: Likewise.
24901 * iconv/dummy-repertoire.c: Likewise.
24902 * iconv/iconv_charmap.c: Likewise.
24903 * iconv/skeleton.c: Likewise.
24904 * iconvdata/8bit-generic.c: Likewise.
24905 * iconvdata/cp737.h: Likewise.
24906 * iconvdata/cp775.h: Likewise.
24907 * iconvdata/ibm1008.h: Likewise.
24908 * iconvdata/ibm1025.h: Likewise.
24909 * iconvdata/ibm1046.h: Likewise.
24910 * iconvdata/ibm1097.h: Likewise.
24911 * iconvdata/ibm1112.h: Likewise.
24912 * iconvdata/ibm1122.h: Likewise.
24913 * iconvdata/ibm1123.h: Likewise.
24914 * iconvdata/ibm1124.h: Likewise.
24915 * iconvdata/ibm1129.h: Likewise.
24916 * iconvdata/ibm1130.h: Likewise.
24917 * iconvdata/ibm1132.h: Likewise.
24918 * iconvdata/ibm1133.h: Likewise.
24919 * iconvdata/ibm1137.h: Likewise.
24920 * iconvdata/ibm1140.h: Likewise.
24921 * iconvdata/ibm1141.h: Likewise.
24922 * iconvdata/ibm1142.h: Likewise.
24923 * iconvdata/ibm1143.h: Likewise.
24924 * iconvdata/ibm1144.h: Likewise.
24925 * iconvdata/ibm1145.h: Likewise.
24926 * iconvdata/ibm1146.h: Likewise.
24927 * iconvdata/ibm1147.h: Likewise.
24928 * iconvdata/ibm1148.h: Likewise.
24929 * iconvdata/ibm1149.h: Likewise.
24930 * iconvdata/ibm1153.h: Likewise.
24931 * iconvdata/ibm1154.h: Likewise.
24932 * iconvdata/ibm1155.h: Likewise.
24933 * iconvdata/ibm1156.h: Likewise.
24934 * iconvdata/ibm1157.h: Likewise.
24935 * iconvdata/ibm1158.h: Likewise.
24936 * iconvdata/ibm1160.h: Likewise.
24937 * iconvdata/ibm1161.h: Likewise.
24938 * iconvdata/ibm1162.h: Likewise.
24939 * iconvdata/ibm1163.h: Likewise.
24940 * iconvdata/ibm1164.h: Likewise.
24941 * iconvdata/ibm1166.h: Likewise.
24942 * iconvdata/ibm1167.h: Likewise.
24943 * iconvdata/ibm12712.h: Likewise.
24944 * iconvdata/ibm1390.h: Likewise.
24945 * iconvdata/ibm1399.h: Likewise.
24946 * iconvdata/ibm16804.h: Likewise.
24947 * iconvdata/ibm4517.h: Likewise.
24948 * iconvdata/ibm4899.h: Likewise.
24949 * iconvdata/ibm4909.h: Likewise.
24950 * iconvdata/ibm4971.h: Likewise.
24951 * iconvdata/ibm5347.h: Likewise.
24952 * iconvdata/ibm803.h: Likewise.
24953 * iconvdata/ibm856.h: Likewise.
24954 * iconvdata/ibm901.h: Likewise.
24955 * iconvdata/ibm902.h: Likewise.
24956 * iconvdata/ibm9030.h: Likewise.
24957 * iconvdata/ibm9066.h: Likewise.
24958 * iconvdata/ibm921.h: Likewise.
24959 * iconvdata/ibm922.h: Likewise.
24960 * iconvdata/ibm9448.h: Likewise.
24961 * iconvdata/isiri-3342.h: Likewise.
24962 * iconvdata/jis0201.h: Likewise.
24963 * include/link.h: Likewise.
24964 * include/netdb.h: Likewise.
24965 * inet/check_native.c: Likewise.
24966 * inet/check_pf.c: Likewise.
24967 * inet/getipv4sourcefilter.c: Likewise.
24968 * inet/getnameinfo.c: Likewise.
24969 * inet/getsourcefilter.c: Likewise.
24970 * inet/htonl.c: Likewise.
24971 * inet/setipv4sourcefilter.c: Likewise.
24972 * inet/setsourcefilter.c: Likewise.
24973 * inet/test-inet6_opt.c: Likewise.
24974 * inet/tst-network.c: Likewise.
24975 * locale/C-collate.c: Likewise.
24976 * locale/C-ctype.c: Likewise.
24977 * locale/C-time.c: Likewise.
24978 * locale/C-translit.h: Likewise.
24979 * locale/loadarchive.c: Likewise.
24980 * locale/programs/3level.h: Likewise.
24981 * locale/programs/charmap.c: Likewise.
24982 * locale/programs/charmap.h: Likewise.
24983 * locale/programs/ld-address.c: Likewise.
24984 * locale/programs/ld-collate.c: Likewise.
24985 * locale/programs/ld-ctype.c: Likewise.
24986 * locale/programs/ld-identification.c: Likewise.
24987 * locale/programs/ld-measurement.c: Likewise.
24988 * locale/programs/ld-messages.c: Likewise.
24989 * locale/programs/ld-monetary.c: Likewise.
24990 * locale/programs/ld-name.c: Likewise.
24991 * locale/programs/ld-numeric.c: Likewise.
24992 * locale/programs/ld-paper.c: Likewise.
24993 * locale/programs/ld-telephone.c: Likewise.
24994 * locale/programs/ld-time.c: Likewise.
24995 * locale/programs/linereader.c: Likewise.
24996 * locale/programs/locale.c: Likewise.
24997 * locale/programs/locarchive.c: Likewise.
24998 * locale/programs/locfile.h: Likewise.
24999 * locale/programs/repertoire.c: Likewise.
25000 * locale/programs/simple-hash.c: Likewise.
25001 * locale/programs/simple-hash.h: Likewise.
25002 * malloc/memusage.c: Likewise.
25003 * malloc/memusagestat.c: Likewise.
25004 * nis/nis_defaults.c: Likewise.
25005 * nis/nis_hash.c: Likewise.
25006 * nis/nis_print.c: Likewise.
25007 * nis/nis_xdr.c: Likewise.
25008 * nscd/connections.c: Likewise.
25009 * nscd/hstcache.c: Likewise.
25010 * nscd/nscd_gethst_r.c: Likewise.
25011 * nscd/nscd_getserv_r.c: Likewise.
25012 * nscd/nscd_helper.c: Likewise.
25013 * nscd/servicescache.c: Likewise.
25014 * nss/makedb.c: Likewise.
25015 * nss/nss_db/db-XXX.c: Likewise.
25016 * nss/nss_db/db-initgroups.c: Likewise.
25017 * nss/nss_db/db-netgrp.c: Likewise.
25018 * nss/nss_files/files-network.c: Likewise.
25019 * nss/nss_files/files-parse.c: Likewise.
25020 * posix/bug-regex5.c: Likewise.
25021 * posix/fnmatch_loop.c: Likewise.
25022 * posix/regcomp.c: Likewise.
25023 * posix/regexec.c: Likewise.
25024 * posix/tst-rfc3484-2.c: Likewise.
25025 * posix/tst-rfc3484-3.c: Likewise.
25026 * posix/tst-rfc3484.c: Likewise.
25027 * resolv/nss_dns/dns-canon.c: Likewise.
25028 * resolv/nss_dns/dns-network.c: Likewise.
25029 * resolv/res_init.c: Likewise.
25030 * resolv/res_mkquery.c: Likewise.
25031 * resolv/tst-aton.c: Likewise.
25032 * stdlib/cxa_atexit.c: Likewise.
25033 * stdlib/cxa_finalize.c: Likewise.
25034 * stdlib/gen-fpioconst.c: Likewise.
25035 * stdlib/strtol_l.c: Likewise.
25036 * string/tst-endian.c: Likewise.
25037 * sunrpc/auth_des.c: Likewise.
25038 * sunrpc/clnt_udp.c: Likewise.
25039 * sunrpc/rtime.c: Likewise.
25040 * sunrpc/svcauth_des.c: Likewise.
25041 * sunrpc/xdr.c: Likewise.
25042 * sunrpc/xdr_intXX_t.c: Likewise.
25043 * sunrpc/xdr_rec.c: Likewise.
25044 * sysdeps/generic/ldconfig.h: Likewise.
25045 * sysdeps/generic/ldsodefs.h: Likewise.
25046 * sysdeps/generic/memusage.h: Likewise.
25047 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25056 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25057 * sysdeps/posix/getaddrinfo.c: Likewise.
25058 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25059 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25060 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25061 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25062 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25063 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25064 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25065 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25066 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25067 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25068 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25069 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25070 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25071 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25072 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25073 * sysdeps/x86_64/dl-tls.h: Likewise.
25074 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25075 * time/alt_digit.c: Likewise.
25076 * time/era.c: Likewise.
25077 * wcsmbs/tst-c16c32-1.c: Likewise.
25078
8c75f674
JM
250792013-05-16 Joseph Myers <joseph@codesourcery.com>
25080
25081 * math/libm-test.inc (struct test_sincos_data): New type.
25082 (RUN_TEST_LOOP_sincos): New macro.
25083 (sincos_test_data): New variable.
25084 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25085
e6e49e59
RH
250862013-05-16 Richard Henderson <rth@redhat.com>
25087
25088 * math/atest-exp2.c (LIMB64): New macro.
25089 (CONSTSZ): New macro.
25090 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25091 (hexdig): Move ...
25092 (print_mpn_fp): ... to function scope.
25093 (read_mpn_hex): Remove.
25094 (get_log2): Remove.
25095 (exp2_mpn): Use mp_log2.
25096 (main): Use mp_exp1.
25097
15c7c18d
JM
250982013-05-16 Joseph Myers <joseph@codesourcery.com>
25099
105a07df
JM
25100 * math/libm-test.inc: Remove comment about not testing "inexact"
25101 exceptions.
25102 (INEXACT_EXCEPTION): New macro.
25103 (NO_INEXACT_EXCEPTION): Likewise.
25104 (INVALID_EXCEPTION_OK): Update value.
25105 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25106 (OVERFLOW_EXCEPTION_OK): Likewise.
25107 (UNDERFLOW_EXCEPTION_OK): Likewise.
25108 (IGNORE_ZERO_INF_SIGN): Likewise.
25109 (ERRNO_UNCHANGED): Likewise.
25110 (ERRNO_EDOM): Likewise.
25111 (ERRNO_ERANGE): Likewise.
25112 (test_exceptions): Handle testing "inexact" exceptions.
25113 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25114 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25115 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25116 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25117 INEXACT_EXCEPTION.
25118 (rint_towardzero_test_data): Likewise.
25119 (rint_downward_test_data): Likewise.
25120 (rint_upward_test_data): Likewise.
25121
e9eee333
JM
25122 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25123 with OVERFLOW_EXCEPTION.
25124 (exp10_test_data): Likewise.
25125 (exp2_test_data): Likewise.
25126 (expm1_test_data): Likewise.
25127 (lgamma_test_data): Likewise.
25128 (pow_test_data): Likewise.
25129 (tgamma_test_data): Likewise.
25130 (yn_test_data): Remove duplicate test of overflow.
25131
1c38ff73
JM
25132 * math/libm-test.inc (struct test_cc_c_data): New type.
25133 (RUN_TEST_LOOP_cc_c): New macro.
25134 (cpow_test_data): New variable.
25135 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25136
15c7c18d
JM
25137 * math/libm-test.inc (struct test_f_L_data): New type.
25138 (RUN_TEST_LOOP_f_L): New macro.
25139 (llrint_test_data): New variable.
25140 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25141 (llrint_tonearest_test_data): New variable.
25142 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25143 (llrint_towardzero_test_data): New variable.
25144 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25145 (llrint_downward_test_data): New variable.
25146 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25147 (llrint_upward_test_data): New variable.
25148 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25149 (llround_test_data): New variable.
25150 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25151
f137ff13
PC
251522013-05-13 Peter Collingbourne <pcc@google.com>
25153
25154 * math/atest-exp2.c (get_log2): Remove const attribute.
25155
3608cb24
JM
251562013-05-15 Joseph Myers <joseph@codesourcery.com>
25157
25158 * math/libm-test.inc (struct test_f_l_data): New type.
25159 (RUN_TEST_LOOP_f_l): New macro.
25160 (lrint_test_data): New variable.
25161 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25162 (lrint_tonearest_test_data): New variable.
25163 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25164 (lrint_towardzero_test_data): New variable.
25165 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25166 (lrint_downward_test_data): New variable.
25167 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25168 (lrint_upward_test_data): New variable.
25169 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25170 (lround_test_data): New variable.
25171 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25172
39b1f617
PC
251732013-05-15 Peter Collingbourne <pcc@google.com>
25174
1deff3dc
PC
25175 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25176 (EXTRACT_WORDS64) Use where appropriate.
25177 (INSERT_WORDS64) Likewise.
25178
791f3ba0
PC
25179 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25180 constraints with x constraints.
25181 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25182
39b1f617
PC
25183 * malloc/obstack.c (_obstack_compat): Add initializer.
25184
12fba011
EM
251852013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25186
25187 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25188 si_trapno and add si_addr_lsb to _sifields.sigfault.
25189 (si_trapno): Remove macro.
25190 (si_addr_lsb): Define new macro.
25191 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25192
d369f531
JM
251932013-05-15 Joseph Myers <joseph@codesourcery.com>
25194
b861c6c4
JM
25195 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25196 instead of TEST_f_l.
25197 (llrint_test_tonearest): Likewise.
25198 (llrint_test_towardzero): Likewise.
25199 (llrint_test_downward): Likewise.
25200 (llrint_test_upward): Likewise.
25201 (llround_test): Likewise.
25202
7abeee12
JM
25203 * math/libm-test.inc (struct test_f_i_data): Add comment.
25204 (RUN_TEST_LOOP_f_b): New macro.
25205 (RUN_TEST_LOOP_f_b_tg): Likewise.
25206 (finite_test_data): New variable.
25207 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25208 (isfinite_test_data): New variable.
25209 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25210 (isinf_test_data): New variable.
25211 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25212 (isnan_test_data): New variable.
25213 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25214 (isnormal_test_data): New variable.
25215 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25216 (issignaling_test_data): New variable.
25217 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25218 (signbit_test_data): New variable.
25219 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25220
cbe8c4d3
JM
25221 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25222 with INVALID_EXCEPTION.
25223 (acosh_test_data): Likewise.
25224 (asin_test_data): Likewise.
25225 (atanh_test_data): Likewise.
25226 (fmod_test_data): Likewise.
25227 (log_test_data): Likewise.
25228 (log10_test_data): Likewise.
25229 (log2_test_data): Likewise.
25230 (pow_test_data): Likewise.
25231 (sqrt_test_data): Likewise.
25232 (y0_test_data): Likewise.
25233 (y1_test_data): Likewise.
25234 (yn_test_data): Likewise.
25235
5575c0e5
JM
25236 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25237 function contents.
25238
d369f531
JM
25239 * math/libm-test.inc (struct test_ff_i_data): New type.
25240 (RUN_TEST_LOOP_ff_i_tg): New macro.
25241 (isgreater_test_data): New variable.
25242 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25243 (isgreaterequal_test_data): New variable.
25244 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25245 (isless_test_data): New variable.
25246 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25247 (islessequal_test_data): New variable.
25248 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25249 (islessgreater_test_data): New variable.
25250 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25251 (isunordered_test_data): New variable.
25252 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25253
781fd748
DM
252542013-05-14 David S. Miller <davem@davemloft.net>
25255
25256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25257
87aa21df
JM
252582013-05-14 Joseph Myers <joseph@codesourcery.com>
25259
5e908270
JM
25260 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25261
f71172e5
JM
25262 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25263 extra_test to int.
25264 (struct test_f_i_data): Change type of max_ulp to int.
25265
8cfa635a
JM
25266 * math/libm-test.inc (test_ffI_f1_data): New type.
25267 (RUN_TEST_LOOP_ffI_f1): New macro.
25268 (remquo_test_data): New variable.
25269 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25270
2bcb36b2
JM
25271 * setjmp/tst-setjmp-fp.c: New file.
25272 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25273 (link-libm): New variable.
25274 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25275
acbd839a
JM
25276 * math/libm-test.inc (struct test_f_i_data): New type.
25277 (RUN_TEST_LOOP_f_i): New macro.
25278 (RUN_TEST_LOOP_f_i_tg): Likewise.
25279 (fpclassify_test_data): New variable.
25280 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25281 (ilogb_test_data): New variable.
25282 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25283
e414d745
JM
25284 * math/libm-test.inc (scalbln_test): Correct function name in END
25285 call.
25286
d9c2a0fd
JM
25287 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25288 (RUN_TEST_LOOP_fI_f1): New macro.
25289 (frexp_test_data): New variable.
25290 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25291
9dc9095d
JM
25292 * math/libm-test.inc (struct test_fF_f1_data): New type.
25293 (RUN_TEST_LOOP_fF_f1): New macro.
25294 (modf_test_data): New variable.
25295 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25296
87aa21df
JM
25297 * math/libm-test.inc (struct test_f_f1_data): New type.
25298 (RUN_TEST_LOOP_f_f1): New macro.
25299 (gamma_test_data): New variable.
25300 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25301 (lgamma_test_data): New variable.
25302 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25303
141af660
CD
253042013-05-13 Carlos O'Donell <carlos@redhat.com>
25305
25306 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25307 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25308 (main): Comment "tls" pseudo-hwcap.
25309
6d33265c
JM
253102013-05-13 Joseph Myers <joseph@codesourcery.com>
25311
68fc074c
JM
25312 * math/libm-test.inc (struct test_fl_f_data): New type.
25313 (RUN_TEST_LOOP_fl_f): New variable.
25314 (scalbln_test_data): New variable.
25315 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25316
243216e1
JM
25317 * math/libm-test.inc (struct test_fi_f_data): New type.
25318 (RUN_TEST_LOOP_fi_f): New macro.
25319 (ldexp_test_data): New variable.
25320 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25321 (scalbn_test_data): New variable.
25322 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25323
6a1992e2
JM
25324 * math/libm-test.inc (struct test_c_f_data): New type.
25325 (RUN_TEST_LOOP_c_f): New macro.
25326 (cabs_test_data): New variable.
25327 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25328 (carg_test_data): New variable.
25329 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25330 (cimag_test_data): New variable.
25331 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25332 (creal_test_data): New variable.
25333 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25334
0e400df5
JM
25335 * math/libm-test.inc (struct test_if_f_data): New type.
25336 (RUN_TEST_LOOP_if_f): New macro.
25337 (jn_test_data): New variable.
25338 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25339 (yn_test_data): New variable.
25340 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25341
6d33265c
JM
25342 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25343
f98ece5f
AZ
253442013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25345
25346 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25347 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25348
0f7d347b
SP
253492013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25350
43fe811b
SP
25351 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25352 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25353 (bench-deps): Add bench-timing.h.
25354 * benchtests-bench-skeleton.c: Include bench-timing.h.
25355 (main): Use TIMING_* macros instead of clock_gettime.
25356 * benchtests/bench-timing.h: New file.
25357
0f7d347b
SP
25358 [BZ #14582]
25359 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25360 Renamed from _LIB_VERSION.
25361 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25362
601a3a5f
JM
253632013-05-12 Joseph Myers <joseph@codesourcery.com>
25364
4f184d30
JM
25365 * math/libm-test.inc (struct test_fff_f_data): New type.
25366 (RUN_TEST_LOOP_fff_f): New macro.
25367 (fma_test_data): New variable.
25368 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25369 (fma_towardzero_test_data): New variable.
25370 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25371 (fma_downward_test_data): New variable.
25372 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25373 (fma_upward_test_data): New variable.
25374 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25375
08198877
JM
25376 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25377 (struct test_c_c_data): New type.
25378 (RUN_TEST_LOOP_c_c): New macro.
25379 (cacos_test_data): New variable.
25380 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25381 (cacosh_test_data): New variable.
25382 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25383 (casin_test_data): New variable.
25384 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25385 (casinh_test_data): New variable.
25386 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25387 (catan_test_data): New variable.
25388 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25389 (catanh_test_data): New variable.
25390 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25391 (ccos_test_data): New variable.
25392 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25393 (ccosh_test_data): New variable.
25394 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25395 (cexp_test_data): New variable.
25396 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25397 (clog_test_data): New variable.
25398 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25399 (clog10_test_data): New variable.
25400 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25401 (conj_test_data): New variable.
25402 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25403 (cproj_test_data): New variable.
25404 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25405 (csin_test_data): New variable.
25406 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25407 (csinh_test_data): New variable.
25408 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25409 (csqrt_test_data): New variable.
25410 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25411 (ctan_test_data): New variable.
25412 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25413 (ctan_tonearest_test_data): New variable.
25414 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25415 (ctan_towardzero_test_data): New variable.
25416 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25417 (ctan_downward_test_data): New variable.
25418 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25419 (ctan_upward_test_data): New variable.
25420 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25421 (ctanh_test_data): New variable.
25422 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25423 (ctanh_tonearest_test_data): New variable.
25424 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25425 (ctanh_towardzero_test_data): New variable.
25426 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25427 (ctanh_downward_test_data): New variable.
25428 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25429 (ctanh_upward_test_data): New variable.
25430 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25431 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25432 of BUILD_COMPLEX.
25433
601a3a5f
JM
25434 * math/libm-test.inc (struct test_ff_f_data): New type.
25435 (struct test_ff_f_data_nexttoward): Likewise.
25436 (RUN_TEST_LOOP_2_f): New macro.
25437 (RUN_TEST_LOOP_ff_f): Likewise.
25438 (atan2_test_data): New variable.
25439 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25440 (copysign_test_data): New variable.
25441 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25442 (fdim_test_data): New variable.
25443 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25444 (fmax_test_data): New variable.
25445 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25446 (fmin_test_data): New variable.
25447 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25448 (fmod_test_data): New variable.
25449 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25450 (hypot_test_data): New variable.
25451 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25452 (nextafter_test_data): New variable.
25453 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25454 (nexttoward_test_data): New variable.
25455 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25456 (pow_test_data): New variable.
25457 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25458 (pow_tonearest_test_data): New variable.
25459 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25460 (pow_towardzero_test_data): New variable.
25461 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25462 (pow_downward_test_data): New variable.
25463 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25464 (pow_upward_test_data): New variable.
25465 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25466 (remainder_test_data): New variable.
25467 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25468 (scalb_test_data): New variable.
25469 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25470 * sysdeps/i386/fpu/libm-test-ulps: Update.
25471
74c57478
JM
254722013-05-11 Joseph Myers <joseph@codesourcery.com>
25473
8329e4da
JM
25474 * math/libm-test.inc (fma_test): Use max_value instead of local
25475 variable fltmax.
25476 (nextafter_test): Likewise.
25477
74c57478
JM
25478 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25479 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25480 (acos_downward_test_data): New variable.
25481 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25482 (acos_upward_test_data): New variable.
25483 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25484 (acosh_test_data): New variable.
25485 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25486 (asin_test_data): New variable.
25487 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25488 (asin_tonearest_test_data): New variable.
25489 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25490 (asin_towardzero_test_data): New variable.
25491 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25492 (asin_downward_test_data): New variable.
25493 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25494 (asin_upward_test_data): New variable.
25495 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25496 (asinh_test_data): New variable.
25497 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25498 (atan_test_data): New variable.
25499 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25500 (atanh_test_data): New variable.
25501 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25502 (cbrt_test_data): New variable.
25503 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25504 (ceil_test_data): New variable.
25505 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25506 (cos_test_data): New variable.
25507 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25508 (cos_tonearest_test_data): New variable.
25509 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25510 (cos_towardzero_test_data): New variable.
25511 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25512 (cos_downward_test_data): New variable.
25513 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25514 (cos_upward_test_data): New variable.
25515 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25516 (cosh_test_data): New variable.
25517 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25518 (cosh_tonearest_test_data): New variable.
25519 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25520 (cosh_towardzero_test_data): New variable.
25521 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25522 (cosh_downward_test_data): New variable.
25523 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25524 (cosh_upward_test_data): New variable.
25525 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25526 (erf_test_data): New variable.
25527 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25528 (erfc_test_data): New variable.
25529 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25530 (exp_test_data): New variable.
25531 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25532 (exp_tonearest_test_data): New variable.
25533 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25534 (exp_towardzero_test_data): New variable.
25535 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25536 (exp_downward_test_data): New variable.
25537 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25538 (exp_upward_test_data): New variable.
25539 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25540 (exp10_test_data): New variable.
25541 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25542 (exp2_test_data): New variable.
25543 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25544 (expm1_test_data): New variable.
25545 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25546 (fabs_test_data): New variable.
25547 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25548 (floor_test_data): New variable.
25549 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25550 (j0_test_data): New variable.
25551 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25552 (j1_test_data): New variable.
25553 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25554 (log_test_data): New variable.
25555 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25556 (log10_test_data): New variable.
25557 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25558 (log1p_test_data): New variable.
25559 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25560 (log2_test_data): New variable.
25561 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25562 (logb_test_data): New variable.
25563 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25564 (logb_downward_test_data): New variable.
25565 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25566 (nearbyint_test_data): New variable.
25567 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25568 (rint_test_data): New variable.
25569 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25570 (rint_tonearest_test_data): New variable.
25571 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25572 (rint_towardzero_test_data): New variable.
25573 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25574 (rint_downward_test_data): New variable.
25575 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25576 (rint_upward_test_data): New variable.
25577 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25578 (round_test_data): New variable.
25579 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25580 (sin_test_data): New variable.
25581 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25582 (sin_tonearest_test_data): New variable.
25583 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25584 (sin_towardzero_test_data): New variable.
25585 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25586 (sin_downward_test_data): New variable.
25587 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25588 (sin_upward_test_data): New variable.
25589 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25590 (sinh_test_data): New variable.
25591 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25592 (sinh_tonearest_test_data): New variable.
25593 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25594 (sinh_towardzero_test_data): New variable.
25595 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25596 (sinh_downward_test_data): New variable.
25597 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25598 (sinh_upward_test_data): New variable.
25599 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25600 (sqrt_test_data): New variable.
25601 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25602 (tan_test_data): New variable.
25603 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25604 (tan_tonearest_test_data): New variable.
25605 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25606 (tan_towardzero_test_data): New variable.
25607 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25608 (tan_downward_test_data): New variable.
25609 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25610 (tan_upward_test_data): New variable.
25611 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25612 (tanh_test_data): New variable.
25613 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25614 (tgamma_test_data): New variable.
25615 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25616 (trunc_test_data): New variable.
25617 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25618 (y0_test_data): New variable.
25619 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25620 (y1_test_data): New variable.
25621 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25622 (significand_test_data): New variable.
25623 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25624
7187d844
CG
256252013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25626
25627 [BZ #12387]
25628 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25629
f63fae73
PT
256302013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25631
25632 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25633
8a67a4b3
AJ
256342013-05-10 Andreas Jaeger <aj@suse.de>
25635
25636 [BZ #15448]
25637 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25638 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25639
51df539d
JM
256402013-05-10 Joseph Myers <joseph@codesourcery.com>
25641
25642 * math/gen-libm-test.pl (adjust_arg): New function.
25643 (special_functions): Handle generating output in both functions
25644 and arrays.
25645 (parse_args): Likewise.
25646 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25647 $in_func argument to parse_args.
25648 * math/libm-test.inc (struct test_f_f_data): New type.
25649 (IF_ROUND_INIT_): New macro.
25650 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25651 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25652 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25653 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25654 (ROUND_RESTORE_): Likewise.
25655 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25656 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25657 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25658 (ROUND_RESTORE_FE_UPWARD): Likewise.
25659 (RUN_TEST_LOOP_f_f): New macro.
25660 (acos_test_data): New variable.
25661 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25662 (acos_tonearest_test_data): New variable.
25663 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25664
5c637fe5
SP
256652013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25666
25667 * benchtests/bench-skeleton.c (startup): Fix coding style.
25668
ab2b9461
JM
256692013-05-10 Joseph Myers <joseph@codesourcery.com>
25670
25671 [BZ #6809]
25672 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25673 negative infinity argument.
25674 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25675 negative infinity argument.
25676 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25677 negative infinity argument.
25678 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25679 domain errors.
25680
4c0fe6fe
FW
256812013-05-10 Florian Weimer <fweimer@redhat.com>
25682
25683 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25684 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25685 * iconv/iconv_prog.c (main): Likewise.
25686 * locale/programs/charmap-dir.c (charmap_readdir)
25687 (fopen_uncompressed): Likewise.
25688 * locale/programs/locfile.c (siblings_uncached)
25689 (write_locale_data): Use lstat64 instead of lstat.
25690 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25691 stat.
25692
a3375d29
AJ
256932013-05-10 Andreas Jaeger <aj@suse.de>
25694
25695 [BZ #15395]
25696 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25697 localization.
25698 Include <locale.h>.
25699
36129722
CD
257002013-05-09 Carlos O'Donell <carlos@redhat.com>
25701
25702 * elf/dl-close.c (_dl_close_worker): Add comments.
25703
faa7f811
JM
257042013-05-09 Joseph Myers <joseph@codesourcery.com>
25705
ed41ffef
JM
25706 [BZ #15359]
25707 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25708 high part of pi/2.
25709 (__ieee754_rem_pio2l): Update comments.
25710
d0213cd0
JM
25711 [BZ #15429]
25712 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25713 high part of pi/2.
25714 (__ieee754_rem_pio2l): Update comments.
25715
0d3e777a
JM
25716 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25717 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25718
24f56066
JM
25719 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25720 M_PI_4l.
25721
faa7f811
JM
25722 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25723 (M_PI_34_LOG10El): Likewise.
25724 (M_PI2_LOG10El): Likewise.
25725 (M_PI4_LOG10El): Likewise.
25726 (M_PI_LOG10El): Likewise.
25727
e9a5e0fd
AZ
257282013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25729
25730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25731
d8cd06db
JM
257322013-05-08 Joseph Myers <joseph@codesourcery.com>
25733
a0d9f9d7
JM
25734 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25735 (MINUS_ZERO_INIT): Likewise.
25736 (PLUS_INFTY_INIT): Likewise.
25737 (MINUS_INFTY_INIT): Likewise.
25738 (QNAN_VALUE_INIT): Likewise.
25739 (MAX_VALUE_INIT): Likewise.
25740 (MIN_VALUE_INIT): Likewise.
25741 (MIN_SUBNORM_VALUE_INIT): Likewise.
25742 (plus_zero): Initialize with PLUS_ZERO_INIT.
25743 (minus_zero): Initialize with MINUS_ZERO_INIT.
25744 (plus_infty): Initialize with PLUS_INFTY_INIT.
25745 (minus_infty): Initialize with MINUS_INFTY_INIT.
25746 (qnan_value): Initialize with QNAN_VALUE_INIT.
25747 (max_value): Initialize with MAX_VALUE_INIT.
25748 (min_value): Initialize with MIN_VALUE_INIT.
25749 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25750
ae08db3b
JM
25751 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25752 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25753 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25754 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25755
f44bf14a
JM
25756 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25757 (RUN_TEST_2_f): Likewise.
25758 (RUN_TEST_ff_f): Likewise.
25759 (RUN_TEST_fi_f): Likewise.
25760 (RUN_TEST_fl_f): Likewise.
25761 (RUN_TEST_fff_f): Likewise.
25762 (RUN_TEST_c_f): Likewise.
25763 (RUN_TEST_f_f1): Likewise.
25764 (RUN_TEST_fF_f1): Likewise.
25765 (RUN_TEST_fI_f1): Likewise.
25766 (RUN_TEST_ffI_f1): Likewise.
25767 (RUN_TEST_c_c): Likewise.
25768 (RUN_TEST_cc_c): Likewise.
25769 (RUN_TEST_f_i): Likewise.
25770 (RUN_TEST_f_i_tg): Likewise.
25771 (RUN_TEST_ff_i_tg): Likewise.
25772 (RUN_TEST_f_b): Likewise.
25773 (RUN_TEST_f_b_tg): Likewise.
25774 (RUN_TEST_f_l): Likewise.
25775 (RUN_TEST_f_L): Likewise.
25776 (RUN_TEST_sincos): Likewise.
25777 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25778 whether to show exceptions. Do not include ");\n" in return
25779 value.
25780 (special_functions): Output call to RUN_TEST_sincos instead of
25781 check_float calls. Update calls to new_test.
25782 (parse_args): Output call to single RUN_TEST_* macro instead of
25783 check_* calls and other assignments. Update calls to new_test.
25784
d8cd06db
JM
25785 [BZ #2546]
25786 [BZ #2560]
25787 [BZ #5159]
25788 [BZ #15426]
25789 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25790 input to result for tgamma overflow.
25791 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25792 (gamma_coeff): New variable.
25793 (NCOEFF): New macro.
25794 (gamma_positive): New function.
25795 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25796 underflow here. Use gamma_positive instead of exp (lgamma) for
25797 other arguments.
25798 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25799 (gamma_coeff): New variable.
25800 (NCOEFF): New macro.
25801 (gammaf_positive): New function.
25802 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25803 underflow here. Use gamma_positive instead of exp (lgamma) for
25804 other arguments.
25805 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25806 (gamma_coeff): New variable.
25807 (NCOEFF): New macro.
25808 (gammal_positive): New function.
25809 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25810 underflow here. Use gamma_positive instead of exp (lgamma) for
25811 other arguments.
25812 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25813 (gamma_coeff): New variable.
25814 (NCOEFF): New macro.
25815 (gammal_positive): New function.
25816 (__ieee754_gammal_r): Handle positive infinity, overflow and
25817 underflow here. Handle NaN the same as positive infinity. Remove
25818 check x < 0xffffffff for negative integers. Use gamma_positive
25819 instead of exp (lgamma) for other arguments.
25820 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25821 (gamma_coeff): New variable.
25822 (NCOEFF): New macro.
25823 (gammal_positive): New function.
25824 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25825 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25826 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25827 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25829 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25830 * sysdeps/generic/math_private.h (__gamma_productf): New
25831 prototype.
25832 (__gamma_product): Likewise.
25833 (__gamma_productl): Likewise.
25834 * math/Makefile (libm-calls): Add gamma_product.
25835 * math/libm-test.inc (tgamma_test): Add more tests.
25836 * sysdeps/i386/fpu/libm-test-ulps: Update.
25837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25838
bb7cf681
OB
258392013-05-08 Ondřej Bílka <neleai@seznam.cz>
25840
25841 * benchtests/bench-skeleton.c (main): Preheat CPU.
25842
ba853947
AJ
258432013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25844
25845 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25846
8347c74c
RM
258472013-05-07 Roland McGrath <roland@hack.frob.com>
25848
25849 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25850 and _dl_skip_args_internal.
25851
e8dd4791
CD
258522013-05-07 Carlos O'Donell <carlos@redhat.com>
25853
25854 * manual/message.texi (Message Translation): Talk about users.
25855 Message to key mapping impacts design.
25856
c7405830
RM
258572013-05-06 Roland McGrath <roland@hack.frob.com>
25858
a9173057
RM
25859 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25860
976e2f03
RM
25861 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25862
9723ffc5
RM
25863 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25864 * sysdeps/wordsize-64/glob64.c: ... here.
25865
962e6658
RM
25866 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25867 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25868 New macros.
25869
ee586a6d
RM
25870 * debug/getlogin_r_chk.c: Moved to ...
25871 * login/getlogin_r_chk.c: ... here.
25872 * debug/Makefile (routines): Move getlogin_r_chk to ...
25873 * login/Makefile (routines): ... here.
25874 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25875 * login/Versions (libc: GLIBC_2.4): ... here.
25876
355f9165
RM
25877 * io/poll.c (__poll): Renamed from poll.
25878 Add libc_hidden_def.
25879 (poll): Define as weak alias.
25880
bd9ffde6
RM
25881 * debug/ptsname_r_chk.c: Moved to ...
25882 * login/ptsname_r_chk.c: ... here.
25883 * debug/Makefile (routines): Move ptsname_r_chk to ...
25884 * login/Makefile (routines): ... here.
25885 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25886 * login/Versions (libc: GLIBC_2.4): ... here.
25887
8fb16a04
RM
25888 * posix/getlogin.c: Moved to ...
25889 * login/getlogin.c: ... here.
25890 * posix/getlogin_r.c: Moved to ...
25891 * login/getlogin_r.c: ... here.
25892 * posix/getlogin_r.c: Moved to ...
25893 * login/getlogin_r.c: ... here.
25894 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25895 * login/Makefile (routines): ... here.
25896 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25897 * login/Versions (libc: GLIBC_2.0): ... here.
25898
b99b892f
RM
25899 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25900 (setrlimit): Define as weak alias.
25901
c7405830
RM
25902 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25903 Call __ names for open, ftruncate, and close.
25904 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25905 (truncate): Define as weak alias.
25906
5bf96de5
JM
259072013-05-06 Joseph Myers <joseph@codesourcery.com>
25908
9ea3513c
JM
25909 * math/gen-libm-test.pl (parse_args): Initialize x before each
25910 test of frexp, modf and remquo.
25911
5bf96de5
JM
25912 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25913 test signgam value.
25914
16e616a7
AZ
259152013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25916
25917 [BZ #15418]
25918 [BZ #15419]
25919 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25920 internal tests.
25921 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25922
d5e82754
RM
259232013-05-06 Roland McGrath <roland@hack.frob.com>
25924
25925 * elf/dl-writev.h: New file.
25926 * elf/dl-misc.c: Include it.
25927 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25928 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25929
a7548d41
JM
259302013-05-04 Joseph Myers <joseph@codesourcery.com>
25931
b7dab1e4
JM
25932 * math/libm-test.inc (noXFails): Remove variable.
25933 (noXPasses): Likewise.
25934 (BUILD_COMPLEX_INT): Remove macro.
25935 (print_screen): Remove xfail argument.
25936 (print_screen_max_error): Likewise.
25937 (update_stats): Likewise.
25938 (print_max_error): Likewise. Update calls to other affected
25939 functions.
25940 (print_complex_max_error): Likewise.
25941 (test_single_exception): Update calls to print_screen.
25942 (test_single_errno): Likewise.
25943 (check_float_internal): Remove xfail argument. Update calls to
25944 other affected functions.
25945 (check_float): Likewise.
25946 (check_complex): Likewise.
25947 (check_int): Likewise.
25948 (check_long): Likewise.
25949 (check_bool): Likewise.
25950 (check_longlong): Likewise.
25951 (main): Don't print noXFails and noXPasses.
25952 * math/gen-libm-test.pl (top level): Don't mention expected
25953 failure handling in comment.
25954 (new_test): Don't handle expected failures.
25955 (parse_args): Don't mention expected failure handling in comment.
25956 (generate_testfile): Don't handle expected failures.
25957 (parse_ulps): Likewise.
25958 (print_ulps_file): Likewise.
25959 (get_failure): Remove function.
25960 (output_test): Don't handle expected failures.
25961 * make/README.libm-test: Don't mention expected failure handling.
25962
a7548d41
JM
25963 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25964 (minus_zero): Likewise.
25965 (plus_infty): Likewise.
25966 (minus_infty): Likewise.
25967 (qnan_value): Likewise.
25968 (max_value): Likewise.
25969 (min_value): Likewise.
25970 (min_subnorm_value): Likewise.
25971 (initialize): Do not initialize those variables dynamically.
25972
60bfd54c
RM
259732013-05-03 Roland McGrath <roland@hack.frob.com>
25974
cc0e6ed8
RM
25975 * io/open.c (__open_2): Moved to ...
25976 * io/open_2.c: ... this new file.
25977 * io/open64.c (__open64_2): Moved to ...
25978 * io/open64_2.c: ... this new file.
25979 * io/openat.c (__openat_2): Moved to ...
25980 * io/openat_2.c: ... this new file.
25981 * io/openat64.c (__openat64_2): Moved to ...
25982 * io/openat64_2.c: ... this new file.
25983 * io/Makefile (routines): Add them.
25984 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25985 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25986 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25987 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25988 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25989 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25990 (__openat64): Add hidden_ver.
25991 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25992 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25993
60bfd54c
RM
25994 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25995 Separately conditionalize setting of GLRO(dl_sysinfo) so
25996 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25997 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25998
83e7640f
AZ
259992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26000
26001 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26002 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26003 definition.
26004 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26005 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26006 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26007 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26008 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26009
d5dc2af3
JM
260102013-05-03 Joseph Myers <joseph@codesourcery.com>
26011
c31a5b1e
JM
26012 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26013 test signgam value.
26014
d5dc2af3
JM
26015 * math/libm-test.inc (hypot_test): Do not use
26016 IGNORE_ZERO_INF_SIGN.
26017
164fd39d
AJ
260182013-05-03 Andreas Jaeger <aj@suse.de>
26019
26020 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26021 Linux 3.9.
26022 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26023 (PF_MAX): Adjust for VSOCK change.
26024
8237f48c
AZ
260252013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26026
26027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26028
9df02941
CD
260292013-05-02 Carlos O'Donell <carlos@redhat.com>
26030
26031 [BZ #15264]
26032 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26033 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26034 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26035
d422395e
DM
260362013-05-02 David S. Miller <davem@davemloft.net>
26037
26038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26039
a07c5731
OB
260402013-05-01 Ondřej Bílka <neleai@seznam.cz>
26041
26042 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26043
1324e37f
RM
260442013-05-01 Roland McGrath <roland@hack.frob.com>
26045
26046 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26047
0695940b
RS
260482013-05-01 Richard Smith <richard@metafoo.co.uk>
26049
bb5f27ad 26050 [BZ #14952]
0695940b
RS
26051 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26052 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26053 Use __attribute__ ((__gnu_inline__)).
26054 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26055 Don't use __attribute__ ((__gnu_inline__)).
26056
10de07f5
JM
260572013-05-01 Joseph Myers <joseph@codesourcery.com>
26058
26059 [BZ #15423]
26060 * math/s_catan.c (__catan): Handle small real or imaginary part of
26061 input specially to avoid spurious underflow.
26062 * math/s_catanf.c (__catanf): Likewise.
26063 * math/s_catanh.c (__catanh): Likewise.
26064 * math/s_catanhf.c (__catanhf): Likewise.
26065 * math/s_catanhl.c (__catanhl): Likewise.
26066 * math/s_catanl.c (__catanl): Likewise.
26067 * math/libm-test.inc (catan_test): Add more tests.
26068 (catanh_test): Likewise.
26069 * sysdeps/i386/fpu/libm-test-ulps: Update.
26070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071
cb4d5414
AZ
260722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26073
26074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26075
caf84319
JM
260762013-04-30 Joseph Myers <joseph@codesourcery.com>
26077
26078 [BZ #15416]
26079 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26080 accurately for denominator in atan2.
26081 * math/s_catanf.c (__catanf): Likewise.
26082 * math/s_catanh.c (__catanh): Likewise.
26083 * math/s_catanhf.c (__catanhf): Likewise.
26084 * math/s_catanhl.c (__catanhl): Likewise.
26085 * math/s_catanl.c (__catanl): Likewise.
26086 * math/libm-test.inc (catan_test): Add more tests.
26087 (catanh_test): Likewise.
26088 * sysdeps/i386/fpu/libm-test-ulps: Update.
26089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26090
d569c6ee
SP
260912013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26092
6dbe713d
SP
26093 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26094
f0ee064b
SP
26095 * benchtests/Makefile (bench): Remove slow benchmarks.
26096 * benchtests/atan-inputs: Add slow benchmark inputs.
26097 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26098 (BENCH_FUNC): Accept variant offset.
26099 (VARIANT): Define.
26100 * benchtests/bench-skeleton.c (main): Run benchmark for each
26101 variant.
26102 * benchtests/cos-inputs: Add slow benchmark inputs.
26103 * benchtests/exp-inputs: Likewise.
26104 * benchtests/pow-inputs: Likewise.
26105 * benchtests/sin-inputs: Likewise.
26106 * benchtests/slowatan-inputs: Remove.
26107 * benchtests/slowatan.c: Remove.
26108 * benchtests/slowcos-inputs: Remove.
26109 * benchtests/slowcos.c: Remove.
26110 * benchtests/slowexp-inputs: Remove.
26111 * benchtests/slowexp.c: Remove.
26112 * benchtests/slowpow-inputs: Remove.
26113 * benchtests/slowpow.c: Remove.
26114 * benchtests/slowsin-inputs: Remove.
26115 * benchtests/slowsin.c: Remove.
26116 * benchtests/slowtan-inputs: Remove.
26117 * benchtests/slowtan.c: Remove.
26118 * benchtests/tan-inputs: Add slow benchmark inputs.
26119 * scripts/bench.pl: Parse comments and directives.
26120
d569c6ee
SP
26121 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26122 in CPPFLAGS.
26123 ($(objpfx)bench-%.c): Remove *-ITER.
26124 * benchtests/bench-modf.c: Remove definition of ITER.
26125 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26126 (main): Loop for DURATION seconds instead of fixed number of
26127 iterations.
26128 * scripts/bench.pl: Don't expect iterations in parameters.
26129
a6a242fe
RM
261302013-04-29 Roland McGrath <roland@hack.frob.com>
26131
26132 * io/fchdir.c (__fchdir): Renamed from fchdir.
26133 (fchdir): Define as weak alias.
26134
f2da7793
JM
261352013-04-29 Joseph Myers <joseph@codesourcery.com>
26136
26137 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26138 (ERRNO_EDOM): Likewise.
26139 (ERRNO_ERANGE): Likewise.
26140 (noErrnoTests): New variable.
26141 (init_max_error): Set errno to 0.
26142 (test_single_errno): New function.
26143 (test_errno): Likewise.
26144 (check_float_internal): Call test_errno. Set errno to 0.
26145 (check_complex): Refer to errno tests in comment.
26146 (check_int): Call test_errno. Set errno to 0.
26147 (check_long): Likewise.
26148 (check_bool): Likewise.
26149 (check_longlong): Likewise.
26150 (cos_test): Use ERRNO_* flags for errno tests instead of
26151 check_int.
26152 (expm1_test): Likewise.
26153 (fmod_test): Likewise.
26154 (ilogb_test): Likewise.
26155 (lgamma_test): Likewise.
26156 (pow_test): Likewise.
26157 (remainder_test): Likewise.
26158 (sin_test): Likewise.
26159 (tan_test): Likewise.
26160 (yn_test): Likewise.
26161 (initialize): Set errno to 0.
26162 (main): Print number of errno tests.
26163 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26164
b1a36ceb
AJ
261652013-04-29 Andreas Jaeger <aj@suse.de>
26166
c3ed8088
AJ
26167 [BZ #15084]
26168 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26169 and RES_USEVC.
26170
f1a24198
AJ
26171 [BZ #15085]
26172 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26173 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26174 unimplemented.
26175
9ce3b2cb
AJ
26176 [BZ #15380]
26177 * stdlib/random.c (__initstate): Return NULL if
26178 __initstate fails.
26179
f1a24198 26180 [BZ #15086]
b1a36ceb
AJ
26181 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26182 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26183 RES_SNGLKUPREOP.
26184
7e7b6f36
AZ
261852013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26186
26187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26188
4d14f449
JM
261892013-04-29 Joseph Myers <joseph@codesourcery.com>
26190
26191 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26192 of individual tests.
26193 (casin_test): Likewise.
26194 (casinh_test): Likewise.
26195
5b4217d7
JM
261962013-04-27 Joseph Myers <joseph@codesourcery.com>
26197
26198 [BZ #15409]
26199 * math/s_catan.c (__catan): Handle arguments with large real or
26200 imaginary part separately without squaring.
26201 * math/s_catanf.c (__catanf): Likewise.
26202 * math/s_catanh.c (__catanh): Likewise.
26203 * math/s_catanhf.c (__catanhf): Likewise.
26204 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26205 and redefine.
26206 (__catanhl): Handle arguments with large real or imaginary part
26207 separately without squaring.
26208 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26209 and redefine.
26210 (__catanl): Handle arguments with large real or imaginary part
26211 separately without squaring.
26212 * math/libm-test.inc (catan_test): Add more tests.
26213 (catanh_test): Likewise.
26214 * sysdeps/i386/fpu/libm-test-ulps: Update.
26215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26216
4220c3ef
AJ
262172013-04-27 Andreas Jaeger <aj@suse.de>
26218
26219 [BZ #15007]
26220 * stdlib/stdlib.h: Update guards for qecvt.
26221 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26222 <stdlib.h>.
26223
4721b2d1
AM
262242013-04-27 Allan McRae <allan@archlinux.org>
26225
26226 * sysdeps/i386/fpu/libm-test-ulps: Update.
26227
f0302940
JM
262282013-04-26 Joseph Myers <joseph@codesourcery.com>
26229
9457fd95
JM
26230 [BZ #15406]
26231 * math/s_catan.c: Include <float.h>.
26232 (__catan): Ensure underflow exception occurs for underflowed
26233 result.
26234 * math/s_catanf.c: Include <float.h>.
26235 (__catanf): Ensure underflow exception occurs for underflowed
26236 result.
26237 * math/s_catanh.c: Include <float.h>.
26238 (__catanh): Ensure underflow exception occurs for underflowed
26239 result.
26240 * math/s_catanhf.c: Include <float.h>.
26241 (__catanhf): Ensure underflow exception occurs for underflowed
26242 result.
26243 * math/s_catanhl.c: Include <float.h>.
26244 (__catanhl): Ensure underflow exception occurs for underflowed
26245 result.
26246 * math/s_catanl.c: Include <float.h>.
26247 (__catanl): Ensure underflow exception occurs for underflowed
26248 result.
26249 * math/libm-test.inc (catan_test): Add more tests.
26250 (catanh_test): Likewise.
26251
f0302940
JM
26252 [BZ #15405]
26253 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26254 underflowed result.
26255 * math/s_ccoshf.c (__ccoshf): Likewise.
26256 * math/s_ccoshl.c (__ccoshl): Likewise.
26257 * math/s_csin.c (__csin): Likewise.
26258 * math/s_csinf.c (__csinf): Likewise.
26259 * math/s_csinh.c (__csinh): Likewise.
26260 * math/s_csinhf.c (__csinhf): Likewise.
26261 * math/s_csinhl.c (__csinhl): Likewise.
26262 * math/s_csinl.c (__csinl): Likewise.
26263 * math/libm-test.inc (ccos_test): Add more tests.
26264 (ccosh_test): Likewise.
26265 (csin_test): Likewise.
26266 (csinh_test): Likewise.
26267
aa630f59
AZ
262682013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26269
26270 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26271 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26272 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26273 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26274 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26275 powerpc/power5+/fpu folders.
26276 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26277
26278
1b835983
MT
262792013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26280
26281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26282
73709b26
JM
262832013-04-25 Joseph Myers <joseph@codesourcery.com>
26284
26285 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26286 additions to variable.
26287 [$(config-machine) = x86_64] (modules-names): Likewise.
26288 ($(objpfx)tst-audit3): Remove dependency.
26289 ($(objpfx)tst-audit3.out): Likewise.
26290 ($(objpfx)tst-audit4): Likewise.
26291 ($(objpfx)tst-audit4.out): Likewise.
26292 ($(objpfx)tst-audit5): Likewise.
26293 ($(objpfx)tst-audit5.out): Likewise.
26294 ($(objpfx)tst-audit6): Likewise.
26295 ($(objpfx)tst-audit6.out): Likewise.
26296 ($(objpfx)tst-audit7): Likewise.
26297 ($(objpfx)tst-audit7.out): Likewise.
26298 (tst-audit3-ENV): Remove variable.
26299 (tst-audit4-ENV): Likewise.
26300 (tst-audit5-ENV): Likewise.
26301 (tst-audit6-ENV): Likewise.
26302 (tst-audit7-ENV): Likewise.
26303 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26304 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26305 addition to variable.
26306 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26307 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26308 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26309 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26310 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26311 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26312 tst-audit3, tst-audit4 and tst-audit5.
26313 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26314 tst-audit6 and tst-audit7.
26315 [$(subdir) = elf] (modules-names): Add audit modules for those
26316 tests.
26317 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26318 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26319 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26320 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26321 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26322 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26323 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26324 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26325 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26326 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26327 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26328 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26329 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26330 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26331 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26332 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26333 Likewise.
26334 [$(subdir) = elf && $(config-cflags-avx) = yes]
26335 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26336 [$(subdir) = elf && $(config-cflags-avx) = yes]
26337 (CFLAGS-tst-auditmod4a.c): Likewise.
26338 [$(subdir) = elf && $(config-cflags-avx) = yes]
26339 (CFLAGS-tst-auditmod4b.c): Likewise.
26340 [$(subdir) = elf && $(config-cflags-avx) = yes]
26341 (CFLAGS-tst-auditmod6b.c): Likewise.
26342 [$(subdir) = elf && $(config-cflags-avx) = yes]
26343 (CFLAGS-tst-auditmod6c.c): Likewise.
26344 [$(subdir) = elf && $(config-cflags-avx) = yes]
26345 (CFLAGS-tst-auditmod7b.c): Likewise.
26346 * elf/tst-audit3.c: Move to ...
26347 * sysdeps/x86_64/tst-audit3.c: ... here.
26348 * elf/tst-audit4.c: Move to ...
26349 * sysdeps/x86_64/tst-audit4.c: ... here.
26350 * elf/tst-audit5.c: Move to ...
26351 * sysdeps/x86_64/tst-audit5.c: ... here.
26352 * elf/tst-audit6.c: Move to ...
26353 * sysdeps/x86_64/tst-audit6.c: ... here.
26354 * elf/tst-audit7.c: Move to ...
26355 * sysdeps/x86_64/tst-audit7.c: ... here.
26356 * elf/tst-auditmod3a.c: Move to ...
26357 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26358 * elf/tst-auditmod3b.c: Move to ...
26359 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26360 * elf/tst-auditmod4a.c: Move to ...
26361 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26362 * elf/tst-auditmod4b.c: Move to ...
26363 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26364 * elf/tst-auditmod5a.c: Move to ...
26365 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26366 * elf/tst-auditmod5b.c: Move to ...
26367 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26368 * elf/tst-auditmod6a.c: Move to ...
26369 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26370 * elf/tst-auditmod6b.c: Move to ...
26371 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26372 * elf/tst-auditmod6c.c: Move to ...
26373 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26374 * elf/tst-auditmod7a.c: Move to ...
26375 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26376 * elf/tst-auditmod7b.c: Move to ...
26377 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26378
1ef74943
PP
263792013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26380
26381 [BZ #15366]
26382 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26383 define unconditionally.
26384 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26385 define unconditionally.
26386 (INT8_C, INT16_C, etc.): Likewise.
26387
93fd48c5
MR
263882013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26389
ae9552cf
MR
26390 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26391 __ehdr_start with hidden visibility.
26392
93fd48c5
MR
26393 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26394
418601aa
CD
263952013-04-24 Carlos O'Donell <carlos@redhat.com>
26396
26397 * math/libm-test.inc (cos_test): Use accurate hex constants.
26398 (sincost_test): Likewise.
26399
2f38fbfe
JM
264002013-04-24 Joseph Myers <joseph@codesourcery.com>
26401
5e221800
JM
26402 * math/libm-test.inc (catan_test): Add more tests.
26403 (catanh_test): Likewise.
26404
77f143fd
JM
26405 * math/s_catanf.c (__catanf): Use suffixed floating-point
26406 constants.
26407 * math/s_catanhf.c (__catanhf): Likewise.
26408 * math/s_catanhl.c (__catanhl): Likewise.
26409 * math/s_catanl.c (__catanl): Likewise.
26410
2f38fbfe
JM
26411 [BZ #15394]
26412 * math/s_catan.c (__catan): Calculate imaginary part of result
26413 with log1p not log unless computing log of number close to 0.
26414 * math/s_catanf.c (__catanf): Likewise.
26415 * math/s_catanl.c (__catanl): Likewise.
26416 * math/s_catanh.c (__catanh): Calculate real part of result with
26417 log1p not log unless computing log of number close to 0.
26418 * math/s_catanhf.c (__catanhf): Likewise.
26419 * math/s_catanhl.c (__catanhl): Likewise.
26420 * math/libm-test.inc (catan_test): Add more tests.
26421 (catanh_test): Likewise.
26422 * sysdeps/i386/fpu/libm-test-ulps: Update.
26423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26424
45d69176
SP
264252013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26426
26427 * benchtests/Makefile: Mention files in which fast and slow
26428 paths of math functions are implemented.
26429
87f51853
RM
264302013-04-23 Roland McGrath <roland@hack.frob.com>
26431
26432 * sysdeps/posix/timespec_get.c: New file.
26433
3c026539
AZ
264342013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26435
26436 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26437 POWER.
26438 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26439 for POWER.
26440 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26441 powerpc/power5/fpu folders.
26442 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26443 * benchtests/Makefile: Add modf testcase.
26444 * benchtests/bench-modf.c: New file: Benchmark test for mo
26445
ff491d14
SP
264462013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26447
26448 [BZ #14888]
26449 * time/Makefile (tests): Add tst-strptime-whitespace.
26450 * time/strptime_l.c (get_number): Use ISSPACE.
26451 (__strptime_internal): Likewise.
26452 * time/tst-strptime-whitespace.c: New test case.
26453
7ed3f4e8
AS
264542013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26455
26456 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26457 member.
26458 (_nss_files_init): Set it here.
26459
5c95f7b6
HC
264602013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26461
26462 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26463 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26464 unsigned.
26465
d34c9158
JBG
264662013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26467
26468 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26469
2169712d
SP
264702013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26471
26472 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26473 size just once.
26474
29c5de99
DM
264752013-04-21 David S. Miller <davem@davemloft.net>
26476
26477 * po/ru.po: Update Russion translation from translation project.
26478
ccdad15d
AC
264792013-04-17 Adam Conrad <adconrad@0c3.net>
26480
26481 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26482 and setfsgid.
26483
0f122b8d
CD
264842013-04-17 Carlos O'Donell <carlos@redhat.com>
26485
5c5b07da 26486 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 26487 * configure: Regenerate.
5c5b07da 26488 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
26489 Add example to error message.
26490 * sysdeps/i386/configure: Regenerate.
26491
037714dd
SP
264922013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26493
26494 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26495 slowtan.
26496 * benchtests/cos-inputs: New file.
26497 * benchtests/slowcos-inputs: New file.
26498 * benchtests/slowcos.c: New file.
26499 * benchtests/slowtan-inputs: New file.
26500 * benchtests/slowtan.c: New file.
26501 * benchtests/tan-inputs: New file.
26502
e913141d
RM
265032013-04-16 Roland McGrath <roland@hack.frob.com>
26504
26505 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26506 considered kosher.
26507
a2964074
SP
265082013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26509
4856bcd2
SP
26510 * benchtests/Makefile: Include cppflags-iterator.mk to add
26511 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26512
a2964074
SP
26513 * Makefile.in (bench-clean): New target.
26514 * benchtests/Makefile (bench-clean): Likewise.
26515
9fbf9aca
DH
265162013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26517
26518 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26519
207d1e2a
TS
265202013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26521
26522 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26523
306dfba9
AS
265242013-04-15 Andreas Schwab <schwab@suse.de>
26525
26526 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26527 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26528 * nscd/pwdcache.c (cache_addpw): Likewise.
26529 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26530 more than recsize.
26531
206a6699
SP
265322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26533
26534 * benchtests/Makefile (bench): Write all output to
26535 bench-out.tmp together.
26536
0582f6b3
AS
265372013-04-15 Andreas Schwab <schwab@suse.de>
26538
26539 * nscd/nscd.c (main): Don't fork again after closing files.
26540
acb4325f
SP
265412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26542
5cb26d0a
SP
26543 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26544
acb4325f
SP
26545 * benchtests/Rules (bench-deps): Collect dependencies into a
26546 single variable. Add Makefile to dependencies.
26547 ($(objpfx)bench-%.c): Depend on bench-deps.
26548
47792506
RM
265492013-04-12 Roland McGrath <roland@hack.frob.com>
26550 Xavier Roche <roche+kml2@exalead.com>
26551
26552 [BZ #15361]
26553 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26554 just that it's a file descriptor.
26555 * manual/llio.texi (Synchronizing AIO Operations): Update description
26556 for EBADF error from aio_fsync.
26557
8fc1bee5
SP
265582013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26559
26560 * Rules (bench): Move target definition...
26561 * benchtests/Makefile: ... here.
26562
aba5e333
CD
265632013-04-11 Carlos O'Donell <carlos@redhat.com>
26564
26565 * math/libm-test.inc (cos_test): Fix PI/2 test.
26566 (sincos_test): Likewise.
26567 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26568 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26569
273cdee8
AS
265702013-04-11 Andreas Schwab <schwab@suse.de>
26571
6ecec3b6
AS
26572 [BZ #13988]
26573 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26574 accept exponent character only when digits were seen.
26575 * stdio-common/Makefile (tests): Add bug26.
26576 * stdio-common/bug26.c: New file.
26577
273cdee8
AS
26578 [BZ #14293]
26579 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26580 non-freeable.
26581
8da491f5
SP
265822013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26583
01dc6df9
SP
26584 * Makeconfig (rtld-prefix): Define built linker prefix.
26585 * Rules (run-bench): Use it.
26586 * math/Makefile (run-regen-ulps): Likewise.
26587
8da491f5
SP
26588 * Rules (bench): Remove eval.
26589
abe7f530
SP
265902013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26591 Roland McGrath <roland@hack.frob.com>
26592 Ondrej Bilka <neleai@seznam.cz>
26593
26594 [BZ #15346]
26595 * time/getdate.c: Include ctype.h and alloca.h.
26596 (__getdate_r): Trim leading and trailing spaces of input.
26597 * time/tst-getdate.c (tests): Add tests with leading and
26598 trailing spaces.
26599
61c23e62
RM
266002013-04-08 Roland McGrath <roland@hack.frob.com>
26601
26602 [BZ #14280]
26603 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26604 when computing value.
26605
7208a313
CD
266062013-04-06 Carlos O'Donell <carlos@redhat.com>
26607
085b2d41
CD
26608 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26609 Use testrun.sh to run libm tests.
26610
7208a313
CD
26611 [BZ #15309]
26612 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26613
872c0acd
MM
266142013-04-06 Marko Myllynen <myllynen@redhat.com>
26615
26616 [BZ #15264]
26617 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26618
26510bdd
CD
266192013-04-06 Carlos O'Donell <carlos@redhat.com>
26620
26621 * Makefile.in (regen-ulps): New target.
26622 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26623 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26624 [ifneq (no,$(PERL)] (regen-ulps): New target.
26625 [ifeq (no,$(PERL)] (regen-ulps): New target.
26626 * math/libm-test.inc (ulps_file_name): Define.
26627 (output_dir): New variable.
26628 (options): Add "output-dir" option.
26629 (parse_opt): Handle 'o' case.
26630 (main): If output_dir is non-NULL use it as a prefix
26631 otherwise use "".
26632 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26633
a01f19c8
CD
266342013-04-06 Carlos O'Donell <carlos@redhat.com>
26635
26636 [BZ #10060, #10062]
26637 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26638 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26639 fail configure if __sync_val_compare_and_swap is not inlined.
26640 * sysdeps/i386/configure: Regenerate.
26641 * configure.in: Build for i686 when configured for i386.
26642 * configure: Regenerate.
26643 * README: Remove i386 reference.
26644
b7a329a5
CD
266452013-04-06 Carlos O'Donell <carlos@redhat.com>
26646
26647 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26649
bf0f50df
TS
266502013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26651
ee091edf
TS
26652 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26653 (lmsnanval): New variables.
26654 (F): Add conversion tests.
26655 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26656 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26657
a8b792d6
TS
26658 * stdio-common/tstdiomisc.c (F): Properly collect individual
26659 tests' results.
26660
a1cbf437
TS
26661 [BZ #14686, #15336]
26662 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26663 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26664 Instead, use input NaN values or generate a qNaN by arithmetic
26665 operation. Also fix bugs to comply with the standard.
26666 * math/libm-test.inc (remainder_test): Add more tests.
26667
8b43a0c9
TS
26668 [BZ #15335, #15342]
26669 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26670 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26671 input NaN values or generate a qNaN by arithmetic operation.
26672
d91da4ce
TS
26673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26674 unreachable code.
26675
bf0f50df
TS
26676 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26677 definitions.
26678
05e166c8
JM
266792013-04-03 Joseph Myers <joseph@codesourcery.com>
26680
26681 [BZ #14478]
26682 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26683 underflowed result.
26684 * math/s_cexpf.c (__cexpf): Likewise.
26685 * math/s_cexpl.c (__cexpl): Likewise.
26686 * math/libm-test.inc (cexp_test): Add more tests.
26687
1cef1b19
AS
266882013-04-03 Andreas Schwab <schwab@suse.de>
26689
26690 [BZ #15330]
26691 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26692 order arrays from heap if bigger than alloca cutoff.
26693
74d87055
TS
266942013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26695
26696 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26697 (SNAN_TESTS_double): Refer to GCC PR56831.
26698 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26699 GCC PR56828.
26700
d755bba4
SP
267012013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26702
90d5d5bb
SP
26703 * Rules (bench): Move bench.out after the run is complete.
26704
73e0cd5d
SP
26705 * Rules (bench): Echo currently running benchmark.
26706
64aabd4b
SP
26707 * benchtests/Makefile (bench): Add atan and slowatan.
26708 * benchtests/atan-inputs: New file.
26709 * benchtests/slowatan-inputs: New file.
26710 * benchtests/slowatan.c: New file.
26711
c871eccd
SP
26712 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26713 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26714 its value.
26715
d755bba4
SP
26716 [BZ #15305]
26717 * sysdeps/unix/sysv/linux/kernel-features.h
26718 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26719 __ASSUME_XFS_RESTRICTED_CHOWN.
26720 * sysdeps/unix/sysv/linux/pathconf.c
26721 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26722 Save and restore errno.
26723
52ce4860
JM
267242013-04-02 Joseph Myers <joseph@codesourcery.com>
26725
26726 [BZ #15327]
26727 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26728 arguments using __kernel_casinh.
26729 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26730 arguments using __kernel_casinhf.
26731 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26732 arguments using __kernel_casinhl.
26733 * math/libm-test.inc (cacosh_test): Add more tests.
26734 * sysdeps/i386/fpu/libm-test-ulps: Update.
26735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26736
81f311c2
SP
267372013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26738
e7906a47
SP
26739 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26741
92e3664b
SP
26742 * bench/Makefile (bench): Add sin and slowsin.
26743 * benchtests/sin-inputs: New file.
26744 * benchtests/slowsin-inputs: New file.
26745 * benchtests/slowsin.c: New file.
26746
81f311c2
SP
26747 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26748 (bench): Add slowexp and slowpow.
26749 (exp-ITER): Increase iterations.
26750 (pow-ITER): Likewise.
26751 * benchtests/exp-inputs: Change input.
26752 * benchtests/pow-inputs: Likewise.
26753 * benchtests/slowexp-inputs: New file.
26754 * benchtests/slowexp.c: New file.
26755 * benchtests/slowpow-inputs: New file.
26756 * benchtests/slowpow.c: New file.
26757
ab0f1aa9
AZ
267582013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26759
26760 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26761 instructions.
26762 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26763 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26764 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26765 * benchtests/Makefile: Add rint benchtest.
26766 * benchtests/rint-inputs: Input for rint benchtest.
26767
57267616
TS
267682013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26769
26770 * Versions.def (libm): Add GLIBC_2.18.
26771 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26772 hidden libm prototypes.
26773 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26774 * math/Makefile (libm-calls): Add s_issignaling.
26775 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26776 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26777 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26778 declaration.
26779 * math/math.h [__USE_GNU] (issignaling): New macro.
26780 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26781 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26782 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26783 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26786 * manual/arith.texi (issignaling): New section.
26787 * manual/libm-err-tab.pl (@all_functions): Update comment.
26788 * math/gen-libm-test.pl (parse_args): Apply special handling for
26789 issignaling.
26790 * math/libm-test.inc (print_float, issignaling_test): New
26791 functions.
26792 (check_float_internal): Add issignaling checks.
26793 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26794 default definition.
26795 * sysdeps/powerpc/math-tests.h: New file.
26796 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26797 tests.
26798 * math/test-snan.c (TEST_FUNC): Likewise.
26799
6142896d
DM
268002013-03-30 David S. Miller <davem@davemloft.net>
26801
26802 * po/de.po: Update from translation team.
26803
ccc8cadf
JM
268042013-03-30 Joseph Myers <joseph@codesourcery.com>
26805
26806 [BZ #10357]
26807 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26808 imaginary part less than 1.0 and real part less than 0.5
26809 specially.
26810 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26811 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26812 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26813 (cacos_test): Add more tests.
26814 (casin_test): Likewise.
26815 (casinh_test): Likewise.
26816 * sysdeps/i386/fpu/libm-test-ulps: Update.
26817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26818
0f6a8d4b
SP
268192013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26820
0d1029de
SP
26821 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26822 ONE with its value.
26823
c2d94018
SP
26824 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26825 (__pow_mp): Replace ONE and MONE with their values.
26826 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26827 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26828 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26829 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26830 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26831 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26832
27ec37f1
SP
26833 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26834
a64d7e0e
SP
26835 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26836 (__pow_mp): Replace ZERO and MZERO with their values.
26837 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26838 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26839 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26840 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26841 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26842 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26843 (__sqr): Likewise.
26844
d26dd3eb
SP
26845 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26846
0f6a8d4b
SP
26847 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26848
e57b0c61
RM
268492013-03-28 Roland McGrath <roland@hack.frob.com>
26850
26851 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26852 Declare with __attribute__ ((weak)).
26853 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26854 Call __call_tls_dtors only if it's not NULL.
26855
356b3480
RM
268562013-03-28 Roland McGrath <roland@hack.frob.com>
26857
288f7d79
RM
26858 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26859 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26860 magic __ehdr_start linker symbol if it's defined.
26861 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26862 them up here if it was already done.
26863
dc0a0263
RM
26864 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26865 (_dl_aux_init): Use const in cast when setting it.
26866 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26867 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26868 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26869
3d3436ae
RM
26870 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26871 Declare them here.
26872 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26873 * csu/libc-tls.c: Nor here.
26874 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26875
356b3480
RM
26876 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26877 (__libc_message): Never call vsyslog.
26878
b0f1246a
AM
268792013-03-28 Alan Modra <amodra@gmail.com>
26880
26881 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26882 Define as empty.
26883 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26884 Likewise.
26885
fbbe2b9a
AZ
268862013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26887
26888 [BZ #15214]
26889 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26890 underflow.
26891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26892
1728ab37
SP
268932013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26894
7a86be6e
SP
26895 [BZ #15304]
26896 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26897 Don't add gid passed as argument.
26898
1728ab37
SP
26899 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26900
3a7182a1
JM
269012013-03-27 Joseph Myers <joseph@codesourcery.com>
26902
26903 [BZ #15307]
26904 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26905 imaginary part between 1.0 and 1.5 and real part less than 0.5
26906 specially.
26907 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26908 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26909 * math/libm-test.inc (cacos_test): Add more tests.
26910 (casin_test): Likewise.
26911 (casinh_test): Likewise.
26912 * sysdeps/i386/fpu/libm-test-ulps: Update.
26913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26914
6f2e90e7
SP
269152013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26916
5739f705
SP
26917 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26918 constants.
26919 (norm): Likewise.
26920 (denorm): Likewise.
26921 (__dbl_mp): Likewise.
26922 (add_magnitudes): Likewise.
26923 (sub_magnitudes): Likewise.
26924 (__add): Likewise.
26925 (__sub): Likewise.
26926 (__mul): Likewise.
26927 (__sqr): Likewise.
26928 (__inv): Likewise.
26929 (__dvd): Likewise.
26930
e375e83d
SP
26931 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26932 commented code.
26933 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26934 (__dubcos): Likewise.
26935 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26936 (__ieee754_acos): Likewise.
26937 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26938 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26939 (__exp1): Likewise.
26940 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26942 (log1): Likewise.
26943 (my_log2): Likewise.
26944 (checkint): Likewise.
26945 * sysdeps/ieee754/dbl-64/e_remainder.c
26946 (__ieee754_remainder): Likewise.
26947 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26948 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26949 (bsloww): Likewise.
26950 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26951
6f2e90e7
SP
26952 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26953 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26954 MANTISSA_STORE_T to store computations on mantissa. Use
26955 macros for rounding and division.
26956 (denorm): Likewise.
26957 (__dbl_mp): Likewise.
26958 (add_magnitudes): Likewise.
26959 (sub_magnitudes): Likewise.
26960 (__mul): Likewise.
26961 (__sqr): Likewise.
26962 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26963 powers of two in terms of TWOPOW macro.
26964 (mp_no): Make type of mantissa as MANTISSA_T.
26965 [!RADIXI]: Define RADIXI.
26966 [!TWO52]: Define TWO52.
26967 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26968
fce14d4e
AZ
269692013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26970
26971 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26972 llroundl symbol when building for PPC32.
26973
9ad027fb
MW
269742013-03-24 Mark H Weaver <mhw@netris.org>
26975
26976 * manual/arith.texi (Normalization Functions): Fix prototypes for
26977 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26978
e42a38dd
AZ
269792013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26980
26981 [BZ #13889]
26982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26983 high value to check if expl overflow.
26984 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26985 to check for underflow and overflow.
26986 * math/libm-test.inc: Add exp test.
26987
2e0fb521
DL
269882013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26989
26990 [BZ #11120]
26991 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26992 with NOT_IN_libc.
26993
b5784d95
AZ
269942013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26995
26996 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26997 symbol.
26998
5aa4a1a1
TS
269992013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27000
bdef0be7
TS
27001 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27002 wrap blocks consisting of several statements.
27003
5aa4a1a1
TS
27004 * sysdeps/generic/math-tests.h: New file.
27005 * sysdeps/i386/fpu/math-tests.h: Likewise.
27006 * math/test-snan.c: Include it.
27007 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27008
98c48fe5
JM
270092013-03-21 Joseph Myers <joseph@codesourcery.com>
27010
27011 [BZ #15285]
27012 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27013 (__ieee754_j0l): Do not improve calculations using cos of twice
27014 input for inputs above LDBL_MAX / 2.0L.
27015 (__ieee754_y0l): Likewise.
27016 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27017 (__ieee754_j1l): Do not improve calculations using cos of twice
27018 input for inputs above LDBL_MAX / 2.0L.
27019 (__ieee754_y1l): Likewise.
27020 * math/libm-test.inc (j0_test): Add another test.
27021 (j1_test): Likewise.
27022 (y0_test): Likewise.
27023 (y1_test): Likewise.
27024 * sysdeps/i386/fpu/libm-test-ulps: Update.
27025
3775a8bc
SP
270262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27027
27028 * Rules ($(objpfx)bench-%.c): Include code from a C source
27029 file.
27030
0a1b2ae6
JM
270312013-03-21 Joseph Myers <joseph@codesourcery.com>
27032
27033 [BZ #15287]
27034 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27035 imaginary part 1.0 and real part less than 0.5 specially.
27036 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27037 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27038 * math/libm-test.inc (cacos_test): Add more tests.
27039 (casin_test): Likewise.
27040 (casinh_test): Likewise.
27041 * sysdeps/i386/fpu/libm-test-ulps: Update.
27042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27043
b33d4ce4
SP
270442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27045
27046 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27047 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27048
bef0b507
JM
270492013-03-20 Joseph Myers <joseph@codesourcery.com>
27050
27051 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27052 * config.make.in (config-cflags-sse4): Remove variable.
27053 (config-cflags-avx): Likewise.
27054 (config-cflags-sse2avx): Likewise.
27055 (config-cflags-novzeroupper): Likewise.
27056 (config-asflags-i686): Likewise.
27057 (have-mfma4): Likewise.
27058 (have-as-vis3): Likewise.
27059 (MIG): Likewise.
27060 * configure.in (MIG): Do not AC_SUBST.
27061 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27062 (libc_cv_cc_sse4): Do not AC_SUBST.
27063 (libc_cv_cc_avx): Likewise.
27064 (libc_cv_cc_sse2avx): Likewise.
27065 (libc_cv_cc_novzeroupper): Likewise.
27066 (libc_cv_cc_fma4): Likewise.
27067 (libc_cv_as_i686): Likewise.
27068 (libc_cv_sparc_as_vis3): Likewise.
27069 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27070 LIBC_CONFIG_VAR.
27071 (config-asflags-i686): Likewise.
27072 (config-cflags-avx): Likewise.
27073 (config-cflags-sse2avx): Likewise.
27074 (have-mfma4): Likewise.
27075 (config-cflags-novzeroupper): Likewise.
27076 * sysdeps/mach/configure.in (MIG): Likewise.
27077 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27078 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27079 LIBC_CONFIG_VAR.
27080 (config-cflags-avx): Likewise.
27081 (config-cflags-sse2avx): Likewise.
27082 (have-mfma4): Likewise.
27083 (config-cflags-novzeroupper): Likewise.
27084 * configure: Regenerated.
27085 * sysdeps/i386/configure: Likewise.
27086 * sysdeps/mach/configure: Likewise.
27087 * sysdeps/sparc/configure: Likewise.
27088 * sysdeps/x86_64/configure: Likewise.
27089
912cc4b3
RM
270902013-03-20 Roland McGrath <roland@hack.frob.com>
27091
27092 [BZ #14812]
27093 * locale/programs/localedef.c (options): Put N_ translation marker
27094 on argument names, not just descriptions.
27095
04eed2b0
MS
270962013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27097
27098 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27099
a065ceff
OB
271002013-03-20 Ondřej Bílka <neleai@seznam.cz>
27101
9bb2a810 27102 [BZ #14176]
a065ceff
OB
27103 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27104
a600e5ce
RM
271052013-03-19 Roland McGrath <roland@hack.frob.com>
27106
27107 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27108 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27109 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27110 [!BEFORE_ABORT] (before_abort): New function.
27111 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27112 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27113 (writev_for_fatal): New function.
27114 (WRITEV_FOR_FATAL): New macro; call that.
27115 (backtrace_and_maps): New function.
27116 (BEFORE_ABORT): New macro; call that.
27117 (struct str_list): Type removed.
27118 (__libc_message, __libc_fatal): Functions removed.
27119 Include <sysdeps/posix/libc_fatal.c> instead.
27120
6b18bea6
JM
271212013-03-19 Joseph Myers <joseph@codesourcery.com>
27122
27123 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27124 constants.
27125 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27126 double constants.
27127
aaa8cb4b
AS
271282013-03-19 Andreas Schwab <schwab@suse.de>
27129
44673770
AS
27130 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27131 * sysdeps/gnu/configure: Regenerate.
27132
aaa8cb4b
AS
27133 * configure.in: Substitute libc_cv_rtlddir.
27134 * configure: Regenerate.
27135 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27136 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27137 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27138 * elf/Makefile (install-others, CFLAGS-interp.c)
27139 (ldso_install, common-ldd-rewrite): Likewise.
27140 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27141 $(inst_slibdir)/$(rtld-installed-name).
27142 * scripts/rellns-sh: Add -p option.
27143 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27144 for source.
27145
d3cfc668
SP
271462013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27147
27148 * manual/nptl.texi: Renamed to ...
27149 * manual/threads.texi: ... this.
27150 * manual/Makefile (chapters): Update.
27151
0e2b9cdd
RM
271522013-03-18 Roland McGrath <roland@hack.frob.com>
27153
27154 [BZ #14812]
27155 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27156 on argument names, not just descriptions.
0e2b9cdd
RM
27157 * malloc/memusagestat.c (options): Likewise.
27158 * nss/getent.c (options): Likewise.
63270c24
RM
27159
271602013-03-18 Benno Schulenberg <bensberg@justemail.net>
27161
27162 [BZ #14812]
27163 * iconv/iconv_prog.c (options): Put N_ translation marker
27164 on argument names, not just descriptions.
27165 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 27166
b2e1393c
OB
271672013-03-18 Ondrej Bilka <neleai@seznam.cz>
27168
27169 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27170 implementation which is faster on all x86_64 architectures.
27171 Tested on AMD, Intel Nehalem, SNB, IVB.
27172 * sysdeps/x86_64/strnlen.S: Likewise.
27173
27174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27175 Remove all multiarch strlen and strnlen versions.
27176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27177 Remove strlen and strnlen related parts.
27178
27179 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27180 Inline strlen part.
27181 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27182
27183 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27184 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27185 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27186 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27187 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27188 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27189
ec4ff04d
CD
271902013-03-17 Carlos O'Donell <carlos@redhat.com>
27191
27192 * manual/memory.texi (Malloc Tunable Parameters):
27193 Sort parameters alphabetically. Add comments for missing entries.
27194
cd18e90a
DM
271952013-03-17 David S. Miller <davem@davemloft.net>
27196
27197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27198
2a185d32
JM
271992013-03-16 Joseph Myers <joseph@codesourcery.com>
27200
d2f9799e
JM
27201 [BZ #15283]
27202 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27203 for arguments at most half maximum finite value.
27204 * math/libm-test.inc (j0_test): Add more tests.
27205 (j1_test): Likewise.
27206 (y0_test): Likewise.
27207 (y1_test): Likewise.
27208 * sysdeps/i386/fpu/libm-test-ulps: Update.
27209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27210
2a185d32
JM
27211 [BZ #14155]
27212 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27213 1 / x and functions P and Q for arguments above 0x1p256L.
27214 (__ieee754_y0l): Likewise.
27215 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27216 (__ieee754_y1l): Likewise.
27217 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27218 (j1_test): Likewise.
27219 (y0_test): Likewise.
27220 (y1_test): Likewise.
27221
6cbec759
TS
272222013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27223
27224 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27225 variable.
27226
bc16e260
RM
272272013-03-15 Roland McGrath <roland@hack.frob.com>
27228
aefc9b8c
RM
27229 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27230 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27231 zero since it's initialized to EXEC_PAGESIZE.
27232
bc16e260
RM
27233 * sysdeps/unix/sysv/linux/ldsodefs.h
27234 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27235 * sysdeps/generic/ldsodefs.h: ... here.
27236
a57da955
TS
272372013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27238
af00a34d
TS
27239 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27240
495ded2c
TS
27241 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27242 math/test-snan.c.
27243 * math/test-snan.c: Renamed from
27244 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27245 * math/Makefile (tests): Add test-snan.
27246 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27247 test-powerpc-snan.
27248
777b0332
TS
27249 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27250 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27251 functions.
27252 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27253 __builtin_nan family of functions.
27254 * math/libm-test.inc (initialize): Initialize qnan_value with
27255 __builtin_nan family of functions.
27256 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27257 Remove variables.
27258 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27259 Remove functions.
27260 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27261 storage class. Initialize qNaN_var and sNaN_var with
27262 __builtin_nan and __builtin_nans families of functions,
27263 respectively.
27264
64d063b8
TS
27265 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27266 (sqrt_test): Remove duplicate test with qNaN input.
27267 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27268 (round_test, signbit_test, significand_test): Note missing +/-Inf
27269 as well as qNaN tests.
27270
67e971f1
TS
27271 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27272 qNaN_var. Fix a few strings, too.
27273 * math/libm-test.inc (nan_value): Rename to qnan_value.
27274 * math/gen-libm-test.pl (%beautify): Adjust to that.
27275 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27276 * math/test-misc.c (main): Likewise.
27277 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27278 to __qnan_bytes, and __qnan_union, respectively.
27279 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27280 Likewise.
27281 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27282 and lqnanval, respectively.
27283 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27284 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27285 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27286 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27287
64487e12
TS
27288 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27289 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27290 doubles.
27291
e015e27b
TS
27292 * math/test-misc.c (main): Fix copy'n'pastos.
27293 * misc/tst-efgcvt.c (special): Likewise.
27294
a57da955
TS
27295 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27296 Remove declarations.
27297
1e380345
SP
272982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27299
27300 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27301 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27302 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27303 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27304
ef26eece
AZ
273052013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27306
27307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27308 macro to return vdso values correctly in IFUNC implementations.
27309 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27310 Optimization by using IFUNC.
27311
8cfdb7e0
SP
273122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27313 Richard Henderson <rth@redhat.com>
27314 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27315
27316 * Makefile.in (bench): New target.
27317 * NEWS: Mention the benchmark framework.
27318 * Rules (bench): Likewise.
27319 (binaries-bench): Generate binaries for functions to
27320 benchmark.
27321 * benchtests/Makefile: New makefile for benchmark tests.
27322 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27323 programs.
27324 * benchtests/exp-inputs: New input file for EXP function.
27325 * benchtests/pow-inputs: New input file for POW function.
27326 * scripts/bench.pl: New script to generate source files for
27327 benchmark programs.
27328
bcda9880
SP
273292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27330
d22ca8cd
SP
27331 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27332 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27333 computations on mantissa. Use macros for rounding and
27334 division.
27335 (denorm): Likewise.
27336 (__dbl_mp): Likewise.
27337 (add_magnitudes): Likewise.
27338 (sub_magnitudes): Likewise.
27339 (__mul): Likewise.
27340 (__sqr): Likewise.
27341 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27342 powers of two in terms of TWOPOW macro.
27343 (mp_no): Make type of mantissa as MANTISSA_T.
27344 [!RADIXI]: Define RADIXI.
27345 [!TWO52]: Define TWO52.
27346 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27347
bcda9880
SP
27348 * manual/nptl.texi (cindex): Modify threads to pthreads.
27349
06d5adfb
JM
273502013-03-15 Joseph Myers <joseph@codesourcery.com>
27351
27352 * sysdeps/x86_64/preconfigure: Regenerated.
27353
41c7328e
JM
273542013-03-14 Joseph Myers <joseph@codesourcery.com>
27355
27356 [BZ #14155]
27357 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27358 0x1p28 and above.
27359 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27360 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27361 0x1p28 and above.
27362 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27363 * math/libm-test.inc (j0_test): Do not allow one spurious
27364 underflow exception.
27365 (y1_test): Likewise.
27366
e25cfa60
SP
273672013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27368
0409959c
SP
27369 * manual/Makefile (chapters): Add nptl.
27370 * manual/debug.texi (Debugging Support): Add link to Threads
27371 chapter.
27372 * manual/nptl.texi: New file.
27373
e25cfa60
SP
27374 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27375
58a1335e
PB
273762013-03-14 Petr Baudis <pasky@ucw.cz>
27377
27378 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27379 for non-NULL pointer before the memory validity test. Pointed
27380 out by Holger Brunck <holger.brunck@keymile.com>.
27381
9dc7c64f
AS
273822013-03-13 Andreas Schwab <schwab@suse.de>
27383
27384 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27385 instead of .os.
27386
54206aa6
JM
273872013-03-13 Joseph Myers <joseph@codesourcery.com>
27388
27389 * timezone/zic.c: Update from tzcode 2013b.
27390
e98cdb38
CD
273912013-03-12 Carlos O'Donell <carlos@redhat.com>
27392
27393 * manual/install.texi (Configuring and compiling):
27394 Mention i686 and i586.
27395 * INSTALL: Regenerate.
27396
9967e003
RM
273972013-03-12 Roland McGrath <roland@hack.frob.com>
27398
27399 * sysdeps/init_array/elf-init.c: New file.
27400 * csu/elf-init.c
27401 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27402 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27403
27404 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27405 __gmon_start__ as global, but as static with a .preinit_array pointer.
27406 * sysdeps/init_array/gmon-start.c: New file. Use that.
27407 * sysdeps/init_array/crti.S: New file, empty except for comments.
27408 * sysdeps/init_array/crtn.S: Likewise.
27409
e6b5a293 274102013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
27411
27412 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27413 definining bcopy.
80f844c9
OB
27414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27415 Remove Prefer_SSE_for_memop.
27416 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27417 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27418 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
27419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27420 memset-x86-64.
80f844c9 27421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 27422 Remove bzero, memset ifunc support.
80f844c9
OB
27423 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27424 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27425 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27426 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27427
fb6b0fcb
AS
274282013-03-11 Andreas Schwab <schwab@suse.de>
27429
27430 [BZ #15234]
27431 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27432 by SHLIB_COMPAT.
27433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27434 (GLIBC_2.16): Remove pthread_atfork.
27435
3e6bd4b1
PP
274362013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27437
27438 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27439 (ptestcases.h): Likewise.
27440
222d7f00
RM
274412013-03-08 Roland McGrath <roland@hack.frob.com>
27442
27443 * Makeconfig ($(common-objpfx)config.status): Depend on
27444 sysdeps/*/preconfigure{,.in} too.
27445
1ba4f030
JM
274462013-03-08 Joseph Myers <joseph@codesourcery.com>
27447
a222d91a
JM
27448 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27449 (__free_hook): Use void * instead of __malloc_ptr_t.
27450 (__malloc_hook): Likewise.
27451 (__realloc_hook): Likewise.
27452 (__memalign_hook): Likewise.
27453 (__after_morecore_hook): Likewise.
27454 * malloc/arena.c (save_malloc_hook): Likewise.
27455 (save_free_hook): Likewise.
27456 * malloc/hooks.c (malloc_hook_ini): Likewise.
27457 (realloc_hook_ini): Likewise.
27458 (memalign_hook_ini): Likewise.
27459 * malloc/malloc.c (malloc_hook_ini): Likewise.
27460 (realloc_hook_ini): Likewise.
27461 (memalign_hook_ini): Likewise.
27462 (__free_hook): Likewise.
27463 (__malloc_hook): Likewise.
27464 (__realloc_hook): Likewise.
27465 (__memalign_hook): Likewise.
27466 (__libc_malloc): Likewise.
27467 (__libc_free): Likewise.
27468 (__libc_realloc): Likewise.
27469 (__libc_memalign): Likewise.
27470 (__libc_valloc): Likewise.
27471 (__libc_pvalloc): Likewise.
27472 (__libc_calloc): Likewise.
27473 (__posix_memalign): Likewise.
27474 * malloc/morecore.c (__sbrk): Likewise.
27475 (__default_morecore): Likewise.
27476
5cc45e10
JM
27477 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27478
dd54b864
JM
27479 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27480 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27481 __malloc_ptrdiff_t.
27482
1ba4f030
JM
27483 * malloc/malloc.h (__malloc_size_t): Remove macro.
27484 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27485 __malloc_size_t.
27486 (old_memalign_hook): Likewise.
27487 (old_realloc_hook): Likewise.
27488 (struct hdr): Likewise.
27489 (flood): Likewise.
27490 (mallochook): Likewise.
27491 (memalignhook): Likewise.
27492 (reallochook): Likewise.
27493 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27494 (tr_old_realloc_hook): Likewise.
27495 (tr_old_memalign_hook): Likewise.
27496 (tr_mallochook): Likewise.
27497 (tr_reallochook): Likewise.
27498 (tr_memalignhook): Likewise.
27499
edf66e57
AZ
275002013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27501
27502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27503 default_ldbl_pack and using as default implementation.
27504 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27505 implementation.
27506 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27507 redundant definition.
27508 (ldbl_insert_mantissa): Likewise.
27509 (ldbl_canonicalize): Likewise.
27510 (ldbl_nearbyint): Likewise.
27511 (ldbl_pack): Rename to ldbl_pack_ppc.
27512 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27513 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27514 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27515
6d9145d8
SP
275162013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27517
27518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27519 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27520 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27521 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27523 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27524 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27525 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27526
4dd4e157
AJ
275272013-03-07 Andreas Jaeger <aj@suse.de>
27528
27529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27530 bits/mman-linux.h.
27531
adbb8027
SP
275322013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27533
ce544b5b
SP
27534 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27535 Include mpa.h and declare __MPEXP.
27536 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27537 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27538 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27539 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27541 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27542 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27543
4cc149fd
SP
27544 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27545 (__slowpow): Use long double EXPL and LOGL functions to
27546 compute POW.
27547 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27548 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27549 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27550 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27551 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27552 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27553
e6ebd4a7
SP
27554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27555 intermediate variable to calculate exponent.
27556 (__sqr): Likewise.
27557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27558 Likewise.
27559 (__sqr): Likewise.
27560
82a9811d
SP
27561 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27562 [!NO__SQR]: Define __sqr.
27563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27564 and NO__SQR. Remove all code except __mul and __sqr. Include
27565 sysdeps/ieee754/dbl-64/mpa.c.
27566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27567
adbb8027
SP
27568 [BZ #12723]
27569 * posix/Makefile (tests): Add tst-pathconf.
27570 * posix/tst-pathconf.c: New test case.
27571 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27572 _PC_PIPE_BUF.
27573 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27574
39120df9
PF
275752013-03-06 Patsy Franklin <pfrankli@redhat.com>
27576
27577 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27578
67525cb8
AJ
275792013-03-06 Andreas Jaeger <aj@suse.de>
27580
664a9ce4
AJ
27581 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27582 definition via __MAP_ANONYMOUS.
27583
8e39047d
AJ
27584 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27585 it's not part of Linux headers.
27586
67525cb8
AJ
27587 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27588 (MAP_HUGE_MASK): Define.
27589
27590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27591 Define.
27592 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27593 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27594 Define.
27595 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27596 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27597 Define.
27598 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27599 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27600 Define.
27601 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27602
27603 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27604 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27605 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27606 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27607 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27608 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27609
27610 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27611 Handle f2fs.
27612
27613 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27614 Handle f2fs and efivarfs.
27615
27616 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27617 f2fs.
27618
27619 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27620 (EFIVARFS_MAGIC): Add.
27621 (F2FS_LINK_MAX): Add.
27622
e1b42695
PP
276232013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27624
27625 * stdio-common/vfprintf.c: Replace __builtin_expect with
27626 __glibc_unlikely.
27627
2d67d91a
JM
276282013-03-06 Joseph Myers <joseph@codesourcery.com>
27629
27630 [BZ #13550]
27631 * sysdeps/generic/bp-sym.h: Remove file.
27632 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27633 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27634 <bp-sym.h> and <bp-asm.h>.
27635 (__longjmp): Don't use BP_SYM.
27636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27637 and <bp-asm.h>.
27638 (memcpy): Don't use BP_SYM.
27639 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27640 <bp-sym.h> and <bp-asm.h>.
27641 (memcpy): Don't use BP_SYM.
27642 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27643 <bp-asm.h>.
27644 (memcpy): Don't use BP_SYM.
27645 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27646 <bp-asm.h>.
27647 (memset): Don't use BP_SYM.
27648 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27649 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27650 (__bzero): Don't use BP_SYM.
27651 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27652 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27653 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27654 <bp-sym.h> and <bp-asm.h>.
27655 (memcmp): Don't use BP_SYM. Remove comment about bounded
27656 pointers.
27657 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27658 <bp-sym.h> and <bp-asm.h>.
27659 (memcpy): Don't use BP_SYM.
27660 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27661 <bp-sym.h> and <bp-asm.h>.
27662 (memset): Don't use BP_SYM.
27663 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27664 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27665 (__bzero): Don't use BP_SYM.
27666 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27667 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27668 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27669 <bp-sym.h> and <bp-asm.h>.
27670 (strncmp): Don't use BP_SYM. Remove comment about bounded
27671 pointers.
27672 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27673 <bp-sym.h> and <bp-asm.h>.
27674 (memcpy): Don't use BP_SYM.
27675 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27676 <bp-sym.h> and <bp-asm.h>.
27677 (memset): Don't use BP_SYM.
27678 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27679 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27680 (__bzero): Don't use BP_SYM.
27681 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27682 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27683 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27684 <bp-sym.h> and <bp-asm.h>.
27685 (__memchr): Don't use BP_SYM.
27686 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27687 <bp-sym.h> and <bp-asm.h>.
27688 (memcmp): Don't use BP_SYM. Remove comment about bounded
27689 pointers.
27690 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27691 <bp-sym.h> and <bp-asm.h>.
27692 (memcpy): Don't use BP_SYM.
27693 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27694 <bp-sym.h> and <bp-asm.h>.
27695 (__mempcpy): Don't use BP_SYM.
27696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27697 <bp-sym.h> and <bp-asm.h>.
27698 (__memrchr): Don't use BP_SYM.
27699 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27700 <bp-sym.h> and <bp-asm.h>.
27701 (memset): Don't use BP_SYM.
27702 (__bzero): Likewise.
27703 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27704 <bp-sym.h> and <bp-asm.h>.
27705 (__rawmemchr): Don't use BP_SYM.
27706 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27707 <bp-sym.h> and <bp-asm.h>.
27708 (__STRCMP): Don't use BP_SYM.
27709 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27710 <bp-sym.h> and <bp-asm.h>.
27711 (strchr): Don't use BP_SYM.
27712 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27713 <bp-sym.h> and <bp-asm.h>.
27714 (__strchrnul): Don't use BP_SYM.
27715 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27716 <bp-sym.h> and <bp-asm.h>.
27717 (strlen): Don't use BP_SYM.
27718 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27719 <bp-sym.h> and <bp-asm.h>.
27720 (strncmp): Don't use BP_SYM. Remove comment about bounded
27721 pointers.
27722 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27723 <bp-sym.h> and <bp-asm.h>.
27724 (__strnlen): Don't use BP_SYM.
27725 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27726 <bp-sym.h> and <bp-asm.h>.
27727 (__GI__setjmp): Don't use BP_SYM.
27728 (_setjmp): Likewise.
27729 (__sigsetjmp): Likewise.
27730 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27731 (L(start_addresses)): Don't use BP_SYM.
27732 (_start): Likewise.
27733 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27734 <bp-asm.h>.
27735 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27736 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27737 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27738 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27739 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27740 <bp-asm.h>.
27741 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27742 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27743 about bounded pointers.
27744 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27745 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27746 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27747 <bp-asm.h>.
27748 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27749 about bounded pointers. Remove GKM FIXME comments.
27750 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27751 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27752 <bp-asm.h>.
27753 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27754 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27755 Remove GKM FIXME comments.
27756 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27757 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27758 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27759 <bp-asm.h>.
27760 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27761 about bounded pointers. Remove GKM FIXME comment.
27762 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27763 and <bp-asm.h>.
27764 (strncmp): Don't use BP_SYM. Remove comment about bounded
27765 pointers.
27766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27767 <bp-sym.h> and <bp-asm.h>.
27768 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27770 <bp-sym.h> and <bp-asm.h>.
27771 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27772 comment.
27773
cdcf361f
PP
277742013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27775
27776 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27777 call free(NULL).
27778
3c4a2b15
DM
277792013-03-05 David S. Miller <davem@davemloft.net>
27780
27781 * po/es.po: Update from translation team.
27782
cdcf361f 277832013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27784
27785 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27786 <bits/mman-linux.h>.
27787 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27788 is fine.
27789 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27790 <bits/mman-linux.h> to end of file.
27791 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27792 is fine.
27793 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27794 <bits/mman-linux.h> to end of file.
27795 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27796 is fine.
27797 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27798 <bits/mman-linux.h> to end of file.
27799
27800 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27801 (MCL_CURRENT, MCL_FUTURE): Define here.
27802
5f67c04f
AK
278032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27804
8a4473cc 27805 [BZ #15232]
5f67c04f
AK
27806 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27807 attribute_hidden.
27808 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27809
c3e94a95
AK
278102013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27811
27812 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27813 fourth parameter needed for rt_sigprocmask syscall.
27814 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27815 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27816 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27817 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27818 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27819 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27820
cfb6382a
JM
278212013-03-04 Joseph Myers <joseph@codesourcery.com>
27822
27823 [BZ #13550]
27824 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27825 comment about bounded pointers.
27826 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27827 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27828
539d8e01
AJ
278292013-03-04 Andreas Jaeger <aj@suse.de>
27830
27831 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27832 common definitions.
27833
27834 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27835 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27836 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27837 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27838 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27839 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27840
2e167a70 278412013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27842
27843 [BZ #15055]
27844 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27845 __ieee754_sqrl instead of __sqrl.
27846
68508633
JM
278472013-03-01 Joseph Myers <joseph@codesourcery.com>
27848
27849 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27850 * sysdeps/powerpc/fpu_control.h: ... here.
27851 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27852 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27853 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27854 * sysdeps/powerpc/bits/mathinline.h: ... here.
27855
7775448e
RM
278562013-03-01 Roland McGrath <roland@hack.frob.com>
27857
27858 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27859 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27860 to just [NEED_DL_SYSINFO_DSO].
27861 * elf/dl-support.c: Likewise.
27862 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27863 * elf/rtld.c (dl_main): Likewise.
27864 * elf/setup-vdso.h (setup_vdso): Likewise.
27865 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27866 * sysdeps/unix/sysv/linux/dl-sysdep.c
27867 (_dl_discover_osversion): Likewise.
27868
4e9b5995
CD
278692013-03-01 Carlos O'Donell <carlos@redhat.com>
27870
27871 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27872 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27873
e23872c8
SP
278742013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27875
e5c74c63
SP
27876 * NEWS: Mention libm performance improvements and non-x86 PI
27877 futex support.
27878
e23872c8
SP
27879 * csu/libc-start.c (__pthread_initialize_minimal): Change
27880 function arguments.
27881 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27882
b5510883
JM
278832013-02-28 Joseph Myers <joseph@codesourcery.com>
27884
27885 [BZ #13550]
27886 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27887 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27888 <bp-sym.h> and <bp-asm.h>.
27889 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27890 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27891 and <bp-asm.h>.
27892 (memcpy): Don't use BP_SYM.
27893 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27894 <bp-asm.h>.
27895 (__mpn_add_n): Don't use BP_SYM.
27896 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27897 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27898 and <bp-asm.h>.
27899 (__mpn_addmul_1): Don't use BP_SYM.
27900 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27901 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27902 <bp-sym.h>.
27903 (_setjmp): Don't use BP_SYM.
27904 (__novmx_setjmp): Likewise.
27905 (__GI__setjmp): Likewise.
27906 (__vmx_setjmp): Likewise.
27907 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27908 <bp-sym.h>.
27909 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27910 (__bzero): Don't use BP_SYM.
27911 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27912 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27913 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27914 <bp-sym.h> and <bp-asm.h>.
27915 (memcpy): Don't use BP_SYM.
27916 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27917 <bp-sym.h> and <bp-asm.h>.
27918 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27919 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27920 <bp-sym.h> and <bp-asm.h>.
27921 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27922 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27923 <bp-asm.h>.
27924 (__mpn_lshift): Don't use BP_SYM.
27925 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27926 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27927 <bp-asm.h>.
27928 (memset): Don't use BP_SYM.
27929 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27930 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27931 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27932 <bp-asm.h>.
27933 (__mpn_mul_1): Don't use BP_SYM.
27934 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27935 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27936 <bp-sym.h> and <bp-asm.h>.
27937 (memcmp): Don't use BP_SYM.
27938 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27939 <bp-sym.h> and <bp-asm.h>.
27940 (memcpy): Don't use BP_SYM.
27941 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27942 <bp-sym.h> and <bp-asm.h>.
27943 (memset): Don't use BP_SYM.
27944 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27945 <bp-sym.h> and <bp-asm.h>.
27946 (strncmp): Don't use BP_SYM.
27947 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27948 <bp-sym.h> and <bp-asm.h>.
27949 (memcpy): Don't use BP_SYM.
27950 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27951 <bp-sym.h> and <bp-asm.h>.
27952 (memset): Don't use BP_SYM.
27953 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27954 <bp-sym.h> and <bp-asm.h>.
27955 (__memchr): Don't use BP_SYM.
27956 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27957 <bp-sym.h> and <bp-asm.h>.
27958 (memcmp): Don't use BP_SYM.
27959 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27960 <bp-sym.h> and <bp-asm.h>.
27961 (memcpy): Don't use BP_SYM.
27962 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27963 <bp-sym.h> and <bp-asm.h>.
27964 (__mempcpy): Don't use BP_SYM.
27965 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27966 <bp-sym.h> and <bp-asm.h>.
27967 (__memrchr): Don't use BP_SYM.
27968 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27969 <bp-sym.h> and <bp-asm.h>.
27970 (memset): Don't use BP_SYM.
27971 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27972 <bp-sym.h> and <bp-asm.h>.
27973 (__rawmemchr): Don't use BP_SYM.
27974 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27975 <bp-sym.h> and <bp-asm.h>.
27976 (__STRCMP): Don't use BP_SYM.
27977 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27978 <bp-sym.h> and <bp-asm.h>.
27979 (strchr): Don't use BP_SYM.
27980 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27981 <bp-sym.h> and <bp-asm.h>.
27982 (__strchrnul): Don't use BP_SYM.
27983 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27984 <bp-sym.h> and <bp-asm.h>.
27985 (strlen): Don't use BP_SYM.
27986 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27987 <bp-sym.h> and <bp-asm.h>.
27988 (strncmp): Don't use BP_SYM.
27989 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27990 <bp-sym.h> and <bp-asm.h>.
27991 (__strnlen): Don't use BP_SYM.
27992 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27993 <bp-asm.h>.
27994 (__mpn_rshift): Don't use BP_SYM.
27995 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27996 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27997 <bp-sym.h> and <bp-asm.h>.
27998 (__sigsetjmp): Don't use BP_SYM.
27999 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28000 (L(start_addresses)): Don't use BP_SYM.
28001 (_start): Likewise.
28002 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28003 <bp-asm.h>.
28004 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28005 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28006 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28007 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28008 <bp-asm.h>.
28009 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28010 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28011 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28012 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28013 <bp-asm.h>.
28014 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28015 comments.
28016 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28017 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28018 <bp-asm.h>.
28019 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28020 FIXME comments.
28021 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28022 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28023 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28024 <bp-asm.h>.
28025 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28026 comment.
28027 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28028 and <bp-asm.h>.
28029 (strncmp): Don't use BP_SYM,
28030 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28031 <bp-asm.h>.
28032 (__mpn_sub_n): Don't use BP_SYM.
28033 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28034 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28035 and <bp-asm.h>.
28036 (__mpn_submul_1): Don't use BP_SYM.
28037 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28039 <bp-sym.h> and <bp-asm.h>.
28040 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28042 <bp-sym.h> and <bp-asm.h>.
28043 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28044 comment.
28045
8d19fe64
SP
280462013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28047
28048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28049 Use ZK to minimize writes to Z.
28050 (sub_magnitudes): Simplify code a bit.
28051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28052 Use ZK to minimize writes to Z.
28053 (sub_magnitudes): Simplify code a bit.
28054
85bd816a
RM
280552013-02-27 Roland McGrath <roland@hack.frob.com>
28056
28057 * csu/gmon-start.c: Add special exception to license text.
28058
b5977bf2
RH
280592013-02-27 Richard Henderson <rth@redhat.com>
28060
28061 * scripts/config.guess: Update from config.git.
28062 * scripts/config.sub: Likewise.
28063
11d6e2f2
SP
280642013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28065
09c14ed2
SP
28066 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28067
a688864e
SP
28068 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28069
6295157a
SP
28070 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28071
b8de2202
SP
28072 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28073
11d6e2f2
SP
28074 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28075
7e80ddb8
RM
280762013-02-26 Roland McGrath <roland@hack.frob.com>
28077
28078 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28079 [$(build-shared = yes].
7e80ddb8 28080
7da6d9ed
SP
280812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28082
45f05884
SP
28083 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28084 (__mul): Reduce iterations for calculating mantissa.
28085
2236d359
SP
28086 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28087 MPTWO.
28088 (__mpranred): Likewise.
28089
7da6d9ed
SP
28090 [BZ #15160]
28091 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28092 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28093
b7688c42
PE
280942013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28095
28096 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28097 Define __attribute__.
28098
53a5c423
SP
280992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28100
28101 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28102 unused.
28103 * posix/regex_internal.h (__attribute): Remove.
28104 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28105 (re_string_context_at): Likewise.
28106 (bitset_not): Use __attribute__ and mark function as possibly
28107 unused.
28108 (bitset_merge): Likewise.
28109 (bitset_mask): Likewise.
28110 (re_string_char_size_at): Likewise.
28111 (re_string_wchar_at): Likewise.
28112 (re_string_elem_size_at): Likewise.
28113
60f5a8b5
SP
281142013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28115
2a983a2e
SP
28116 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28117 code.
28118 (cc32): Likewise.
28119
e69804d1
SP
28120 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28121 (__acr): Likewise.
28122 (__cpy): Likewise.
28123 (norm): Likewise.
28124 (denorm): Likewise.
28125 (__dbl_mp): Likewise.
28126 (add_magnitudes): Likewise.
28127 (sub_magnitudes): Likewise.
28128 (__mul): Likewise.
28129 (__inv): Likewise.
28130
2f22a1e8
SP
28131 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28132 style.
28133
8930ddc7
SP
28134 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28135 style.
28136
dc60cb11
SP
28137 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28138 code.
28139
60f5a8b5
SP
28140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28141 up changes with default code.
28142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28143 Likewise.
28144
b4d1fd33
AM
281452013-02-24 Allan McRae <allan@archlinux.org>
28146
faf6f8bc
AM
28147 * manual/socket.texi (The Internet Namespace): Order menu items
28148 to match that in the file.
28149
b4d1fd33
AM
28150 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28151 node listing of the info page menu.
28152
2366713d
JM
281532013-02-21 Joseph Myers <joseph@codesourcery.com>
28154
28155 [BZ #13550]
28156 * sysdeps/i386/bp-asm.h: Remove file.
28157 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28158 (PARMS): Do not use macros from bp-asm.h.
28159 (S1): Likewise.
28160 (S2): Likewise.
28161 (SIZE): Likewise.
28162 (__mpn_add_n): Do not use BP_SYM
28163 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28164 "bp-asm.h".
28165 (PARMS): Do not use macros from bp-asm.h.
28166 (S1): Likewise.
28167 (SIZE): Likewise.
28168 (__mpn_addmul_1): Do not use BP_SYM
28169 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28170 "bp-asm.h".
28171 (PARMS): Do not use macros from bp-asm.h.
28172 (SIGMSK): Likewise.
28173 (_setjmp): Likewise. Do not use BP_SYM.
28174 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28175 "bp-asm.h".
28176 (PARMS): Do not use macros from bp-asm.h.
28177 (SIGMSK): Likewise.
28178 (setjmp): Likewise. Do not use BP_SYM.
28179 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28180 "bp-asm.h".
28181 (PARMS): Do not use macros from bp-asm.h.
28182 (__frexp): Do not use BP_SYM.
28183 (frexp): Likewise.
28184 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28185 "bp-asm.h".
28186 (PARMS): Do not use macros from bp-asm.h.
28187 (__frexpf): Do not use BP_SYM.
28188 (frexpf): Likewise.
28189 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28190 "bp-asm.h".
28191 (PARMS): Do not use macros from bp-asm.h.
28192 (__frexpl): Do not use BP_SYM.
28193 (frexpl): Likewise.
28194 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28195 "bp-asm.h".
28196 (PARMS): Do not use macros from bp-asm.h.
28197 (__remquo): Do not use BP_SYM.
28198 (remquo): Likewise.
28199 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28200 "bp-asm.h".
28201 (PARMS): Do not use macros from bp-asm.h.
28202 (__remquof): Do not use BP_SYM.
28203 (remquof): Likewise.
28204 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28205 "bp-asm.h".
28206 (PARMS): Do not use macros from bp-asm.h.
28207 (__remquol): Do not use BP_SYM.
28208 (remquol): Likewise.
28209 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28210 "bp-asm.h".
28211 (PARMS): Do not use macros from bp-asm.h.
28212 (DEST): Likewise.
28213 (SRC): Likewise.
28214 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28215 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28216 "bp-asm.h".
28217 (PARMS): Do not use macros from bp-asm.h.
28218 (strlen): Do not use BP_SYM.
28219 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28220 "bp-asm.h".
28221 (PARMS): Do not use macros from bp-asm.h.
28222 (S1): Likewise.
28223 (S2): Likewise.
28224 (SIZE): Likewise.
28225 (__mpn_add_n): Do not use BP_SYM.
28226 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28227 "bp-asm.h".
28228 (PARMS): Do not use macros from bp-asm.h.
28229 (S1): Likewise.
28230 (SIZE): Likewise.
28231 (__mpn_addmul_1): Do not use BP_SYM.
28232 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28233 weak_alias.
28234 (bzero): Likewise.
28235 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28236 "bp-asm.h".
28237 (PARMS): Do not use macros from bp-asm.h.
28238 (S): Likewise.
28239 (SIZE): Likewise.
28240 (__mpn_lshift): Do not use BP_SYM.
28241 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28242 "bp-asm.h".
28243 (PARMS): Do not use macros from bp-asm.h.
28244 (DEST): Likewise.
28245 (SRC): Likewise.
28246 (LEN): Likewise.
28247 (memcpy): Likewise. Do not use BP_SYM.
28248 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28249 libc_hidden_def and weak_alias.
28250 (mempcpy): Do not use BP_SYM in weak_alias.
28251 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28252 "bp-asm.h".
28253 (PARMS): Do not use macros from bp-asm.h.
28254 (DEST): Likewise.
28255 (LEN): Likewise.
28256 [!BZERO_P] (CHR): Likewise.
28257 (memset): Likewise. Do not use BP_SYM.
28258 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28259 "bp-asm.h".
28260 (PARMS): Do not use macros from bp-asm.h.
28261 (S1): Likewise.
28262 (SIZE): Likewise.
28263 (__mpn_mul_1): Do not use BP_SYM.
28264 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28265 "bp-asm.h".
28266 (PARMS): Do not use macros from bp-asm.h.
28267 (S): Likewise.
28268 (SIZE): Likewise.
28269 (__mpn_rshift): Do not use BP_SYM.
28270 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28271 "bp-asm.h".
28272 (PARMS): Do not use macros from bp-asm.h.
28273 (STR): Likewise.
28274 (CHR): Likewise.
28275 (strchr): Likewise. Do not use BP_SYM.
28276 (index): Do not use BP_SYM in weak_alias.
28277 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28278 "bp-asm.h".
28279 (PARMS): Do not use macros from bp-asm.h.
28280 (DEST): Likewise.
28281 (SRC): Likewise.
28282 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28283 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28284 "bp-asm.h".
28285 (PARMS): Do not use macros from bp-asm.h.
28286 (strlen): Do not use BP_SYM.
28287 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28288 "bp-asm.h".
28289 (PARMS): Do not use macros from bp-asm.h.
28290 (S1): Likewise.
28291 (S2): Likewise.
28292 (SIZE): Likewise.
28293 (__mpn_sub_n): Do not use BP_SYM.
28294 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28295 "bp-asm.h".
28296 (PARMS): Do not use macros from bp-asm.h.
28297 (S1): Likewise.
28298 (SIZE): Likewise.
28299 (__mpn_submul_1): Do not use BP_SYM.
28300 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28301 "bp-asm.h".
28302 (PARMS): Do not use macros from bp-asm.h.
28303 (S1): Likewise.
28304 (S2): Likewise.
28305 (SIZE): Likewise.
28306 (__mpn_add_n): Do not use BP_SYM.
28307 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28308 weak_alias.
28309 (bzero): Likewise.
28310 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28311 "bp-asm.h".
28312 (PARMS): Do not use macros from bp-asm.h.
28313 (BLK2): Likewise.
28314 (LEN): Likewise.
28315 (memcmp): Do not use BP_SYM.
28316 (bcmp): Do not use BP_SYM in weak_alias.
28317 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
28324 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28325 "bp-asm.h".
28326 (PARMS): Do not use macros from bp-asm.h.
28327 (DEST): Likewise.
28328 (SRC): Likewise.
28329 (LEN): Likewise.
28330 (memmove): Likewise. Do not use BP_SYM.
28331 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28332 "bp-asm.h".
28333 (PARMS): Do not use macros from bp-asm.h.
28334 (DEST): Likewise.
28335 (SRC): Likewise.
28336 (LEN): Likewise.
28337 (__mempcpy): Likewise. Do not use BP_SYM.
28338 (mempcpy): Do not use BP_SYM in weak_alias.
28339 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28340 "bp-asm.h".
28341 (PARMS): Do not use macros from bp-asm.h.
28342 (DEST): Likewise.
28343 (LEN): Likewise.
28344 [!BZERO_P] (CHR): Likewise.
28345 (memset): Likewise. Do not use BP_SYM.
28346 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28347 "bp-asm.h".
28348 (PARMS): Do not use macros from bp-asm.h.
28349 (STR2): Likewise.
28350 (strcmp): Do not use BP_SYM.
28351 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28352 "bp-asm.h".
28353 (PARMS): Do not use macros from bp-asm.h.
28354 (STR): Likewise.
28355 (DELIM): Likewise.
28356 [USE_AS_STRTOK_R] (SAVE): Likewise.
28357 (FUNCTION): Likewise. Do not use BP_SYM.
28358 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28359 aliases.
28360 (strtok_r): Likewise.
28361 (__GI___strtok_r): Likewise.
28362 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28363 (PARMS): Do not use macros from bp-asm.h.
28364 (S): Likewise.
28365 (SIZE): Likewise.
28366 (__mpn_lshift): Do not use BP_SYM.
28367 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28368 (PARMS): Do not use macros from bp-asm.h.
28369 (STR): Likewise.
28370 (CHR): Likewise.
28371 (__memchr): Do not use BP_SYM.
28372 (memchr): Do not use BP_SYM in weak_alias.
28373 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28374 (PARMS): Do not use macros from bp-asm.h.
28375 (BLK2): Likewise.
28376 (LEN): Likewise.
28377 (memcmp): Do not use BP_SYM.
28378 (bcmp): Do not use BP_SYM in weak_alias.
28379 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28380 (PARMS): Do not use macros from bp-asm.h.
28381 (S1): Likewise.
28382 (SIZE): Likewise.
28383 (__mpn_mul_1): Do not use BP_SYM.
28384 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28385 "bp-asm.h".
28386 (PARMS): Do not use macros from bp-asm.h.
28387 (STR): Likewise.
28388 (CHR): Likewise.
28389 (__rawmemchr): Do not use BP_SYM.
28390 (rawmemchr): Do not use BP_SYM in weak_alias.
28391 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28392 (PARMS): Do not use macros from bp-asm.h.
28393 (S): Likewise.
28394 (SIZE): Likewise.
28395 (__mpn_rshift): Do not use BP_SYM.
28396 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28397 (PARMS): Do not use macros from bp-asm.h.
28398 (SIGMSK): Likewise.
28399 (__sigsetjmp): Likewise. Do not use BP_SYM.
28400 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28401 (_start): Do not use BP_SYM.
28402 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28403 (PARMS): Do not use macros from bp-asm.h.
28404 (DEST): Likewise.
28405 (SRC): Likewise.
28406 (__stpcpy): Likewise. Do not use BP_SYM.
28407 (stpcpy): Do not use BP_SYM in weak_alias.
28408 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28409 "bp-asm.h".
28410 (PARMS): Do not use macros from bp-asm.h.
28411 (DEST): Likewise.
28412 (SRC): Likewise.
28413 (LEN): Likewise.
28414 (__stpncpy): Likewise. Do not use BP_SYM.
28415 (stpncpy): Do not use BP_SYM in weak_alias.
28416 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28417 (PARMS): Do not use macros from bp-asm.h.
28418 (STR): Likewise.
28419 (CHR): Likewise.
28420 (strchr): Likewise. Do not use BP_SYM.
28421 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28422 "bp-asm.h".
28423 (PARMS): Do not use macros from bp-asm.h.
28424 (STR): Likewise.
28425 (CHR): Likewise.
28426 (__strchrnul): Likewise. Do not use BP_SYM.
28427 (strchrnul): Do not use BP_SYM in weak_alias.
28428 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28429 "bp-asm.h".
28430 (PARMS): Do not use macros from bp-asm.h.
28431 (STOP): Likewise.
28432 (strcspn): Do not use BP_SYM.
28433 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28434 "bp-asm.h".
28435 (PARMS): Do not use macros from bp-asm.h.
28436 (STR): Likewise.
28437 (STOP): Likewise.
28438 (strpbrk): Likewise. Do not use BP_SYM.
28439 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28440 "bp-asm.h".
28441 (PARMS): Do not use macros from bp-asm.h.
28442 (STR): Likewise.
28443 (CHR): Likewise.
28444 (strrchr): Likewise. Do not use BP_SYM.
28445 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28446 (PARMS): Do not use macros from bp-asm.h.
28447 (SKIP): Likewise.
28448 (strspn): Do not use BP_SYM.
28449 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28450 (PARMS): Do not use macros from bp-asm.h.
28451 (STR): Likewise.
28452 (DELIM): Likewise.
28453 (SAVE): Likewise.
28454 (FUNCTION): Likewise. Do not use BP_SYM.
28455 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28456 aliases.
28457 (strtok_r): Likewise.
28458 (__GI___strtok_r): Likewise.
28459 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28460 (PARMS): Do not use macros from bp-asm.h.
28461 (S1): Likewise.
28462 (S2): Likewise.
28463 (SIZE): Likewise.
28464 (__mpn_sub_n): Do not use BP_SYM.
28465 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28466 "bp-asm.h".
28467 (PARMS): Do not use macros from bp-asm.h.
28468 (S1): Likewise.
28469 (SIZE): Likewise.
28470 (__mpn_submul_1): Do not use BP_SYM.
28471 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28472 <bp-sym.h>.
28473 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28474 and <bp-asm.h>.
28475 (PARMS): Do not use macros from bp-asm.h.
28476 (FLAGS): Likewise.
28477 (PTID): Likewise.
28478 (TLS): Likewise.
28479 (CTID): Likewise.
28480 (__clone): Do not use BP_SYM.
28481 (clone): Do not use BP_SYM in weak_alias.
28482 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28483 and <bp-asm.h>.
28484 (PARMS): Do not use macros from bp-asm.h.
28485 (LEN): Likewise.
28486 (__mmap64): Do not use BP_SYM.
28487 (mmap64): Do not use BP_SYM in weak_alias.
28488 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28489 <bp-sym.h> and <bp-asm.h>.
28490 (PARMS): Do not use macros from bp-asm.h.
28491 (__posix_fadvise64_l64): Do not use BP_SYM.
28492 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28493 (PARMS): Do not use macros from bp-asm.h.
28494 (NSOPS): Likewise.
28495 (semtimedop): Do not use BP_SYM.
28496 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28497 and <bp-asm.h>.
28498
582a3cff
AM
284992013-02-21 Allan McRae <allan@archlinux.org>
28500
28501 * manual/message.texi (Charset conversion in gettext):
28502 Move @end statement to beginning of line.
28503
bab8a695
SP
285042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28505
80945231
SP
28506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28507 static.
28508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28509 Likewise.
28510
bab8a695
SP
28511 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28512 (denorm): Likewise.
28513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28515
e21d7aa7
AK
285162013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28517
28518 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28519 tail-call to the resolved function if pltexit isn't needed.
28520
4c7a4263
SP
285212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28522
28523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28524 or Y being zero as being unlikely.
28525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28526 Likewise.
28527
41f49342
CD
285282013-02-20 Carlos O'Donell <carlos@redhat.com>
28529
28530 * manual/nss.texi (System Databases and Name Service Switch):
28531 Remove frobnicate @pxref.
28532
50022a93
TS
285332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28534
28535 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28536 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28537
08cbd996
PM
285382013-02-20 Petr Machata <pmachata@redhat.com>
28539
28540 * elf/elf.h (R_ARM_TARGET1): New macro.
28541 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28542 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28543 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28544 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28545 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28546 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28547 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28548 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28549 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28550 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28551 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28552 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28553 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28554 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28555 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28556 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28557 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28558 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28559 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28560 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28561 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28562 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28563 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28564 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28565 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28566 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28567 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28568 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28569 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28570 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28571 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28572 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28573 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28574 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28575 (R_ARM_THM_GOT_BREL12): Likewise.
28576 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28577 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28578 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28579 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28580 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28581 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28582 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28583 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28584 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28585
c7b275d6
TS
285862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28587
28588 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28589 __attribute_used__ to __attribute__ ((unused)).
28590
20cd7fb3
SP
285912013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28592
28593 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28594 powerpc mpa.c.
28595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28596 comment formatting.
28597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28598
92945b52
JM
285992013-02-19 Joseph Myers <joseph@codesourcery.com>
28600
28601 [BZ #13550]
28602 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28603 Remove macro.
28604 (ENTER): Remove both macro definitions.
28605 (LEAVE): Likewise.
28606 (CHECK_BOUNDS_LOW): Likewise.
28607 (CHECK_BOUNDS_HIGH): Likewise.
28608 (CHECK_BOUNDS_BOTH): Likewise.
28609 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28610 (RETURN_BOUNDED_POINTER): Likewise.
28611 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28612 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28613 (POP_ERRNO_LOCATION_RETURN): Likewise.
28614 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28615 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28616 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28617 macros.
28618 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28619 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28620 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28621 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28622 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28623 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28624 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28625 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28626 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28627 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28628 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28629 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28630 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28631 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28632 removed macros.
28633 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28634 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28635 macros.
28636 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28637 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28638 * sysdeps/i386/i586/memset.S (memset): Likewise.
28639 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28640 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28641 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28642 macros.
28643 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28644 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28645 Change uses of L(2) to L(out).
28646 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28647 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28648 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28649 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28650 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28651 removed macros.
28652 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28653 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28654 macros.
28655 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28656 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28657 (RETURN): Do not use macro LEAVE.
28658 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28659 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28660 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28661 * sysdeps/i386/i686/memset.S (memset): Likewise.
28662 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28663 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28664 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28665 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28666 Likewise.
28667 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28668 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28669 L(1_2) and L(1_3) into L(1).
28670 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28671 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28672 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28673 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28674 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28675 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28676 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28677 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28678 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28679 macros.
28680 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28681 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28682 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28683 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28684 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28685 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28686 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28687 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28688 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28689 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28690 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28691 * sysdeps/i386/strspn.S (strspn): Likewise.
28692 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28693 conditional code.
28694 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28695 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28696 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28697 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28698 L(1_3) into L(1_1).
28699 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28700 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28701 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28702 macros.
28703 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28704
2389741a
JJ
287052013-02-19 Jakub Jelinek <jakub@redhat.com>
28706
28707 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28708 macro.
28709
2016b3cd
SP
287102013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28711
e4f22324
SP
28712 * math/atest-exp.c (exp_mpn): Remove ROUND.
28713 * math/atest-exp2.c (exp_mpn): Likewise.
28714 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28715
2016b3cd
SP
28716 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28717 * stdlib/tst-tls-atexit-lib.c: Likewise.
28718 * stdlib/tst-tls-atexit.c: Likewise.
28719
4be9b544
MF
287202013-02-18 Mike Frysinger <vapier@gentoo.org>
28721
28722 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28723 and __attribute_alloc_size__.
28724
2f62b9ee
MF
287252013-02-18 Mike Frysinger <vapier@gentoo.org>
28726
28727 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28728 __attribute_alloc_size__.
28729 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28730 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28731
6ff444c4
MF
287322013-02-18 Mike Frysinger <vapier@gentoo.org>
28733
28734 * include/programs/xmalloc.h: New file.
28735 * catgets/gencat.c: Include it.
28736 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28737 * elf/pldd.c: Likewise.
28738 * iconv/iconv_charmap.c: Likewise.
28739 * iconv/iconvconfig.c: Likewise.
28740 * iconv/strtab.c: Likewise.
28741 * locale/programs/locale.c: Likewise.
28742 * locale/programs/localedef.h: Likewise.
28743 * locale/programs/simple-hash.c: Likewise.
28744 * nscd/nscd.h: Likewise.
28745 * nss/makedb.c: Likewise.
28746 * sysdeps/generic/ldconfig.h: Likewise.
28747
be179c8a
SP
287482013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28749
ba384f6e
SP
28750 * Versions.def: Add GLIBC_2.18.
28751 * include/link.h (struct link_map): New member l_tls_dtor_count.
28752 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28753 (__call_tls_dtors): Likewise.
28754 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28755 __cxa_thread_atexit_impl.
28756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28757 Likewise.
28758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28759 Likewise.
28760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28761 Likewise.
28762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28763 Likewise.
28764 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28766 Likewise.
28767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28768 Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28771 Likewise.
28772 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28773 (tests): Add test case tst-tls-atexit.
28774 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28775 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28776 (GLIBC_PRIVATE): Add __call_tls_dtors.
28777 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28778 for libstdc++.
28779 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28780 * stdlib/tst-tls-atexit.c: New test case.
28781 * stdlib/tst-tls-atexit-lib.c: New test case.
28782
ffaa74cf 28783 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28784
be179c8a
SP
28785 * elf/Versions (ld): Add _dl_find_dso_for_object.
28786 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28787 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28788 (dl_open_worker): Use _dl_find_dso_for_object.
28789 * elf/dl-sym.c (do_sym): Likewise.
28790 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28791
f78b5caa
AK
287922013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28793
28794 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28795 Syntactic changes only.
28796 (_dl_runtime_profile): Do a tail-call to the resolved function.
28797
29691210
JM
287982013-02-17 Joseph Myers <joseph@codesourcery.com>
28799
28800 [BZ #13550]
28801 * sysdeps/x86_64/bp-asm.h: Remove file.
28802 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28803 <bp-sym.h> and <bp-asm.h>.
28804 (__clone): Do not use BP_SYM.
28805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28806 <bp-sym.h> and <bp-asm.h>.
28807 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28808 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28809 "bp-asm.h".
28810 (_setjmp): Do not use BP_SYM.
28811 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28812 "bp-asm.h".
28813 (setjmp): Do not use BP_SYM.
28814 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28815 libc_hidden_def.
28816 (mempcpy): Do not use BP_SYM in weak_alias.
28817 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28818 "bp-asm.h".
28819 (strchr): Do not use BP_SYM.
28820 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28821 "bp-asm.h".
28822 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28823 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28824 (_start): Do not use BP_SYM.
28825 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28826 "bp-asm.h".
28827 (strcat): Do not use BP_SYM.
28828 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28829 "bp-asm.h".
28830 (STRCMP): Do not use BP_SYM.
28831 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28832 "bp-asm.h".
28833 (STRCPY): Do not use BP_SYM.
28834 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28835 "bp-asm.h".
28836 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28837 "bp-asm.h".
28838 (FUNCTION): Do not use BP_SYM.
28839 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28840 weak_alias.
28841 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28842
f238fd19
AJ
288432013-02-17 Andreas Jaeger <aj@suse.de>
28844
28845 * time/Versions: Sort entries.
28846 * string/Versions: Likewise.
28847 * resolv/Versions: Likewise.
28848 * posix/Versions: Likewise.
28849 * iconv/Versions: Likewise.
28850 * elf/Versions: Likewise.
28851 * wcsmbs/Versions: Likewise.
28852
bd07f23c 288532013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28854
22af19f9
SP
28855 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28856 loop termination condition.
28857
4709fe76
SP
28858 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28859 variable to calculate EZ.
28860 (__sqr): Likewise.
2d0e0f29
SP
28861
28862 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28863 the lower precision input.
28864
daaa7713
JM
288652013-02-15 Joseph Myers <joseph@codesourcery.com>
28866
28867 [BZ #13550]
28868 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28869 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28870 (run-via-rtld-prefix): Do not handle %-bp tests.
28871 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28872 (all-object-suffixes): Remove .ob.
28873 (bppfx): Remove variable.
28874 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28875 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28876 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28877 [$(build-bounded) = yes] (libtype.ob): Likewise.
28878 * Makerules (elide-routines.ob): Remove variable.
28879 (do-tests-clean): Do not handle *-bp.out.
28880 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28881 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28882 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28883 (tests): Do not include $(tests-bp.out).
28884 (xtests): Do not include $(xtests-bp.out).
28885 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28886 [$(build-bounded) = yes] ($(addprefix
28887 $(objpfx),$(binaries-bounded))): Remove rule.
28888 ($(objpfx)%-bp.out): Remove rule.
28889 * config.make.in (build-bounded): Remove variable.
28890 * crypt/Makefile [$(build-bounded) = yes]
28891 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28892 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28893 append to variable.
28894 [$(build-bounded) = yes] (install-lib): Likewise.
28895 [$(build-bounded) = yes] (generated): Likewise.
28896 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28897 Remove rule.
28898 * intl/Makefile [$(build-bounded) = yes]
28899 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28900 * math/Makefile [$(build-bounded) = yes]
28901 ($(tests:%=$(objpfx)%-bp): Likewise.
28902 * misc/Makefile [$(build-bounded) = yes]
28903 ($(objpfx)tst-tsearch-bp): Likewise.
28904 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28905 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28906 Remove dependency.
28907 * string/Makefile (o-objects.ob): Remove variable.
28908 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28909 (CFLAGS-.ob): Remove variable.
28910 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28911 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28912 both definitions of variable.
28913 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28914 (ASFLAGS-.ob): Remove variable.
28915
e97ed6dd
JM
289162013-02-14 Joseph Myers <joseph@codesourcery.com>
28917
2bdd4ca6
JM
28918 [BZ #13550]
28919 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28920 Remove __BOUNDED_POINTERS__ from condition.
28921 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28922 * string/bits/string2.h [!__NO_STRING_INLINES &&
28923 !__BOUNDED_POINTERS__]: Likewise.
28924 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28925 Likewise.
28926 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28927 Remove conditional code.
28928 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28929 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28930 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28931 condition.
28932
e97ed6dd
JM
28933 [BZ #13550]
28934 * csu/libc-start.c: Do not include <bp-sym.h>.
28935 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28936 * elf/dl-open.c: Do not include <bp-sym.h>.
28937 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28938 * math/fegetenv.c: Do not include <bp-sym.h>.
28939 (fegetenv): Do not use BP_SYM in versioned symbols.
28940 * nptl/sysdeps/pthread/bits/libc-lockP.h
28941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28942 <bp-sym.h>.
28943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28944 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28946 (__pthread_mutex_destroy): Likewise.
28947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28948 (__pthread_mutex_lock): Likewise.
28949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28950 (__pthread_mutex_trylock): Likewise.
28951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28952 (__pthread_mutex_unlock): Likewise.
28953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28954 (__pthread_mutexattr_init): Likewise.
28955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28956 (__pthread_mutexattr_destroy): Likewise.
28957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28958 (__pthread_mutexattr_settype): Likewise.
28959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28960 (__pthread_rwlock_init): Likewise.
28961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28962 (__pthread_rwlock_destroy): Likewise.
28963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28964 (__pthread_rwlock_rdlock): Likewise.
28965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28966 (__pthread_rwlock_tryrdlock): Likewise.
28967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28968 (__pthread_rwlock_wrlock): Likewise.
28969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28970 (__pthread_rwlock_trywrlock): Likewise.
28971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28972 (__pthread_rwlock_unlock): Likewise.
28973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28974 (__pthread_key_create): Likewise.
28975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28976 (__pthread_setspecific): Likewise.
28977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28978 (__pthread_getspecific): Likewise.
28979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28980 Likewise.
28981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28982 (_pthread_cleanup_push_defer): Likewise.
28983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28984 (_pthread_cleanup_pop_restore): Likewise.
28985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28986 (pthread_setcancelstate): Likewise.
28987 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28988 <bp-sym.h>.
28989 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28990 (memchr): Do not use BP_SYM in weak_alias.
28991 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28992 (fegetenv): Do not use BP_SYM in versioned symbols.
28993 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28994 (fesetenv): Do not use BP_SYM in versioned symbols.
28995 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28996 (feupdateenv): Do not use BP_SYM in versioned symbols.
28997 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28998 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28999 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29000 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29001 (open64): Do not use BP_SYM in weak_alias.
29002 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29003 (fegetenv): Do not use BP_SYM in versioned symbols.
29004 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29005 (fesetenv): Do not use BP_SYM in versioned symbols.
29006 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29007 (feupdateenv): Do not use BP_SYM in versioned symbols.
29008 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29009 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29010 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29011 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29012 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29013 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29014 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29015 <bp-sym.h>.
29016 (__libc_start_main): Do not use BP_SYM.
29017
d6752ccd
SP
290182013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29019
cb57ce60
SP
29020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29021 redundant return line.
29022 (norm): Likewise.
29023 (denorm): Likewise.
29024 (dbl_mp): Likewise.
29025 (sub_magnitudes): Likewise.
29026 (__add): Likewise.
29027 (__sub): Likewise.
29028 (__mul): Likewise.
29029 (__inv): Likewise.
29030 (__dvd): Likewise.
29031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29032 (norm): Likewise.
29033 (denorm): Likewise.
29034 (dbl_mp): Likewise.
29035 (sub_magnitudes): Likewise.
29036 (__add): Likewise.
29037 (__sub): Likewise.
29038 (__mul): Likewise.
29039 (__inv): Likewise.
29040 (__dvd): Likewise.
29041
f414520d
SP
29042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29043 instead of __mul.
29044 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29045 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29046 (cc32): Likewise.
29047
d6752ccd
SP
29048 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29049 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29051 of __mul for squares.
29052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29053 function
29054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29055 Likewise.
29056 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29057 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29058
70d9946a
JM
290592013-02-13 Joseph Myers <joseph@codesourcery.com>
29060
29061 [BZ #13550]
29062 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29063 code.
29064 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29065 prototype or function definition. Rename ubp_* variables and
29066 parameters. Remove argv definitions conditional on
29067 [__BOUNDED_POINTERS__].
29068 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29069 * elf/dl-runtime.c (_dl_fixup): Likewise.
29070 * include/set-hooks.h (RUN_HOOK): Likewise.
29071 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29072 definition.
29073 * string/strcpy.c (strcpy): Do not use __unbounded.
29074 * sysdeps/generic/frame.h (struct layout): Likewise.
29075 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29076 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29077 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29078 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29079 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29080 (__backtrace): Likewise.
29081 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29082 use __ptrvalue.
29083 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29084 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29085 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29086 Likewise.
29087 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29088 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29089 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29090 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29091 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29092 Do not use __unbounded.
29093 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29094 Rename __unboundedrlimits parameter to rlimits in prototype.
29095 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29096 Do not use __unbounded.
29097 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29098 not use __ptrvalue.
29099 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29100 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29101 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29102 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29103 __ptrvalue or __unbounded.
29104 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29105 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29106 use __unbounded.
29107 (__new_msgctl): Do not use __ptrvalue.
29108 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29109 __unbounded.
29110 (__libc_msgrcv): Do not use __ptrvalue.
29111 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29112 startup_info): Do not use __unbounded.
29113 (__libc_start_main): Likewise. Rename ubp_* variables and
29114 parameters. Remove argv definitions conditional on
29115 [__BOUNDED_POINTERS__].
29116 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29117 __ptrvalue.
29118 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29119 use __unbounded.
29120 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29121 or __ptrvalue.
29122 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29123 use __unbounded.
29124 (__new_shmctl): Do not use __ptrvalue.
29125 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29126 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29127 Likewise.
29128 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29130 (__libc_sigaction): Likewise.
29131 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29132 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29133 Likewise.
29134 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29135
cc7834d6
OB
291362013-02-13 Ondřej Bílka <neleai@seznam.cz>
29137
ffb1ec7b 29138 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
29139
29140 * string/mempcpy.c: Implement by calling memcpy.
29141
bdf02814
SP
291422013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29143
c2af38aa
SP
29144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29145
4e92d59e
SP
29146 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29147 evaluation.
29148
909279a5
SP
29149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29150 values in the mantissa.
29151
bdf02814
SP
29152 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29153 minimize writes to Z.
29154 (sub_magnitudes): Simplify code a bit.
29155
cd525923
RM
291562013-02-12 Roland McGrath <roland@hack.frob.com>
29157
29158 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29159 from the message. The linker prefixes all warnings with that already.
29160
7e2f0d2d
AS
291612013-02-12 Andreas Schwab <schwab@suse.de>
29162
a445af0b
AS
29163 [BZ #15078]
29164 * posix/regexec.c (extend_buffers): Add parameter min_len.
29165 (check_matching): Pass minimum needed length.
29166 (clean_state_log_if_needed): Likewise.
29167 (get_subexp): Likewise.
29168 * posix/Makefile (tests): Add bug-regex34.
29169 (bug-regex34-ENV): Define.
29170 * posix/bug-regex34.c: New file.
29171
7e2f0d2d
AS
29172 [BZ #11561]
29173 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29174 elements compare against the byte sequence of it, not its name.
29175 * posix/Makefile (tests): Add bug-regex35.
29176 (bug-regex35-ENV): Define.
29177 * posix/bug-regex35.c: New file.
29178
a175b684
TV
291792013-02-11 Tom de Vries <tom@codesourcery.com>
29180
29181 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29182 comment.
29183 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29184 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29185 (CHECK_EOL): Add undef.
29186
310998fe 291872013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
29188
29189 * bits/stdlib-bsearch.h: New file.
29190 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 29191 * stdlib/stdlib.h: Likewise.
41eda41d 29192
8ded91fb
RM
291932013-02-11 Roland McGrath <roland@hack.frob.com>
29194
29195 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29196 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29197 declaration.
29198 * manual/search.texi (Array Search Function): Add missing const in
29199 lfind prototype.
29200 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29201 declaration to use rlim_t.
29202 (Basic Scheduling Functions): Remove erroneous const from
29203 sched_getparam prototype. Remove erroneous * from
29204 sched_get_priority_max and sched_get_priority_min prototypes.
29205 (Resource Usage): Fix summary @comment on vtimes to refer to
29206 sys/vtimes.h rather than vtimes.h.
29207 Add missing *s in vtimes prototype.
29208 (Limits on Resources): Fix ulimit prototype to return long int.
29209 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29210 prototypes to use long int rather than double.
29211 (BSD Random): Fix initstate and setstate to use char *, not void *.
29212 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29213 prototype to make second argument 'struct aiocb64 *const[]'.
29214 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29215 (Status of AIO Operations): Remove erroneous const in aio_return and
29216 aio_return64 prototypes.
29217 (Synchronizing I/O): Fix sync prototype to return void.
29218 * manual/startup.texi (Suboptions): Remove an erroneous const in
29219 getsubopt prototype.
29220 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29221 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29222 use size_t rather than int.
29223 (Scanning All Users): Likewise for getpwent_r.
29224 (Setting Groups): Add missing const to setgroups prototype.
29225 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29226 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29227 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29228 'const void *' rather than 'const char *'.
29229 (Host Address Functions): Likewise for inet_ntop.
29230 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29231 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29232 ssize_t for return value.
29233 (Sending Data): Likewise for send, sendto, sendmsg.
29234 (Socket Option Functions): Add a missing const in setsockopt prototype.
29235 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29236 use wchar_t for the argument.
29237 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29238 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29239 take no arguments.
29240 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29241 double/float/long double for second argument.
29242 Fix return types of significand, significandf, significandl.
29243 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29244 argument in fchmod prototype.
29245 (File Owner): Use uid_t and gid_t in fchown prototype.
29246 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29247 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29248 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29249 use 'const struct dirent **' as argument types to CMP function pointer
29250 argument.
29251 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29252 (File Times): Fix summary magic @comment for struct utimbuf and utime
29253 to refer to utime.h, not time.h.
29254 * manual/string.texi (Argz Functions): Add missing const in
29255 argz_extract and argz_next prototypes.
29256 (Finding Tokens in a String): Likewise for basename.
29257 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29258 (Copying and Concatenation): Fix typo in wmemmove prototype.
29259 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29260 (Signal Stack): Remove erroneous const in sigstack prototype.
29261 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29262 prototype.
29263 (Simple Calendar Time): Likewise for stime.
29264 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29265 prototype.
29266 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29267 say sys/sysctl.h instead.
29268 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29269 and vsyslog prototypes.
29270
fe77fe6d
TV
292712013-02-11 Tom de Vries <tom@codesourcery.com>
29272
29273 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29274 Remove.
29275
3a09b620
RM
292762013-02-11 Roland McGrath <roland@hack.frob.com>
29277
29278 * misc/sys/mman.h: Fix typo in mremap comment.
29279
550a0b89
RM
292802013-02-08 Roland McGrath <roland@hack.frob.com>
29281
29282 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29283 the '\0' terminator.
29284
a2da1673
JM
292852013-02-08 Joseph Myers <joseph@codesourcery.com>
29286
29287 [BZ #13550]
29288 * debug/segfault.c: Don't include <bp-checks.h>.
29289 * sysdeps/generic/bp-checks.h: Remove file.
29290 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29291 (__GETDENTS): Don't use CHECK_N.
29292 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29293 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29294 (__getgroups): Don't use CHECK_N.
29295 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29296 (setgroups): Don't use CHECK_N.
29297 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29298 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29299 (__libc_msgrcv): Don't use CHECK_N.
29300 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29301 (__libc_msgsnd): Don't use CHECK_N.
29302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29303 <bp-checks.h>.
29304 (__libc_pread): Don't use CHECK_N.
29305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29306 include <bp-checks.h>.
29307 (__libc_pread64): Don't use CHECK_N.
29308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29309 include <bp-checks.h>.
29310 (__libc_pwrite): Don't use CHECK_N.
29311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29312 include <bp-checks.h>.
29313 (__libc_pwrite64): Don't use CHECK_N.
29314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29315 <bp-checks.h>.
29316 (__libc_pread): Don't use CHECK_N.
29317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29318 include <bp-checks.h>.
29319 (__libc_pread64): Don't use CHECK_N.
29320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29321 include <bp-checks.h>.
29322 (__libc_pwrite): Don't use CHECK_N.
29323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29324 include <bp-checks.h>.
29325 (__libc_pwrite64): Don't use CHECK_N.
29326 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29327 (do_pread): Don't use CHECK_N.
29328 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29329 (do_pread64): Don't use CHECK_N.
29330 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29331 (do_pwrite): Don't use CHECK_N.
29332 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29333 (do_pwrite64): Don't use CHECK_N.
29334 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29335 (__libc_readv): Don't use CHECK_N.
29336 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29337 (semop): Don't use CHECK_N.
29338 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29339 <bp-checks.h>.
29340 (semtimedop): Don't use CHECK_N.
29341 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29342 (__libc_pread): Don't use CHECK_N.
29343 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29344 <bp-checks.h>.
29345 (__libc_pread64): Don't use CHECK_N.
29346 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29347 <bp-checks.h>.
29348 (__libc_pwrite): Don't use CHECK_N.
29349 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29350 <bp-checks.h>.
29351 (__libc_pwrite64): Don't use CHECK_N.
29352 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29353 <bp-checks.h>.
29354 (__libc_msgrcv): Don't use CHECK_N.
29355 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29356 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29357 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29358 (__libc_writev): Don't use CHECK_N.
29359
b84660a8
RM
293602013-02-08 Roland McGrath <roland@hack.frob.com>
29361
7f3e75f8
RM
29362 * string/strcpy.c: Removed unused variable.
29363
b84660a8
RM
29364 * Makeconfig (+sysdep-includes): Define with := rather than =.
29365 Use an existing include/ subdir of each sysdeps dir before it.
29366
471514d3
CD
293672013-02-08 Carlos O'Donell <carlos@redhat.com>
29368
29369 * nscd/connection.c (register_traced_file): Comment function.
29370 [HAVE_INOTIFY] (union __inev): Define.
29371 [HAVE_INOTIFY] (inotify_check_files): New function.
29372 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29373 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29374 clear_db_cache.
29375 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29376
b2d3c3be
CD
293772013-02-08 Carlos O'Donell <carlos@redhat.com>
29378
29379 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29380 loaded if not already and that a failure is permanent.
29381
b39949d2
CD
293822013-02-08 Carlos O'Donell <carlos@redhat.com>
29383
ddacd1db 29384 [BZ #15006]
b39949d2
CD
29385 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29386 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29387
b2c9eff4
JM
293882013-02-08 Joseph Myers <joseph@codesourcery.com>
29389
f3aae3f3
JM
29390 [BZ #13550]
29391 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29392 (CHECK_1_NULL_OK): Likewise.
29393 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29394 (__fxstat): Do not use CHECK_1.
29395 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29396 <bp-checks.h>.
29397 (___fxstat64): Do not use CHECK_1.
29398 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29399 <bp-checks.h>.
29400 (__fxstatat): Do not use CHECK_1.
29401 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29402 <bp-checks.h>.
29403 (__fxstatat64): Do not use CHECK_1.
29404 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29405 <bp-checks.h>.
29406 (__fxstat): Do not use CHECK_1.
29407 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29408 <bp-checks.h>.
29409 (__fxstatat): Do not use CHECK_1.
29410 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29411 <bp-checks.h>.
29412 (__getresgid): Do not use CHECK_1.
29413 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29414 <bp-checks.h>.
29415 (__getresuid): Do not use CHECK_1.
29416 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29417 <bp-checks.h>.
29418 (__lxstat): Do not use CHECK_1.
29419 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29420 <bp-checks.h>.
29421 (__old_msgctl): Do not use CHECK_1.
29422 (__new_msgctl): Likewise.
29423 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29424 <bp-checks.h>.
29425 (__new_setrlimit): Do not use CHECK_1.
29426 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29427 <bp-checks.h>.
29428 (__old_shmctl): Do not use CHECK_1.
29429 (__new_shmctl): Likewise.
29430 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29431 <bp-checks.h>.
29432 (__xstat): Do not use CHECK_1.
29433 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29434 (__lxstat): Do not use CHECK_1.
29435 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29436 <bp-checks.h>.
29437 (___lxstat64): Do not use CHECK_1.
29438 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29439 (__old_msgctl): Do not use CHECK_1.
29440 (__new_msgctl): Likewise.
29441 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29442 <bp-checks.h>.
29443 (__gettimeofday): Do not use CHECK_1.
29444 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29445 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29446 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29447 <bp-checks.h>.
29448 (__gettimeofday): Do not use CHECK_1.
29449 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29450 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29451 (__new_shmctl): Do not use CHECK_1.
29452 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29453 <bp-checks.h>.
29454 (do_sigtimedwait): Do not use CHECK_1.
29455 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29456 <bp-checks.h>.
29457 (do_sigwaitinfo): Do not use CHECK_1.
29458 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29459 <bp-checks.h>.
29460 (msgctl): Do not use CHECK_1.
29461 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29462 <bp-checks.h>.
29463 (shmctl): Do not use CHECK_1.
29464 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29465 (ustat): Do not use CHECK_1.
29466 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29467 <bp-checks.h>.
29468 (__fxstat): Do not use CHECK_1.
29469 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29470 <bp-checks.h>.
29471 (__fxstatat): Do not use CHECK_1.
29472 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29473 <bp-checks.h>.
29474 (__lxstat): Do not use CHECK_1.
29475 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29476 <bp-checks.h>.
29477 (__xstat): Do not use CHECK_1.
29478 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29479 (__xstat): Do not use CHECK_1.
29480 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29481 (___xstat64): Do not use CHECK_1.
29482
b2c9eff4
JM
29483 [BZ #13550]
29484 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29485 definitions.
29486 (CHECK_BOUNDS_HIGH): Likewise.
29487 * string/strcpy.c: Do not include <bp-checks.h>.
29488 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29489
f1d70dad
RM
294902013-02-07 Roland McGrath <roland@hack.frob.com>
29491
29492 * nscd/nscd-client.h (__nscd_drop_map_ref):
29493 Add __attribute__ ((unused)).
29494 * nis/nss-nisplus.h (niserr2nss): Likewise.
29495
29496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29497 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29498
29499 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29500 Remove inline keyword.
29501 * include/rounding-mode.h (round_away): Likewise.
29502 * libio/wfileops.c (adjust_wide_data): Likewise.
29503 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29504 (__m128i_strloadu_tolower): Likewise.
29505 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29506 (__m128i_strloadu_tolower): Likewise.
29507 * time/mktime.c (ydhms_diff): Likewise.
29508 * locale/elem-hash.h (elem_hash): Likewise.
29509 * locale/setlocale.c (setdata): Likewise.
29510 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29511 (re_string_wchar_at): Likewise.
29512 (bitset_not, bitset_merge, bitset_mask): Likewise.
29513 [!(__GNUC__ > 3)] (inline): Remove macro.
29514 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29515 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29516 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29517 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29518 * string/memcmp.c (memcmp_bytes): Likewise.
29519 * locale/programs/locarchive.c (compute_hashval): Likewise.
29520 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29521 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29522 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29523 * nss/getent.c (print_rpc, print_protocols): Likewise.
29524 (print_passwd, print_group, print_aliases): Likewise.
29525 * nis/nss-nisplus.h (niserr2nss): Likewise.
29526 * nscd/connections.c (restart_p): Likewise.
29527 Change return type to bool.
29528
eab55bfb
RM
295292013-02-05 Roland McGrath <roland@hack.frob.com>
29530
7bd642f5
RM
29531 * Makeconfig (all-Depend-files): Add existing
29532 $(sorted-subdirs:=/Depend) files.
29533 (all-subdirs): Remove nss.
29534 * sysdeps/unix/inet/Subdirs: Add it here instead.
29535 * hesiod/Depend: New file.
29536
573c29b2
RM
29537 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29538 instead of calling alloca.
29539
b2e25af0
RM
29540 * io/lseek.c (__lseek): Rename to __libc_lseek.
29541 Define __lseek as an alias.
29542
eab55bfb
RM
29543 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29544
9a0d1941
CD
295452013-02-04 Carlos O'Donell <carlos@redhat.com>
29546
29547 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29548 else clause and remove check for non-standard endianness.
29549
b83bbec4
DM
295502013-02-04 David S. Miller <davem@davemloft.net>
29551
29552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29553
6277fdab
JM
295542013-02-04 Joseph Myers <joseph@codesourcery.com>
29555
29556 [BZ #13550]
29557 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29558 (__ubp_memchr): Remove prototype.
29559 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29560 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29561 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29562 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29563 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29564 Remove alias.
29565 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29566 (__ubp_memchr): Likewise.
29567 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29568 (__ubp_memchr): Likewise.
29569 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29570 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29571 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29572 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29573 CHECK_STRING.
29574 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29575 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29576 (__getcwd): Do not use CHECK_STRING.
29577 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29578 <bp-checks.h>.
29579 (__real_chown): Do not use CHECK_STRING.
29580 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29581 <bp-checks.h>.
29582 (fchownat): Do not use CHECK_STRING.
29583 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29584 CHECK_STRING.
29585 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29586 <bp-checks.h>.
29587 (__lchown): Do not use CHECK_STRING.
29588 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29589 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29590 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29591 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29593 include <bp-checks.h>.
29594 (truncate64): Do not use CHECK_STRING.
29595 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29596 <bp-checks.h>.
29597 (__real_chown): Do not use CHECK_STRING.
29598 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29599 <bp-checks.h>.
29600 (__lchown): Do not use CHECK_STRING.
29601 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29602 <bp-checks.h>.
29603 (__chown): Do not use CHECK_STRING.
29604 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29605 <bp-checks.h>.
29606 (truncate64): Do not use CHECK_STRING.
29607 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29608 Likewise.
29609 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29610 (__xmknod): Do not use CHECK_STRING.
29611 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29612 <bp-checks.h>.
29613 (__xmknodat): Do not use CHECK_STRING.
29614 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29615 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29616
903ae060
AS
296172013-02-04 Andreas Schwab <schwab@suse.de>
29618
29619 [BZ #14142]
29620 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29621 * include/netdb.h: Likewise for h_errno.
29622 * elf/tst-stackguard1.c: Include <tls.h>.
29623
542f9466
JK
296242013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29625
29626 * elf/link.h (struct link_map): Extend the l_addr comment.
29627 * include/link.h (struct link_map): Likewise.
29628
e782a927
JM
296292013-02-01 Joseph Myers <joseph@codesourcery.com>
29630
29631 [BZ #13550]
29632 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29633 (BOUNDED_1): Remove macro.
29634 * debug/backtrace.c: Don't include <bp-checks.h>.
29635 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29636 (__backtrace): Likewise.
29637 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29638 <bp-checks.h>.
29639 (__backtrace): Don't use BOUNDED_1.
29640 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29641 <bp-checks.h>.
29642 (__backtrace): Don't use BOUNDED_1.
29643 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29644 (__backtrace): Don't use BOUNDED_1.
29645 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29646 (shmat): Don't use BOUNDED_N.
29647
8cf28c5e
JM
296482013-01-31 Joseph Myers <joseph@codesourcery.com>
29649
3a7ac8a0
JM
29650 [BZ #13550]
29651 * sysdeps/generic/bp-start.h: Remove file.
29652 * csu/libc-start.c: Don't include <bp-start.h>.
29653 (LIBC_START_MAIN): Set up __environ directly instead of using
29654 INIT_ARGV_and_ENVIRON.
29655 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29656 <bp-start.h>.
29657
f3499f95
JM
29658 [BZ #13550]
29659 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29660 definitions.
29661 (CHECK_FCNTL): Likewise.
29662 (CHECK_N_PAGES): Likewise.
29663
32a45bea
JM
29664 [BZ #13550]
29665 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29666 definitions.
29667 (CHECK_SIGSET_NULL_OK): Likewise.
29668 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29669 <bp-checks.h>.
29670 (sigpending): Don't use CHECK_SIGSET.
29671 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29672 <bp-checks.h>.
29673 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29674 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29675 <bp-checks.h>.
29676 (do_sigsuspend): Don't use CHECK_SIGSET.
29677 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29678 use CHECK_SIGSET.
29679 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29680 (do_sigwait): Don't use CHECK_SIGSET.
29681 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29682 use CHECK_SIGSET.
29683 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29684 include <bp-checks.h>.
29685 (sigpending): Don't use CHECK_SIGSET.
29686 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29687 include <bp-checks.h>.
29688 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29689 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29690 <bp-checks.h>.
29691 (sigpending): Don't use CHECK_SIGSET.
29692 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29693 <bp-checks.h>.
29694 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29695
2e8a5c8c
JM
29696 [BZ #13550]
29697 * sysdeps/generic/bp-semctl.h: Remove file.
29698 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29699 <bp-checks.h> and <bp-semctl.h>.
29700 (__old_semctl): Don't use CHECK_SEMCTL.
29701 (__new_semctl): Likewise.
29702 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29703 and <bp-semctl.h>.
29704 (__old_semctl): Don't use CHECK_SEMCTL.
29705 (__new_semctl): Likewise.
29706 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29707 <bp-checks.h> and <bp-semctl.h>.
29708 (__old_semctl): Don't use CHECK_SEMCTL.
29709 (__new_semctl): Likewise.
29710 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29711 <bp-checks.h> and <bp-semctl.h>.
29712 (semctl): Don't use CHECK_SEMCTL.
29713
c2d54929
JM
29714 [BZ #13550]
29715 * Makerules (elide-bp-thunks): Remove variable.
29716 (elide-routines.oS): Don't use $(elide-bp-thunks).
29717 (elide-routines.os): Likewise.
29718 (elide-routines.o): Likewise.
29719 (elide-routines.op): Likewise.
29720 (elide-routines.og): Likewise.
29721 (objects): Don't use $(bp-thunks).
29722 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29723 include.
29724 (common-generated): Do not add s-proto-bp.d.
29725 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29726 (int): Likewise.
29727 (typ): Likewise.
29728 Do not generate makefile rules for bounded-pointer thunks.
29729 * sysdeps/generic/bp-thunks.h: Remove file.
29730 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29731 * sysdeps/unix/s-proto-bp.S: Likewise.
29732
8cf28c5e
JM
29733 [BZ #15062]
29734 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29735 parts of result separately when argument is not close to line from
29736 -i to i and one part of argument is small.
29737 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29738 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29739 * math/libm-test.inc (cacos_test): Add more tests.
29740 (casin_test): Likewise.
29741 (casinh_test): Likewise.
29742 * sysdeps/i386/fpu/libm-test-ulps: Update.
29743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29744
c4e33b8d
DM
297452013-01-31 David S. Miller <davem@davemloft.net>
29746
29747 * po/de.po: Update from translation team.
29748
3b60b421
MK
297492013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29750
29751 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29752
bb931195
TS
297532013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29754
b5a5da23
TS
29755 * configure.in (_AC_PROG_CC_C89): New definition.
29756 * configure: Regenerate.
29757
bb931195
TS
29758 * configure.in (AC_PROG_CPP): New definition.
29759 * configure: Regenerate.
29760
8c53a12c
JM
297612013-01-23 Joseph Myers <joseph@codesourcery.com>
29762
29763 * debug/tst-backtrace.h: New file.
29764 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29765 (ret): Remove variable.
29766 (x): Likewise.
29767 (FAIL): Remove macro.
29768 (NO_INLINE): Likewise.
29769 (fn1): Use match function instead of strstr.
29770 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29771 (ret): Remove variable.
29772 (x): Likewise.
29773 (FAIL): Remove macro.
29774 (NO_INLINE): Likewise.
29775 (fn): Use match function instead of strstr.
29776 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29777 (ret): Remove variable.
29778 (x): Likewise.
29779 (FAIL): Remove macro.
29780 (NO_INLINE): Likewise.
29781 (handle_signal): Use match function instead of strstr.
29782 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29783 (ret): Remove variable.
29784 (x): Likewise.
29785 (FAIL): Remove macro.
29786 (NO_INLINE): Likewise.
29787 (handle_signal): Use match function instead of strstr.
29788
4858fa2a
RM
297892013-01-23 Roland McGrath <roland@hack.frob.com>
29790
29791 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29792
bae8e7f5
DM
297932013-01-23 David S. Miller <davem@davemloft.net>
29794
29795 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29796 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29797 argument of CAS if possible.
29798 * sysdeps/sparc/sparc64/bits/atomic.h
29799 (__arch_compare_and_exchange_val_32_acq): Likewise.
29800 (__arch_compare_and_exchange_val_64_acq): Likewise.
29801
9cbbc4ae
PT
298022013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29803
29804 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29805 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29806 Include <limits.h>.
67b3f58c 29807 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29808
5655a0b5
AC
298092013-01-23 Adam Conrad <adconrad@0c3.net>
29810
29811 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29812 (LDFLAGS-tst-array5): Likewise.
29813
052aff95
JM
298142013-01-23 Joseph Myers <joseph@codesourcery.com>
29815
29816 [BZ #15036]
29817 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29818 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29819 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29820 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29821
7c1e01aa
DM
298222013-01-21 David S. Miller <davem@davemloft.net>
29823
29824 * sysdeps/sparc/backtrace.c: New file.
29825 * sysdeps/sparc/sparc32/backtrace.h: New file.
29826 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29827 * sysdeps/sparc/sparc64/backtrace.h: New file.
29828 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29829 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29830 -funwind-tables.
29831
ab087e0a
AS
298322013-01-21 Andreas Schwab <schwab@suse.de>
29833
29834 [BZ #15020]
29835 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29836 closed its stdout.
29837
ed689c2f
AS
298382013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29839
29840 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29841 "mpa2.h".
29842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29843
31d470ac
JM
298442013-01-18 Joseph Myers <joseph@codesourcery.com>
29845 Mark Mitchell <mark@codesourcery.com>
29846 Tom de Vries <tom@codesourcery.com>
29847 Paul Pluzhnikov <ppluzhnikov@google.com>
29848
29849 * debug/tst-backtrace2.c: New file.
29850 * debug/tst-backtrace3.c: Likewise.
29851 * debug/tst-backtrace4.c: Likewise.
29852 * debug/tst-backtrace5.c: Likewise.
29853 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29854 (CFLAGS-tst-backtrace3.c): Likewise.
29855 (CFLAGS-tst-backtrace4.c): Likewise.
29856 (CFLAGS-tst-backtrace5.c): Likewise.
29857 (LDFLAGS-tst-backtrace2): Likewise.
29858 (LDFLAGS-tst-backtrace3): Likewise.
29859 (LDFLAGS-tst-backtrace4): Likewise.
29860 (LDFLAGS-tst-backtrace5): Likewise.
29861 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29862 tst-backtrace4 and tst-backtrace5.
29863
90567f30 298642013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29865 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29866
29867 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29868 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29869 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29870 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29872 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29873 "+r" and remove output regs list as redundant. Add explicit inline
29874 asm to specify register of return val to work around compiler codegen
29875 bug. Remove (int) cast on return value. Add return type parameter to
29876 use in macro so that this macro does not truncate return value for
29877 64-bit values.
29878 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29879 pass to INTERNAL_VSYSCALL_NCS.
29880 (INLINE_VSYSCALL): Add 'long int' as return type to
29881 INTERNAL_VSYSCALL_NCS macro invocation.
29882 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29883 INTERNAL_VSYSCALL_NCS macro invocation.
29884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29885
d3b9ea61
SP
298862013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29887
0b57daeb
SP
29888 [BZ #14496]
29889 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29890 Fix application of SIMD FP exception mask.
29891
caa99d06
SP
29892 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29893 mp_no from a power of two.
29894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29895 __mpexp_twomm1. Use __pow_mp.
29896
d3b9ea61
SP
29897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29898 multiplication.
29899
1dbaee3c
DM
299002013-01-17 David S. Miller <davem@davemloft.net>
29901
29902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29903
728d7b43
JM
299042013-01-17 Joseph Myers <joseph@codesourcery.com>
29905
29906 [BZ #15023]
29907 * include/complex.h: Condition contents on [!_COMPLEX_H].
29908 (__kernel_casinhf): New prototype.
29909 (__kernel_casinh): Likewise.
29910 (__kernel_casinhl): Likewise.
29911 * math/Makefile (libm_calls): Add k_casinh.
29912 * math/k_casinh.c: New file.
29913 * math/k_casinhf.c: Likewise.
29914 * math/k_casinhl.c: Likewise.
29915 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29916 finite nonzero arguments.
29917 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29918 finite nonzero arguments.
29919 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29920 finite nonzero arguments.
29921 * math/s_casinh.c: Do not include <float.h>.
29922 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29923 * math/s_casinhf.c: Do not include <float.h>.
29924 (__casinhf): Move code for finite nonzero arguments to
29925 k_casinhf.c.
29926 * math/s_casinhl.c: Do not include <float.h>.
29927 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29928 redefine.
29929 (__casinhl): Move code for finite nonzero arguments to
29930 k_casinhl.c.
29931 * math/libm-test.inc (cacos_test): Add more tests.
29932 * sysdeps/i386/fpu/libm-test-ulps: Update.
29933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29934
2a26ef3a
PT
299352013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29936
29937 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29938 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29939 [!HAVE_MREMAP]: Remove [defined linux] case.
29940 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29941
a897655d
SP
299422013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29943
29944 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29945
881ebe89 299462013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29947
29948 * elf/elf.h (R_386_SIZE32): New relocation.
29949 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29950 R_386_SIZE32.
29951 (elf_machine_rela): Likewise.
29952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29953 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29954
59981e9b
JM
299552013-01-17 Joseph Myers <joseph@codesourcery.com>
29956
29957 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29958 (FP_FAST_FMA): Do not define.
29959 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29960 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29961 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29962 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29963 !_SOFT_FLOAT]: Likewise.
29964 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29965 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29966 value.
29967 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29968 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29969 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29970 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29971 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29972 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29973 file.
29974
cfa8054f
AS
299752013-01-16 Andreas Schwab <schwab@suse.de>
29976
29977 [BZ #14327]
29978 * include/stdlib.h (__mktemp): Add declaration.
29979 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29980 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29981
dd930cc5
SP
299822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29983
881ebe89
SP
29984 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29985 definitions.
29986 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29987 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29988 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29989 definitions here.
29990 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29991 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29992 definitions.
29993 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29994 and ONE.
29995 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29996 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29997 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29998 definitions.
29999 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30000 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30001 definitions.
30002 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 30003
dd930cc5
SP
30004 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30005
c19a9f89
DM
300062013-01-15 David S. Miller <davem@davemloft.net>
30007
1aa61767
DM
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30009 trunc{,f} to libm-sysdep_routes.
30010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30012 file.
30013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30015 file.
30016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30017 file.
30018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30020 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30021 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30022 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30023 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30024 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30025 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30026
c42d5e98
DM
30027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30028 nearbyint{,f} to libm-sysdep_routes.
30029 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30031 New file.
30032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30033 file.
30034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30035 New file.
30036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30037 file.
30038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30040 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30041 file.
30042 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30043 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30044 file.
30045 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30046 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30047 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30048
c19a9f89
DM
30049 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30050 libc_feholdexcept and libc_fesetenv.
30051
357679d2
MF
300522013-01-15 Mike Frysinger <vapier@gentoo.org>
30053
30054 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30055
65a82e3d
DM
300562013-01-14 David S. Miller <davem@davemloft.net>
30057
8b954ab9
DM
30058 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30059 (SPARC_ASM_VIS2_IFUNC): Likewise.
30060 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30062 use of 'siam' instruction.
30063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30064 Likewise.
30065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30066 Likewise.
30067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30068 Likewise.
30069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30074 file.
30075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30076 file.
30077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30078 file.
30079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30080 file.
30081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30086 new VIS2 routines.
30087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30090 Likewise.
30091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30096 routines to libm-sysdep_routines.
30097 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30098
65a82e3d
DM
30099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30100 fdim/fdimf to libm-sysdep_routines.
30101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30102 file.
30103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30105 file.
30106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30109 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30110 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30111 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30112 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30113
e34ab705
SP
301142013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30115
2a91b573
SP
30116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30117 to optimize copies.
30118
1066a534
SP
30119 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30122
e34ab705
SP
30123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30124 local variable MPTWO.
30125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30126 Likewise.
30127
aba5e596
MF
301282013-01-13 Mike Frysinger <vapier@gentoo.org>
30129
30130 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30131 GLOB_NOESCAPE.
30132
e557e9e5
MF
301332013-01-13 Mike Frysinger <vapier@gentoo.org>
30134
30135 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30136
0428cec9
MF
301372013-01-13 Mike Frysinger <vapier@gentoo.org>
30138
30139 * manual/pattern.texi (glob_t): Document gl_flags.
30140 (glob64_t): Likewise.
30141
8794a964
DM
301422013-01-11 David S. Miller <davem@davemloft.net>
30143
66438c3f
RM
30144 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30145 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30146 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
30147 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30148 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30149 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30150 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30151 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30152 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30153 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30154 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30155 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30156 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30157
4ae4244d
DM
30158 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30159 sparc V9 rather than using V8 code.
30160 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30161 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30162
8794a964
DM
30163 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30164 Move to...
30165 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30166 Here.
30167
6270516e
RM
301682013-01-11 Roland McGrath <roland@hack.frob.com>
30169
30170 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30171 not in the main loop.
30172 * configure: Regenerated.
30173
6a57d931
JM
301742013-01-11 Joseph Myers <joseph@codesourcery.com>
30175
30176 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30177 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30178 to just #else.
30179 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30180 [!__GLIBC_HAVE_LONG_LONG] case.
30181 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30182 condition to just #else.
30183 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30184 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30185 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30186 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30187 unconditional.
30188 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30189 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30190 #elif condition to just #else.
30191 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30192 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30193 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30194 #elif condition to just #else.
30195
0e8529e9
SE
301962013-01-11 Steve Ellcey <sellcey@mips.com>
30197
30198 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30199 (EF_MIPS_ARCH_64): Fix value.
30200 (EF_MIPS_ARCH_32R2): New.
30201 (EF_MIPS_ARCH_64R2): New.
30202
740b3dbe
L
302032013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30204
30205 * Makeconfig (+link-pie-before-libc): New.
30206 (+link-pie-after-libc): Likewise.
30207 (+link-pie-tests): Likewise.
30208 (+link-pie): Rewritten.
30209 (link-before-libc): Remove $(config-LDFLAGS).
30210 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30211 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30212 (config-LDFLAGS): Renamed to ...
30213 (rtld-LDFLAGS): This.
30214 (rtld-tests-LDFLAGS): New macro.
30215 (link-libc-rpath-link): Likewise.
30216 (link-libc-tests-rpath-link): Likewise.
30217 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30218 (link-libc): Prepand $(link-libc-rpath-link).
30219 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30220 (test-program-prefix): New macro.
30221 (test-via-rtld-prefix): Likewise.
30222 (test-program-cmd): Likewise.
30223 (host-test-program-cmd): Likewise.
30224 * Makefile ($(common-objpfx)testrun.sh): Replace
30225 $(run-program-prefix) with $(test-program-prefix).
30226 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30227 $(rtld-LDFLAGS).
30228 ($(common-objpfx)shlib.lds): Likewise.
30229 (build-module-helper): Likewise.
30230 ($(common-objpfx)format.lds): Likewise.
30231 * Rules (binaries-pie-tests): New.
30232 (binaries-pie-notests): Likewise.
30233 (binaries-pie): Rewritten.
30234 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30235 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30236 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30237 (make-test-out): Replace $(host-built-program-cmd) with
30238 $(host-test-program-cmd).
30239 * config.make.in (build-hardcoded-path-in-tests): New variable.
30240 * configure.in (--enable-hardcoded-path-in-tests): New configure
30241 option.
30242 (hardcoded_path_in_tests): New AC_SUBST.
30243 * configure: Regenerated.
30244 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30245 $(built-program-cmd) with $(test-program-cmd).
30246 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30247 (test_program_cmd): This.
30248 * elf/Makefile ($(objpfx)order.out): Run test with
30249 $(test-program-prefix).
30250 ($(objpfx)order2.out): Likewise.
30251 ($(objpfx)tst-initorder.out): Likewise.
30252 ($(objpfx)tst-initorder2.out): Likewise.
30253 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30254 $(test-program-cmd).
30255 ($(objpfx)tst-array1-static.out): Likewise.
30256 ($(objpfx)tst-array2.out): Likewise.
30257 ($(objpfx)tst-array3.out): Likewise.
30258 ($(objpfx)tst-array4.out): Likewise.
30259 ($(objpfx)tst-array5.out): Likewise.
30260 ($(objpfx)tst-array5-static.out): Likewise.
30261 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30262 $(test-program-cmd).
30263 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30264 $(run-program-prefix) with $(test-program-prefix).
30265 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30266 (test_program_prefix): This.
30267 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30268 $(run-program-prefix) with $(test-program-prefix).
30269 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30270 (test_program_prefix): This.
30271 * iconvdata/tst-tables.sh: Likewise.
30272 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30273 $(run-program-prefix) with $(test-program-prefix).
30274 ($(objpfx)tst-translit.out): Likewise.
30275 ($(objpfx)tst-gettext2.out): Likewise.
30276 ($(objpfx)tst-gettext4.out): Likewise.
30277 ($(objpfx)tst-gettext6.out): Likewise.
30278 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30279 (test_program_prefix): This.
30280 * intl/tst-gettext2.sh: Likewise.
30281 * intl/tst-gettext4.sh Likewise.
30282 * intl/tst-gettext6.sh: Likewise.
30283 * intl/tst-translit.sh: Likewise.
30284 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30285 with $(test-program-cmd).
30286 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30287 $(run-program-prefix) with $(test-program-prefix).
30288 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30289 (test_program_prefix): This.
30290 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30291 $(run-program-prefix) with $(test-program-prefix).
30292 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30293 (test_program_prefix): This.
30294 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30295 * posix/Makefile ($(objpfx)globtest.out): Replace
30296 $(run-via-rtld-prefix) and $(test-wrapper) with
30297 $(test-program-prefix) and $(test-via-rtld-prefix).
30298 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30299 $(test-program-prefix).
30300 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30301 $(host-test-program-cmd).
30302 (tst-spawn-ARGS): Likewise.
30303 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30304 $(test-program-prefix).
30305 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30306 (test_via_rtld_prefix): This.
30307 (test_wrapper): Renamed to ...
30308 (test_program_prefix): This.
30309 (run_program_prefix): Replaced by test_program_prefix.
30310 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30311 (test_program_prefix): This.
30312 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30313 with $(host-test-program-cmd).
30314 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30315 $(run-program-prefix) with $(test-program-prefix).
30316 ($(objpfx)tst-printf.out): Likewise.
30317 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30318 $(test-program-cmd).
30319 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30320 (test_program_prefix): This.
30321 * stdio-common/tst-unbputc.sh: Likewise.
30322 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30323 $(run-program-prefix) with $(test-program-prefix).
30324 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30325 (test_program_prefix): This.
30326 * string/Makefile ($(objpfx)tst-svc.out): Replace
30327 $(built-program-cmd) with $(test-program-cmd).
30328
c6fe55cf
AJ
303292013-01-11 Andreas Jaeger <aj@suse.de>
30330
30331 [BZ #15003]
30332 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30333 value. Sync with Linux 3.7.
30334
9e6919c8
DM
303352013-01-10 David S. Miller <davem@davemloft.net>
30336
30337 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30338 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30339 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30340
1c9f1a02
RM
303412013-01-10 Roland McGrath <roland@hack.frob.com>
30342
30343 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30344 never set.
30345 * configure: Regenerated.
30346
b9de2dde
DM
303472013-01-10 David S. Miller <davem@davemloft.net>
30348
30349 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30350 sparc V9 rather than using V8 code.
30351 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30352 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30353
e7f68ef4
RM
303542013-01-10 Roland McGrath <roland@hack.frob.com>
30355
30356 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30357 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30358 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30359 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30360 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30361 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30362 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30363 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30364 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30365 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30366 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30367 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30368 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30369 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30370 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30371 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30372 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30373 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30374 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30375 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30376 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30377 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30378 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30379 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30380 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30381 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30382 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30383
5a47cc9c
DM
303842013-01-10 David S. Miller <davem@davemloft.net>
30385
30386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30387
4cf8f209
L
303882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30389
30390 * posix/Makefile (tests-static): New variable.
30391 (tests): Add $(tests-static).
30392 (tst-exec-static-ARGS): New variable.
30393 (tst-spawn-static-ARGS): Likewise.
30394 * posix/tst-exec-static.c: New file.
30395 * posix/tst-spawn-static.c: Likewise.
30396 * posix/tst-exec.c: Support run directly.
30397 * posix/tst-spawn.c: Likewise.
30398
fed0faa1
JM
303992013-01-10 Joseph Myers <joseph@codesourcery.com>
30400
828beb13
JM
30401 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30402 long.
30403 * math/bits/mathcalls.h (llrint): Likewise.
30404 (llround): Likewise.
30405 * stdlib/stdlib.h (struct drand48_data): Likewise.
30406 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30407 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30408 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30409 Likewise.
30410 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30411 Likewise.
30412 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30413 (elf_greg_t): Likewise.
30414 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30415 (__jmp_buf): Likewise.
30416 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30417 definitions.
30418 (llrint): Likewise, for all definitions.
30419 (llrintl): Likewise.
30420
fed0faa1
JM
30421 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30422 Remove [__GNUC__] condition.
30423 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30424 condition to just [__USE_ISOC99].
30425 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30426
1a20cb20
L
304272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30428
30429 [BZ #14200]
30430 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30431 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30432 defined.
30433 (_POSIX_V6_ILP32_OFF32): Likewise.
30434 (_XBS5_ILP32_OFF32): Likewise.
30435 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30436 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30437
751b85f7
SP
304382013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30439
7490eb81
SP
30440 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30441
751b85f7
SP
30442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30443 doubles __mpexp_twomm1. Adjust usage.
30444 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30445 Remove.
30446
988197f0
AS
304472013-01-10 Andreas Schwab <schwab@suse.de>
30448
30449 [BZ #14964]
30450 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30451 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30452
e83d7298
DM
304532013-01-09 David S. Miller <davem@davemloft.net>
30454
034ed64b 30455 [BZ #15003]
57f41c40
AS
30456 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30457 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30458 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30459 (TCP_FASTOPEN): Define.
e83d7298
DM
30460 (tcp_repair_opt): New structure.
30461 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30462 enum values.
57f41c40
AS
30463 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30464 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30465 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
30466 (tcp_cookie_transactions): New structure.
30467
d5e0b9bd
AB
304682013-01-09 Anton Blanchard <anton@samba.org>
30469
30470 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30471 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30472 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30473 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30474
0c07e3ea
JM
304752013-01-09 Joseph Myers <joseph@codesourcery.com>
30476
30477 * include/features.h (__USE_ANSI): Remove.
30478
232f7002
RM
304792013-01-09 Roland McGrath <roland@hack.frob.com>
30480
ad98e30c
RM
30481 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30482
232f7002
RM
30483 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30484
950c99ca
SP
304852013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30486
b5792741
SP
30487 * sysdeps/s390/fpu/libm-test-ulps: Update.
30488
47cf2278
SP
30489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30490
950c99ca
SP
30491 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30492 (__acr): Likewise.
30493 (__cpy): Likewise.
30494 (norm): Likewise.
30495 (denorm): Likewise.
30496 (__mp_dbl): Likewise.
30497 (__dbl_mp): Likewise.
30498 (add_magnitudes): Likewise.
30499 (sub_magnitudes): Likewise.
30500 (__add): Likewise.
30501 (__sub): Likewise.
30502 (__mul): Likewise.
30503 (__inv): Likewise.
30504 (__dvd): Likewise.
30505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30506 (__acr): Likewise.
30507 (__cpy): Likewise.
30508 (norm): Likewise.
30509 (denorm): Likewise.
30510 (__mp_dbl): Likewise.
30511 (__dbl_mp): Likewise.
30512 (add_magnitudes): Likewise.
30513 (sub_magnitudes): Likewise.
30514 (__add): Likewise.
30515 (__sub): Likewise.
30516 (__mul): Likewise.
30517 (__inv): Likewise.
30518 (__dvd): Likewise.
30519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30520 (__acr): Likewise.
30521 (__cpy): Likewise.
30522 (norm): Likewise.
30523 (denorm): Likewise.
30524 (__mp_dbl): Likewise.
30525 (__dbl_mp): Likewise.
30526 (add_magnitudes): Likewise.
30527 (sub_magnitudes): Likewise.
30528 (__add): Likewise.
30529 (__sub): Likewise.
30530 (__mul): Likewise.
30531 (__inv): Likewise.
30532 (__dvd): Likewise.
30533
eede9df9
JM
305342013-01-08 Joseph Myers <joseph@codesourcery.com>
30535
30536 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30537 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30538 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30539 2 && __USE_EXTERN_INLINES]: Likewise.
30540
c40ea3d9
AJ
305412013-01-08 Andreas Jaeger <aj@suse.de>
30542
30543 [BZ# 14985]
30544 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30545 Remove.
30546 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30547 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30548
2ccdea26
AB
305492013-01-07 Anton Blanchard <anton@samba.org>
30550
30551 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30552 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30553 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30554 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30555 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30556 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30557 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30558 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30560 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30561 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30562 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30563 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30564 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30565 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30566 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30567 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30568 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30569 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30570 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30571 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30572 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30573 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30574 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30575 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30576 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30577 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30578 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30580 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30581 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30583 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30584 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30585 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30586 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30587 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30589 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30590 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30591 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30592 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30593 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30594
a9708fed
JM
305952013-01-07 Joseph Myers <joseph@codesourcery.com>
30596
375607b9
JM
30597 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30598 (__MALLOC_PMT): Likewise.
30599 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30600 [__GNUC__], only on [_LIBC].
30601 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30602 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30603 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30604 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30605 forward declaration.
30606 (realloc_hook_ini): Likewise.
30607 (memalign_hook_ini): Likewise.
30608 (__libc_memalign): Do not use __MALLOC_PMT in variable
30609 declaration.
30610 (__libc_valloc): Likewise.
30611 (__libc_pvalloc): Likewise.
30612 (__libc_calloc): Likewise.
30613 (__posix_memalign): Likewise.
30614
a9708fed
JM
30615 [BZ #14996]
30616 * math/s_casinh.c: Include <float.h>.
30617 (__casinh): Do not do computation with squaring and square root
30618 for large arguments.
30619 * math/s_casinhf.c: Include <float.h>.
30620 (__casinhf): Do not do computation with squaring and square root
30621 for large arguments.
30622 * math/s_casinhl.c: Include <float.h>.
30623 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30624 (__casinhl): Do not do computation with squaring and square root
30625 for large arguments.
30626 * math/libm-test.inc (casin_test): Add more tests.
30627 (casinh_test): Likewise.
30628 * sysdeps/i386/fpu/libm-test-ulps: Update.
30629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30630
afec409a
L
306312013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30632
30633 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30634 (__x86_64_raw_data_cache_size): Likewise.
30635 (__x86_64_data_cache_size_half): Likewise.
30636 (__x86_64_raw_data_cache_size_half): Likewise.
30637 (__x86_64_shared_cache_size): Likewise.
30638 (__x86_64_raw_shared_cache_size): Likewise.
30639 (__x86_64_shared_cache_size_half): Likewise.
30640 (__x86_64_raw_shared_cache_size_half): Likewise.
30641 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30642 to ...
30643 (__x86_data_cache_size): This.
30644 (__x86_64_raw_data_cache_size): Renamed to ...
30645 (__x86_raw_data_cache_size): This.
30646 (__x86_64_data_cache_size_half): Renamed to ...
30647 (__x86_data_cache_size_half): This.
30648 (__x86_64_raw_data_cache_size_half): Renamed to ...
30649 (__x86_raw_data_cache_size_half): This.
30650 (__x86_64_shared_cache_size): Renamed to ...
30651 (__x86_shared_cache_size): This.
30652 (__x86_64_raw_shared_cache_size): Renamed to ...
30653 (__x86_raw_shared_cache_size): This.
30654 (__x86_64_shared_cache_size_half): Renamed to ...
30655 (__x86_shared_cache_size_half): This.
30656 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30657 (__x86_raw_shared_cache_size_half): This.
30658 * sysdeps/x86_64/memcpy.S: Updated.
30659 * sysdeps/x86_64/memset.S: Likewise.
30660 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30661 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30663
0b3986d0
DM
306642013-01-04 David S. Miller <davem@davemloft.net>
30665
30666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30667
e47686e9
AS
306682013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30669
d643bac1
AS
30670 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30671 1 to avoid redefinition warning.
30672 (__USE_GNU): Don't define.
30673 (init_signaling_nan): Protoize.
30674
e47686e9
AS
30675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30676
b18decba
SP
306772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30678
fffb407f
SP
30679 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30681 (__cpymn): Likewise.
30682 (norm): Remove commented code.
30683 (denorm): Likewise.
30684 (__mp_dbl): Likewise.
30685 (__inv): Likewise.
30686 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30687 (__cpymn): Likewise.
30688 (norm): Remove commented code.
30689 (denorm): Likewise.
30690 (__mp_dbl): Likewise.
30691 (__inv): Likewise.
30692
b18decba
SP
30693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30694 mp_no value for 1.0 and 2.0.
30695 (norm): Use RADIXI instead of radixi.d.
30696 (denorm): Likewise.
30697 (__mul): Use 0.0 instead of zero.d.
30698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30699 mp_no value for 1.0 and 2.0.
30700 (norm): Use RADIXI instead of radixi.d.
30701 (denorm): Likewise.
30702 (__mul): Use 0.0 instead of zero.d.
30703
cdc1c96f
JM
307042013-01-04 Joseph Myers <joseph@codesourcery.com>
30705
30706 [BZ #14994]
30707 * math/s_casinh.c (__casinh): Reduce finite argument to first
30708 quadrant then set signs of results at the end.
30709 * math/s_casinhf.c (__casinhf): Likewise.
30710 * math/s_casinhl.c (__casinhl): Likewise.
30711 * math/libm-test.inc (casin_test): Add more tests.
30712 (casinh_test): Likewise.
30713 * sysdeps/i386/fpu/libm-test-ulps: Update.
30714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30715
302913e1
SP
307162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30717
6420d207
SP
30718 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30719
a9e48ab4
SP
30720 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30721
b7837264
SP
30722 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30723 declarations.
30724 (denorm): Likewise.
30725 (__mp_dbl): Likewise.
30726 (__inv): Likewise.
30727
f8af25d2
SP
30728 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30729 and adjust the header comment.
30730
302913e1
SP
30731 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30732 variable name from declaration.
30733
5d7dd1ca
L
307342013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30735
30736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30737 Initialize COMMON_CPUID_INDEX_7 element.
30738 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30739 (CPUID_RTM): Likewise.
30740 (HAS_RTM): Likewise.
30741 (COMMON_CPUID_INDEX_7): New enum.
30742
2f5f40f4
AS
307432013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30744
30745 [BZ #14981]
30746 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30747 size is zero, record memory as freed.
30748
4056f4a0
AJ
307492013-01-03 Andreas Jaeger <aj@suse.de>
30750
30751 * po/ia.po: Add new Interlingua translation.
30752
ab15736f 307532012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30754
30755 * locale/programs/localedef.c: Fix description of '--posix' flag.
30756
568035b7
JM
307572013-01-02 Joseph Myers <joseph@codesourcery.com>
30758
e6898b8d
JM
30759 * NEWS: Update dates in second copyright notice.
30760 * README: Update copyright dates in example.
30761 * manual/libc.texinfo: Update copyright dates.
30762 * scripts/test-installation.pl: Update copyright date in --version
30763 output.
30764
0e2f9562
JM
30765 * hurd/ctty-input.c: Fix copyright notice formatting.
30766 * hurd/ctty-output.c: Likewise.
30767 * hurd/dtable.c: Likewise.
30768 * hurd/hurd-raise.c: Likewise.
30769 * hurd/hurdprio.c: Likewise.
30770 * hurd/msgportdemux.c: Likewise.
30771 * misc/sys/file.h: Likewise.
30772 * misc/sys/ioctl.h: Likewise.
30773 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30774 * sysdeps/mach/hurd/chdir.c: Likewise.
30775 * sysdeps/mach/hurd/fchdir.c: Likewise.
30776 * sysdeps/mach/hurd/rename.c: Likewise.
30777 * sysdeps/mach/hurd/rmdir.c: Likewise.
30778 * sysdeps/mach/hurd/seekdir.c: Likewise.
30779 * sysdeps/mach/hurd/setsid.c: Likewise.
30780 * sysdeps/posix/wait3.c: Likewise.
30781
568035b7
JM
30782 * All files with FSF copyright notices: Update copyright dates
30783 using scripts/update-copyrights.
30784 * intl/plural.c: Regenerated.
30785 * locale/programs/charmap-kw.h: Likewise.
30786 * locale/programs/locfile-kw.h: Likewise.
30787
da08f647
SP
307882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30789
0f5477af
SP
30790 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30791 four values.
30792
44e0d4c2
SP
30793 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30794 calculation loop and add branch prediction.
30795
4d55b4e5
SP
30796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30797 check access beyond bounds of m1np.
30798
da08f647
SP
30799 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30800 MPTWO.
30801 (__inv): Remove local variable MPTWO to use the global
30802 constant.
30803 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30804 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30805 variable MPTWO.
30806 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30807 MP3HALFS static const.
30808
8e051029
DM
308092013-01-01 David S. Miller <davem@davemloft.net>
30810
30811 * po/ca.po: Update from translation team.
30812
f4cf5f2d
JM
308132013-01-01 Joseph Myers <joseph@codesourcery.com>
30814
30815 * scripts/update-copyrights: New file.
30816 * Makeconfig: Reformat copyright notice.
30817 * ctype/ctype.h: Likewise.
30818 * debug/swprintf_chk.c: Likewise.
30819 * elf/dl-cache.c: Likewise.
30820 * elf/dl-debug.c: Likewise.
30821 * elf/dl-object.c: Likewise.
30822 * grp/initgroups.c: Likewise.
30823 * hurd/Makefile: Likewise.
30824 * hurd/hurd/signal.h: Likewise.
30825 * hurd/hurdfault.c: Likewise.
30826 * hurd/hurdioctl.c: Likewise.
30827 * hurd/hurdlookup.c: Likewise.
30828 * hurd/intr-msg.c: Likewise.
30829 * iconv/gconv_open.c: Likewise.
30830 * libio/swprintf.c: Likewise.
30831 * locale/lc-ctype.c: Likewise.
30832 * locale/nl_langinfo.c: Likewise.
30833 * mach/Machrules: Likewise.
30834 * mach/Makefile: Likewise.
30835 * malloc/obstack.h: Likewise.
30836 * manual/Makefile: Likewise.
30837 * manual/tsort.awk: Likewise.
30838 * misc/bits/stab.def: Likewise.
30839 * nis/nis_print_group_entry.c: Likewise.
30840 * nis/nis_table.c: Likewise.
30841 * nis/nss_compat/compat-pwd.c: Likewise.
30842 * nis/nss_compat/compat-spwd.c: Likewise.
30843 * po/Makefile: Likewise.
30844 * posix/fnmatch.c: Likewise.
30845 * posix/regex.h: Likewise.
30846 * resolv/Makefile: Likewise.
30847 * resolv/nss_dns/dns-network.c: Likewise.
30848 * resolv/res_hconf.c: Likewise.
30849 * scripts/gen-sorted.awk: Likewise.
30850 * soft-fp/soft-fp.h: Likewise.
30851 * stdio-common/printf.h: Likewise.
30852 * stdlib/monetary.h: Likewise.
30853 * stdlib/random.c: Likewise.
30854 * stdlib/random_r.c: Likewise.
30855 * sysdeps/generic/Makefile: Likewise.
30856 * sysdeps/gnu/Makefile: Likewise.
30857 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30859 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30863 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30864 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30880 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30881 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30882 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30883 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30884 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30885 * sysdeps/mach/hurd/errnos.awk: Likewise.
30886 * sysdeps/mach/hurd/fork.c: Likewise.
30887 * sysdeps/mach/hurd/getcwd.c: Likewise.
30888 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30889 * sysdeps/mach/hurd/mmap.c: Likewise.
30890 * sysdeps/mach/hurd/utimes.c: Likewise.
30891 * sysdeps/mach/hurd/xmknod.c: Likewise.
30892 * sysdeps/posix/profil.c: Likewise.
30893 * sysdeps/posix/readdir_r.c: Likewise.
30894 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30895 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30896 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30897 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30899 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30900 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30901 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30903 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30904 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30905 * sysdeps/pthread/lio_listio.c: Likewise.
30906 * sysdeps/sparc/dl-procinfo.h: Likewise.
30907 * sysdeps/unix/i386/sysdep.S: Likewise.
30908 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30909 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30910 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30911 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30913 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30914 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30915 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30916 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30917 * sysdeps/wordsize-32/divdi3.c: Likewise.
30918 * time/sys/time.h: Likewise.
30919 * wcsmbs/Makefile: Likewise.
30920
0549fbba
DM
309212013-01-01 David S. Miller <davem@davemloft.net>
30922
a141f1a7
DM
30923 * po/fr.po: Update from translation team.
30924
0549fbba
DM
30925 * catgets/gencat.c: Update copyright year.
30926 * csu/version.c: Likewise.
30927 * debug/catchsegv.sh: Likewise.
30928 * debug/pcprofiledump.c: Likewise.
30929 * debug/xtrace.sh: Likewise.
30930 * elf/ldconfig.c: Likewise.
30931 * elf/ldd.bash.in: Likewise.
30932 * elf/pldd.c: Likewise.
30933 * elf/sotruss.ksh: Likewise.
30934 * elf/sprof.c: Likewise.
30935 * iconv/iconv_prog.c: Likewise.
30936 * iconv/iconvconfig.c: Likewise.
30937 * locale/programs/locale.c: Likewise.
30938 * locale/programs/localedef.c: Likewise.
30939 * login/programs/pt_chown.c: Likewise.
30940 * malloc/memusage.sh: Likewise.
30941 * malloc/memusagestat.c: Likewise.
30942 * malloc/mtrace.pl: Likewise.
30943 * nscd/nscd.c: Likewise.
30944 * nss/getent.c: Likewise.
30945 * nss/makedb.c: Likewise.
30946 * posix/getconf.c: Likewise.
30947
18ea052c
SP
309482012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30949
30950 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30951 numbers.
30952
9c89fca6
MF
309532012-12-30 Mike Frysinger <vapier@gentoo.org>
30954
30955 * math/bits/mathcalls.h (modf): Use __nonnull.
30956
085ec079
SP
309572012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30958
30959 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30960 (split): Use macro CN instead of the bare value.
30961 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30962 could be used.
30963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30964 instead of the bare value.
30965 (power1): Likewise.
30966
6d9f97e1
SP
309672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30968
d63f73be
SP
30969 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30970 __ATAN_TWOM.
30971 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30972
6d9f97e1
SP
30973 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30974 their values.
30975 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30976 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30977 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30978 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30979
4c4febf5
AJ
309802012-12-28 Andreas Jaeger <aj@suse.de>
30981
af5843ef
AJ
30982 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30983 values are from Linux 3.7.
30984
4c4febf5
AJ
30985 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30986 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30987
99136f82
SP
309882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30989
2f216c3c 30990 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30991 TRUE case.
30992
99136f82
SP
30993 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30994 (norm): Likewise.
30995 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30996 variables with preprocessor constants.
30997 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30998 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30999 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31000
7fffbdff
BH
310012012-12-27 Bruno Haible <bruno@clisp.org>
31002
31003 [BZ #14317]
31004 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31005 only if needed.
31006
b76eb5f0
SP
310072012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31008
31a7fe5c
SP
31009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31010 and use variable directly.
31011 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31012
b76eb5f0
SP
31013 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31014 MPONE.
31015 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31016 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31017 variable MPONE.
31018 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31020 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31021 include directive. Remove local variable MPONE.
31022 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31023 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31024 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31025
2c8bfe7d
DM
310262012-12-25 David S. Miller <davem@davemloft.net>
31027
31028 * version.h (RELEASE): Set to "development".
31029 (VERSION): Set to "2.17.90".
31030 * NEWS: Add 2.18 section.
31031
147d03b0
DM
310322012-12-21 David S. Miller <davem@davemloft.net>
31033
31034 * po/hr.po: Update from translation team.
31035
a8ebb2b9
AK
310362012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31037
31038 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31039
95b4f1b6
SE
310402012-12-19 Steve Ellcey <sellcey@mips.com>
31041
b2d94007 31042 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 31043
cedb2a90
MS
310442012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31045
31046 * manual/contrib.texi (Contributors): Spelling correction.
31047
bbf527d6
DM
310482012-12-15 David S. Miller <davem@davemloft.net>
31049
31050 * po/ru.po: Update from translation team.
31051
bc38c906
DM
310522012-12-13 David S. Miller <davem@davemloft.net>
31053
85429b1a
DM
31054 * NEWS: Mention IFUNC testsuite enhancements.
31055
d283e353
DM
31056 * po/pl.po: Update from translation team.
31057 * po/bg.po: Likewise.
31058
bc38c906
DM
31059 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31060 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31061
a181b0d7
DM
310622012-12-11 David S. Miller <davem@davemloft.net>
31063
4641d57e
DM
31064 * po/sv.po: Update from translation team.
31065
f7bc6495
DM
31066 * po/vi.po: Update from translation team.
31067
6fc9048f
DM
31068 * po/cs.po: Update from translation team.
31069
a181b0d7
DM
31070 * po/de.po: Update from translation team.
31071 * po/eo.po: Likewise.
31072 * po/nl.po: Likewise.
31073
f70bfe80
SP
310742012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31075
3c8b4190
SP
31076 [BZ #14246]
31077 * manual/argp.texi (Argp Helper Functions): Move node to follow
31078 Argp Parsing State.
31079
f70bfe80
SP
31080 [BZ #14872]
31081 * manual/conf.texi (Limits on File System Capacity): Mention if
31082 terminating null is included in the max size.
31083
188f0adf
AJ
310842012-12-10 Andreas Jaeger <aj@suse.de>
31085
31086 * po/cs.po: Update from translation team.
31087
56e7d3ad
SP
310882012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31089
31090 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31091 void pointer and cast to uintptr_t.
31092 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31093 path.
31094 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31095 * sysdeps/s390/s390-64/memset.S: Likewise.
31096
76f2d2ea 310972012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
31098
31099 [BZ #14833]
31100 * menual/message.texi (Message Translation): Fix typos.
31101 (Helper programs for gettext): Likewise.
31102
67cbf9a2
AS
311032012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31104
31105 [BZ #14898]
31106 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31107 Change to -1.
31108
682d0e9a
DM
311092012-12-07 David S. Miller <davem@davemloft.net>
31110
31111 * po/libc.pot: Update.
31112
573cd484
RH
311132012-12-07 Richard Henderson <rth@redhat.com>
31114
7e9da188 31115 [BZ #10114]
573cd484
RH
31116 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31117 normal/normal case to before the switch.
31118 (_FP_DIV): Likewise.
31119
e933a943
MF
311202012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31121 Mike Frysinger <vapier@gentoo.org>
31122
31123 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31124 check for __NR_fadvise64_64.
31125
82123268
CM
311262012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31127
31128 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31129 0, not just to plain "0" as a statement.
31130 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31131 with cw.
31132
d9814526
JM
311332012-12-06 Joseph Myers <joseph@codesourcery.com>
31134
31135 * NEWS: Use sourceware.org in Bugzilla URL.
31136
7728c574
SP
311372012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31138
f16946dd
SP
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31140 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31141
5704bbcb
SP
31142 * stdio-common/tst-put-error.c (do_test): Add newline to the
31143 padded test to ensure flush.
31144
17aa0516
JL
311452012-12-05 Jeff Law <law@redhat.com>
31146
31147 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31148
363313b5
JM
311492012-12-05 Joseph Myers <joseph@codesourcery.com>
31150
effbd42a
JM
31151 * README: Don't refer to ports add-on as distributed separately.
31152 Mention AArch64 in list of systems supported in the ports add-on.
31153
87600365
JM
31154 * LICENSES: Add more non-FSF copyright and license notices.
31155
a0d7066a
JM
31156 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31157 ((unused)).
31158
66ca5a5b
JM
31159 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31160
363313b5
JM
31161 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31162 10000 as width of padded output.
31163
b37984ad
JM
311642012-12-04 Joseph Myers <joseph@codesourcery.com>
31165
9003570a
JM
31166 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31167
b37984ad
JM
31168 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31169 variable LX with __attribute__ ((unused)).
31170 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31171 Likewise.
31172 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31173 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31175 with __attribute__ ((unused)).
31176
c8df52ec
DM
311772012-12-04 David S. Miller <davem@abraco.davemloft.net>
31178
31179 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31180
b3b099af
JM
311812012-12-04 Joseph Myers <joseph@codesourcery.com>
31182
c33aa6e3
JM
31183 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31184 (CFLAGS-nldbl-acos.c): New variable.
31185 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31186 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31187 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31188 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31189 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31190 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31191 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31192 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31193 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31194 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31195 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31196 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31197 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31198 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31199 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31200 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31201 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31202 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31203 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31204 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31205 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31206 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31207 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31208 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31209 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31210 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31211 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31212 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31213 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31214 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31215 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31216 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31217 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31218 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31219 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31220 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31221 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31222 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31223 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31224 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31225 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31226 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31227 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31228 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31229 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31230 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31231 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31232 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31233 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31234 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31235 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31236 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31237 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31238 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31239 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31240 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31241 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31242 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31243 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31244 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31245 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31246 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31247 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31248 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31249 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31250 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31251 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31252 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31253 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31254 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31255 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31256 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31257 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31258 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31259 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31260 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31261 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31262 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31263 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31264 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31265 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31266 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31267 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31268 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31269 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31270 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31271 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31272 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31273 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31274 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31275 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31276 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31277 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31278 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31279 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31280 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31281 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31282
20f0018d
JM
31283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31284 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31285
b3b099af
JM
31286 [BZ #14914]
31287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31288 whole low double instead of just low 47 bits when splitting values
31289 into two parts.
31290
029264d1
AM
312912012-12-03 Allan McRae <allan@archlinux.org>
31292
31293 * manual/stdio.texi (Predefined Printf Handlers): Remove
31294 @hsep and @vsep usage.
31295
c9d6789e
MF
312962012-12-03 Mike Frysinger <vapier@gentoo.org>
31297
31298 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31299 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31300
4b7634a5
JL
313012012-12-03 Jeff Law <law@redhat.com>
31302
31303 * time/sys/time.h (settimeofday): Do not mark TV argument
31304 as __nonnull.
31305
eb6cbd24
MF
313062012-12-01 Mike Frysinger <vapier@gentoo.org>
31307
31308 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31309 when currently writing and seek to current position when not.
31310 * libio/Makefile (tests): Remove bug-fclose1.
31311 * libio/bug-fclose1.c: Delete.
31312
f638872a
JM
313132012-12-01 Joseph Myers <joseph@codesourcery.com>
31314
31315 * manual/arith.texi (feenableexcept): Fix typo.
31316 (fedisableexcept): Likewise.
31317
48085d14
RM
313182012-11-30 Roland McGrath <roland@hack.frob.com>
31319
31320 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31321 second, differently-typed declaration, rather than a cast.
31322
1a538b9f
SP
313232012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31324
31325 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31326 * include/rpc/svc.h: ... here.
31327
d07f2ff1 313282012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
31329
31330 [BZ #13013]
31331 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31332 depending n and resplen2 to catch cases where answer
31333 equals answerp2.
31334
c93ec1f0
CD
313352012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31336
31337 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31338 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31339
37db69de
MF
313402012-11-29 Mike Frysinger <vapier@gentoo.org>
31341
31342 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31343
e10c4e4f
RM
313442012-11-29 Roland McGrath <roland@hack.frob.com>
31345
31346 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31347
2af1b328
JL
313482012-11-28 Jeff Law <law@redhat.com>
31349
31350 [BZ #13761]
31351 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31352 dataset_temporary. Track alloca usage into alloca_used.
31353 If dataset is large allocate and release it via malloc/free.
31354
111db5b1
FW
313552012-06-04 Florian Weimer <fweimer@redhat.com>
31356
f06cc227 31357 [BZ #14197]
111db5b1
FW
31358 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31359
dd694abd
DM
313602012-11-28 David S. Miller <davem@davemloft.net>
31361
31362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31363
9984dd01
JM
313642012-11-28 Joseph Myers <joseph@codesourcery.com>
31365
31366 [BZ #14803]
31367 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31368 of pi/2 rounded to nearest to 64 bits.
31369 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31370 nearest to 64 bits.
31371 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31372 bits.
31373
14bc93a9
JL
313742012-11-28 Jeff Law <law@redhat.com>
31375 Martin Osvald <mosvald@redhat.com>
31376
31377 [BZ #14889]
31378 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31379 * sunrpc/svc.c: Include time.h.
31380 (__svc_accept_failed): New function.
31381 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31382 any reason other than EINTR, call __svc_accept_failed.
31383 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31384 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31385
e3c6aa3a
AS
313862012-11-28 Andreas Schwab <schwab@suse.de>
31387
31388 * scripts/abilist.awk: Also handle indirect functions in .opd
31389 section.
31390
1bead169
JM
313912012-11-28 Joseph Myers <joseph@codesourcery.com>
31392
31393 [BZ #13881]
31394 * sysdeps/x86/fpu/powl_helper.c: New file.
31395 * sysdeps/x86/fpu/Makefile: Likewise.
31396 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31397 (p3): New object.
31398 (__ieee754_powl): Use __powl_helper for finite arguments except
31399 integer exponents below 8.
31400 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31401 (p3): New object.
31402 (__ieee754_powl): Use __powl_helper for finite arguments except
31403 integer exponents below 8.
31404 * math/libm-test.inc (pow_test): Add more tests and enable some
31405 previously disabled tests.
31406 * sysdeps/i386/fpu/libm-test-ulps: Update.
31407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31408
0817d63d
SP
314092012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31410 Carlos O'Donell <carlos_odonell@mentor.com>
31411
31412 * nss/makedb.c (is_prime): Assert that input is odd and greater
31413 than 4. Note that fact in a comment too.
31414 (next_prime): Add 4 to input.
31415
de2fd463
SP
314162012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31417
31418 [BZ #11741]
31419 * libio/Makefile (tests): Add test case tst-fwrite-error.
31420 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31421 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31422 * libio/tst-fwrite-error.c: New test case.
31423
c515fb51
L
314242012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31425
31426 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31427 before casting to void *.
31428 * include/libc-internal.h (__pointer_type): New macro.
31429 (__integer_if_pointer_type_sub): Likewise.
31430 (__integer_if_pointer_type): Likewise.
31431 (cast_to_integer): Likewise.
31432 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31433 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31434 before casting to atomic64_t.
31435 (atomic_exchange_acq): Likewise.
31436 (__arch_exchange_and_add_body): Likewise.
31437 (__arch_add_body): Likewise.
31438 (atomic_add_negative): Likewise.
31439 (atomic_add_zero): Likewise.
31440
4cf77aa9
JM
314412012-11-26 Joseph Myers <joseph@codesourcery.com>
31442
31443 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31444 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31445 (add_fdes): Likewise.
31446 (linear_search_fdes): Likewise.
31447 (binary_search_unencoded_fdes): Likewise.
31448
d260b3b4
AS
314492012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31450
31451 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31452
67060746
AC
314532012-11-24 Adam Conrad <adconrad@0c3.net>
31454
31455 * configure.in: Autodetect C++ header directories.
31456 * configure: Regenerated.
31457
800938a1
MF
314582012-11-23 Mike Frysinger <vapier@gentoo.org>
31459
31460 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31461
4e6e34e6
AS
314622012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31463
31464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31465
7c7feb47
JM
314662012-11-22 Joseph Myers <joseph@codesourcery.com>
31467
7184dcdf
JM
31468 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31469 LDBL_MANT_DIG == 106]: Disable some tests.
31470 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31471 Likewise.
31472 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31473 Likewise.
31474
0a42601f
JM
31475 [BZ #14871]
31476 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31477 input for small inputs. Return +/- pi/2 for large inputs.
31478 * math/libm-test.inc (atan_test): Add more tests.
31479
79c9b9fe
JM
31480 * sysdeps/generic/unwind-dw2-fde-glibc.c
31481 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31482 __attribute__ ((unused)).
31483
c60d3bf2
JM
31484 [BZ #14645]
31485 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31486 x * y if x and y are nonzero and z is zero.
31487
ef1e0867
JM
31488 [BZ #14811]
31489 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31490 nonzero exponents with absolute value below 0x1p-117 to +/-
31491 0x1p-117.
31492
1468ded3
JM
31493 [BZ #14869]
31494 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31495 up arguments below 2**-450, not just those below 2**-500.
31496 * math/libm-test.inc (hypot_test): Add another test.
31497
8e27e3cc
JM
31498 [BZ #14868]
31499 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31500 Return a+b for ratio over 2**120, not 2**60.
31501 * math/libm-test.inc (hypot_test): Add another test.
31502
c9c0279b
JM
31503 * math/libm-test.inc (clog_test): Use
31504 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31505 (clog10_test): Likewise.
31506
7c7feb47
JM
31507 [BZ #6778]
31508 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31509
fff1530e
AS
315102012-11-22 Andreas Schwab <schwab@suse.de>
31511
31512 * sysdeps/i386/fpu/libm-test-ulps: Update.
31513
94558d30
PT
315142012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31515
31516 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31517 printf output with newline.
31518
7e1be741
L
315192012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31520
6bfea974
L
31521 [BZ #14865]
31522 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31523 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31524 -z nodlopen, -z initfirst and -z execstack support.
31525 * configure: Regenerated.
31526
7e1be741
L
31527 * elf/elf.h (DF_1_NODIRECT): New macro.
31528 (DF_1_IGNMULDEF): Likewise.
31529 (DF_1_NOKSYMS): Likewise.
31530 (DF_1_NOHDR): Likewise.
31531 (DF_1_EDITED): Likewise.
31532 (DF_1_NORELOC): Likewise.
31533 (DF_1_SYMINTPOSE): Likewise.
31534 (DF_1_GLOBAUDIT): Likewise.
31535 (DF_1_SINGLETON): Likewise.
31536 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31537 DT_1_SUPPORTED_MASK bits.
31538 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31539
105ce2ce
CD
315402012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31541
31542 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31543
123be9de
TS
315442012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31545
d072f3f7
TS
31546 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31547 macro.
31548
123be9de
TS
31549 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31550 (sendmmsg): Move declarations...
31551 * socket/sys/socket.h: ... here.
31552 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31553 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31554 include it from...
31555 * socket/recvmmsg.c: ... this new file.
31556 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31557 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31558 definition of __sendmmsg hidden.
31559 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31560 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31561 Move ENOSYS stub into and include it from...
31562 * socket/sendmmsg.c: ... this new file.
31563 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31564 (sysdep_routines): Move recvmmsg and sendmmsg...
31565 * socket/Makefile (routines): ... here.
31566 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31567 (GLIBC_PRIVATE): Add __sendmmsg.
31568 * include/sys/socket.h (__sendmmsg): Add declarations.
31569 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31570 sendmmsg.
31571
cf9a5d18
JM
315722012-11-20 Joseph Myers <joseph@codesourcery.com>
31573
31574 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31575 variable I1 with __attribute__ ((unused)).
31576 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31577
ecd4caf9
JM
315782012-11-19 Joseph Myers <joseph@codesourcery.com>
31579
be14d48f
JM
31580 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31581 DUMMY variables with __attribute__ ((unused)).
31582
ecd4caf9
JM
31583 * bits/byteswap.h: Include <bits/types.h>.
31584 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31585
986cab95
PT
315862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31587
31588 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31589 string_t. Do not manually set errno.
31590 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31591 length with __strnlen. Make sure to both set errno and return it on
31592 failure.
31593
6d33cc9d
DM
315942012-11-19 David S. Miller <davem@davemloft.net>
31595
31596 With help from Joseph Myers.
31597 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31598 very large arguments properly.
31599 * math/libm-test.inc (atan_test): New tests.
31600 (atan2_test): New tests.
31601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31603
ee663277
JM
316042012-11-19 Joseph Myers <joseph@codesourcery.com>
31605
877f2d8e
JM
31606 [BZ #14856]
31607 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31608 Define to 3.
31609
116fc08a
JM
31610 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31611 [POSIX] (EADDRNOTAVAIL): Likewise.
31612 [POSIX] (EAFNOSUPPORT): Likewise.
31613 [POSIX] (EALREADY): Likewise.
31614 [POSIX] (ECONNABORTED): Likewise.
31615 [POSIX] (ECONNREFUSED): Likewise.
31616 [POSIX] (ECONNRESET): Likewise.
31617 [POSIX] (EDESTADDRREQ): Likewise.
31618 [POSIX] (EDQUOT): Likewise.
31619 [POSIX] (EHOSTUNREACH): Likewise.
31620 [POSIX] (EIDRM): Likewise.
31621 [POSIX] (EISCONN): Likewise.
31622 [POSIX] (ELOOP): Likewise.
31623 [POSIX] (EMULTIHOP): Likewise.
31624 [POSIX] (ENETDOWN): Likewise.
31625 [POSIX] (ENETUNREACH): Likewise.
31626 [POSIX] (ENOBUFS): Likewise.
31627 [POSIX] (ENODATA): Likewise.
31628 [POSIX] (ENOLINK): Likewise.
31629 [POSIX] (ENOMSG): Likewise.
31630 [POSIX] (ENOPROTOOPT): Likewise.
31631 [POSIX] (ENOSR): Likewise.
31632 [POSIX] (ENOSTR): Likewise.
31633 [POSIX] (ENOTCONN): Likewise.
31634 [POSIX] (ENOTSOCK): Likewise.
31635 [POSIX] (EOPNOTSUPP): Likewise.
31636 [POSIX] (EOVERFLOW): Likewise.
31637 [POSIX] (EPROTO): Likewise.
31638 [POSIX] (EPROTONOSUPPORT): Likewise.
31639 [POSIX] (EPROTOTYPE): Likewise.
31640 [POSIX] (ESTALE): Likewise.
31641 [POSIX] (ETIME): Likewise.
31642 [POSIX] (ETXTBSY): Likewise.
31643 [POSIX] (EWOULDBLOCK): Likewise.
31644 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31645 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31646 [POSIX] (SEEK_CUR): Likewise.
31647 [POSIX] (SEEK_END): Likewise.
31648 [POSIX || UNIX98] (mode_t): Do not require.
31649 [POSIX] (off_t): Likewise.
31650 [POSIX] (pid_t): Likewise.
31651 [POSIX] (sys/stat.h): Do not allow header.
31652 [POSIX] (unistd.h): Likewise.
31653 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31654 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31655 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31656 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31657 require.
31658 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31659 sigevent): Specify elements.
31660 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31661 entry.
31662 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31663 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31664
a483863f
JM
31665 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31666 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31667 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31668 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31669 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31670 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31671 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31672 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31673 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31674 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31675 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31676 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31677 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31678 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31679 Likewise.
31680 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31681 Likewise.
31682 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31683 Likewise.
31684 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31685 Likewise.
31686 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31687 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31688 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31689 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31690 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31691 Specify lower bound on value.
31692 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31693 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31694 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31695 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31696 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31697 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31698 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31699 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31700 value.
31701 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31702 as optional.
31703 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31704 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31705 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31706 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31707 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31708 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31709 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31710 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31711 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31712 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31713 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31714 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31715 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31716 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31717 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31718 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31719 entry.
31720 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31721 optional.
31722 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31723 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31724 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31725 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31726 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31727 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31728 Likewise.
31729 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31730 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31731 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31732 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31733 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31734 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31735 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31736 as optional.
31737 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31738 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31739 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31740 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31741 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31742 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31743 specify as optional.
31744 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31745 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31746 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31747 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31748 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31749 [XPG3] (NL_LANGMAX): Likewise.
31750 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31751 [POSIX || XPG3] (NL_NMAX): Likewise.
31752 [POSIX || XPG3] (NL_SETMAX): Likewise.
31753 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31754 [XPG3] (NZERO): Likewise.
31755 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31756 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31757 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31758 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31759 (REG_ERANGE): Expect.
31760 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31761 optional-constant.
31762 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31763 Use (void) in prototype.
31764 [POSIX] (*_t): Allow.
31765 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31766 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31767 (WRDE_BADVAL): Expect.
31768
5ba924e3
JM
31769 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31770 expect.
31771 [XPG3 || XPG4] (O_RSYNC): Likewise.
31772 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31773 Likewise.
31774 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31775 [XPG3 || XPG4] (sigqueue): Likewise.
31776 [XPG3 || XPG4] (sigtimedwait): Likewise.
31777 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31778 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31779 [XPG3 || XPG4] (vsnprintf): Likewise.
31780 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31781 Likewise.
31782 [XPG3 || XPG4] (blksize_t): Likewise.
31783 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31784 Likewise.
31785 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31786 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31787 [XPG3 || XPG4] (struct itimerspec): Likewise.
31788 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31789 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31790 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31791 [XPG3 || XPG4] (clockid_t): Likewise.
31792 [XPG3 || XPG4] (timer_t): Likewise.
31793 [XPG3 || XPG4] (clock_getres): Likewise.
31794 [XPG3 || XPG4] (clock_gettime): Likewise.
31795 [XPG3 || XPG4] (clock_settime): Likewise.
31796 [XPG3 || XPG4] (nanosleep): Likewise.
31797 [XPG3 || XPG4] (timer_create): Likewise.
31798 [XPG3 || XPG4] (timer_delete): Likewise.
31799 [XPG3 || XPG4] (timer_gettime): Likewise.
31800 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31801 [XPG3 || XPG4] (timer_settime): Likewise.
31802 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31803 [XPG3 || XPG4] (getlogin_r): Likewise.
31804 [XPG3 || XPG4] (pread): Likewise.
31805 [XPG3 || XPG4] (pthread_atfork): Likewise.
31806 [XPG3 || XPG4] (pwrite): Likewise.
31807
ee663277
JM
31808 [BZ #14835]
31809 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31810 <bits/siginfo.h>.
31811
942caa16
PT
318122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31813
e19af380
PT
31814 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31815 finalizing MALLSTREAM.
31816
942caa16
PT
31817 * sysdeps/mach/hurd/syncfs.c: New file.
31818
cfde9b46
SP
318192012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31820
31821 [BZ #14719]
31822 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31823 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31824 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31825 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31826 (_nss_dns_gethostbyname4_r): Likewise.
31827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31828 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31829
f6da27e5
PH
318302012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31831
31832 [BZ #13763]
31833 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31834
6665d4a2
SM
318352012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31836
1f51ee92
SM
31837 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31838 * elf/cache.c (print_entry): Print ",AArch64" for
31839 FLAG_AARCH64_LIB64
31840
6665d4a2
SM
31841 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31842 * elf/cache.c (print_entry): Print ",hard-float" for
31843 FLAG_ARM_LIBHF.
31844
05b227bd
DM
318452012-11-18 David S. Miller <davem@davemloft.net>
31846
31847 With help from Joseph Myers.
31848 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31849 cutoff to 2**-13.
31850 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31851 cutoff to 2**-25.
31852 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31853 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31854 small.
31855 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31856 * math/libm-test.inc (y0_test): New tests.
31857 (y1_test): New tests.
31858 * sysdeps/i386/fpu/libm-test-ulps: Update.
31859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31861
786b0b67
AS
318622012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31863
31864 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31865 64-bit targets.
31866 * configure: Regenerated.
31867
8e18b86d
DM
318682012-11-17 David S. Miller <davem@davemloft.net>
31869
31870 [BZ #14811]
31871 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31872 nonzero exponents with absolute value below 0x1p-128 to +/-
31873 0x1p-128.
31874
531f1ae0
JM
318752012-11-17 Joseph Myers <joseph@codesourcery.com>
31876
12df29e2
JM
31877 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31878
150dc1a0
JM
31879 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31880
531f1ae0
JM
31881 * posix/getconf-speclist.c: New file.
31882 * posix/posix-envs.def: Likewise.
31883 * posix/confstr.c (START_ENV_GROUP): New macro.
31884 (END_ENV_GROUP): Likewise.
31885 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31886 (KNOWN_PRESENT_ENV_STRING): Likewise.
31887 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31888 (UNKNOWN_ENVIRONMENT): Likewise.
31889 (confstr): Include posix-envs.def instead of handling
31890 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31891 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31892 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31893 (END_ENV_GROUP): Likewise.
31894 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31895 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31896 (UNKNOWN_ENVIRONMENT): Likewise.
31897 (__sysconf): Include posix-envs.def instead of handling associated
31898 cases directly here.
31899 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31900 preprocessing getconf-speclist.c rather than running getconf or
31901 generating empty file.
31902
a93f9cbc
PT
319032012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31904
31905 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31906
d64d9f87
AL
319072012-11-16 Andrej Lajovic <natrij@gmail.com>
31908
31909 [BZ #14672]
31910 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31911
447885eb
DM
319122012-11-16 David S. Miller <davem@davemloft.net>
31913
31914 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31915 smaller than LDBL_EPSILON/2.0L, just return xm1.
31916
bcbf9830
L
319172012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31918
31919 * elf/tst-array1.c (init): Set constructor priority to 1000.
31920 (fini): Set destructor priority to 1000.
31921 * elf/tst-array2dep.c: Likewise.
31922
2b766585
SP
319232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31924
31925 [BZ #11741]
31926 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31927 (_IO_new_file_xsputn): Also return EOF if none of the input
31928 data was written when overflow failed.
31929 * libio/iopadn.c (_IO_padn): Likewise.
31930 * libio/iowpadn.c (_IO_wpadn): Likewise.
31931 * stdio-common/tst-put-error.c: Add copyright notice.
31932 (do_test): Add case for printing padded string.
31933 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31934 _IO_padn returned error.
31935 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31936 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31937 return EOF.
31938
b1848fde
SP
319392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31940
31941 * libio/libioP.h: Add comment note that the references to C++
31942 bits are now obsolete.
31943
2fd89785
MS
319442012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31945
31946 * math/libm-test.inc (check_complex): Use asprintf.
31947
e3ea5409
JM
319482012-11-14 Joseph Myers <joseph@codesourcery.com>
31949
31950 * debug/pcprofiledump.c (print_version): Update copyright year.
31951 * malloc/memusagestat.c (print_version): Likewise.
31952
2e64d265
L
319532012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31954
31955 [BZ #14831]
31956 * elf/Makefile (tests): Add tst-audit8.
31957 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31958 ($(objpfx)tst-audit8.out): New target.
31959 (tst-audit8-ENV): New variable.
31960 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31961 audit if l_reloc_result is NULL.
31962 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31963 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31964 * elf/tst-audit8.c: New file.
31965
c485e4d2
MS
319662012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31967
31968 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31969 * misc/Makefile (CFLAGS-select.c): Define.
31970 * posix/Makefile (CFLAGS-pause.c): Define.
31971
3a0d900a
DM
319722012-11-13 David S. Miller <davem@davemloft.net>
31973
31974 * crypt/Makefile: Move test targets after toplevel Rules
31975 inclusion. Grab any necessary sysdep routines when linking.
31976 * crypt/md5.c (md5_process_block): Remove define, we will always
31977 name it __md5_process_block.
31978 (md5_finish_ctx): Update md5_process_block call.
31979 (md5_stream): Likewise.
31980 (md5_process_bytes): Likewise.
31981 (md5_process_block): Rename to __md5_process_block and move to ...
31982 * crypt/md5-block.c: ... here.
31983 * crypt/sha256.c (sha256_process_block): Move to ...
31984 * crypt/sha256-block.c: ... here.
31985 * crypt/sha512.c (sha512_process_block): Move to ...
31986 * crypt/sha512-block.c: ... here.
31987 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31988 path.
31989 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31990 * sysdeps/sparc/sparc64/multiarch/Makefile
31991 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31992 crypt subdir.
31993 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31994 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31995 multiarch changes.
31996 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31997 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31998 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31999 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32000 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32001 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32002 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32003 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32004 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32005 file.
32006 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32007 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32008 file.
32009 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32010
8ca89318
JM
320112012-11-13 Joseph Myers <joseph@codesourcery.com>
32012
e27d476a
JM
32013 * timezone/tzselect.ksh: Update from tzcode git revision
32014 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32015 * timezone/zdump.c: Likewise.
32016 * timezone/zic.c: Likewise.
32017 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32018 in TZVERSION setting, not $(PKGVERSION).
32019 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32020 REPORT_BUGS_TO settings.
32021
8ca89318
JM
32022 [BZ #14838]
32023 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32024 macro.
32025
47594329
MS
320262012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32027
32028 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32029 detection to immediately after _FP_ROUND().
32030 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32031 bits are 0.
32032
640ac3f1
DM
320332012-11-11 David S. Miller <davem@davemloft.net>
32034
32035 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32036 inttypes.h
32037 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32038 __close rather than their public counterparts.
32039
3d2577bb
JM
320402012-11-10 Joseph Myers <joseph@codesourcery.com>
32041
32042 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32043 file.
32044 [UNIX98] (sem_timedwait): Do not expect.
32045 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32046 [XPG4 || UNIX98] (sockatmark): Do not expect.
32047 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32048 (clock_getcpuclockid): Do not expect.
32049 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32050 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32051 Do not expect.
32052 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32053 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32054 [UNIX98] (vwscanf): Likewise.
32055 [UNIX98] (vswscanf): Likewise.
32056
fb1ae1ee
JM
320572012-11-09 Joseph Myers <joseph@codesourcery.com>
32058
9ec6f8bd
JM
32059 * timezone/version.h: Remove file.
32060 * timezone/README: Do not refer to version.h.
32061 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32062 $(objpfx)version.h.
32063 ($(objpfx)zdump.o): Likewise.
c3f81911 32064 ($(objpfx)version.h): New target.
9ec6f8bd 32065
0aa8f8a1
JM
32066 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32067 2012i.
32068 * timezone/README: Don't mention modification to tzselect.ksh.
32069 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32070 work on unmodified tzselect.ksh. Substitute version numbers in
32071 tzselect.ksh.
32072
4e87147f
JM
32073 * Makefile (format-me): Remove.
32074 (INSTALL): Adjust indentation. Use commands directly instead of
32075 using $(format-me).
32076
8b748aed
JM
32077 * aclocal.m4 (ACX_PKGVERSION): New macro.
32078 (ACX_BUGURL): Likewise.
32079 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32080 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32081 (REPORT_BUGS_TO): Likewise.
32082 * configure: Regenerated.
32083 * config.h.in (PKGVERSION): New macro.
32084 (REPORT_BUGS_TO): Likewise.
32085 * config.make.in (PKGVERSION): New variable.
32086 (PKGVERSION_TEXI): Likewise.
32087 (REPORT_BUGS_TO): Likewise.
32088 (REPORT_BUGS_TEXI): Likewise.
32089 * Makefile (format-me): Use -I$(common-objpfx)manual.
32090 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32091 ($(common-objpfx)manual/%): New target.
32092 (manual/%): Remove target.
32093 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32094 (print_version): Use PKGVERSION.
32095 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32096 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32097 and REPORT_BUGS_TO.
32098 ($(objpfx)xtrace): Likewise.
32099 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32100 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32101 (print_version): Use PKGVERSION.
32102 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32103 (do_version): Use PKGVERSION.
32104 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32105 REPORT_BUGS_TO.
32106 (common-ldd-rewrite): Likewise.
32107 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32108 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32109 (print_version): Use PKGVERSION.
32110 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32111 * elf/pldd.c (argp_program_bug_address): Remove variable.
32112 (more_help): New function.
32113 (argp): Use more_help.
32114 (print_version): Use PKGVERSION.
32115 * elf/sln.c (main): Use PKGVERSION.
32116 (usage): Use REPORT_BUGS_TO.
32117 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32118 (top level): Use PKGVERSION.
32119 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32120 (print_version): Use PKGVERSION.
32121 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32122 (print_version): Use PKGVERSION.
32123 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32124 (print_version): Use PKGVERSION.
32125 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32126 (print_version): Use PKGVERSION.
32127 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32128 (print_version): Use PKGVERSION.
32129 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32130 (print_version): Use PKGVERSION.
32131 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32132 and BUGURL.
32133 ($(objpfx)memusage): Likewise.
32134 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32135 (do_version): Use PKGVERSION.
32136 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32137 (print_version): Use PKGVERSION.
32138 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32139 ($PKGVERSION): New variable.
32140 ($REPORT_BUGS_TO): Likewise.
32141 (usage): Use $REPORT_BUGS_TO.
32142 (top level): Use $PKGVERSION.
32143 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32144 ($(objpfx)pkgvers.texi): New rule.
32145 ($(objpfx)stamp-pkgvers): Likewise.
32146 * manual/install.texi: Include pkgvers.texi.
32147 (--with-pkgversion): Document new configure option.
32148 (--with-bugurl): Likewise.
32149 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32150 than necessarily for this particular distribution. Use
32151 REPORT_BUGS_TO for where to report bugs.
32152 * INSTALL: Regenerated.
32153 * manual/libc.texinfo: Include pkgvers.texi.
32154 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32155 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32156 (print_version): Use PKGVERSION.
32157 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32158 (print_version): Use PKGVERSION.
32159 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32160 (print_version): Use PKGVERSION.
32161 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32162 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32163 macro.
32164 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32165 (print_version): Use PKGVERSION.
32166 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32167 (print_version): Use PKGVERSION.
32168 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32169 and PKGVERSION.
32170
92e4b6a9
JM
32171 * timezone/checktab.awk: Update from tzcode 2012i.
32172 * timezone/ialloc.c: Likewise.
32173 * timezone/private.h: Likewise.
32174 * timezone/scheck.c: Likewise.
32175 * timezone/tzfile.h: Likewise.
32176 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32177 (TZVERSION): Hardcode tzcode version number.
32178 * timezone/zdump.c: Update from tzcode 2012i.
32179 * timezone/zic.c: Likewise.
32180 * timezone/version.h: New file.
32181 * timezone/README: Describe version.h. Update upstream location.
32182
9bde902c
JM
32183 [BZ #14824]
32184 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32185 (mktemp): Enable declaration.
32186 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32188 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32190 Likewise.
32191 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32192 Likewise.
32193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32194 Likewise.
32195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32196 Likewise.
32197 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32198 Likewise.
32199 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32200 Likewise.
32201
fb1ae1ee
JM
32202 [BZ #14821]
32203 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32204 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32205 for copies of such integer values.
32206 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32207 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32208
2c1adbcb
AJ
322092012-11-09 Andreas Jaeger <aj@suse.de>
32210
32211 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32212 definitions and declarations that are provided by
32213 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32214
d0f8457e
AK
322152012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32216
3a235abb 32217 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
32218 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32219 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32220 definition.
32221
57241e26
MS
322222012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32223
32224 * elf/elf.h: Update comment before AArch64 relocations.
32225
60e8270d
DM
322262012-11-07 David S. Miller <davem@davemloft.net>
32227
32228 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32229 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32230 (__start_context): Declare.
32231 (__makecontext_ret): Delete.
32232 (__makecontext): Hook up __start_context instead of
32233 __makecontext_ret.
32234 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32235 (sysdep_routines): Add __start_context when in stdlib.
32236
0fbb0fbc
JM
322372012-11-07 Joseph Myers <joseph@codesourcery.com>
32238
32239 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32240 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32241 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32242 hardcoded "nm".
32243 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32244 (READELF): New variable. Use it instead of hardcoded "readelf".
32245
eb48db7e
L
322462012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32247
32248 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32249 * sysdeps/x86/Makefile: Here.
32250 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32251 * sysdeps/x86/tst-xmmymm.sh: This.
32252
05bcf62a
JM
322532012-11-07 Joseph Myers <joseph@codesourcery.com>
32254
c4b6cf53
JM
32255 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32256 expectations.
32257 [UNIX98] (pthread_barrier_t): Do not expect.
32258 [UNIX98] (pthread_barrierattr_t): Likewise.
32259 [UNIX98] (pthread_spinlock_t): Likewise.
32260 [UNIX98] (pthread_barrier_destroy): Likewise.
32261 [UNIX98] (pthread_barrier_init): Likewise.
32262 [UNIX98] (pthread_barrier_wait): Likewise.
32263 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32264 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32265 [UNIX98] (pthread_barrierattr_init): Likewise.
32266 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32267 [UNIX98] (pthread_getcpuclockid): Likewise.
32268 [UNIX98] (pthread_mutex_timedlock): Likewise.
32269 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32270 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32271 [UNIX98] (pthread_sigmask): Likewise.
32272 [UNIX98] (pthread_spin_destroy): Likewise.
32273 [UNIX98] (pthread_spin_init): Likewise.
32274 [UNIX98] (pthread_spin_lock): Likewise.
32275 [UNIX98] (pthread_spin_trylock): Likewise.
32276 [UNIX98] (pthread_spin_unlock): Likewise.
32277 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32278 Do not expect.
32279 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32280 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32281 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32282 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32283 [XPG3 || XPG4] (pthread_key_t): Likewise.
32284 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32285 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32286 [XPG3 || XPG4] (pthread_once_t): Likewise.
32287 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32288 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32289 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32290 [XPG3 || XPG4] (pthread_t): Likewise.
32291
cbe6e120
JM
32292 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32293 not expect.
32294 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32295
1b126443
JM
32296 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32297 Change function return type to int.
32298
b961a573
JM
32299 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32300 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32301 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32302 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32303 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32304 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32305 [!POSIX] (posix_madvise): Likewise.
32306 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32307 && !UNIX98].
32308 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32309 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32310 (mode_t): Likewise.
32311 (posix_mem_offset): Likewise.
32312 (posix_typed_mem_get_info): Likewise.
32313 (posix_typed_mem_open): Likewise.
32314
9e188909
JM
32315 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32316 Change condition to [XOPEN2K8].
32317
05bcf62a
JM
32318 * conform/conformtest.pl: Preprocess allow-header data with -x c
32319 instead of from stdin.
32320 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32321 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32322 [C99-based standards] (cerfc): Likewise.
32323 [C99-based standards] (cexp2): Likewise.
32324 [C99-based standards] (cexpm1): Likewise.
32325 [C99-based standards] (clog10): Likewise.
32326 [C99-based standards] (clog1p): Likewise.
32327 [C99-based standards] (clog2): Likewise.
32328 [C99-based standards] (clgamma): Likewise.
32329 [C99-based standards] (ctgamma): Likewise.
32330 [C99-based standards] (cerff): Likewise.
32331 [C99-based standards] (cerfcf): Likewise.
32332 [C99-based standards] (cexp2f): Likewise.
32333 [C99-based standards] (cexpm1f): Likewise.
32334 [C99-based standards] (clog10f): Likewise.
32335 [C99-based standards] (clog1pf): Likewise.
32336 [C99-based standards] (clog2f): Likewise.
32337 [C99-based standards] (clgammaf): Likewise.
32338 [C99-based standards] (ctgammaf): Likewise.
32339 [C99-based standards] (cerfl): Likewise.
32340 [C99-based standards] (cerfcl): Likewise.
32341 [C99-based standards] (cexp2l): Likewise.
32342 [C99-based standards] (cexpm1l): Likewise.
32343 [C99-based standards] (clog10l): Likewise.
32344 [C99-based standards] (clog1pl): Likewise.
32345 [C99-based standards] (clog2l): Likewise.
32346 [C99-based standards] (clgammal): Likewise.
32347 [C99-based standards] (ctgammal): Likewise.
32348 * conform/data/inttypes.h-data [C99-based standards]: Include
32349 stdint.h-data. Remove all expectations for stdint.h contents.
32350 [C99-based standards] (PRI*): Do not allow.
32351 [C99-based standards] (SCN*): Likewise.
32352 [C99-based standards] (*_t): Likewise.
32353 [C99-based-standards] (PRId8): Expect macro.
32354 [C99-based-standards] (PRIi8): Likewise.
32355 [C99-based-standards] (PRIo8): Likewise.
32356 [C99-based-standards] (PRIu8): Likewise.
32357 [C99-based-standards] (PRIx8): Likewise.
32358 [C99-based-standards] (PRIX8): Likewise.
32359 [C99-based-standards] (SCNd8): Likewise.
32360 [C99-based-standards] (SCNi8): Likewise.
32361 [C99-based-standards] (SCNo8): Likewise.
32362 [C99-based-standards] (SCNu8): Likewise.
32363 [C99-based-standards] (SCNx8): Likewise.
32364 [C99-based-standards] (PRIdLEAST8): Likewise.
32365 [C99-based-standards] (PRIiLEAST8): Likewise.
32366 [C99-based-standards] (PRIoLEAST8): Likewise.
32367 [C99-based-standards] (PRIuLEAST8): Likewise.
32368 [C99-based-standards] (PRIxLEAST8): Likewise.
32369 [C99-based-standards] (PRIXLEAST8): Likewise.
32370 [C99-based-standards] (SCNdLEAST8): Likewise.
32371 [C99-based-standards] (SCNiLEAST8): Likewise.
32372 [C99-based-standards] (SCNoLEAST8): Likewise.
32373 [C99-based-standards] (SCNuLEAST8): Likewise.
32374 [C99-based-standards] (SCNxLEAST8): Likewise.
32375 [C99-based-standards] (PRIdFAST8): Likewise.
32376 [C99-based-standards] (PRIiFAST8): Likewise.
32377 [C99-based-standards] (PRIoFAST8): Likewise.
32378 [C99-based-standards] (PRIuFAST8): Likewise.
32379 [C99-based-standards] (PRIxFAST8): Likewise.
32380 [C99-based-standards] (PRIXFAST8): Likewise.
32381 [C99-based-standards] (SCNdFAST8): Likewise.
32382 [C99-based-standards] (SCNiFAST8): Likewise.
32383 [C99-based-standards] (SCNoFAST8): Likewise.
32384 [C99-based-standards] (SCNuFAST8): Likewise.
32385 [C99-based-standards] (SCNxFAST8): Likewise.
32386 [C99-based-standards] (PRId16): Likewise.
32387 [C99-based-standards] (PRIi16): Likewise.
32388 [C99-based-standards] (PRIo16): Likewise.
32389 [C99-based-standards] (PRIu16): Likewise.
32390 [C99-based-standards] (PRIx16): Likewise.
32391 [C99-based-standards] (PRIX16): Likewise.
32392 [C99-based-standards] (SCNd16): Likewise.
32393 [C99-based-standards] (SCNi16): Likewise.
32394 [C99-based-standards] (SCNo16): Likewise.
32395 [C99-based-standards] (SCNu16): Likewise.
32396 [C99-based-standards] (SCNx16): Likewise.
32397 [C99-based-standards] (PRIdLEAST16): Likewise.
32398 [C99-based-standards] (PRIiLEAST16): Likewise.
32399 [C99-based-standards] (PRIoLEAST16): Likewise.
32400 [C99-based-standards] (PRIuLEAST16): Likewise.
32401 [C99-based-standards] (PRIxLEAST16): Likewise.
32402 [C99-based-standards] (PRIXLEAST16): Likewise.
32403 [C99-based-standards] (SCNdLEAST16): Likewise.
32404 [C99-based-standards] (SCNiLEAST16): Likewise.
32405 [C99-based-standards] (SCNoLEAST16): Likewise.
32406 [C99-based-standards] (SCNuLEAST16): Likewise.
32407 [C99-based-standards] (SCNxLEAST16): Likewise.
32408 [C99-based-standards] (PRIdFAST16): Likewise.
32409 [C99-based-standards] (PRIiFAST16): Likewise.
32410 [C99-based-standards] (PRIoFAST16): Likewise.
32411 [C99-based-standards] (PRIuFAST16): Likewise.
32412 [C99-based-standards] (PRIxFAST16): Likewise.
32413 [C99-based-standards] (PRIXFAST16): Likewise.
32414 [C99-based-standards] (SCNdFAST16): Likewise.
32415 [C99-based-standards] (SCNiFAST16): Likewise.
32416 [C99-based-standards] (SCNoFAST16): Likewise.
32417 [C99-based-standards] (SCNuFAST16): Likewise.
32418 [C99-based-standards] (SCNxFAST16): Likewise.
32419 [C99-based-standards] (PRId32): Likewise.
32420 [C99-based-standards] (PRIi32): Likewise.
32421 [C99-based-standards] (PRIo32): Likewise.
32422 [C99-based-standards] (PRIu32): Likewise.
32423 [C99-based-standards] (PRIx32): Likewise.
32424 [C99-based-standards] (PRIX32): Likewise.
32425 [C99-based-standards] (SCNd32): Likewise.
32426 [C99-based-standards] (SCNi32): Likewise.
32427 [C99-based-standards] (SCNo32): Likewise.
32428 [C99-based-standards] (SCNu32): Likewise.
32429 [C99-based-standards] (SCNx32): Likewise.
32430 [C99-based-standards] (PRIdLEAST32): Likewise.
32431 [C99-based-standards] (PRIiLEAST32): Likewise.
32432 [C99-based-standards] (PRIoLEAST32): Likewise.
32433 [C99-based-standards] (PRIuLEAST32): Likewise.
32434 [C99-based-standards] (PRIxLEAST32): Likewise.
32435 [C99-based-standards] (PRIXLEAST32): Likewise.
32436 [C99-based-standards] (SCNdLEAST32): Likewise.
32437 [C99-based-standards] (SCNiLEAST32): Likewise.
32438 [C99-based-standards] (SCNoLEAST32): Likewise.
32439 [C99-based-standards] (SCNuLEAST32): Likewise.
32440 [C99-based-standards] (SCNxLEAST32): Likewise.
32441 [C99-based-standards] (PRIdFAST32): Likewise.
32442 [C99-based-standards] (PRIiFAST32): Likewise.
32443 [C99-based-standards] (PRIoFAST32): Likewise.
32444 [C99-based-standards] (PRIuFAST32): Likewise.
32445 [C99-based-standards] (PRIxFAST32): Likewise.
32446 [C99-based-standards] (PRIXFAST32): Likewise.
32447 [C99-based-standards] (SCNdFAST32): Likewise.
32448 [C99-based-standards] (SCNiFAST32): Likewise.
32449 [C99-based-standards] (SCNoFAST32): Likewise.
32450 [C99-based-standards] (SCNuFAST32): Likewise.
32451 [C99-based-standards] (SCNxFAST32): Likewise.
32452 [C99-based-standards] (PRId64): Likewise.
32453 [C99-based-standards] (PRIi64): Likewise.
32454 [C99-based-standards] (PRIo64): Likewise.
32455 [C99-based-standards] (PRIu64): Likewise.
32456 [C99-based-standards] (PRIx64): Likewise.
32457 [C99-based-standards] (PRIX64): Likewise.
32458 [C99-based-standards] (SCNd64): Likewise.
32459 [C99-based-standards] (SCNi64): Likewise.
32460 [C99-based-standards] (SCNo64): Likewise.
32461 [C99-based-standards] (SCNu64): Likewise.
32462 [C99-based-standards] (SCNx64): Likewise.
32463 [C99-based-standards] (PRIdLEAST64): Likewise.
32464 [C99-based-standards] (PRIiLEAST64): Likewise.
32465 [C99-based-standards] (PRIoLEAST64): Likewise.
32466 [C99-based-standards] (PRIuLEAST64): Likewise.
32467 [C99-based-standards] (PRIxLEAST64): Likewise.
32468 [C99-based-standards] (PRIXLEAST64): Likewise.
32469 [C99-based-standards] (SCNdLEAST64): Likewise.
32470 [C99-based-standards] (SCNiLEAST64): Likewise.
32471 [C99-based-standards] (SCNoLEAST64): Likewise.
32472 [C99-based-standards] (SCNuLEAST64): Likewise.
32473 [C99-based-standards] (SCNxLEAST64): Likewise.
32474 [C99-based-standards] (PRIdFAST64): Likewise.
32475 [C99-based-standards] (PRIiFAST64): Likewise.
32476 [C99-based-standards] (PRIoFAST64): Likewise.
32477 [C99-based-standards] (PRIuFAST64): Likewise.
32478 [C99-based-standards] (PRIxFAST64): Likewise.
32479 [C99-based-standards] (PRIXFAST64): Likewise.
32480 [C99-based-standards] (SCNdFAST64): Likewise.
32481 [C99-based-standards] (SCNiFAST64): Likewise.
32482 [C99-based-standards] (SCNoFAST64): Likewise.
32483 [C99-based-standards] (SCNuFAST64): Likewise.
32484 [C99-based-standards] (SCNxFAST64): Likewise.
32485 [C99-based-standards] (PRIdMAX): Likewise.
32486 [C99-based-standards] (PRIiMAX): Likewise.
32487 [C99-based-standards] (PRIoMAX): Likewise.
32488 [C99-based-standards] (PRIuMAX): Likewise.
32489 [C99-based-standards] (PRIxMAX): Likewise.
32490 [C99-based-standards] (PRIXMAX): Likewise.
32491 [C99-based-standards] (SCNdMAX): Likewise.
32492 [C99-based-standards] (SCNiMAX): Likewise.
32493 [C99-based-standards] (SCNoMAX): Likewise.
32494 [C99-based-standards] (SCNuMAX): Likewise.
32495 [C99-based-standards] (SCNxMAX): Likewise.
32496 [C99-based-standards] (PRIdPTR): Likewise.
32497 [C99-based-standards] (PRIiPTR): Likewise.
32498 [C99-based-standards] (PRIoPTR): Likewise.
32499 [C99-based-standards] (PRIuPTR): Likewise.
32500 [C99-based-standards] (PRIxPTR): Likewise.
32501 [C99-based-standards] (PRIXPTR): Likewise.
32502 [C99-based-standards] (SCNdPTR): Likewise.
32503 [C99-based-standards] (SCNiPTR): Likewise.
32504 [C99-based-standards] (SCNoPTR): Likewise.
32505 [C99-based-standards] (SCNuPTR): Likewise.
32506 [C99-based-standards] (SCNxPTR): Likewise.
32507 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32508 allow.
32509 * conform/data/stdint.h-data: Update comments to clarify
32510 requirements.
32511 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32512 type.
32513 [C99-based standards] (INT8_MAX): Likewise.
32514 [C99-based standards] (INT16_MIN): Likewise.
32515 [C99-based standards] (INT16_MAX): Likewise.
32516 [C99-based standards] (INT32_MIN): Likewise.
32517 [C99-based standards] (INT32_MAX): Likewise.
32518 [C99-based standards] (INT64_MIN): Likewise.
32519 [C99-based standards] (INT64_MAX): Likewise.
32520 [C99-based standards] (UINT8_MAX): Likewise.
32521 [C99-based standards] (UINT16_MAX): Likewise.
32522 [C99-based standards] (UINT32_MAX): Likewise.
32523 [C99-based standards] (UINT64_MAX): Likewise.
32524 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32525 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32526 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32527 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32528 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32529 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32530 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32531 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32532 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32533 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32534 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32535 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32536 [C99-based standards] (INT_FAST8_MIN): Likewise.
32537 [C99-based standards] (INT_FAST8_MAX): Likewise.
32538 [C99-based standards] (INT_FAST16_MIN): Likewise.
32539 [C99-based standards] (INT_FAST16_MAX): Likewise.
32540 [C99-based standards] (INT_FAST32_MIN): Likewise.
32541 [C99-based standards] (INT_FAST32_MAX): Likewise.
32542 [C99-based standards] (INT_FAST64_MIN): Likewise.
32543 [C99-based standards] (INT_FAST64_MAX): Likewise.
32544 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32545 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32546 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32547 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32548 [C99-based standards] (INTPTR_MIN): Likewise.
32549 [C99-based standards] (INTPTR_MAX): Likewise.
32550 [C99-based standards] (UINTPTR_MAX): Likewise.
32551 [C99-based standards] (INTMAX_MIN): Likewise.
32552 [C99-based standards] (INTMAX_MAX): Likewise.
32553 [C99-based standards] (UINTMAX_MAX): Likewise.
32554 [C99-based standards] (PTRDIFF_MIN): Likewise.
32555 [C99-based standards] (PTRDIFF_MAX): Likewise.
32556 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32557 [C99-based standards] (SIZE_MAX): Likewise.
32558 [C99-based standards] (WCHAR_MAX): Likewise.
32559 [C99-based standards] (WINT_MAX): Likewise.
32560 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32561 constraint on value.
32562 [C99-based standards] (WCHAR_MIN): Likewise.
32563 [C99-based standards] (WINT_MIN): Likewise.
32564 [C99-based standards] (*_t): Allow.
32565 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32566 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32567 Include math.h-data and complex.h-data. Remove all expectations
32568 of math.h and complex.h contents.
32569 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32570 at end of line.
32571 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32572 (struct tm): Expect tag.
32573 [C99-based-standards] (wcstof): Expect function.
32574 [C99-based-standards] (wcstold): Likewise.
32575 [C99-based-standards] (wcstoll): Likewise.
32576 [C99-based-standards] (wcstoull): Likewise.
32577 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32578 macro-int-constant. Specify type.
32579 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32580 constraint on value.
32581 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32582 Specify type.
32583 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32584 Specify value.
32585 [ISO C standards]: Do not allow headers.
32586 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32587 wcs[abcdefghijklmnopqrstuvwxyz]*.
32588 [ISO C standards] (*_t): Do not allow.
32589 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32590 Expect function.
32591 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32592 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32593 Specify type.
32594 [ISO C standards]: Do not allow headers.
32595 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32596 is[abcdefghijklmnopqrstuvwxyz]*.
32597 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32598 to[abcdefghijklmnopqrstuvwxyz]*.
32599 [ISO C standards] (*_t): Do not allow.
32600 * conform/data/stdalign.h-data: New file.
32601 * conform/data/stdbool.h-data: Likewise.
32602 * conform/data/stdnoreturn.h-data: Likewise.
32603
7514feb8
RM
326042012-11-07 Roland McGrath <roland@hack.frob.com>
32605
32606 [BZ #14815]
32607 * manual/filesys.texi (Directory Entries): Typo fix.
32608 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32609
19b2ecfc
MS
326102012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32611
32612 * elf/elf.h (EM_AARCH64): New macro.
32613 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32614 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32615 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32616 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32617 (R_AARCH64_TLSDESC): Likewise.
32618 (NT_ARM_TLS): Likewise.
32619 (NT_ARM_HW_BREAK): Likewise.
32620 (NT_ARM_HW_WATCH): Likewise.
32621
60e235ee
JM
326222012-11-07 Joseph Myers <joseph@codesourcery.com>
32623
32624 [BZ #14811]
32625 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32626 (__ieee754_powl): Saturate nonzero exponents with absolute value
32627 below 0x1p-79 to +/- 0x1p-79.
32628 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32629 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32630 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32631 nonzero exponents with absolute value below 0x1p-32 to +/-
32632 0x1p-32.
32633 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32634 (__ieee754_powl): Saturate nonzero exponents with absolute value
32635 below 0x1p-79 to +/- 0x1p-79.
32636 * math/libm-test.inc (pow_test): Add more tests.
32637
0ab234b7
AK
326382012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32639
32640 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32641 _dl_s390_cap_flags with kernel. Increase string length.
32642 (_dl_s390_platforms): Add z196 and zEC12.
32643
45832f74
JM
326442012-11-07 Joseph Myers <joseph@codesourcery.com>
32645
32646 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32647 Change XOPEN21K to XOPEN2K.
32648
19218757
MK
326492012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32650
32651 * string/memmove.c: Use memcpy when possible.
32652
c5f45721
AJ
326532012-11-06 Andreas Jaeger <aj@suse.de>
32654
32655 * po/eo.po: Update from translation team.
32656
82477c28
JM
326572012-11-06 Joseph Myers <joseph@codesourcery.com>
32658
32659 [BZ #14793]
32660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32661 exponent and small x and y exponents, scale x or y up. Increase
32662 by 2 the exponent used in scaling up.
32663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32665 * math/libm-test.inc (fma_test): Add more tests.
32666 (fma_test_towardzero): Likewise.
32667 (fma_test_downward): Likewise.
32668 (fma_test_upward): Likewise.
32669
99252c8c
JM
326702012-11-05 Joseph Myers <joseph@codesourcery.com>
32671
acfa885f
JM
32672 [BZ #14805]
32673 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32674 fenv_t *.
32675
99252c8c
JM
32676 [BZ #14801]
32677 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32678 namespace for names of struct fields.
32679 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32680 fenv_t fields.
32681 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32682 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32683
d6d98dea
ST
326842012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32685
32686 [BZ #3665]
32687 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32688
e10bb107
TS
326892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32690
32691 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32692 PTR_DEMANGLE.
32693
32694 [BZ #5246]
32695 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32696 PTR_DEMANGLE.
32697
a0c2940d
JM
326982012-11-04 Joseph Myers <joseph@codesourcery.com>
32699
32700 [BZ #14797]
32701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32702 definitely overflow as x * y not x * y + z.
32703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32705 * math/libm-test.inc (fma_test): Add more tests.
32706 (fma_test_towardzero): Likewise.
32707 (fma_test_downward): Likewise.
32708 (fma_test_upward): Likewise.
32709
b830319d
TS
327102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32711
32712 [BZ #157]
32713
32714 * include/stub-tag.h: Remove file.
32715 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32716 '#include' of it.
32717 * manual/maint.texi (Porting): Don't reference it.
32718 * Makerules ($(objpfx)stubs): Likewise.
32719 * dirent/closedir.c: Don't include <stub-tag.h>.
32720 * dirent/dirfd.c: Likewise.
32721 * dirent/fdopendir.c: Likewise.
32722 * dirent/getdents.c: Likewise.
32723 * dirent/getdents64.c: Likewise.
32724 * dirent/opendir.c: Likewise.
32725 * dirent/readdir.c: Likewise.
32726 * dirent/readdir64.c: Likewise.
32727 * dirent/readdir64_r.c: Likewise.
32728 * dirent/readdir_r.c: Likewise.
32729 * dirent/rewinddir.c: Likewise.
32730 * dirent/seekdir.c: Likewise.
32731 * dirent/telldir.c: Likewise.
32732 * gmon/profil.c: Likewise.
32733 * grp/setgroups.c: Likewise.
32734 * inet/if_index.c: Likewise.
32735 * io/access.c: Likewise.
32736 * io/chdir.c: Likewise.
32737 * io/chmod.c: Likewise.
32738 * io/chown.c: Likewise.
32739 * io/close.c: Likewise.
32740 * io/dup.c: Likewise.
32741 * io/dup2.c: Likewise.
32742 * io/dup3.c: Likewise.
32743 * io/euidaccess.c: Likewise.
32744 * io/faccessat.c: Likewise.
32745 * io/fchdir.c: Likewise.
32746 * io/fchmod.c: Likewise.
32747 * io/fchmodat.c: Likewise.
32748 * io/fchown.c: Likewise.
32749 * io/fchownat.c: Likewise.
32750 * io/fcntl.c: Likewise.
32751 * io/flock.c: Likewise.
32752 * io/fstatfs.c: Likewise.
32753 * io/fstatfs64.c: Likewise.
32754 * io/fstatvfs.c: Likewise.
32755 * io/fstatvfs64.c: Likewise.
32756 * io/futimens.c: Likewise.
32757 * io/fxstat.c: Likewise.
32758 * io/fxstat64.c: Likewise.
32759 * io/fxstatat.c: Likewise.
32760 * io/fxstatat64.c: Likewise.
32761 * io/getcwd.c: Likewise.
32762 * io/isatty.c: Likewise.
32763 * io/lchmod.c: Likewise.
32764 * io/lchown.c: Likewise.
32765 * io/link.c: Likewise.
32766 * io/linkat.c: Likewise.
32767 * io/lseek.c: Likewise.
32768 * io/lseek64.c: Likewise.
32769 * io/lxstat64.c: Likewise.
32770 * io/mkdir.c: Likewise.
32771 * io/mkdirat.c: Likewise.
32772 * io/mkfifo.c: Likewise.
32773 * io/mkfifoat.c: Likewise.
32774 * io/open.c: Likewise.
32775 * io/open64.c: Likewise.
32776 * io/openat.c: Likewise.
32777 * io/openat64.c: Likewise.
32778 * io/pipe.c: Likewise.
32779 * io/pipe2.c: Likewise.
32780 * io/poll.c: Likewise.
32781 * io/posix_fadvise.c: Likewise.
32782 * io/posix_fadvise64.c: Likewise.
32783 * io/posix_fallocate.c: Likewise.
32784 * io/posix_fallocate64.c: Likewise.
32785 * io/read.c: Likewise.
32786 * io/readlink.c: Likewise.
32787 * io/readlinkat.c: Likewise.
32788 * io/rmdir.c: Likewise.
32789 * io/sendfile.c: Likewise.
32790 * io/sendfile64.c: Likewise.
32791 * io/statfs.c: Likewise.
32792 * io/statfs64.c: Likewise.
32793 * io/statvfs.c: Likewise.
32794 * io/statvfs64.c: Likewise.
32795 * io/symlink.c: Likewise.
32796 * io/symlinkat.c: Likewise.
32797 * io/ttyname.c: Likewise.
32798 * io/ttyname_r.c: Likewise.
32799 * io/umask.c: Likewise.
32800 * io/unlink.c: Likewise.
32801 * io/unlinkat.c: Likewise.
32802 * io/utime.c: Likewise.
32803 * io/utimensat.c: Likewise.
32804 * io/write.c: Likewise.
32805 * io/xmknod.c: Likewise.
32806 * io/xmknodat.c: Likewise.
32807 * io/xstat.c: Likewise.
32808 * io/xstat64.c: Likewise.
32809 * login/getpt.c: Likewise.
32810 * login/grantpt.c: Likewise.
32811 * login/unlockpt.c: Likewise.
32812 * math/e_acoshl.c: Likewise.
32813 * math/e_acosl.c: Likewise.
32814 * math/e_asinl.c: Likewise.
32815 * math/e_atan2l.c: Likewise.
32816 * math/e_atanhl.c: Likewise.
32817 * math/e_coshl.c: Likewise.
32818 * math/e_expl.c: Likewise.
32819 * math/e_fmodl.c: Likewise.
32820 * math/e_gammal_r.c: Likewise.
32821 * math/e_hypotl.c: Likewise.
32822 * math/e_j0l.c: Likewise.
32823 * math/e_j1l.c: Likewise.
32824 * math/e_jnl.c: Likewise.
32825 * math/e_lgammal_r.c: Likewise.
32826 * math/e_log10l.c: Likewise.
32827 * math/e_log2l.c: Likewise.
32828 * math/e_logl.c: Likewise.
32829 * math/e_powl.c: Likewise.
32830 * math/e_rem_pio2l.c: Likewise.
32831 * math/e_sinhl.c: Likewise.
32832 * math/e_sqrtl.c: Likewise.
32833 * math/fclrexcpt.c: Likewise.
32834 * math/fedisblxcpt.c: Likewise.
32835 * math/feenablxcpt.c: Likewise.
32836 * math/fegetenv.c: Likewise.
32837 * math/fegetexcept.c: Likewise.
32838 * math/fegetround.c: Likewise.
32839 * math/feholdexcpt.c: Likewise.
32840 * math/fesetenv.c: Likewise.
32841 * math/fesetround.c: Likewise.
32842 * math/feupdateenv.c: Likewise.
32843 * math/fgetexcptflg.c: Likewise.
32844 * math/fraiseexcpt.c: Likewise.
32845 * math/fsetexcptflg.c: Likewise.
32846 * math/ftestexcept.c: Likewise.
32847 * math/k_cosl.c: Likewise.
32848 * math/k_rem_pio2l.c: Likewise.
32849 * math/k_sinl.c: Likewise.
32850 * math/k_tanl.c: Likewise.
32851 * math/s_asinhl.c: Likewise.
32852 * math/s_atanl.c: Likewise.
32853 * math/s_cbrtl.c: Likewise.
32854 * math/s_erfl.c: Likewise.
32855 * math/s_expm1l.c: Likewise.
32856 * math/s_log1pl.c: Likewise.
32857 * math/s_tanhl.c: Likewise.
32858 * misc/acct.c: Likewise.
32859 * misc/brk.c: Likewise.
32860 * misc/chflags.c: Likewise.
32861 * misc/chroot.c: Likewise.
32862 * misc/fchflags.c: Likewise.
32863 * misc/fgetxattr.c: Likewise.
32864 * misc/flistxattr.c: Likewise.
32865 * misc/fremovexattr.c: Likewise.
32866 * misc/fsetxattr.c: Likewise.
32867 * misc/fsync.c: Likewise.
32868 * misc/ftruncate.c: Likewise.
32869 * misc/futimes.c: Likewise.
32870 * misc/futimesat.c: Likewise.
32871 * misc/getdomain.c: Likewise.
32872 * misc/getdtsz.c: Likewise.
32873 * misc/gethostid.c: Likewise.
32874 * misc/gethostname.c: Likewise.
32875 * misc/getloadavg.c: Likewise.
32876 * misc/getpagesize.c: Likewise.
32877 * misc/getsysstats.c: Likewise.
32878 * misc/getxattr.c: Likewise.
32879 * misc/gtty.c: Likewise.
32880 * misc/ioctl.c: Likewise.
32881 * misc/lgetxattr.c: Likewise.
32882 * misc/listxattr.c: Likewise.
32883 * misc/llistxattr.c: Likewise.
32884 * misc/lremovexattr.c: Likewise.
32885 * misc/lsetxattr.c: Likewise.
32886 * misc/lutimes.c: Likewise.
32887 * misc/madvise.c: Likewise.
32888 * misc/mincore.c: Likewise.
32889 * misc/mlock.c: Likewise.
32890 * misc/mlockall.c: Likewise.
32891 * misc/mmap.c: Likewise.
32892 * misc/mprotect.c: Likewise.
32893 * misc/msync.c: Likewise.
32894 * misc/munlock.c: Likewise.
32895 * misc/munlockall.c: Likewise.
32896 * misc/munmap.c: Likewise.
32897 * misc/preadv.c: Likewise.
32898 * misc/preadv64.c: Likewise.
32899 * misc/ptrace.c: Likewise.
32900 * misc/pwritev.c: Likewise.
32901 * misc/pwritev64.c: Likewise.
32902 * misc/readv.c: Likewise.
32903 * misc/reboot.c: Likewise.
32904 * misc/remap_file_pages.c: Likewise.
32905 * misc/removexattr.c: Likewise.
32906 * misc/revoke.c: Likewise.
32907 * misc/select.c: Likewise.
32908 * misc/setdomain.c: Likewise.
32909 * misc/setegid.c: Likewise.
32910 * misc/seteuid.c: Likewise.
32911 * misc/sethostid.c: Likewise.
32912 * misc/sethostname.c: Likewise.
32913 * misc/setregid.c: Likewise.
32914 * misc/setreuid.c: Likewise.
32915 * misc/setxattr.c: Likewise.
32916 * misc/sstk.c: Likewise.
32917 * misc/stty.c: Likewise.
32918 * misc/swapoff.c: Likewise.
32919 * misc/swapon.c: Likewise.
32920 * misc/sync.c: Likewise.
32921 * misc/syncfs.c: Likewise.
32922 * misc/syscall.c: Likewise.
32923 * misc/truncate.c: Likewise.
32924 * misc/ualarm.c: Likewise.
32925 * misc/usleep.c: Likewise.
32926 * misc/ustat.c: Likewise.
32927 * misc/utimes.c: Likewise.
32928 * misc/vhangup.c: Likewise.
32929 * misc/writev.c: Likewise.
32930 * posix/_exit.c: Likewise.
32931 * posix/alarm.c: Likewise.
32932 * posix/execve.c: Likewise.
32933 * posix/fexecve.c: Likewise.
32934 * posix/fork.c: Likewise.
32935 * posix/fpathconf.c: Likewise.
32936 * posix/getaddrinfo.c: Likewise.
32937 * posix/getegid.c: Likewise.
32938 * posix/geteuid.c: Likewise.
32939 * posix/getgid.c: Likewise.
32940 * posix/getgroups.c: Likewise.
32941 * posix/getlogin.c: Likewise.
32942 * posix/getlogin_r.c: Likewise.
32943 * posix/getpgid.c: Likewise.
32944 * posix/getpid.c: Likewise.
32945 * posix/getppid.c: Likewise.
32946 * posix/getresgid.c: Likewise.
32947 * posix/getresuid.c: Likewise.
32948 * posix/getsid.c: Likewise.
32949 * posix/getuid.c: Likewise.
32950 * posix/glob64.c: Likewise.
32951 * posix/nanosleep.c: Likewise.
32952 * posix/pathconf.c: Likewise.
32953 * posix/pause.c: Likewise.
32954 * posix/posix_madvise.c: Likewise.
32955 * posix/pread.c: Likewise.
32956 * posix/pread64.c: Likewise.
32957 * posix/pwrite.c: Likewise.
32958 * posix/pwrite64.c: Likewise.
32959 * posix/sched_getaffinity.c: Likewise.
32960 * posix/sched_getp.c: Likewise.
32961 * posix/sched_gets.c: Likewise.
32962 * posix/sched_primax.c: Likewise.
32963 * posix/sched_primin.c: Likewise.
32964 * posix/sched_rr_gi.c: Likewise.
32965 * posix/sched_setaffinity.c: Likewise.
32966 * posix/sched_setp.c: Likewise.
32967 * posix/sched_sets.c: Likewise.
32968 * posix/sched_yield.c: Likewise.
32969 * posix/setgid.c: Likewise.
32970 * posix/setlogin.c: Likewise.
32971 * posix/setpgid.c: Likewise.
32972 * posix/setresgid.c: Likewise.
32973 * posix/setresuid.c: Likewise.
32974 * posix/setsid.c: Likewise.
32975 * posix/setuid.c: Likewise.
32976 * posix/sleep.c: Likewise.
32977 * posix/spawni.c: Likewise.
32978 * posix/sysconf.c: Likewise.
32979 * posix/times.c: Likewise.
32980 * posix/wait.c: Likewise.
32981 * posix/wait3.c: Likewise.
32982 * posix/wait4.c: Likewise.
32983 * posix/waitpid.c: Likewise.
32984 * resolv/gai_sigqueue.c: Likewise.
32985 * resource/getpriority.c: Likewise.
32986 * resource/getrlimit.c: Likewise.
32987 * resource/getrusage.c: Likewise.
32988 * resource/nice.c: Likewise.
32989 * resource/setpriority.c: Likewise.
32990 * resource/setrlimit.c: Likewise.
32991 * resource/ulimit.c: Likewise.
32992 * rt/aio_cancel.c: Likewise.
32993 * rt/aio_fsync.c: Likewise.
32994 * rt/aio_read.c: Likewise.
32995 * rt/aio_sigqueue.c: Likewise.
32996 * rt/aio_suspend.c: Likewise.
32997 * rt/aio_write.c: Likewise.
32998 * rt/clock_getres.c: Likewise.
32999 * rt/clock_gettime.c: Likewise.
33000 * rt/clock_nanosleep.c: Likewise.
33001 * rt/clock_settime.c: Likewise.
33002 * rt/lio_listio.c: Likewise.
33003 * rt/mq_close.c: Likewise.
33004 * rt/mq_getattr.c: Likewise.
33005 * rt/mq_notify.c: Likewise.
33006 * rt/mq_open.c: Likewise.
33007 * rt/mq_receive.c: Likewise.
33008 * rt/mq_send.c: Likewise.
33009 * rt/mq_setattr.c: Likewise.
33010 * rt/mq_timedreceive.c: Likewise.
33011 * rt/mq_timedsend.c: Likewise.
33012 * rt/mq_unlink.c: Likewise.
33013 * rt/shm_open.c: Likewise.
33014 * rt/shm_unlink.c: Likewise.
33015 * rt/timer_create.c: Likewise.
33016 * rt/timer_delete.c: Likewise.
33017 * rt/timer_getoverr.c: Likewise.
33018 * rt/timer_gettime.c: Likewise.
33019 * rt/timer_settime.c: Likewise.
33020 * setjmp/__longjmp.c: Likewise.
33021 * setjmp/setjmp.c: Likewise.
33022 * signal/kill.c: Likewise.
33023 * signal/killpg.c: Likewise.
33024 * signal/raise.c: Likewise.
33025 * signal/sigaction.c: Likewise.
33026 * signal/sigaltstack.c: Likewise.
33027 * signal/sigblock.c: Likewise.
33028 * signal/sigignore.c: Likewise.
33029 * signal/sigintr.c: Likewise.
33030 * signal/signal.c: Likewise.
33031 * signal/sigpause.c: Likewise.
33032 * signal/sigpending.c: Likewise.
33033 * signal/sigqueue.c: Likewise.
33034 * signal/sigreturn.c: Likewise.
33035 * signal/sigset.c: Likewise.
33036 * signal/sigsetmask.c: Likewise.
33037 * signal/sigstack.c: Likewise.
33038 * signal/sigsuspend.c: Likewise.
33039 * signal/sigtimedwait.c: Likewise.
33040 * signal/sigvec.c: Likewise.
33041 * signal/sigwait.c: Likewise.
33042 * signal/sigwaitinfo.c: Likewise.
33043 * signal/sysv_signal.c: Likewise.
33044 * socket/accept.c: Likewise.
33045 * socket/accept4.c: Likewise.
33046 * socket/bind.c: Likewise.
33047 * socket/connect.c: Likewise.
33048 * socket/getpeername.c: Likewise.
33049 * socket/getsockname.c: Likewise.
33050 * socket/getsockopt.c: Likewise.
33051 * socket/isfdtype.c: Likewise.
33052 * socket/listen.c: Likewise.
33053 * socket/recv.c: Likewise.
33054 * socket/recvfrom.c: Likewise.
33055 * socket/recvmsg.c: Likewise.
33056 * socket/send.c: Likewise.
33057 * socket/sendmsg.c: Likewise.
33058 * socket/sendto.c: Likewise.
33059 * socket/setsockopt.c: Likewise.
33060 * socket/shutdown.c: Likewise.
33061 * socket/sockatmark.c: Likewise.
33062 * socket/socket.c: Likewise.
33063 * socket/socketpair.c: Likewise.
33064 * stdio-common/ctermid.c: Likewise.
33065 * stdio-common/cuserid.c: Likewise.
33066 * stdio-common/remove.c: Likewise.
33067 * stdio-common/rename.c: Likewise.
33068 * stdio-common/renameat.c: Likewise.
33069 * stdio-common/tempname.c: Likewise.
33070 * stdlib/getcontext.c: Likewise.
33071 * stdlib/makecontext.c: Likewise.
33072 * stdlib/setcontext.c: Likewise.
33073 * stdlib/swapcontext.c: Likewise.
33074 * stdlib/system.c: Likewise.
33075 * streams/fattach.c: Likewise.
33076 * streams/fdetach.c: Likewise.
33077 * streams/getmsg.c: Likewise.
33078 * streams/getpmsg.c: Likewise.
33079 * streams/putmsg.c: Likewise.
33080 * streams/putpmsg.c: Likewise.
33081 * sysdeps/unix/bsd/getpt.c: Likewise.
33082 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33083 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33084 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33086 Likewise.
33087 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33088 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33089 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33090 * sysvipc/msgctl.c: Likewise.
33091 * sysvipc/msgget.c: Likewise.
33092 * sysvipc/msgrcv.c: Likewise.
33093 * sysvipc/msgsnd.c: Likewise.
33094 * sysvipc/semctl.c: Likewise.
33095 * sysvipc/semget.c: Likewise.
33096 * sysvipc/semop.c: Likewise.
33097 * sysvipc/semtimedop.c: Likewise.
33098 * sysvipc/shmat.c: Likewise.
33099 * sysvipc/shmctl.c: Likewise.
33100 * sysvipc/shmdt.c: Likewise.
33101 * sysvipc/shmget.c: Likewise.
33102 * termios/tcdrain.c: Likewise.
33103 * termios/tcflow.c: Likewise.
33104 * termios/tcflush.c: Likewise.
33105 * termios/tcgetattr.c: Likewise.
33106 * termios/tcgetpgrp.c: Likewise.
33107 * termios/tcsendbrk.c: Likewise.
33108 * termios/tcsetattr.c: Likewise.
33109 * termios/tcsetpgrp.c: Likewise.
33110 * time/adjtime.c: Likewise.
33111 * time/clock.c: Likewise.
33112 * time/getitimer.c: Likewise.
33113 * time/gettimeofday.c: Likewise.
33114 * time/setitimer.c: Likewise.
33115 * time/settimeofday.c: Likewise.
33116 * time/stime.c: Likewise.
33117 * time/time.c: Likewise.
33118
331192012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 33120
a20492cf
PT
33121 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33122 /usr/old/bin.
33123
72e182e3
PT
33124 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33125 instead of spaces.
33126 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33127
fbeafede
JM
331282012-11-03 Joseph Myers <joseph@codesourcery.com>
33129
5b5b04d6
JM
33130 [BZ #14796]
33131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33132 FE_TONEAREST before applying Dekker multiplication and Knuth
33133 addition. Clear inexact exceptions and check for exact zero
33134 results afterwards.
33135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33136 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33138 * math/libm-test.inc (fma_test): Add more tests.
33139 (fma_test_towardzero): Likewise.
33140 (fma_test_downward): Likewise.
33141 (fma_test_upward): Likewise.
33142 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33143 function.
33144 (libc_fesetround): New macro.
33145 (libc_fesetroundf): Likewise.
33146 (libc_fesetroundl): Likewise.
33147 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33148 function.
33149 (libc_fesetround_387): Likewise.
33150 (libc_fesetroundf): New macro.
33151 (libc_fesetround): Likewise.
33152 (libc_fesetroundl): Likewise.
33153 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33154 function.
33155 (libc_fesetroundf): New macro.
33156 (libc_fesetround): Likewise.
33157 (libc_fesetroundl): Likewise.
33158 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33159 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33160 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33161 libm_hidden_ver.
33162 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33163 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33164 libm_hidden_def.
33165 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33166 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33167 libm_hidden_ver.
33168 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33169 libm_hidden_def.
33170
fbeafede
JM
33171 [BZ #3439]
33172 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33173 integer constant usable in #if and use that to give value to enum
33174 constant.
33175 (FE_DIVBYZERO): Likewise.
33176 (FE_UNDERFLOW): Likewise.
33177 (FE_OVERFLOW): Likewise.
33178 (FE_INVALID): Likewise.
33179 (FE_INVALID_SNAN): Likewise.
33180 (FE_INVALID_ISI): Likewise.
33181 (FE_INVALID_IDI): Likewise.
33182 (FE_INVALID_ZDZ): Likewise.
33183 (FE_INVALID_IMZ): Likewise.
33184 (FE_INVALID_COMPARE): Likewise.
33185 (FE_INVALID_SOFTWARE): Likewise.
33186 (FE_INVALID_SQRT): Likewise.
33187 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33188 (FE_TONEAREST): Likewise.
33189 (FE_TOWARDZERO): Likewise.
33190 (FE_UPWARD): Likewise.
33191 (FE_DOWNWARD): Likewise.
33192 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33193 (FE_DIVBYZERO): Likewise.
33194 (FE_OVERFLOW): Likewise.
33195 (FE_UNDERFLOW): Likewise.
33196 (FE_INEXACT): Likewise.
33197 (FE_TONEAREST): Likewise.
33198 (FE_DOWNWARD): Likewise.
33199 (FE_UPWARD): Likewise.
33200 (FE_TOWARDZERO): Likewise.
33201 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33202 (FE_UNDERFLOW): Likewise.
33203 (FE_OVERFLOW): Likewise.
33204 (FE_DIVBYZERO): Likewise.
33205 (FE_INVALID): Likewise.
33206 (FE_TONEAREST): Likewise.
33207 (FE_TOWARDZERO): Likewise.
33208 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33209 (FE_OVERFLOW): Likewise.
33210 (FE_UNDERFLOW): Likewise.
33211 (FE_DIVBYZERO): Likewise.
33212 (FE_INEXACT): Likewise.
33213 (FE_TONEAREST): Likewise.
33214 (FE_TOWARDZERO): Likewise.
33215 (FE_UPWARD): Likewise.
33216 (FE_DOWNWARD): Likewise.
33217 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33218 (FE_DIVBYZERO): Likewise.
33219 (FE_OVERFLOW): Likewise.
33220 (FE_UNDERFLOW): Likewise.
33221 (FE_INEXACT): Likewise.
33222 (FE_TONEAREST): Likewise.
33223 (FE_DOWNWARD): Likewise.
33224 (FE_UPWARD): Likewise.
33225 (FE_TOWARDZERO): Likewise.
33226
105ca950
CM
332272012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33228
33229 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33230
a542b389
AS
332312012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33232
33233 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33234 commands. Quote $PWD.
33235 (blacklist_exports): Don't use remove_newlines. Replace "declare
33236 -x" by "export".
33237 (remove_newlines): Remove.
33238
f62c8abc
L
332392012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33240
33241 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33242 * stdlib/stdlib.h (atof): Moved to ...
33243 * include/bits/stdlib-float.h: Here. New file.
33244 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33245 * stdlib/bits/stdlib-float.h: New file.
33246 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33247 -mno-sse -mno-mmx.
33248 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33249 <xmmintrin.h>.
33250
0155d5b2
JM
332512012-11-02 Joseph Myers <joseph@codesourcery.com>
33252
a68d0680
JM
33253 * conform/conformtest.pl (@headers): Add fenv.h.
33254 * conform/data/fenv.h-data: New file.
33255 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33256 include of <math/fenv.h>.
33257
caf7f573
JM
33258 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33259 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33260 && !UNIX98]. Enables tests for XOPEN2K8.
33261 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33262 POSIX2008]: Likewise.
33263
6c073ad6
JM
33264 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33265 (struct rusage): Do not expect type or its members.
33266
0155d5b2
JM
33267 [BZ #3439]
33268 * math/math.h (FP_NAN): Define macro to integer constant usable in
33269 #if and use that to give value to enum constant.
33270 (FP_INFINITE): Likewise.
33271 (FP_ZERO): Likewise.
33272 (FP_SUBNORMAL): Likewise.
33273 (FP_NORMAL): Likewise.
33274
b5dcacb4
AS
332752012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33276
33277 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33278 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33279 arguments.
33280
f7934be8
RM
332812012-11-02 Roland McGrath <roland@hack.frob.com>
33282
33283 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33284 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33285 autoconf-time if not.
33286 * configure.in: Remove AC_PREREQ.
33287
d7d08bde
TMQMF
332882012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33289
33290 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33291 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33292 of the internal implementation.
33293
dcdae19a
JM
332942012-11-02 Joseph Myers <joseph@codesourcery.com>
33295
33296 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33297 except include of <misc/sys/syslog.h>.
33298
d6cffd3e
AS
332992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33300
33301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33302 function returns with a NULL context exit with zero.
33303
b3563932
TMQMF
333042012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33305
33306 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33307
b288a93d
L
333082012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33309
33310 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33311 (run_program_cmd): This.
33312 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33313 (tst_langinfo): New variable. Use it.
33314
a2421a68
SAS
333152012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33316
33317 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33318 floating point opcodes.
33319
6f796e1b
TS
333202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33321
7402596b
TS
33322 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33323 variable.
33324
d0d4f868
TS
33325 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33326
6f796e1b
TS
33327 * sysdeps/mach/hurd/powerpc: Remove directory.
33328 * sysdeps/mach/powerpc: Likewise.
33329
4da224a2
AS
333302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33331
33332 * scripts/check-local-headers.sh: Ignore c++ headers.
33333
341dd673
TS
333342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33335
33336 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33337 __libc_cleanup_region_start argument.
33338
473611b2
JM
333392012-11-01 Joseph Myers <joseph@codesourcery.com>
33340
33341 [BZ #14784]
33342 [BZ #14785]
33343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33344 x * y using scaling, not as x * y + z.
33345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33346 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33347 * math/libm-test.inc (fma_test): Add more tests.
33348 (fma_test_towardzero): Likewise.
33349 (fma_test_downward): Likewise.
33350 (fma_test_upward): Likewise.
33351
4078da3d
TS
333522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33353
33354 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33355
903252aa
JM
333562012-10-31 Joseph Myers <joseph@codesourcery.com>
33357
33358 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33359 New variable.
33360
cbc818d0
TS
333612012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33362
33363 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33364
5a03cb1e
AS
333652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33366
33367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33368 Fix sort order.
33369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33370 Likewise.
33371
90aff2ff
TMQMF
333722012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33373
33374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33375 Fix the order of the list for glibc 2.17.
33376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33377 Likewise.
33378
1818fcb7
AS
333792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33380
33381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33382
ef82f4da
JM
333832012-10-31 Joseph Myers <joseph@codesourcery.com>
33384
16a0e2ec
JM
33385 [BZ #14610]
33386 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33387 for low part of x being zero before using __atanl (y).
33388 * math/libm-test.inc (atan2_test): Add another test.
33389
0eb69512
JM
33390 * manual/install.texi (Configuring and compiling): Document
33391 general use of test-wrapper and test-wrapper-env.
33392 * INSTALL: Regenerated.
33393
ef82f4da
JM
33394 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33395 (__fma): Do not extract and scale down low bits on after-rounding
33396 systems when result rounded to normal precision would have normal
33397 exponent.
33398 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33399 (__fmal): Do not extract and scale down low bits on after-rounding
33400 systems when result rounded to normal precision would have normal
33401 exponent.
33402 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33403 (__fmal): Do not extract and scale down low bits on after-rounding
33404 systems when result rounded to normal precision would have normal
33405 exponent.
33406 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33407 macro.
33408 (fma_test): Add more tests.
33409 (fma_test_towardzero): Likewise.
33410 (fma_test_downward): Likewise.
33411 (fma_test_upward): Likewise.
33412
954ef0d9
L
334132012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33414
33415 * sysdeps/i386/tininess.h: Renamed to ...
33416 * sysdeps/x86/tininess.h: This.
33417 * sysdeps/x86_64/tininess.h: Removed.
33418
df61ffb2
JM
334192012-10-30 Joseph Myers <joseph@codesourcery.com>
33420
33421 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33422 input. Use $(build-program-cmd).
33423 ($(objpfx)tst-array1-static.out): Likewise.
33424 ($(objpfx)tst-array2.out): Likewise.
33425 ($(objpfx)tst-array3.out): Likewise.
33426 ($(objpfx)tst-array4.out): Likewise.
33427 ($(objpfx)tst-array5.out): Likewise.
33428 ($(objpfx)tst-array5-static.out): Likewise.
33429
01767843
CM
334302012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33431
47cc1490
CM
33432 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33433 if defined.
33434
01767843
CM
33435 * nss/nsswitch.h (nss_interface_function): Provide new
33436 macro for use with NSS functions.
33437 * grp/initgroups.c: Use new macro.
33438 * nss/getXXbyYY.c: Likewise.
33439 * nss/getXXbyYY_r.c: Likewise.
33440 * nss/getXXent.c: Likewise.
33441 * nss/getXXent_r.c: Likewise.
33442 * sysdeps/posix/getaddrinfo.c: Likewise.
33443
8321aa97
AJ
334442012-10-30 Andreas Jaeger <aj@suse.de>
33445
33446 * po/ru.po: Update Russion translation from translation project.
33447
2a27fd6d
JM
334482012-10-30 Joseph Myers <joseph@codesourcery.com>
33449
8627a232
JM
33450 [BZ #14152]
33451 [BZ #14783]
33452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33453 result and shift together with sticky bit instead of replicating
33454 round-to-nearest rounding.
33455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33457 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33458 missing underflow exceptions.
33459 (fma_test_towardzero): Add more tests.
33460 (fma_test_downward): Likewise.
33461 (fma_test_upward): Likewise.
33462
2a27fd6d
JM
33463 [BZ #14047]
33464 * sysdeps/generic/tininess.h: New file.
33465 * sysdeps/i386/tininess.h: Likewise.
33466 * sysdeps/sh/tininess.h: Likewise.
33467 * sysdeps/x86_64/tininess.h: Likewise.
33468 * stdlib/tst-strtod-underflow.c: Likewise.
33469 * stdlib/tst-tininess.c: Likewise.
33470 * stdlib/strtod_l.c: Include <tininess.h>.
33471 (round_and_return): Do not set errno for exact underflow cases.
33472 Force an underflow exception when setting errno for underflow.
33473 Determine underflow based on rounding to normal precision if
33474 TININESS_AFTER_ROUNDING.
33475 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33476 ERANGE for exact underflow cases.
33477 * stdlib/Makefile (tests): Add tst-tininess and
33478 tst-strtod-underflow.
33479 ($(objpfx)tst-tininess): Use $(link-libm).
33480 ($(objpfx)tst-strtod-underflow): Likewise.
33481
e7170363
AJ
334822012-10-30 Andreas Jaeger <aj@suse.de>
33483
e5088dc6
AJ
33484 [BZ#14767]
33485 * elf/Makefile (tests): Remove conditional for have-initfini-array
33486 since this is now always required and the variable does not exist
33487 anymore.
33488 (tests-static): Likewise.
33489 (modules-names): Likewise.
33490
e7170363 33491 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
33492
33493 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33494 merged with constructor/destructor.
33495 (init_array): Likewise.
33496 * elf/tst-array2dep.c (fini_array): Likewise.
33497 (init_array): Likewise.
33498
60457d8a
MF
334992012-10-29 Mike Frysinger <vapier@gentoo.org>
33500
33501 * manual/message.texi: Delete @cartouche tags.
33502
8bece752
PT
335032012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33504
94ce799f
PT
33505 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33506 EOPNOTSUPP.
33507 * sysdeps/mach/hurd/fsync.c: Likewise.
33508
8bece752
PT
33509 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33510 [_POSIX_REALTIME_SIGNALS]: Change condition to
33511 [_POSIX_REALTIME_SIGNALS > 0].
33512
86ebe6b1
AJ
335132012-10-27 Andreas Jaeger <aj@suse.de>
33514
33515 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33516 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33518 [__WORDSIZE != 64]: Likewise.
33519
54399c08
L
335202012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33521
33522 * iconvdata/tst-table.sh: Remove ${SHELL}.
33523 * iconvdata/tst-tables.sh: Likewise.
33524
e2211bed
DM
335252012-10-25 David S. Miller <davem@davemloft.net>
33526
33527 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33528 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33529 of strtoull.
33530
f303f97c
DM
33531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33532 ifunc-impl-list.c
33533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33534 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33535 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33536 file.
33537
1e9d84cd
RM
335382012-10-25 Roland McGrath <roland@hack.frob.com>
33539
33540 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33541 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33542 __getdirentries.
33543
df381762
JM
335442012-10-25 Joseph Myers <joseph@codesourcery.com>
33545 Jim Blandy <jimb@codesourcery.com>
33546
33547 * scripts/cross-test-ssh.sh: New file.
33548 * manual/install.texi (Configuring and compiling): Document use of
33549 cross-test-ssh.sh.
33550 * INSTALL: Regenerated.
33551
bff64913
PT
335522012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33553
33554 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33555 EOPNOTSUPP.
33556
25fe8932
JM
335572012-10-25 Joseph Myers <joseph@codesourcery.com>
33558
33559 * Makeconfig (run-program-prefix): Fix comment.
33560
cc1290d0
JM
335612012-10-24 Joseph Myers <joseph@codesourcery.com>
33562 Jim Blandy <jimb@codesourcery.com>
33563
33564 * Makeconfig (test-wrapper): New variable,
33565 (test-wrapper-env): Likewise.
33566 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33567 (run-built-tests): Define to yes.
33568 (run-program-prefix): Use $(test-wrapper).
33569 (built-program-cmd): Likewise.
33570 * Rules (make-test-out): Use $(test-wrapper-env) and
33571 $(host-built-program-cmd).
33572 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33573 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33574 tst-pathopt.sh.
33575 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33576 $(test-wrapper-env) to tst-rtld-load-self.sh.
33577 ($(objpfx)order2.out): Use $(test-wrapper).
33578 ($(objpfx)tst-initorder.out): Likewise.
33579 ($(objpfx)tst-initorder2.out): Likewise.
33580 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33581 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33582 (test_wrapper_env): New variable. Use it to run ld.so.
33583 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33584 Use it to run ld.so.
33585 (test_wrapper_env): Likewise.
33586 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33587 $(test-wrapper) to run-iconv-test.sh.
33588 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33589 (ICONV): Use $test_wrapper.
33590 * posix/Makefile ($(objpfx)globtest.out): Pass
33591 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33592 globtest.sh, not $(run-program-prefix).
33593 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33594 (test_wrapper): Likewise.
33595 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33596 set together with run_via_rtld_prefix.
33597 (run_program_prefix): Define in terms of test_wrapper and
33598 run_via_rtld_prefix.
33599
6e6249d0
RM
336002012-10-24 Roland McGrath <roland@hack.frob.com>
33601
33602 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33603 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33604 Targets removed.
33605
33606 [BZ #14743]
33607 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33608 Declare __clock_getres, __clock_gettime, __clock_settime,
33609 __clock_nanosleep, and __clock_getcpuclockid.
33610 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33611 Remove librt_hidden_def (clock_gettime).
33612 * sysdeps/unix/clock_gettime.c: Likewise.
33613 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33614 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33615 * rt/clock_getres.c: Define __clock_getres as an alias.
33616 * sysdeps/posix/clock_getres.c: Likewise.
33617 * rt/clock_settime.c: Define __clock_settime as an alias.
33618 * sysdeps/unix/clock_settime.c: Likewise.
33619 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33620 * sysdeps/unix/clock_nanosleep.c: Likewise.
33621 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33622 * rt/clock-compat.c: New file.
33623 * rt/Makefile (librt-routines): Add clock-compat and move
33624 $(clock-routines) to ...
33625 (routines): ... here, new variable.
33626 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33627 Don't add get_clockfreq here.
33628 * rt/Versions (libc: GLIBC_2.17): New version set.
33629 Add clock_* symbols here.
33630 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33631 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33632 (GLIBC_2.17): Add clock_* symbols.
33633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33637 Likewise.
33638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33639 Likewise.
33640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33644 * NEWS: Mention the move.
33645
33646 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33647 Use __open, __read, __close rather than their public counterparts.
33648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33649 (__get_clockfreq_via_cpuinfo): Likewise.
33650 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33651 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33652
33653 * config.h.in (HAVE_IFUNC): New #undef.
33654 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33655 was successful.
33656 * configure: Regenerated.
33657
0cae3f4b
MF
336582012-10-24 Mike Frysinger <vapier@gentoo.org>
33659
33660 * configure.in: Move READELF check to start of file.
33661 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33662 libc_cv_asm_gnu_indirect_function in the process.
33663 * configure: Regenerated.
33664
8175a253
MF
336652012-10-24 Mike Frysinger <vapier@gentoo.org>
33666
33667 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33668 send the output to /dev/null.
33669 (libc_cv_cc_with_libunwind): Likewise.
33670 (libc_cv_as_noexecstack): Likewise.
33671 * configure: Regenerate.
33672
0708a7d1
JM
336732012-10-24 Joseph Myers <joseph@codesourcery.com>
33674
10b40d85
JM
33675 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33676
0708a7d1
JM
33677 * posix/globtest.sh (TMPDIR): Do not set.
33678 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33679 (testout): Likewise.
33680
9fddec1a
AJ
336812012-10-24 Andreas Jaeger <aj@suse.de>
33682
3a8db22f
AJ
33683 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33684 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33685 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33686 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33687 posix_fadvise64, posix_fallocate64.
33688
9fddec1a
AJ
33689 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33690 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33691 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33692 Likewise.
33693 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33694 Likewise.
33695 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33696
33697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33698 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33699 <bits/fcntl-linux.h>.
33700 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33701
33702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33703 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33704 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33705 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33706 [__WORDSIZE != 64]: Likewise.
33707
ebfd1bbd
JM
337082012-10-23 Joseph Myers <joseph@codesourcery.com>
33709
03ac099f
JM
33710 * Makeconfig (run-built-tests): New variable.
33711 * Rules [$(cross-compiling) = yes]: Change condition to
33712 [$(run-built-tests) = no].
33713 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33714 to [$(run-built-tests) = yes].
33715 * elf/Makefile [$(cross-compiling) = no]: Likewise
33716 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33717 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33718 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33719 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33720 * io/Makefile [$(cross-compiling) = no]: Likewise.
33721 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33722 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33723 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33724 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33725 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33726 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33727 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33728 * string/Makefile [$(cross-compiling) = no]: Likewise.
33729
ebfd1bbd
JM
33730 * posix/Makefile ($(objpfx)globtest.out): Pass
33731 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33732 $(rtld-installed-name).
33733 * posix/globtest.sh (elf_objpfx): Remove variable.
33734 (rtld_installed_name): Likewise.
33735 (library_path): Likewise.
33736 (run_program_prefix): New variable. Use for running globtest
33737 binary.
33738
166bca24
JB
337392012-10-23 Jim Blandy <jimb@codesourcery.com>
33740 Joseph Myers <joseph@codesourcery.com>
33741
33742 * Makeconfig (host-built-program-cmd): New variable.
33743 * elf/Makefile (tst-stackguard1-ARGS): Use
33744 $(host-built-program-cmd).
33745 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33746 (tst-spawn-ARGS): Likewise.
33747 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33748
88866099
JM
337492012-10-23 Joseph Myers <joseph@codesourcery.com>
33750 Jim Blandy <jimb@codesourcery.com>
33751
33752 * Makeconfig (run-via-rtld-prefix): New variable.
33753 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33754 (built-program-cmd): Likewise.
33755
b4b4c296
AJ
337562012-10-22 Andreas Jaeger <aj@suse.de>
33757
33758 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33759 __O_RSYNC if it exists, otherwise to O_SYNC.
33760
6fb54a22
JB
337612012-10-22 Jim Blandy <jimb@codesourcery.com>
33762 Joseph Myers <joseph@codesourcery.com>
33763
33764 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33765 /dev/null.
33766 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33767 from /dev/null
33768 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33769 /dev/null.
33770
481b90b9
AJ
337712012-10-22 Andreas Jaeger <aj@suse.de>
33772
2a0e2669
AJ
33773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33774 Define always.
33775 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33776
76e38f9a
AJ
33777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33778 bits/fcntl-linux.h.
33779
7cd37b43
AJ
33780 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33781 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33782
481b90b9
AJ
33783 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33784 to __O_LARGEFILE.
33785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33786 to __O_LARGEFILE.
33787
aba75984
JB
337882012-10-21 Jim Blandy <jimb@codesourcery.com>
33789 Joseph Myers <joseph@codesourcery.com>
33790
33791 * config.make.in (NM): New variable.
33792
88d4247f
AJ
337932012-10-21 Andreas Jaeger <aj@suse.de>
33794
33795 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33796 definitions and declarations that are provided by
33797 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33798
f2eed205
L
337992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33800
33801 [BZ #14683]
33802 * elf/Makefile (tests-static): Add tst-leaks1-static.
33803 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33804 ($(objpfx)tst-leaks1-static): New rule.
33805 ($(objpfx)tst-leaks1-static-mem): Likewise.
33806 (tst-leaks1-static-ENV): New macro.
33807 * elf/dl-open.c (dl_open_worker): Check the main application
33808 only if SHARED is defined.
33809 * elf/tst-leaks1-static.c: New file.
33810
335e6931
AJ
338112012-10-20 Andreas Jaeger <aj@suse.de>
33812
33813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33814 generic values for Linux.
33815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33816 and declarations that are provided by <bits/fcntl-linux.h> and
33817 include <bits/fcntl-linux.h>.
33818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33820
ac5c94d3
RM
338212012-10-20 Roland McGrath <roland@hack.frob.com>
33822
33823 * io/fcntl.h: Move include of <bits/types.h> to the top and
33824 include it unconditionally.
33825
de54b33a
L
338262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33827
228cfb01
L
33828 * wcsmbs/Makefile (tests-ifunc): New variable.
33829 (tests): Add $(tests-ifunc).
33830 * wcsmbs/test-wcschr-ifunc.c: New file.
33831 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33832 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33833 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33834 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33835 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33836
69f07e5f
L
33837 * string/Makefile (tests-ifunc): New variable.
33838 (tests): Add $(tests-ifunc).
33839 * string/test-memccpy.c (TEST_NAME): New macro.
33840 * string/test-memchr.c (TEST_NAME): Likewise.
33841 * string/test-memcmp.c (TEST_NAME): Likewise.
33842 * string/test-memcpy.c (TEST_NAME): Likewise.
33843 * string/test-memmem.c (TEST_NAME): Likewise.
33844 * string/test-memmove.c (TEST_NAME): Likewise.
33845 * string/test-memset.c (TEST_NAME): Likewise.
33846 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33847 * string/test-stpcpy.c (TEST_NAME): Likewise.
33848 * string/test-stpncpy.c (TEST_NAME): Likewise.
33849 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33850 * string/test-strcasestr.c (TEST_NAME): Likewise.
33851 * string/test-strcat.c (TEST_NAME): Likewise.
33852 * string/test-strchr.c (TEST_NAME): Likewise.
33853 * string/test-strcmp.c(TEST_NAME): Likewise.
33854 * string/test-strcpy.c (TEST_NAME): Likewise.
33855 * string/test-strcspn.c (TEST_NAME): Likewise.
33856 * string/test-strlen.c (TEST_NAME): Likewise.
33857 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33858 * string/test-strncmp.c (TEST_NAME): Likewise.
33859 * string/test-strncpy.c (TEST_NAME): Likewise.
33860 * string/test-strnlen.c (TEST_NAME): Likewise.
33861 * string/test-strpbrk.c (TEST_NAME): Likewise.
33862 * string/test-strrchr.c (TEST_NAME): Likewise.
33863 * string/test-strspn.c (TEST_NAME): Likewise.
33864 * string/test-strstr.c (TEST_NAME): Likewise.
33865 * string/test-bcopy-ifunc.c: New file.
33866 * string/test-bzero-ifunc.c: Likewise.
33867 * string/test-memccpy-ifunc.c: Likewise.
33868 * string/test-memchr-ifunc.c: Likewise.
33869 * string/test-memcmp-ifunc.c: Likewise.
33870 * string/test-memcpy-ifunc.c: Likewise.
33871 * string/test-memmem-ifunc.c: Likewise.
33872 * string/test-memmove-ifunc.c: Likewise.
33873 * string/test-mempcpy-ifunc.c: Likewise.
33874 * string/test-memset-ifunc.c: Likewise.
33875 * string/test-rawmemchr-ifunc.c: Likewise.
33876 * string/test-stpcpy-ifunc.c: Likewise.
33877 * string/test-stpncpy-ifunc.c: Likewise.
33878 * string/test-strcasecmp-ifunc.c: Likewise.
33879 * string/test-strcasestr-ifunc.c: Likewise.
33880 * string/test-strcat-ifunc.c: Likewise.
33881 * string/test-strchr-ifunc.c: Likewise.
33882 * string/test-strchrnul-ifunc.c: Likewise.
33883 * string/test-strcmp-ifunc.c: Likewise.
33884 * string/test-strcpy-ifunc.c: Likewise.
33885 * string/test-strcspn-ifunc.c: Likewise.
33886 * string/test-strlen-ifunc.c: Likewise.
33887 * string/test-strncasecmp-ifunc.c: Likewise.
33888 * string/test-strncat-ifunc.c: Likewise.
33889 * string/test-strncmp-ifunc.c: Likewise.
33890 * string/test-strncpy-ifunc.c: Likewise.
33891 * string/test-strnlen-ifunc.c: Likewise.
33892 * string/test-strpbrk-ifunc.c: Likewise.
33893 * string/test-strrchr-ifunc.c: Likewise.
33894 * string/test-strspn-ifunc.c: Likewise.
33895 * string/test-strstr-ifunc.c: Likewise.
33896
de54b33a
L
33897 * debug/Makefile (tests-ifunc): New variable.
33898 (tests): Add $(tests-ifunc).
33899 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33900 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33901 * debug/test-stpcpy_chk-ifunc.c: New file.
33902 * debug/test-strcpy_chk-ifunc.c: Likewise.
33903
88481c16
SP
339042012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33905
33906 [BZ #13601]
33907 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33908 header is not read in.
33909
135948bd
JM
339102012-10-19 Joseph Myers <joseph@codesourcery.com>
33911
89f1c388
JM
33912 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33913 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33914 directly. Pass built executable to script as
33915 $(built-program-cmd).
33916 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33917 $testprogram without using LD_LIBRARY_PATH and $ldso.
33918
e40a0d21
JM
33919 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33920 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33921 $(rtld-installed-name).
33922 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33923 (rtld_installed_name): Likewise.
33924 (library_path): Likewise.
33925 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33926 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33927 $(run-program-prefix) to tst-tables.sh.
33928 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33929 it to run tst-table-from and tst-table-to.
33930 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33931 Pass it to tst-table.sh.
33932 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33933 $(run-program-prefix) to tst-gettext.sh.
33934 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33935 tst-translit.sh.
33936 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33937 tst-gettext2.sh.
33938 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33939 to run tst-gettext.
33940 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33941 to run tst-gettext2.
33942 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33943 to run tst-translit.
33944 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33945 $(run-program-prefix) to tst-mtrace.sh.
33946 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33947 to run tst-mtrace.
33948 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33949 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33950 $(rtld-installed-name).
33951 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33952 (rtld_installed_name): Likewise.
33953 (run_program_prefix): New variable. Use it to run wordexp-test.
33954
728e272a
JM
33955 * Makeconfig (ARCH): Remove all definitions.
33956 (machine): Likewise.
33957 [ARCH]: Remove conditional code.
33958 [!objdir]: Give error.
33959 [!objdir] (objpfx): Remove.
33960 [!objdir] (common-objpfx): Likewise.
33961 [!objdir] (common-objdir): Likewise.
33962 * configure.in (config_makefile): Remove. Hardcode Makefile in
33963 AC_CONFIG_FILES call.
33964 * configure: Regenerated.
33965
d528cdcf
JM
33966 [BZ #13888]
33967 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33968 or TMPDIR.
33969 (testout): Likewise.
33970
135948bd
JM
33971 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33972 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33973 $(rtld-installed-name).
33974 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33975 (rtld_installed_name): Likwise.
33976 (runit): Remove function.
33977 (run_getconf): New variable, Use it for running getconf binary.
33978
38c78296
L
339792012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33980
33981 [BZ #14716]
33982 * string/test-memmem.c (check_result): New function.
33983 (do_one_test): Use it.
33984 (check1): New function.
33985 (test_main): Use it.
33986
d077f65f
MT
339872012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33988
33989 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33990
ced52c71
JM
339912012-10-18 Joseph Myers <joseph@codesourcery.com>
33992
33993 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33994 (_G_LSEEK64): Likewise.
33995 (_G_MMAP64): Likewise.
33996 (_G_FSTAT64): Likewise.
33997 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33998 (_G_LSEEK64): Likewise.
33999 (_G_MMAP64): Likewise.
34000 (_G_FSTAT64): Likewise.
34001 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34002 unconditional. Call __mmap64 directly.
34003 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34004 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34005 __lseek64 directly.
34006 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34007 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34008 __mmap64 directly.
34009 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34010 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34011 __lseek64 directly.
34012 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34013 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34014 __lseek64 directly.
34015 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34016 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34017 __lseek64 directly.
34018 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34019 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34020 __fxstat64 directly.
34021 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34022 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34023 unconditional.
34024 (freopen64) [!_G_OPEN64]: Remove conditional code.
34025 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34026 unconditional.
34027 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34028 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34029 unconditional.
34030 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34031 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34032 unconditional.
34033 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34034 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34035 unconditional.
34036 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34037 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34038 unconditional.
34039 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34040 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34041 unconditional.
34042 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34043 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34044 unconditional.
34045 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34046
b741de23
SP
340472012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34048
34049 [BZ #12140]
34050 * manual/memory.texi (Malloc Tunable Parameters): Add note
34051 about free list pointers overwriting some perturb bytes.
34052 Wording suggested by Roland McGrath.
34053
f9b9d9c9
JM
340542012-10-17 Joseph Myers <joseph@codesourcery.com>
34055
34056 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34057 (lgamma_test): Likewise.
34058 (tgamma_test): Likewise.
34059
172a631a
FW
340602012-10-16 Florian Weimer <fweimer@redhat.com>
34061
34062 [BZ #14700]
34063 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34064 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34065
e9f37252
MK
340662012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34067
34068 * NEWS: Mention BZ #14716.
34069 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34070 when removing AVAILABLE1_USES_J macro.
34071
d394eb74
L
340722012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34073
34074 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34075 (__bswap_64): __uint64_t for unsigned 64-bit int.
34076
ca38dc17
AS
340772012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34078
34079 * include/string.h (memmem): Declare libc hidden alias.
34080 * string/memmem.c (memmem): Define libc hidden alias.
34081 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34082 __read, __close instead of open, read, close.
34083
9a387d1f
L
340842012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34085
ac49ecaf
L
34086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34087 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34088 global and hidden.
34089 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34090 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34091 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34092 Likewise.
34093 (__rawmemchr_sse2): Likewise.
34094 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34095 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34096 (__strchr_sse2): Likewise.
34097 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34098 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34099 (__strcasecmp_sse2): Likewise.
34100 (__strncasecmp_sse2): Likewise.
34101 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34102 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34103 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34104 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34105 (__strrchr_sse2): Likewise.
34106 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34107 ifunc-impl-list.c.
34108 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34109 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34110 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34111 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34112 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34113 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34114 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34115 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34116 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34117 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34118 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34119 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34120 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34121 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34122 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34123 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34124 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34125 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34126 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34127 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34128 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34129 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34130 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34131 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34132 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34133 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34134 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34135 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34136 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34137 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34138
b090e8ea
L
34139 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34140 global and hidden.
34141 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34142 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34143 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34144 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34145 Likewise.
34146 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34147 Likewise.
34148 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34149 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34150 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34151 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34152 ifunc-impl-list.c.
34153 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34154 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34155 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34156 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34157 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34158 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34159 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34160 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34161 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34162 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34163 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34164 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34165 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34166 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34167 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34168 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34169 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34170 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34171 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34172 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34173 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34174 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34175 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34176 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34177 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34178 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34179 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34180 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34181 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34182 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34183 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34184 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34185 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34186 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34187 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34188 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34189 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34190 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34191 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34192 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34193 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34194
11dd4af6
L
34195 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34196 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34197 * include/ifunc-impl-list.h: New file.
34198 * misc/ifunc-impl-list.c: Likewise.
34199 * misc/Makefile (routines): Add ifunc-impl-list.
34200 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34201 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
34202 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34203 TEST_NAME]: New variables.
11dd4af6
L
34204 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34205 are defined.
34206 (test_init): Call __libc_ifunc_impl_list to initialize
34207 func_list if TEST_IFUNC and TEST_NAME are defined.
34208
9a387d1f
L
34209 * string/Makefile (strop-tests): Add bcopy and bzero.
34210 * string/test-bcopy.c: New file.
34211 * string/test-bzero.c: Likewise.
34212 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34213 defined.
34214 * string/test-memset.c: Support bzero test if TEST_BZERO is
34215 defined.
34216 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34217 __libc_memmove.
34218 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34219 __libc_memset.
34220 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34221 of memset.
34222
472371b9
JM
342232012-10-10 Joseph Myers <joseph@codesourcery.com>
34224
1e4a9536
JM
34225 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34226 * configure: Regenerated.
34227
d173d12e
JM
34228 * Makeconfig (+link-static-before-libc): Don't include
34229 $(link-static-libc).
34230
472371b9
JM
34231 * libio/libio.h (_IO_pos_t): Remove.
34232
89a3ad0b
AO
342332012-10-10 Alexandre Oliva <aoliva@redhat.com>
34234
34235 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34236 McGrath.
34237
e7451425
AO
342382012-10-10 Alexandre Oliva <aoliva@redhat.com>
34239
34240 * crypt/crypt-entry.c: Include fips-private.h.
34241 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34242 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34243 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34244 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34245
4ba74a35
AO
342462012-10-10 Alexandre Oliva <aoliva@redhat.com>
34247
34248 * crypt/crypt-private.h: Include stdbool.h.
34249 (_ufc_setup_salt_r): Return bool.
34250 * crypt/crypt-entry.c: Include errno.h.
34251 (__crypt_r): Return NULL with EINVAL for bad salt.
34252 * crypt/crypt_util.c (bad_for_salt): New.
34253 (_ufc_setup_salt_r): Check that salt is long enough and within
34254 the specified alphabet.
34255 * crypt/badsalttest.c: New file.
34256 * crypt/Makefile (tests): Add it.
34257 ($(objpfx)badsalttest): New.
34258
f96f1242
MK
342592012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34260
34261 * NEWS: Add entry for BZ #14602.
34262
0e8e0c1c
JM
342632012-10-09 Joseph Myers <joseph@codesourcery.com>
34264
34265 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34266 type-generic.
34267 * math/libm-test.inc: Update comment listing what functions and
34268 macros are tested.
34269 (isgreater_test): New function.
34270 (isgreaterequal_test): Likewise.
34271 (isless_test): Likewise.
34272 (islessequal_test): Likewise.
34273 (islessgreater_test): Likewise.
34274 (isunordered_test): Likewise.
34275 (main): Call the new functions.
34276
273edc5e
RM
342772012-10-09 Roland McGrath <roland@hack.frob.com>
34278
b8493de0
RM
34279 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34280 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34281 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34282 * sysdeps/i386/configure: Regenerated.
34283 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34284 * sysdeps/mach/configure: Regenerated.
34285 * sysdeps/mach/hurd/configure: Regenerated.
34286 * sysdeps/powerpc/configure: Regenerated.
34287 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34288 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34289 * sysdeps/s390/s390-32/configure: Regenerated.
34290 * sysdeps/s390/s390-64/configure: Regenerated.
34291 * sysdeps/sh/configure: Regenerated.
34292 * sysdeps/sparc/configure: Regenerated.
34293 * sysdeps/unix/sysv/linux/configure: Regenerated.
34294 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34295 * sysdeps/x86_64/configure: Regenerated.
34296
273edc5e
RM
34297 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34298 defined. Don't check if MAP is NULL.
34299
c8450f70
JM
343002012-10-09 Joseph Myers <joseph@codesourcery.com>
34301
34302 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34303 (_G_stat64): Likewise.
34304 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34305 (_G_stat64): Likewise.
34306 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34307 instead of struct _G_stat64.
34308 * libio/fileops.c (mmap_remap_check): Likewise.
34309 (decide_maybe_mmap): Likewise.
34310 (_IO_new_file_seekoff): Likewise.
34311 (_IO_file_stat): Likewise.
34312 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34313 _G_off64_t.
34314 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34315 instead of struct _G_stat64.
34316 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34317
57e605ba
MK
343182012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34319
34320 [BZ #14602]
34321 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34322 Replace with ...
34323 (CHECK_EOL): New macro.
34324 (two_way_short_needle): Check beginning of haystack for EOL. Use
34325 CHECK_EOL.
34326 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34327 Replace with CHECK_EOL.
34328 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34329 Replace with CHECK_EOL.
34330
ef1bb361
JM
343312012-10-08 Joseph Myers <joseph@codesourcery.com>
34332
34333 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34334 type-generic.
34335 * math/libm-test.inc: Update comment listing what functions and
34336 macros are tested.
34337 (finite_test): New function.
34338 (isinf_test): Likewise.
34339 (isnan_test): Likewise.
34340 (fpclassify_test): Test subnormal input.
34341 (isfinite_test): Likewise.
34342 (isnormal_test): Likewise.
34343 (main): Call the new functions.
34344
55f11534
JN
343452012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34346
34347 [BZ #14660]
34348 * Makerules (%.dynsym): Force C locale when running
34349 $(OBJDUMP) --dynamic-syms.
34350
1ab29350
AS
343512012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34352
34353 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34354 <stdint.h>.
34355
f1ecb7ef
DM
343562012-10-06 David S. Miller <davem@davemloft.net>
34357
34358 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34359 upper 32-bits of the length value in %o2 since we use branch-on-register
34360 tests which consider the entire 64-bit register.
34361
5d41d91a
L
343622012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34363
34364 * string/test-strstr.c (check2): Add a test for page boundary.
34365
3baddb72
DM
343662012-10-05 David S. Miller <davem@davemloft.net>
34367
34368 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34369 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34370 file.
34371 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34372 sysdep_routines.
34373 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34374 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34375 and bzero when HWCAP_SPARC_CRYPTO is present.
34376
9cee5585
L
343772012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34378
d7e0dab9
L
34379 [BZ #14602]
34380 * string/test-strstr.c (check2): New function.
34381 (test_main): Call check2.
34382
03759f47
L
34383 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34384 and bug-strchr1.
34385 * string/bug-strcasestr1.c (do_test): Moved to ...
34386 * string/test-strcasestr.c (check1): Here. New function.
34387 (do_one_test): Break out result checking code into ...
34388 (check_result): This. New function.
34389 (do_one_test): Call check_result.
34390 (test_main): Call check1.
34391 * string/bug-strchr1.c (do_test): Moved to ...
34392 * string/test-strchr.c (check1): Here. New function.
34393 (do_one_test): Break out result checking code into ...
34394 (check_result): This. New function.
34395 (do_one_test): Call check_result.
34396 (test_main): Call check1.
34397 * string/bug-strstr1.c (main): Moved to ...
046f153e 34398 * string/test-strstr.c (check1): Here. New function.
03759f47
L
34399 (do_one_test): Break out result checking code into ...
34400 (check_result): This. New function.
34401 (do_one_test): Call check_result.
34402 (test_main): Call check1.
34403 * string/bug-strcasestr1.c: Removed.
34404 * string/bug-strchr1.c: Likewise.
34405 * string/bug-strstr1.c: Likewise.
34406
53cea63e
L
34407 * elf/Makefile (dl-routines): Add hwcaps.
34408 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34409 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34410 (_dl_important_hwcaps): Moved to ...
34411 * elf/dl-hwcaps.c: Here. New file.
34412 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34413
9cee5585 34414 [BZ #14557]
bb859b06
L
34415 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34416 if IS_IN_rtld isn't defined.
34417
9cee5585
L
34418 * elf/dl-support.c (_dl_sysinfo_map): New.
34419 Include "get-dynamic-info.h" and "setup-vdso.h".
34420 (_dl_non_dynamic_init): Call setup_vdso.
34421 * elf/dynamic-link.h: Don't include <assert.h>.
34422 (elf_get_dynamic_info): Moved to ...
34423 * elf/get-dynamic-info.h: Here. New file.
34424 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34425 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34426 * elf/setup-vdso.h: Here. New file.
34427 * elf/rtld.c: Include "setup-vdso.h".
34428 (dl_main): Call setup_vdso.
34429
23c31b76
JM
344302012-10-05 Joseph Myers <joseph@codesourcery.com>
34431
28234b07
JM
34432 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34433 creal in comment listing functions tested. List finite, isinf,
34434 isnan, isless, islessequal, isgreater, isgreaterequal,
34435 islessgreater, isunordered, lgamma_r and pow10 as functions and
34436 macros not tested. Mention which functions not tested are aliases
34437 for other functions. Fix typo. Note that signs of NaNs are not
34438 tested.
34439
23c31b76
JM
34440 * scripts/config.guess: Update from config.git.
34441 * scripts/config.sub: Likewise.
34442
9043e228
RM
344432012-10-04 Roland McGrath <roland@hack.frob.com>
34444
34445 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34446 * misc/madvise.c (madvise): Renamed to __madvise.
34447 Make madvise a weak alias.
34448 * include/sys/mman.h: Declare __madvise.
34449 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34450 * sysdeps/unix/syscalls.list
34451 (madvise): Make __madvise the strong name, and madvise a weak alias.
34452 * sysdeps/unix/sysv/linux/syscalls.list
34453 (madvise, mmap): Remove redundant entries.
34454 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34455 * malloc/malloc.c (mtrim): Likewise.
34456 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34457
f57f8055
RM
344582012-10-03 Roland McGrath <roland@hack.frob.com>
34459
34460 * sysdeps/mach/hurd/dl-cache.c: File removed.
34461 * config.h.in (USE_LDCONFIG): New #undef.
34462 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34463 * configure: Regenerated.
34464 * elf/Makefile (dl-routines): Add dl-cache only under
34465 [$(use-ldconfig) = yes].
34466 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34467 cache on [USE_LDCONFIG].
34468 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34469 [USE_LDCONFIG].
34470 * elf/rtld.c (dl_main): Likewise.
34471
5bb0c10a
PT
344722012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34473
34474 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34475 _SC_LEVEL4_CACHE_LINESIZE.
34476
010188c6
RM
344772012-10-03 Roland McGrath <roland@hack.frob.com>
34478
34479 * sysdeps/unix/bsd/confstr.h: File removed.
34480
b6c5ec07
AO
344812012-10-02 Alexandre Oliva <aoliva@redhat.com>
34482
34483 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34484 sys/sdt-config.h.
34485
408223d4
RM
344862012-10-02 Roland McGrath <roland@hack.frob.com>
34487
34488 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34489 Make 'mapoff' field ElfW(Off) rather than off_t.
34490
bb9510dc
DL
344912012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34492
fc997c6e
DL
34493 * nscd/Makefile: Remove nscd-cflags and all its users.
34494 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34495 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34496
bb9510dc
DL
34497 [BZ #10631]
34498 * malloc.c (malloc_printerr): Clarify error message.
34499
05699367
L
345002012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34501
34502 [BZ #14648]
34503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34504 Set bit_FMA_Usable if FMA is supported.
34505 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34506 macro.
34507 (bit_FMA4_Usable): Updated.
34508 (index_FMA_Usable): New macro.
34509 (CPUID_FMA): Likewise
34510 (HAS_FMA): Defined with bit_FMA_Usable.
34511
51367701
RM
345122012-10-01 Roland McGrath <roland@hack.frob.com>
34513
34514 * bits/types.h (__swblk_t): Type removed.
34515 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34516 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34517 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34518 (__SWBLK_T_TYPE): Likewise.
34519 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34520 (__SWBLK_T_TYPE): Likewise.
34521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34522 (__SWBLK_T_TYPE): Likewise.
34523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34524 (__SWBLK_T_TYPE): Likewise.
34525
4d57bf63 345262012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 34527 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
34528
34529 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34530 (xdr_mapname): Use YPMAXMAP as maxsize.
34531 (xdr_peername): Use YPMAXPEER as maxsize.
34532 (xdr_keydat): Use YPAXRECORD as maxsize.
34533 (xdr_valdat): Use YPMAXRECORD as maxsize.
34534
93c65d43
RM
345352012-10-01 Roland McGrath <roland@hack.frob.com>
34536
497a03d6
RM
34537 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34538
93c65d43
RM
34539 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34540 * csu/init-first.c: ... here.
34541 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34542 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34543 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34544 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34545 * sysdeps/i386/init-first.c: File removed.
34546 * sysdeps/sh/init-first.c: File removed.
34547
bec749fd
JM
345482012-10-01 Joseph Myers <joseph@codesourcery.com>
34549
34550 [BZ #14645]
34551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34552 if x * y might underflow to zero and z is zero.
34553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34554 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34555 * math/libm-test.inc (min_subnorm_value): New variable.
34556 (fma_test): Add more tests.
34557 (fma_test_towardzero): Likewise.
34558 (fma_test_downward): Likewise
34559 (fma_test_upward): Likewise.
34560 (initialize): Set min_subnorm_value.
34561
8ec5b013
JM
345622012-09-29 Joseph Myers <joseph@codesourcery.com>
34563
34564 [BZ #14638]
34565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34566 0 + 0.
34567 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34568 mode for addition resulting in exact zero.
34569 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34571 exact 0 + 0.
34572 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34574 * math/libm-test.inc (fma_test): Add more tests.
34575 (fma_test_towardzero): New function.
34576 (fma_test_downward): Likewise.
34577 (fma_test_upward): Likewise.
34578 (main): Call the new functions.
34579
b1fa802e
DM
345802012-09-28 David S. Miller <davem@davemloft.net>
34581
34582 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34583
d3b9fd9e
RM
345842012-09-28 Roland McGrath <roland@hack.frob.com>
34585
ea4d37b3
RM
34586 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34587 instead of SIGALRM.
34588
ac51c949
RM
34589 * sysdeps/gnu/_G_config.h: Moved to ...
34590 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34591 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34592 * sysdeps/generic/_G_config.h: ... here.
34593
28c195f7
RM
34594 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34595
848917f9
RM
34596 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34597
6bacf05b
RM
34598 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34599 Conditionalize target on [libnss_test1.so-version].
34600
91363dbb
RM
34601 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34602
cc87f7d8
RM
34603 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34604 (elfobjdir): Move out of conditionals.
34605
b1c608fe
RM
34606 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34607 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34608 (__nss_lookup_function): Conditionalize label remove_from_tree on
34609 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 34610
1d9a6d96
DM
346112012-09-28 David S. Miller <davem@davemloft.net>
34612
34613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34614 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34615 file.
34616 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34617 sysdep_routines.
34618 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34620 when HWCAP_SPARC_CRYPTO is present.
34621
72581615
PT
346222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34623
34624 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34625
715a900c
JL
346262012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34627
34628 [BZ #6530]
34629 * stdio-common/vfprintf.c (process_string_arg): Revert
34630 2000-07-22 change.
34631
346322011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34633
34634 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34635 for testcase.
34636 * stdio-common/tst-sprintf.c: Include <locale.h>
34637 (main): Test sprintf's handling of incomplete multibyte
34638 characters.
34639
9bac1d86
L
346402012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34641
34642 * elf/dl-runtime.c (VERSYMIDX): Removed.
34643 * elf/dl-version.c (VERSYMIDX): Likewise.
34644 * elf/do-rel.h (VERSYMIDX): Likewise.
34645 (VALIDX): Likewise.
34646 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34647 * elf/rtld.c (VALIDX): Likewise.
34648 (ADDRIDX): Likewise.
9bac1d86
L
34649 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34650 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34651 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
34652 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34653 (VALIDX): Likewise.
34654 (ADDRIDX): Likewise.
9bac1d86 34655
b31606c0
PT
346562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34657
34658 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34659
11541177
JL
346602012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34661
34662 [BZ #11438]
34663 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34664 to global scope.
34665 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34666 addresses are in the same scope as 192.0.2/24.
34667 * posix/gai.conf: Document new scope table defaults.
34668
adb26fae
SP
346692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34670
34671 [BZ #5298]
34672 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34673 for ftell. Compute offsets from write pointers instead.
34674 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34675
4573c6b0
SP
346762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34677
34678 [BZ #14543]
34679 * libio/Makefile (tests): New test case tst-fseek.
34680 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34681 combination works in wide mode.
34682 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34683 state when the external buffer state changes.
34684
aa9bbfe6
DM
346852012-09-27 David S. Miller <davem@davemloft.net>
34686
34687 [BZ #14376]
34688 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34689 pass reloc->r_addend in as the 'high' argument to
34690 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34691
784421e7
DM
34692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34693
c39bc8b8
PT
346942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34695
34696 * rt/tst-aio2.c: Include <pthread.h>.
34697 * rt/tst-aio3.c: Likewise.
34698
1ccc2399
SE
346992012-09-27 Steve Ellcey <sellcey@mips.com>
34700
34701 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34702
31ed4153
L
347032012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34704
25f5f885
L
34705 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34706 contents on [SHARED].
31ed4153 34707
b7bfe116
MP
347082012-09-26 Marek Polacek <polacek@redhat.com>
34709
34710 [BZ #14530]
34711 [BZ #13741]
34712 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34713 for C++ and GCC <4.3 as well as for non GCC compilers.
34714
43c4edba
MT
347152012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34716
34717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34718
6a1bf82f
RM
347192012-09-25 Roland McGrath <roland@hack.frob.com>
34720
34721 * Makefile.in (all, install): Declare with .PHONY.
34722 Reported by Michael Hope <michael.hope@linaro.org>.
34723
8ad11b9a
TMQMF
347242012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34725
34726 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34727 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34728 system header.
34729 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34730 Likewise.
34731 (sydep_routines): Add the new and the internal functions.
34732 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34733 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34735 (GLIBC_2.17): Add the new function.
34736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34737 (GLIBC_2.17): Likewise.
34738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34739 (GLIBC_2.17): Likewise.
34740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34741 (GLIBC_2.17): Likewise.
34742 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34743
7e2fca8d
AM
347442012-09-25 Alan Modra <amodra@gmail.com>
34745
34746 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34747 Add release barrier before setting once_control to say
34748 initialisation is done. Add hints on lwarx. Use macro in
34749 place of isync.
34750 (clear_once_control): Add release barrier.
34751
b87c4b24
JM
347522012-09-25 Joseph Myers <joseph@codesourcery.com>
34753
d032e0d2
JM
34754 [BZ #13629]
34755 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34756 specially.
34757 * math/s_clog10.c (__clog10): Likewise.
34758 * math/s_clog10f.c (__clog10f): Likewise.
34759 * math/s_clog10l.c (__clog10l): Likewise.
34760 * math/s_clogf.c (__clogf): Likewise.
34761 * math/s_clogl.c (__clogl): Likewise.
34762 * math/Makefile (libm-calls): Add x2y2m1.
34763 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34764 (__x2y2m1): Likewise.
34765 (__x2y2m1l): Likewise.
34766 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34767 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34768 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34769 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34770 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34771 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34772 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34773 * sysdeps/i386/fpu/libm-test-ulps: Update.
34774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34775
b87c4b24
JM
34776 [BZ #14621]
34777 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34778 int as type of variable DEPTH.
34779 (glob): Use size_t instead of int as type of variables NEWCOUNT
34780 and OLD_PATHC.
34781
6d3bf199
LD
347822012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34783
22bf5c17
LD
34784 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34785 Add s_sincosf-sse2.
34786 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34787 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34788 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34789 macros for using routine as __sincosf_ia32.
34790 Use macro for function declaration and weak_alias.
34791 * sysdeps/i386/fpu/libm-test-ulps: Update.
34792
34793 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34795
34796 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34797 subnormal argument.
34798 * math/s_cexpf.c (__cexpf): Likewise.
34799 * math/s_csinf.c (__csinf): Likewise.
34800 * math/s_csinhf.c (__csinhf): Likewise.
34801 * math/s_ctanf.c (__ctanf): Likewise.
34802 * math/s_ctanhf.c (__ctanhf): Likewise.
34803 * math/s_ccosh.c (__ccoshf): Likewise.
34804 * math/s_cexp.c (__cexpl): Likewise.
34805 * math/s_csin.c (__csin): Likewise.
34806 * math/s_csinh.c (__csinh): Likewise.
34807 * math/s_ctan.c (__ctan): Likewise.
34808 * math/s_ctanh.c (ctanh): Likewise.
34809 * math/s_ccoshl.c (__ccoshl): Likewise.
34810 * math/s_cexpl.c (__cexpl): Likewise.
34811 * math/s_csinl.c (__csinl): Likewise.
34812 * math/s_csinhl.c (__csinhl): Likewise.
34813 * math/s_ctanl.c (__ctanl): Likewise.
34814 * math/s_ctanhl.c (__ctanhl): Likewise.
34815
203e5603
JM
348162012-09-25 Joseph Myers <joseph@codesourcery.com>
34817
34818 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34819 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34820 (_IO_off_t): Define to __off_t, not _G_off_t.
34821 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34822 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34823 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34824 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34825 type of __dummy and __dummy2 fields.
34826 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34827 (_G_ssize_t): Likewise.
34828 (_G_off_t): Likewise.
34829 (_G_pid_t): Likewise.
34830 (_G_uid_t): Likewise.
34831 (_G_wchar_t): Likewise.
34832 (_G_wint_t): Likewise.
34833 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34834 (_G_ssize_t): Likewise.
34835 (_G_off_t): Likewise.
34836 (_G_pid_t): Likewise.
34837 (_G_uid_t): Likewise.
34838 (_G_wchar_t): Likewise.
34839 (_G_wint_t): Likewise.
34840 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34841 (_G_ssize_t): Likewise.
34842 (_G_off_t): Likewise.
34843 (_G_pid_t): Likewise.
34844 (_G_uid_t): Likewise.
34845 (_G_wchar_t): Likewise.
34846 (_G_wint_t): Likewise.
34847
9fab36eb
SP
348482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34849
34850 * malloc/arena.c: Include malloc-sysdep.h.
34851 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34852 is sufficient to shrink the heap or an unmap is needed.
34853 * sysdeps/generic/malloc-sysdep.h: New file. Define
34854 new function check_may_shrink_heap.
34855 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34856 new function check_may_shrink_heap.
34857
2b4f00d1
SP
348582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34859
34860 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34861 comments.
34862
9a9028b1
DL
348632012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34864
57c69bef
DL
34865 * catgets/test-gencat.sh: Add "set -e".
34866 * elf/tst-pathopt.sh: Likewise.
34867 * grp/tst_fgetgrent.sh: Likewise.
34868 * iconvdata/run-iconv-test.sh: Likewise.
34869 * intl/tst-gettext.sh: Likewise.
34870 * intl/tst-gettext2.sh: Likewise.
34871 * intl/tst-gettext4.sh: Likewise.
34872 * intl/tst-gettext6.sh: Likewise.
34873 * intl/tst-translit.sh: Likewise.
34874 * io/ftwtest-sh: Likewise.
34875 * libio/test-freopen.sh: Likewise.
34876 * malloc/tst-mtrace.sh: Likewise.
34877 * posix/globtest.sh: Likewise.
34878 * posix/tst-getconf.sh: Likewise.
34879 * posix/wordexp-tst.sh: Likewise.
34880 * stdio-common/tst-printf.sh: Likewise.
34881 * stdio-common/tst-unbputc.sh: Likewise.
34882 * stdlib/tst-fmtmsg.sh: Likewise.
34883 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34884 * catgets/Makefile: Do not specify -e option when running
34885 testsuite shell scripts.
34886 * elf/Makefile: Likewise.
34887 * grp/Makefile: Likewise.
34888 * iconvdata/Makefile: Likewise.
34889 * intl/Makefile: Likewise.
34890 * io/Makefile: Likewise.
34891 * libio/Makefile: Likewise.
34892 * malloc/Makefile: Likewise.
34893 * posix/Makefile: Likewise.
34894 * stdio-common/Makefile: Likewise.
34895 * stdlib/Makefile: Likewise.
34896 * sysdeps/x86_64/Makefile: Likewise.
34897
9a9028b1
DL
34898 * io/ftwtest-sh: Add copyright header.
34899 * posix/globtest.sh: Likewise.
34900 * posix/tst-getconf.sh: Likewise.
34901 * posix/wordexp-tst.sh: Likewise.
34902 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34903
ced6f16e
L
349042012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34905
94b32c39
L
34906 [BZ #13679]
34907 * Makeconfig (+link): Defined as $(+link-static) if
34908 $(build-shared) isn't yes.
34909 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34910 isn't yes.
34911 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34912
189e935b
L
34913 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34914
ced6f16e
L
34915 [BZ #14562]
34916 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34917 new chunk size with MALLOC_ALIGN_MASK.
34918
a9f8e53a
JM
349192012-09-24 Joseph Myers <joseph@codesourcery.com>
34920
34921 [BZ #5044]
34922 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34923 <rounding-mode.h>.
34924 (__printf_fphex): Determine rounding using get_rounding_mode and
34925 round_away.
34926 * stdio-common/tst-printf-round.c (struct hex_test): New
34927 structure.
34928 (hex_tests): New variable.
34929 (test_hex_in_one_mode): New function.
34930 (do_test): Also run tests for hex float output.
34931
43153109
JM
349322012-09-21 Joseph Myers <joseph@codesourcery.com>
34933
34934 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34935 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34936 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34937 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34938 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34939 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34940 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34941 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34942
8a26625d
JM
349432012-09-20 Joseph Myers <joseph@codesourcery.com>
34944
34945 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34946 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34947 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34948 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34949
f3fd569c
DL
349502012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34951
34952 [BZ #14579]
34953 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34954 mode only.
34955 * elf/tst-rtld-load-self.sh: New test.
34956 * elf/Makefile: Run it.
34957
63bbedd4
JM
349582012-09-18 Joseph Myers <joseph@codesourcery.com>
34959
34960 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34961 (tst-writev-ENV): Remove.
34962 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34963
626f8b6a
CM
349642012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34965
34966 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34967
b7aaa4d6
JM
349682012-09-17 Joseph Myers <joseph@codesourcery.com>
34969
34970 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34971 unconditional.
34972 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34973 Likewise.
34974 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34975 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34976 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34977 Likewise.
34978
65513990
L
349792012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34980
34981 [BZ #14587]
34982 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34983 * config.make.in (have-cpp-asm-debuginfo): Removed.
34984 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34985 * configure: Regenerated.
34986
784761be
JM
349872012-09-14 Joseph Myers <joseph@codesourcery.com>
34988
34989 [BZ #5044]
34990 * stdio-common/printf_fp.c: Include <stdbool.h> and
34991 <rounding-mode.h>.
34992 (___printf_fp): Determine rounding using get_rounding_mode and
34993 round_away.
34994 * stdio-common/tst-printf-round.c: New file.
34995 * stdio-common/Makefile (tests): Add tst-printf-round.
34996 (link-libm): New variable.
34997 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34998
9503345f
L
349992012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35000
35001 [BZ #14576]
35002 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35003 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35004 Likewise.
35005 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35006 Likewise.
35007
ad35fc00
JM
350082012-09-13 Joseph Myers <joseph@codesourcery.com>
35009
35010 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35011 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35012 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35013 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35014
6c9b0f68
JM
350152012-09-12 Joseph Myers <joseph@codesourcery.com>
35016
35017 [BZ #14518]
35018 * include/rounding-mode.h: New file.
35019 * sysdeps/generic/get-rounding-mode.h: Likewise.
35020 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35021 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35022 (MAX_VALUE): New macro.
35023 (MIN_VALUE): Likewise.
35024 (overflow_value): New function.
35025 (underflow_value): Likewise.
35026 (round_and_return): Use overflow_value and underflow_value to
35027 determine return values in overflow and underflow cases. Use
35028 round_away to determine rounding depending on rounding mode.
35029 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35030 determine return values in overflow and underflow cases.
35031 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35032 (struct test_results): New structure.
35033 (struct test): Use struct test_results to store expected results
35034 for all rounding modes.
35035 (TEST): Include expected results for all rounding modes.
35036 (test_in_one_mode): New function.
35037 (do_test): Use test_in_one_mode to compute and check results.
35038 Check results for all rounding modes.
35039 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35040 $(link-libm).
35041
19fcedd5
AM
350422012-12-09 Allan McRae <allan@archlinux.org>
35043
1e9d84cd 35044 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 35045
8bbfd2f1
JM
350462012-09-11 Joseph Myers <joseph@codesourcery.com>
35047
35048 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35049 (_G_int32_t): Likewise.
35050 (_G_uint16_t): Likewise.
35051 (_G_uint32_t): Likewise.
35052 (_G_HAVE_BOOL): Likewise.
35053 (_G_HAVE_ATEXIT): Likewise.
35054 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35055 (_G_HAVE_IO_FILE_OPEN): Likewise.
35056 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35057 (_G_int32_t): Likewise.
35058 (_G_uint16_t): Likewise.
35059 (_G_uint32_t): Likewise.
35060 (_G_HAVE_BOOL): Likewise.
35061 (_G_HAVE_ATEXIT): Likewise.
35062 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35063 (_G_HAVE_IO_FILE_OPEN): Likewise.
35064 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35065 (_G_int32_t): Likewise.
35066 (_G_uint16_t): Likewise.
35067 (_G_uint32_t): Likewise.
35068 (_G_HAVE_BOOL): Likewise.
35069 (_G_HAVE_ATEXIT): Likewise.
35070 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35071 (_G_HAVE_IO_FILE_OPEN): Likewise.
35072
b1dc5912
L
350732012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35074
35075 * csu/libc-tls.c: Update copyright years.
35076
0e886ef9
JM
350772012-09-10 Joseph Myers <joseph@codesourcery.com>
35078
28361c5e
JM
35079 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35080 [!_G_USING_THUNKS]: Remove conditional code.
35081 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35082 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35083
0e886ef9
JM
35084 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35085 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35086 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35087 (_G_VTABLE_LABEL_PREFIX): Likewise.
35088 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35089 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35090 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35091 (_G_VTABLE_LABEL_PREFIX): Likewise.
35092 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35093 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35094 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35095 (_G_VTABLE_LABEL_PREFIX): Likewise.
35096 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35097
bcba7aa2
L
350982012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35099
35100 * libio/Makefile: Include ../Makeconfig before tests.
35101 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35102 only if $(build-shared) is yes.
35103
06585ee8
L
35104 * iconv/gconv_db.c: Update copyright years.
35105
80ccd52c
LD
351062012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35107
35108 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35109 unwind info if defined PIC. Fix special cases description.
35110 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35111
35112 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35113 DP_HI_MASK entry.
35114 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35115
691bc9c1
L
351162012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35117
3d9b46b3
L
35118 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35119
de2139a9
L
35120 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35121 is NULL.
35122
5ca78dd0
L
35123 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35124 (LDLIBS-tst-chk4): This.
35125 (LDFLAGS-tst-chk5): Renamed to ...
35126 (LDLIBS-tst-chk5): This.
35127 (LDFLAGS-tst-chk6): Renamed to ...
35128 (LDLIBS-tst-chk6): This.
35129 (LDFLAGS-tst-lfschk4): Renamed to ...
35130 (LDLIBS-tst-lfschk4): This.
35131 (LDFLAGS-tst-lfschk5): Renamed to ...
35132 (LDLIBS-tst-lfschk5): This.
35133 (LDFLAGS-tst-lfschk6): Renamed to ...
35134 (LDLIBS-tst-lfschk6): This.
35135
691bc9c1
L
35136 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35137 on $(common-objpfx)soversions.mk.
35138
65cafb1c
JM
351392012-09-07 Joseph Myers <joseph@codesourcery.com>
35140
35141 [BZ #10014]
35142 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35143 example host name.
35144
c78ab094
SP
351452012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35146
35147 * malloc/arena.c (arena_get_retry): New function that gets
35148 another arena for the caller to try its request on.
35149 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35150 current arena cannot fulfill the request.
35151 (__libc_memalign): Likewise.
35152 (__libc_memalign): Likewise.
35153 (__libc_pvalloc): Likewise.
35154 (__libc_calloc): Likewise.
35155
01f49f59
JT
351562012-09-05 John Tobey <john.tobey@gmail.com>
35157
35158 [BZ #13542]
35159 * manual/arith.texi (Operations on Complex): Fix description
35160 of carg branch cut.
35161
4c23fed5
JM
351622012-09-06 Joseph Myers <joseph@codesourcery.com>
35163
1d3c8572
JM
35164 [BZ #10014]
35165 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35166 host name.
35167
4c23fed5
JM
35168 [BZ #10038]
35169 * manual/memory.texi (Memory): Make order of menu items match
35170 order of sections.
35171
04570aaa
L
351722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35173
35174 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35175 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35176 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35177
b80af2f4
L
351782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35179
35180 * csu/libc-tls.c (static_dtv): Renamed to ...
35181 (_dl_static_dtv): This. Make it global.
35182 (_dl_initial_dtv): Removed.
35183 (__libc_setup_tls): Updated.
35184 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35185 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35186 DL_INITIAL_DTV.
35187
2abe9f15
PM
351882012-09-06 Petr Machata <pmachata@redhat.com>
35189
35190 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35191 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35192 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35193 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35194
0948c3af
L
351952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35196
35197 [BZ #14545]
35198 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35199 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35200 freeing dtv[-1].
35201
a5055ad1
L
352022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35203
35204 [BZ #14544]
35205 * Makeconfig (link-static-before-libc): Replace $(+prector)
35206 with $(+prectorT).
35207 (link-static-after-libc): Replace $(+postctor) with
35208 $(+postctorT).
35209 (link-bounded): Replace $(+prector)/$(+postctor) with
35210 $(+prectorT)/$(+postctorT).
35211 (+prectorT): New macro.
35212 (+postctorT): Likewise.
35213
ed8c2ecd
JM
352142012-09-06 Joseph Myers <joseph@codesourcery.com>
35215
35216 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35217 (round_str): Handle values above the maximum for IBM long double
35218 as inexact.
35219 * stdlib/tst-strtod-round.c (tests): Regenerated.
35220
14c996c8
AK
352212012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35222
35223 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35224 assembler flag.
35225 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35226 zarch_nohighgprs around the zarch optimized routines.
35227 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35228 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35229 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35230 for zarch.
35231
430d6ce6
DM
352322012-09-05 David S. Miller <davem@davemloft.net>
35233
35234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35235
57f41c40
AS
35236 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35237 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
35238 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35239 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35240 entries.
35241
24d4e01b
AO
352422012-09-05 Alexandre Oliva <aoliva@redhat.com>
35243
35244 * malloc/arena.c: Fold copyright years.
35245 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35246
61d58174
AO
352472012-09-05 Alexandre Oliva <aoliva@redhat.com>
35248
35249 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35250
20196a5e
AO
352512012-09-05 Alexandre Oliva <aoliva@redhat.com>
35252
35253 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35254
5c447383
AO
352552012-09-05 Alexandre Oliva <aoliva@redhat.com>
35256
35257 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35258 change internal state upon failure.
35259
fad64255
AO
352602012-09-05 Alexandre Oliva <aoliva@redhat.com>
35261
35262 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35263 * malloc/memusage.c (mmap): Likewise.
35264 (mmap64, mremap): Likewise. Adjust name in comment.
35265
1ffb8c90
SP
352662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35267
35268 * libio/fileops.c: Fix typos in comments.
35269 * libio/oldfileops.c: Likewise.
35270 * libio/wfileops.c: Likewise.
35271
6ef9cc37
SP
352722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35273
35274 [BZ #1349]
35275 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35276 (tst-malloc-usable-ENV): Set environment for test case.
35277 * malloc/hooks.c (malloc_check_get_size): New function to get
35278 requested size.
35279 * malloc/malloc.c (musable): Use malloc_check_get_size.
35280 * malloc/tst-malloc-usable.c: New test case.
35281
4d038ae3
AS
352822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35283
35284 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35285
c4e85184
AM
352862012-09-05 Allan McRae <allan@archlinux.org>
35287
b9dafc56 35288 [BZ #13966]
c4e85184
AM
35289 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35290 determine header location.
35291 * configure: Regenerated.
35292
e1343020
AS
352932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35294
35295 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35296 float format.
35297 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
35298 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35299 format.
e1343020
AS
35300 (test): Regenerate.
35301
0a9f1987
DM
353022012-09-04 David S. Miller <davem@davemloft.net>
35303
35304 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35305 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35306 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35307
29237804
FW
353082012-09-04 Florian Weimer <fweimer@redhat.com>
35309
35310 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35311 failures.
35312
edb3cb88
FW
35313 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35314
60160d83
JM
353152012-09-04 Joseph Myers <joseph@codesourcery.com>
35316
35317 [BZ #9914]
35318 * libio/iogetdelim.c: Include <limits.h>.
35319 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35320 + len + 1 would overflow.
35321
bcd6c8dc
AJ
353222012-09-03 Andreas Jaeger <aj@suse.de>
35323
35324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35325 * sysdeps/i386/fpu/libm-test-ulps: Update.
35326
4ffffbd2
LD
353272012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35328
35329 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35330 Add s_sinf-sse2, s_conf-sse2.
35331
35332 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35333 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35334 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35335 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35336
35337 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35338 for using routine as __sinf_ia32.
35339 Use macro for function declaration and weak_alias.
35340 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35341 for using routine as __cosf_ia32.
35342 Use macro for function declaration and weak_alias.
35343
35344 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35345 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35346
35347 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35348 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35350
35351 * math/libm-test.inc (cos_test): Add more test cases.
35352 (sin_test): Likewise.
35353 (sincos_test): Likewise.
35354
511fa286
AK
353552012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35356
35357 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35358 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35359 hidden.
35360 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35361
5f30cfec
L
353622012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35363
35364 [BZ #14538]
35365 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35366 first element of the GOT.
35367 (elf_machine_load_address): Return the difference between
35368 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35369
0786794f
AM
353702012-09-01 Allan McRae <allan@archlinux.org>
35371
5f30cfec
L
35372 [BZ #13412]
35373 * configure.in (AWK): Require gawk version 3.0 or later.
35374 * configure: Regenerated.
0786794f 35375
26889eac
JM
353762012-09-01 Joseph Myers <joseph@codesourcery.com>
35377
35378 * sysdeps/unix/sysv/linux/kernel-features.h
35379 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35380 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35381 [__NR_clock_getres]: Make code unconditional.
35382 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35383 (clock_getcpuclockid): Remove code left unreachable by removal of
35384 conditionals.
35385 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35386 code unconditional.
35387 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35388 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35389 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35390 Make code unconditional.
35391 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35392 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35393 * sysdeps/unix/sysv/linux/clock_settime.c
35394 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35395 conditional code.
35396 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35397 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35398
d22e28b0
L
353992012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35400
35401 [BZ #14476]
35402 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35403 scripts/test-installation.pl.
35404
35405 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35406 and $ld_so_version if it is set.
35407
050af9c4
SP
354082012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35409
35410 [BZ #14516]
35411 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35412 failure if reading from procfs failed.
35413 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35414
ad845c0b
JM
354152012-08-27 Joseph Myers <joseph@codesourcery.com>
35416
35417 * sysdeps/unix/sysv/linux/kernel-features.h
35418 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35419 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35420 Remove conditional code.
35421 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35422 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35423 Remove conditional code.
35424 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35425 * sysdeps/unix/sysv/linux/i386/fxstat.c
35426 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35427 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35428 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35429 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35430 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35431 * sysdeps/unix/sysv/linux/i386/lxstat.c
35432 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35433 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35434 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35435 Remove conditional code.
35436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35437 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35438 Remove conditional code.
35439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35440 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35441 <kernel-features.h>.
35442 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35443 Remove.
35444 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35445 Remove conditional code.
35446 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35447 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35448 Remove conditional.
35449
5dbf56af
MF
354502012-08-27 Mike Frysinger <vapier@gentoo.org>
35451
35452 [BZ #5400]
35453 * NEWS: Add fixed bug number.
35454
d6e70f43
JM
354552012-08-27 Joseph Myers <joseph@codesourcery.com>
35456
7efb4737
JM
35457 [BZ #14519]
35458 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35459 underflowing exponent in case of negative sign.
35460 * stdlib/tst-strtod-round-data: Add more tests.
35461 * stdlib/tst-strtod-round.c (tests): Regenerated.
35462
af92131a
JM
35463 [BZ #3479]
35464 * stdlib/strtod_l.c (NDIG): Remove.
35465 (HEXNDIG): Likewise.
35466 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35467 smallest representable value.
35468 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35469 lie within an exact representation of 1/2 ulp of the result.
35470 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35471 unconditionally.
35472 (TENS_P9_IDX): Define unconditionally.
35473 (TENS_P9_SIZE): Likewise.
35474 (TENS_P10_IDX): Likewise.
35475 (TENS_P10_SIZE): Likewise.
35476 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35477 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35478 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35479 entries for 10^2^13 and 10^2^14.
35480 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35481 (TENS_P13_IDX): Define.
35482 (TENS_P13_SIZE): Likewise.
35483 (TENS_P14_IDX): Likewise.
35484 (TENS_P14_SIZE): Likewise.
35485 (_fpioconst_pow10): Change array size to
35486 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35487 unconditional.
35488 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35489 1024]: Add entries for 10^2^13 and 10^2^14.
35490 [LAST_POW10 > _LAST_POW10]: Remove #error.
35491 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35492 (_fpioconst_pow10): Change array size to
35493 FPIOCONST_POW10_ARRAY_SIZE.
35494 * stdlib/gen-fpioconst.c: New file.
35495 * stdlib/gen-tst-strtod-round.c: Likewise.
35496 * stdlib/tst-strtod-round-data: Likewise.
35497 * stdlib/tst-strtod-round.c: Likewise.
35498 * stdlib/Makefile (tests): Add tst-strtod-round.
35499
d6e70f43
JM
35500 [BZ #14459]
35501 * stdlib/strtod_l.c: Include <stdint.h>.
35502 (NDEBUG): Do not define.
35503 (round_and_return): Change EXPONENT parameter to type intmax_t.
35504 Rearrange calculations to avoid internal overflow possibilities.
35505 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35506 Rearrange calculations to avoid internal overflow possibilities.
35507 Assert that number fits inside MPNSIZE limbs.
35508 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35509 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35510 calculations and add assertions to avoid internal overflow
35511 possibilities. Add casts to avoid signed/unsigned operations.
35512 * stdlib/tst-strtod-overflow.c: New file.
35513 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35514
1f529f7d
MP
355152012-08-25 Marek Polacek <polacek@redhat.com>
35516
35517 * time/time.h: Fix some typos in comments.
35518
59a629f1
RM
355192012-08-23 Roland McGrath <roland@hack.frob.com>
35520
35521 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35522 * posix/tst-rfc3484-2.c: Likewise.
35523 * posix/tst-rfc3484-3.c: Likewise.
35524
d3bafbc9
SM
355252012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35526
35527 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35528 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35529
4efcc022
JM
355302012-08-23 Joseph Myers <joseph@codesourcery.com>
35531
35532 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35533 #include of fxstatat64.c.
35534
3cc3ef96
RM
355352012-08-22 Roland McGrath <roland@hack.frob.com>
35536
f04e2132
RM
35537 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35538 * shadow/getspent_r.c: Likewise.
35539 * shadow/getspnam.c: Likewise.
35540 * shadow/getspnam_r.c: Likewise.
35541 * gshadow/getsgent.c: Likewise.
35542 * gshadow/getsgent_r.c: Likewise.
35543 * gshadow/getsgnam.c: Likewise.
35544 * gshadow/getsgnam_r.c: Likewise.
35545 * inet/getnetbyad.c: Likewise.
35546 * inet/getnetbyad_r.c: Likewise.
35547 * inet/getnetbynm.c: Likewise.
35548 * inet/getnetbynm_r.c: Likewise.
35549 * inet/getnetent.c: Likewise.
35550 * inet/getnetent_r.c: Likewise.
35551 * inet/getproto.c: Likewise.
35552 * inet/getproto_r.c: Likewise.
35553 * inet/getprtent.c: Likewise.
35554 * inet/getprtent_r.c: Likewise.
35555 * inet/getprtname.c: Likewise.
35556 * inet/getprtname_r.c: Likewise.
35557 * inet/getrpcbyname.c: Likewise.
35558 * inet/getrpcbyname_r.c: Likewise.
35559 * inet/getrpcbynumber.c: Likewise.
35560 * inet/getrpcbynumber_r.c: Likewise.
35561 * inet/getrpcent.c: Likewise.
35562 * inet/getrpcent_r.c: Likewise.
35563 * inet/getaliasent.c: Likewise.
35564 * inet/getaliasent_r.c: Likewise.
35565 * inet/getaliasname.c: Likewise.
35566 * inet/getaliasname_r.c: Likewise.
35567 * nscd/getgrgid_r.c: Likewise.
35568 * nscd/getgrnam_r.c: Likewise.
35569 * nscd/gethstbyad_r.c: Likewise.
35570 * nscd/gethstbynm3_r.c: Likewise.
35571 * nscd/getpwnam_r.c: Likewise.
35572 * nscd/getpwuid_r.c: Likewise.
35573 * nscd/getsrvbynm_r.c: Likewise.
35574 * nscd/getsrvbypt_r.c: Likewise.
35575 * nscd/gai.c: Likewise.
35576
c53d909c
RM
35577 * configure.in (build_nscd): New substituted variable, set
35578 by --disable-build-nscd and defaults to $use_nscd.
35579 * configure: Regenerated.
35580 * config.make.in (build-nscd): New substituted variable.
35581 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35582 Change conditional to require [$(build-nscd) = yes] as well.
35583 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35584
3cc3ef96
RM
35585 [BZ# 13696]
35586 * configure.in (use_nscd): New substituted variable, set by
35587 --disable-nscd. If enabled, define USE_NSCD.
35588 * configure: Regenerated.
35589 * config.h.in: Add USE_NSCD.
35590 * config.make.in (use-nscd): New substituted variable.
35591 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35592 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35593 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35594 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35595 (CFLAGS-getgrnam_r.c): Likewise.
35596 (CFLAGS-initgroups.c): Likewise.
35597 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35598 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35599 Variables removed.
35600 * inet/getnetgrent_r.c
35601 (nscd_setnetgrent): New function, broken out of ...
35602 (setnetgrent): ... here. Call it.
35603 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35604 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35605 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35606 * nscd/Makefile (routines, aux): Move definitions after include of
35607 Makeconfig. Conditionalize on [$(use-nscd) != no].
35608 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35609 Conditionalize on [USE_NSCD].
35610 (is_nscd, nscd_init_cb): Likewise.
35611 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35612 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35613 * nss/nss_db/db-init.c: Likewise.
35614 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35615 [USE_NSCD].
35616 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35617 (make_request): Use it.
35618 (cache_valid_p): New function.
35619 (__check_pf): Use it.
35620 * NEWS: Add item for --disable-nscd.
35621
07e51550
DL
356222012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35623
35624 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35625 to support sed >= 4.2.1-20-ga9bf076.
35626 * configure: Regenerated.
35627
35a5b08b
RM
356282012-08-22 Roland McGrath <roland@hack.frob.com>
35629
35630 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35631 Conditionalize whole body on [IREL].
35632
8479f23a
JL
356332012-08-22 Jeff Law <law@redhat.com>
35634
35635 [BZ #14505]
35636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35637 if the family is PF_UNSPEC.
35638
48da0b21
MF
356392012-08-22 Mike Frysinger <vapier@gentoo.org>
35640
35641 * Makerules (lib-version): Rename from V.
35642 (install-lib-nosubdir): Change V to lib-version.
35643
15d0da8c
WS
356442012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35645
35646 [BZ #14252]
35647 * powerpc32/power6/wcschr.c: New file.
35648 * powerpc32/power6/wcscpy.c: New file.
35649 * powerpc32/power6/wcsrchr.c: New file.
35650 * powerpc64/power6/wcschr.c: New file.
35651 * powerpc64/power6/wcscpy.c: New file.
35652 * powerpc64/power6/wcsrchr.c: New file.
35653
bcca0895
MK
356542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35655
35656 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35657 (two_way_short_needle): Use it.
5a4aaa33
RM
35658 * string/strstr.c (AVAILABLE1_USES_J): Define.
35659 * string/strcasestr.c: Likewise.
99677e57
MK
35660
35661 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35662 array references.
35663 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35664
400726de
MK
35665 [BZ #11607]
35666 * NEWS: Add an entry.
35667 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35668 define their defaults.
35669 (two_way_short_needle): Detect end-of-string on-the-fly.
35670 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35671 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35672 * string/bug-strcasestr1.c: New test.
35673 * string/Makefile: Run it.
35674
20a71f2c
MK
356752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35676
35677 [BZ #11607]
35678 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35679 the first character.
35680
21ad0558
RM
356812012-08-21 Roland McGrath <roland@hack.frob.com>
35682
35683 * csu/elf-init.c (__libc_csu_irel): Function removed.
35684 * csu/libc-start.c (apply_irel): New function.
35685 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35686
0e1d9911
JM
356872012-08-21 Joseph Myers <joseph@codesourcery.com>
35688
35689 * sysdeps/unix/sysv/linux/kernel-features.h
35690 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35691 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35692 <kernel-features.h>.
35693 [__NR_fadvise64_64]: Make code unconditional.
35694 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35695 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35696 !__NR_fadvise64_64)]: Likewise.
35697 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35698 !__NR_fadvise64_64))]: Likewise.
35699 [__NR_fadvise64]: Make code unconditional.
35700 [!__NR_fadvise64]: Remove conditional code.
35701 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35702 <kernel-features.h>.
35703 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35704 unconditional.
35705 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35706 conditional code.
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35708 not include <kernel-features.h>.
35709 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35710 unconditional.
35711 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35712 conditional code.
35713 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35714 include <kernel-features.h>.
35715 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35716 unconditional.
35717 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35718 conditional code.
35719
14a50c9d
WS
357202012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35721
35722 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35723 slight instruction rearrangements per scrollpipe analysis.
35724 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35725
c0f4faf0
RM
357262012-08-20 Roland McGrath <roland@hack.frob.com>
35727
696da859
RM
35728 * manual/syslog.texi (syslog; vsyslog, closelog):
35729 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35730 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35731
c0f4faf0
RM
35732 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35733 DSOCAPS to match condition on defining it.
35734
348363b2
JM
357352012-08-20 Joseph Myers <joseph@codesourcery.com>
35736
a35cbf28
JM
35737 * sysdeps/unix/sysv/linux/kernel-features.h
35738 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35740 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35741 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35743 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35744 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35746 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35747 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35748
445f7ecd
JM
35749 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35750 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35751
348363b2
JM
35752 * sysdeps/unix/sysv/linux/kernel-features.h
35753 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35754 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35755 unconditional.
35756 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35757 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35758 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35759 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35760 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35761 Make code unconditional.
35762 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35763 (__mmap64) [!__NR_mmap2]: Likewise.
35764 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35765 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35766 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35767 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35768 [__NR_mmap2]: Make code unconditional.
35769 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35770 (__mmap64) [!__NR_mmap2]: Likewise.
35771
bc5bc0e5
AK
357722012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35773
35774 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35775
88d506de
AJ
357762012-08-18 Andreas Jaeger <aj@suse.de>
35777
35778 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35779
493387d2
MF
357802012-08-18 Mike Frysinger <vapier@gentoo.org>
35781
35782 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35783 * include/unistd.h (__have_sock_cloexec): Likewise.
35784 (__have_pipe2): Likewise.
35785 (__have_dup3): Likewise.
35786
a277af22
MF
357872012-08-18 Mike Frysinger <vapier@gentoo.org>
35788
35789 [BZ #9685]
35790 * include/unistd.h (__have_pipe2): Change define into an extern int.
35791 (__have_dup3): Likewise.
35792 * socket/have_sock_cloexec.c: Include fcntl.h.
35793 (__have_pipe2): New variable.
35794 (__have_dup3): Likewise.
35795
fdab8fd3
MF
357962012-08-17 Mike Frysinger <vapier@gentoo.org>
35797
35798 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35799
31035e80
MP
358002012-08-17 Marek Polacek <polacek@redhat.com>
35801
35802 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35803 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35804
3bd9e993
RM
358052012-08-17 Roland McGrath <roland@hack.frob.com>
35806
c91c505f
RM
35807 * configure.in: Add AC_SUBST for sysheaders.
35808 * configure: Regenerated.
35809 * config.make.in (sysheaders): New substituted variable.
35810
7c6f9d53
RM
35811 * sysdeps/unix/mkfifo.c: Moved ...
35812 * sysdeps/posix/mkfifo.c: ... here.
35813 * sysdeps/unix/mkfifoat.c: Moved ...
35814 * sysdeps/posix/mkfifoat.c: ... here.
35815
35816 * sysdeps/unix/utime.c: Moved ...
35817 * sysdeps/posix/utime.c: ... here.
35818
35819 * sysdeps/unix/time.c: Moved ...
35820 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35821 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35822 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35823
35824 * sysdeps/unix/nice.c: Moved ...
35825 * sysdeps/posix/nice.c: ... here.
35826
35827 * sysdeps/unix/alarm.c: Moved ...
35828 * sysdeps/posix/alarm.c: ... here.
35829
3bd9e993
RM
35830 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35831
d1f09384
JL
358322012-08-17 Jeff Law <law@redhat.com>
35833
35834 * intl/Makefile (codeset_mo): New variable.
35835 ($(codeset_mo)): New target.
35836 (tst-codeset.out): Depend on that. Remove explicit rule.
35837 (tst-gettext3.out, tst-gettext5.out): Likewise.
35838 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35839 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35840 * intl/tst-codeset.sh: Remove.
35841 * intl/tst-gettext3.sh: Likewise.
35842 * intl/tst-gettext5.sh: Likewise.
35843
2ae1ae5c
RM
358442012-08-17 Roland McGrath <roland@hack.frob.com>
35845
c31fdb83
RM
35846 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35847 * sysdeps/unix/syscalls.list: ... here.
35848
a0844057
RM
35849 * sysdeps/posix/getaddrinfo.c
35850 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35851 (gaiconf_init, gaiconf_reload): Use them.
35852 [!_STATBUF_ST_NSEC]
35853 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35854 Define using time_t rather than struct timespec.
35855
750c1f2a
RM
35856 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35857 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35858 Macros removed.
35859 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35860 [!NO_THREADS].
35861 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35862 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35863 Likewise.
35864
2ae1ae5c
RM
35865 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35866 __libc_cleanup_push argument.
35867
e66a42f5
RM
35868 * bits/param.h: New file.
35869 * misc/sys/param.h: New file.
35870 * include/sys/param.h: New file.
35871 * misc/Makefile (headers): Add bits/param.h.
35872 * sysdeps/generic/sys/param.h: File removed.
35873 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35874 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35875 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35876 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35877
b7c08a66
RM
35878 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35879 last change.
35880
b2e1c562
RM
35881 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35882 [_IO_MTSAFE_IO].
35883 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35884 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35885 New macros.
35886
c75ccd4c
RM
35887 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35888 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35889 rather than -D_IO_MTSAFE_IO conditionally.
35890 * stdio-common/Makefile (CPPFLAGS): Likewise.
35891 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35892 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35893 Use $(libio-mtsafe).
35894 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35895 of -D_IO_MTSAFE_IO.
35896 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35897 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35898 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35899 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35900 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35901 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35902 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35903 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35904 (CFLAGS-fread_u_chk.c): Likewise.
35905 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35906 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35907 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35908 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35909 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35910 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35911 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35912 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35913 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35914
35915 * libio/Makefile: Test [$(libc-reentrant) = yes]
35916 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35917
35918 * Makeconfig
35919 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35920 * sysdeps/pthread/configure: File removed.
35921 * sysdeps/pthread/Makeconfig: New file.
35922 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35923 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35924
d9195db8
GB
359252012-08-16 Gary Benson <gbenson@redhat.com>
35926
35927 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35928 unmapping the first object in a namespace.
35929
86466cd9
RM
359302012-08-16 Roland McGrath <roland@hack.frob.com>
35931
35932 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35933 (__internal_setnetgrent): ... this. Add internal_function to
35934 definition. Add libc_hidden_def.
35935 (setnetgrent): Update caller.
35936 (internal_endnetgrent): Renamed to ...
35937 (__internal_endnetgrent): ... this. Add internal_function to
35938 definition. Add libc_hidden_def.
35939 (endnetgrent): Update caller.
35940 (internal_getnetgrent_r): Renamed to ...
35941 (__internal_getnetgrent_r): ... this. Add internal_function to
35942 definition. Add libc_hidden_def.
35943 (__getnetgrent_r): Update caller.
35944 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35945
c3c8283c
JM
359462012-08-16 Joseph Myers <joseph@codesourcery.com>
35947
35948 * stdlib/longlong.h: Update from GCC.
35949
db1ee0a8
RM
359502012-08-16 Roland McGrath <roland@hack.frob.com>
35951
35952 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35953 on _QL, which is set by umul_ppmm but never used.
35954 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35955 variables, which are set by GMP macros but never used.
35956 * stdio-common/_itowa.c (_itowa): Likewise.
35957 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35958 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35959
30f69637
CD
359602012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35961
35962 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35963 struct La_sh_regs is not constant.
35964 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35965 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35966 and struct La_sparc64_regs are not constant.
35967
93a78ac4
JM
359682012-08-16 Joseph Myers <joseph@codesourcery.com>
35969
35970 * sysdeps/unix/sysv/linux/kernel-features.h
35971 (__ASSUME_POSIX_TIMERS): Remove.
35972 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35973 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35974 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35975 Make code unconditional.
35976 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35977 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35978 Make code unconditional.
35979 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35980 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35981 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35982 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35983 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35984 Make code unconditional.
35985 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35986 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35987 (__libc_missing_posix_timers): Remove.
35988
dd924cd7
RM
359892012-08-15 Roland McGrath <roland@hack.frob.com>
35990
4b4f2771
RM
35991 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35992 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35993
601c888b
RM
35994 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35995
176790a7
RM
35996 * elf/dl-sym.c: Include <stdlib.h>.
35997
329bc018
RM
35998 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35999 constants, which avoids warnings in 32-bit builds.
36000
e04e272d
RM
36001 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36002 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36003
952bf94a
RM
36004 * misc/lseek.c: File moved to ...
36005 * io/lseek.c: ... here.
36006
7c99b50a
RM
36007 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36008
dd924cd7
RM
36009 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36010 shifting LEN more than 31 bits at once.
36011
b3f479a8
LD
360122012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36013
36014 [BZ #14195]
8c4ae0d4
RM
36015 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36016 segmentation fault for a case of two empty input strings.
b3f479a8
LD
36017 * string/test-strncasecmp.c (check1): Renamed to...
36018 (bz12205): ...this.
36019 (bz14195): Add new testcase for two empty input strings and N > 0.
36020 (test_main): Call new testcase, adapt for renamed function.
36021
9c55864e
AJ
360222012-08-15 Andreas Jaeger <aj@suse.de>
36023
36024 [BZ #14090]
36025 * crypt/md5test2.c: New test, based on test supplied by Serge
36026 Belyshev <belyshev@depni.sinp.msu.ru>.
36027 * crypt/Makefile (xtests): Add md5test-giant..
36028 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36029
02dcb6c5
PE
360302012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36031
36032 [BZ #14090]
36033 * crypt/md5.c (md5_process_block): Don't assume the buffer
36034 length is less than 2**32.
36035 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36036 length is less than 2**64.
36037
a3f95dcc
RM
360382012-08-15 Roland McGrath <roland@hack.frob.com>
36039
be75d758
RM
36040 * string/str-two-way.h: Include <sys/param.h>.
36041 (MAX): Macro removed.
36042
7312ca90
RM
36043 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36044 Move #define and #undef of memmove to just before and after
36045 including <string.h>.
36046
9a0a5486
RM
36047 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36048 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36049 and after including <string.h>. Move declarations of
36050 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36051 to before #include "string/memmove.c".
36052
67cc348d
RM
36053 * include/dirent.h: Declare __getdirentries.
36054
a3f95dcc
RM
36055 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36056 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36057
ca98e171
MF
360582012-08-14 Mike Frysinger <vapier@gentoo.org>
36059
36060 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36061 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36062 * sysdeps/i386/configure: Regenerated.
36063 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36064 STABS_CURRENT_FILE, and STABS_FUN.
36065 (END): Remove call to STABS_FUN_END.
36066 (STABS_CURRENT_FILE1): Delete.
36067 (STABS_CURRENT_FILE): Likewise.
36068 (STABS_FUN): Likewise.
36069 (STABS_FUN_END): Likewise.
36070 (STABS_FUN2): Likewise.
36071 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36072 * sysdeps/x86_64/configure: Regenerated.
36073
5908bf46
RM
360742012-08-14 Roland McGrath <roland@hack.frob.com>
36075
36076 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 36077 * elf/dl-lookup.c: Likewise.
5908bf46 36078
f2c05b9e
JM
360792012-08-14 Joseph Myers <joseph@codesourcery.com>
36080
36081 * sysdeps/unix/sysv/linux/kernel-features.h
36082 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36083 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36084 unconditionally.
36085 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36086 unconditionally.
36087 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36088 condition on __ASSUME_CLONE_THREAD_FLAGS.
36089
e11f5155
AJ
360902012-08-14 Andreas Jaeger <aj@suse.de>
36091
36092 * sysdeps/i386/fpu/libm-test-ulps: Update.
36093
51a9ba86
MK
360942012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36095
2fdd4f78
AJ
36096 * include/atomic.h (atomic_exchange_and_add): Split into ...
36097 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36098 New atomic macros.
51a9ba86 36099
ba6cba9e
MT
361002012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36101
36102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36103
42443a47
JL
361042012-08-13 Jeff Law <law@redhat.com>
36105
36106 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36107 null byte in the output string.
36108
121dce05
JM
361092012-08-10 Joseph Myers <joseph@codesourcery.com>
36110
36111 * sysdeps/unix/sysv/linux/kernel-features.h
36112 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36113 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36114 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36115 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36116 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36117 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36118 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36119
bf51f568
JL
361202012-08-09 Jeff Law <law@redhat.com>
36121
36122 [BZ #13939]
36123 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36124 When avoid_arena is set, don't retry in the that arena. Pick the
36125 next one, whatever it might be.
36126 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36127 (arena_lock): Pass in new parameter to arena_get2.
36128 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36129 arena_get2.
36130 (__libc_malloc): Unify retrying after main arena failure with
36131 __libc_memalign version.
36132 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36133
f85fa270
L
361342012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36135
36136 [BZ #14166]
36137 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36138 to __redirect_strstr.
36139 (__strstr_sse42): Use typeof __redirect_strstr.
36140 (__strstr_ia32): Likewise.
36141 (__libc_strstr): New prototype.
36142 (strstr): Renamed to ...
36143 (__libc_strstr): This.
36144 (strstr): New strong alias of __libc_strstr.
36145 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36146 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36147 __redirect_time.
36148 Include <time.h>.
36149 (__libc_time): New prototype.
36150 (time_ifunc): Replace time with __libc_time.
36151 (time): New strong alias and hidden definition of __libc_time.
36152 (__GI_time): Remove strong alias.
36153 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36154 Include <stddef.h>.
36155 (memmove): Redefined to __redirect_memmove.
36156 (__memmove_sse2): Use typeof __redirect_memmove.
36157 (__memmove_ssse3): Likewise.
36158 (__memmove_ssse3_back): Likewise.
36159 (__libc_memmove): New prototype.
36160 (memmove): Renamed to ...
36161 (__libc_memmove): This.
36162 (memmove): New strong alias of __libc_memmove.
36163
33b4a91e
MS
361642012-08-08 Mark Salter <msalter@redhat.com>
36165
36166 * elf/elf.h
36167 (R_MN10300_TLS_GD): Define.
36168 (R_MN10300_TLS_LD): Likewise.
36169 (R_MN10300_TLS_LDO): Likewise.
36170 (R_MN10300_TLS_GOTIE): Likewise.
36171 (R_MN10300_TLS_IE): Likewise.
36172 (R_MN10300_TLS_LE): Likewise.
36173 (R_MN10300_TLS_DTPMOD): Likewise.
36174 (R_MN10300_TLS_DTPOFF): Likewise.
36175 (R_MN10300_TLS_TPOFF): Likewise.
36176 (R_MN10300_SYM_DIFF): Likewise.
36177 (R_MN10300_ALIGN): Likewise.
36178 (R_MN10300_NUM): Update.
36179
b36137f1
JM
361802012-08-08 Joseph Myers <joseph@codesourcery.com>
36181
36182 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36183 Remove.
36184
cdd915fd
RM
361852012-08-08 Roland McGrath <roland@hack.frob.com>
36186
a2433aac
RM
36187 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36188
cdd915fd
RM
36189 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36190 sysdeps/unix -> sysdeps/posix move.
36191 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36192
bf9b740a
AM
361932012-08-07 Allan McRae <allan@archlinux.org>
36194
36195 [BZ #14303]
36196 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36197 (SUNOS_CPP): Likewise.
36198 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36199 not found.
36200 (open_input): Call CPP using execvp.
36201
93df14ee
JM
362022012-08-07 Joseph Myers <joseph@codesourcery.com>
36203
36204 * sysdeps/unix/sysv/linux/kernel-features.h
36205 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36206 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36207 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36208 (__ASSUME_WAITID_SYSCALL): Likewise.
36209 * sysdeps/unix/sysv/linux/dl-execstack.c
36210 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36211 code unconditional.
36212 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36213 conditional code.
36214 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36215 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36216 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36217 code.
36218 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36219 unconditional.
36220 [__ASSUME_WAITID_SYSCALL]: Likewise.
36221 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36222
d34689de
RM
362232012-08-07 Roland McGrath <roland@hack.frob.com>
36224
a281decc
RM
36225 * sysdeps/unix/closedir.c: Renamed to ...
36226 * sysdeps/posix/closedir.c: ... here.
36227 * sysdeps/unix/dirfd.c: Renamed to ...
36228 * sysdeps/posix/dirfd.c: ... here.
36229 * sysdeps/unix/dirstream.h: Renamed to ...
36230 * sysdeps/posix/dirstream.h: ... here.
36231 * sysdeps/unix/fdopendir.c: Renamed to ...
36232 * sysdeps/posix/fdopendir.c: ... here.
36233 * sysdeps/unix/opendir.c: Renamed to ...
36234 * sysdeps/posix/opendir.c: ... here.
36235 * sysdeps/unix/readdir.c: Renamed to ...
36236 * sysdeps/posix/readdir.c: ... here.
36237 * sysdeps/unix/readdir_r.c: Renamed to ...
36238 * sysdeps/posix/readdir_r.c: ... here.
36239 * sysdeps/unix/rewinddir.c: Renamed to ...
36240 * sysdeps/posix/rewinddir.c: ... here.
36241 * sysdeps/unix/seekdir.c: Renamed to ...
36242 * sysdeps/posix/seekdir.c: ... here.
36243 * sysdeps/unix/telldir.c: Renamed to ...
36244 * sysdeps/posix/telldir.c: ... here.
36245 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36246 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36247 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36248 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36249
22895b47
RM
36250 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36251 * bits/fcntl.h: ... here.
36252
707a53b6
RM
36253 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36254 not 0.
36255 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36256 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36257 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36258 (struct flock): Move l_start, l_len to the beginning.
36259 Use __pid_t for l_pid.
36260 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36261 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36262 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36263 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36264 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36265 [__USE_LARGEFILE64] (struct flock64): New type.
36266 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36267
f0bd3e25
RM
36268 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36269 * bits/dirent.h: ... here.
36270
d34689de
RM
36271 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36272 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36273
6dad2c06
JM
362742012-08-07 Joseph Myers <joseph@codesourcery.com>
36275
36276 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36277 Change from 2.6.0 to 2.6.16.
36278 * sysdeps/unix/sysv/linux/configure: Regenerated.
36279 * sysdeps/unix/sysv/linux/kernel-features.h
36280 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36281 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36282 version.
36283 (__ASSUME_UTIMES): Likewise.
36284 (__ASSUME_CLONE_STOPPED): Remove.
36285 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36286 architectures, not kernel version.
36287 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36288 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36289 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36290 (__ASSUME_WAITID_SYSCALL): Likewise.
36291 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36292 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36293 * README: State 2.6.16 as minimum Linux kernel version. Do not
36294 refer to older versions.
36295
03af9520
RM
362962012-08-06 Roland McGrath <roland@hack.frob.com>
36297
8e49df1d
RM
36298 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36299 Define alphasort64 as an alias.
36300 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36301 Define versionsort64 as an alias.
36302 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36303 Define scandir64 as an alias.
36304 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36305 Define scandirat64 as an alias.
36306 * dirent/alphasort64.c (alphasort64):
36307 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36308 * dirent/versionsort64.c: Likewise.
36309 * dirent/scandir64.c: Likewise.
36310 * dirent/scandirat64.c: Likewise.
36311 * sysdeps/wordsize-64/alphasort.c: File removed.
36312 * sysdeps/wordsize-64/alphasort64.c: File removed.
36313 * sysdeps/wordsize-64/scandir.c: File removed.
36314 * sysdeps/wordsize-64/scandir64.c: File removed.
36315 * sysdeps/wordsize-64/scandirat.c: File removed.
36316 * sysdeps/wordsize-64/scandirat64.c: File removed.
36317 * sysdeps/wordsize-64/versionsort.c: File removed.
36318 * sysdeps/wordsize-64/versionsort64.c: File removed.
36319 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36320 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36321 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36322 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36323 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36324 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36325 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36326 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36327
36328 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36330 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36332 [defined __arch64__ || defined __sparcv9]
36333 (__INO_T_MATCHES_INO64_T): New macro.
36334 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36335 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36336 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36337 * sysdeps/unix/sysv/linux/bits/dirent.h
36338 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36339 (_DIRENT_MATCHES_DIRENT64): New macro.
36340
03af9520
RM
36341 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36342 Define lockf64 as an alias.
36343 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36344 Define fseeko64 as an alias.
36345 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36346 Define ftello64 as an alias.
36347 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36348 Define _IO_fgetpos64 and fgetpos64 as aliases.
36349 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36350 Define _IO_fsetpos64 and fsetpos64 as aliases.
36351 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36352 Conditionalize body on this.
36353 * libio/fseeko64.c: Likewise.
36354 * libio/ftello64.c: Likewise.
36355 * libio/iofgetpos64.c: Likewise.
36356 * libio/iofsetpos64.c: Likewise.
36357 * sysdeps/wordsize-64/lockf.c: File removed.
36358 * sysdeps/wordsize-64/lockf64.c: File removed.
36359 * sysdeps/wordsize-64/fseeko.c: File removed.
36360 * sysdeps/wordsize-64/fseeko64.c: File removed.
36361 * sysdeps/wordsize-64/ftello.c: File removed.
36362 * sysdeps/wordsize-64/ftello64.c: File removed.
36363 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36364 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36365 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36366 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36367 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36368 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36369 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36370 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36371 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36372 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36373 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36374 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36375 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36376 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36377
36378 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36380 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36382 [defined __arch64__ || defined __sparcv9]
36383 (__OFF_T_MATCHES_OFF64_T): New macro.
36384 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36385 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36386 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36387 (__OFF_T_MATCHES_OFF64_T): New macro.
36388
c5757acd
L
363892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36390
36391 * stdlib/secure-getenv.c (__secure_getenv): Replace
36392 GLIBC_2_16 with GLIBC_2_17.
36393
3a31811e
L
363942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36395
36396 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36397 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36398
faa2bccb
DM
363992012-08-03 David S. Miller <davem@davemloft.net>
36400
36401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36402
85fe1997
JM
364032012-08-03 Joseph Myers <joseph@codesourcery.com>
36404
36405 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36406 Remove.
36407 (__ASSUME_CORRECT_SI_PID): Likewise.
36408 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36409 (__ASSUME_TMPFS_NAME): Likewise.
36410 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36411 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36412 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36413 (HAVE_AUX_SECURE): Make definition unconditional.
36414 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36415 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36416
4f75b7a0
RM
364172012-08-03 Roland McGrath <roland@hack.frob.com>
36418
36419 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36420 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36421 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36422 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36423 __eloop_threshold instead of SYMLOOP_MAX.
36424
36425 * sysdeps/generic/eloop-threshold.h: New file.
36426 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36427 of MAXSYMLINKS.
36428 * elf/chroot_canon.c (chroot_canon): Likewise.
36429
7aab07e4
JM
364302012-08-03 Joseph Myers <joseph@codesourcery.com>
36431
36432 [BZ #13717]
36433 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36434 Change to 2.6.0 everywhere.
36435 * sysdeps/unix/sysv/linux/configure: Regenerated.
36436 * sysdeps/unix/sysv/linux/kernel-features.h
36437 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36438 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36439 kernel versions.
36440 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36441 (__ASSUME_FUTEX_REQUEUE): Remove.
36442 (__ASSUME_STATFS64): Define unconditionally.
36443 (__ASSUME_AT_SECURE): Likewise.
36444 (__ASSUME_CORRECT_SI_PID): Likewise.
36445 (__ASSUME_TGKILL): Define without depending on kernel version for
36446 i386.
36447 (__ASSUME_UTIMES): Likewise.
36448 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36449 kernel version.
36450 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36451 (__ASSUME_TMPFS_NAME): Likewise.
36452 * README: Update reference to Linux kernel versions.
36453
b67e9372
MP
364542012-08-02 Marek Polacek <polacek@redhat.com>
36455
1f529f7d 36456 [BZ# 14150]
b67e9372
MP
36457 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36458 libc_cv_asm_type_prefix with %.
36459 * configure: Regenerated.
d2441631
RM
36460 * include/libc-symbols.h: Remove comment about
36461 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
36462 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36463 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36464 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36465 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36466 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36467 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36468 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36469 * elf/tst-unique2mod1.c: Likewise.
36470 * elf/tst-unique1mod2.c: Likewise.
36471 * elf/tst-unique1mod1.c: Likewise.
36472 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36473 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36474 Replace ASM_TYPE_DIRECTIVE with .type.
36475 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36476 * sysdeps/i386/sysdep.h: Likewise.
36477 * sysdeps/x86_64/sysdep.h: Likewise.
36478 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
36479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36480 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 36481 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
36482 * sysdeps/powerpc/powerpc32/sysdep.h:
36483 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
36484 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36485 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36486 * sysdeps/i386/fpu/e_powf.S: Likewise.
36487 * sysdeps/i386/fpu/e_expl.S: Likewise.
36488 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36489 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36490 * sysdeps/i386/fpu/e_pow.S: Likewise.
36491 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36492 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36493 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36494 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36495 * sysdeps/i386/fpu/e_log2.S: Likewise.
36496 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36497 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36498 * sysdeps/i386/fpu/e_powl.S: Likewise.
36499 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36500 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36501 * sysdeps/i386/fpu/e_logl.S: Likewise.
36502 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36503 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36504 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36505 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36506 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36507 * sysdeps/i386/fpu/e_log.S: Likewise.
36508 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36509 * sysdeps/i386/fpu/e_logf.S: Likewise.
36510 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36511 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36512 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36513 * sysdeps/i386/fpu/e_log10.S: Likewise.
36514 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36515 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36516 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36517 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36518 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36519 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36520 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36521 * sysdeps/i386/i686/strtok.S: Likewise.
36522 * sysdeps/i386/i386-mcount.S: Likewise.
36523 * sysdeps/i386/strtok.S: Likewise.
36524 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36525 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36527 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36528 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36529 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36530 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36531 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36532 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36533 * sysdeps/x86_64/_mcount.S: Likewise.
36534 * sysdeps/x86_64/strtok.S: Likewise.
36535 * sysdeps/sh/_mcount.S: Likewise.
36536
2747bf9a
RM
365372012-08-01 Roland McGrath <roland@hack.frob.com>
36538
36539 * libio/iofopen.c: Include <fcntl.h>.
36540 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36541 (_IO_fopen64, fopen64): Define as aliases.
36542 * libio/iofopen64.c: Include <fcntl.h>.
36543 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36544 Conditionalize body on this.
36545 * sysdeps/wordsize-64/iofopen.c: File removed.
36546 * sysdeps/wordsize-64/iofopen64.c: File removed.
36547
3fb791b8
MP
365482012-08-01 Marek Polacek <polacek@redhat.com>
36549
36550 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36551 Use dlfcn directly instead of a variable.
36552 (binfmt-subdir): Do not define.
36553 (dlfcn): Likewise.
36554
a9f1039f
JM
365552012-08-01 Joseph Myers <joseph@codesourcery.com>
36556
23bddc06
JM
36557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36558 Remove all definitions.
36559 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36560 <kernel-features.h>.
36561 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36562 (miss_F_GETOWN_EX): Remove all definitions.
36563 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36564 macro definition.
36565 [!__ASSUME_FCNTL64]: Remove conditional code.
36566 [__ASSUME_FCNTL64]: Make code unconditional.
36567 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36568 <kernel-features.h>.
36569 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36570 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36571 (lockf64) [__NR_fcntl64]: Make code unconditional.
36572 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36573
a9f1039f
JM
36574 * sysdeps/unix/sysv/linux/kernel-features.h
36575 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36576 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36577 Make code unconditional.
36578 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36579 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36581 [__NR_vfork]: Make code unconditional.
36582 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36583 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36585 [__NR_vfork]: Make code unconditional.
36586 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36587 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36588
09c0ee5f
RM
365892012-08-01 Roland McGrath <roland@hack.frob.com>
36590
48aec5b9
RM
36591 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36592 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36593
cd97c966
RM
36594 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36595 Define mkstemp64 as an alias.
3f55550c
RM
36596 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36597 Define mkstemps64 as an alias.
cd97c966
RM
36598 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36599 Define mkostemp64 as an alias.
b8625cfc
RM
36600 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36601 Define mkostemps64 as an alias.
cd97c966
RM
36602 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36603 Conditionalize body on this.
36604 * misc/mkostemp64.c: Likewise.
b8625cfc 36605 * misc/mkostemps64.c: Likewise.
3f55550c 36606 * misc/mkstemps64.c: Likewise.
cd97c966
RM
36607 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36608 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36609 * sysdeps/wordsize-64/mkostemp.c: File removed.
36610 * sysdeps/wordsize-64/mkstemp.c: File removed.
36611 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36612 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36613 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36614 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36615
09c0ee5f
RM
36616 [BZ #14138]
36617 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36618 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36619 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36620 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36621
36622 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36623 compat_symbol macros from <shlib-compat.h> rather than the underlying
36624 default_symbol_version and symbol_version macros, so that DEFAULT
36625 lines in shlib-versions are respected.
36626 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36627
7e66ee51
FW
366282012-08-01 Florian Weimer <fweimer@redhat.com>
36629
36630 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36631 Declare with warn_unused_result.
36632 (setgid, setregid, setegid, setresgid): Likewise.
36633 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36634 Likewise.
36635 * WUR-REPORT: Remove set*id functions.
36636
d2a54255
PT
366372012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36638
36639 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36640
7ecdb005
RM
366412012-07-31 Roland McGrath <roland@hack.frob.com>
36642
b4180a5e 36643 [BZ #10191]
789bd351
RM
36644 * include/sys/socket.h (__libc_accept, __libc_accept4):
36645 Add attribute_hidden.
36646 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36647
40ce302d
RM
36648 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36649 use of PTR_MANGLE.
36650 * inet/getnetgrent_r.c (setup): Likewise.
36651
7ecdb005
RM
36652 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36653
e2eabb2c
DM
366542012-07-31 David S. Miller <davem@davemloft.net>
36655
36656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36657
d0419dbf
JM
366582012-07-31 Joseph Myers <joseph@codesourcery.com>
36659
36660 [BZ #13629]
36661 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36662 value between 1.0 and 2.0 and smaller part has absolute value less
36663 than 1.0.
36664 * math/s_clog10.c (__clog10): Likewise.
36665 * math/s_clog10f.c (__clog10f): Likewise.
36666 * math/s_clog10l.c (__clog10l): Likewise.
36667 * math/s_clogf.c (__clogf): Likewise.
36668 * math/s_clogl.c (__clogl): Likewise.
36669 * math/libm-test.inc (clog_test): Add more tests.
36670 (clog10_test): Likewise.
36671 * sysdeps/i386/fpu/libm-test-ulps: Update.
36672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36673
2bc13872
FW
366742012-07-31 Florian Weimer <fweimer@redhat.com>
36675
36676 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36677 Exit with zero in case no suitable GID is found, and write a
36678 message to standard error.
36679
bea9b193
RM
366802012-07-30 Roland McGrath <roland@hack.frob.com>
36681
36682 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36683 rather than to 1.
36684 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36685 (MAXPATHLEN): Removed.
36686 (NOGROUP, NODEV): New macros.
36687 (setbit, clrbit, isset, isclr): New macros.
36688 (howmany, roundup, powerof2): New macros.
36689 (DEV_BSIZE): New macro.
36690
36691 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36692 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36693
36694 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36695 definition on [!__NO_LONG_DOUBLE_MATH].
36696
36697 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36698 PTR_MANGLE and PTR_DEMANGLE.
36699
36700 * socket/accept4.c (accept4): Rename to __libc_accept4.
36701 Define accept4 as a weak alias.
36702
36703 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36704 on [_DIRENT_HAVE_D_TYPE].
36705 * io/ftw.c (ftw_dir): Likewise.
36706
36707 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36708
36709 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36710
36711 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36712 Use the BSD numbers rather than the arbitrary ones we had.
36713 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36714 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36715 (SIGXCPU, SIGXFSZ): New macros.
36716 (_NSIG): Now 32.
36717
36718 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36719 initializer on [_LIBC_REENTRANT].
36720
36721 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36722 definitions inside [_POSIX_MAPPED_FILES].
36723
36724 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36725
36726 * dirent/opendir.c: Include <fcntl.h>.
36727
36728 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36729 (__libc_getspecific): Likewise.
36730 (__libc_key_create): Likewise.
36731
36732 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36733 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36734 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36735 (tmpfile64): Define as alias.
36736 * sysdeps/wordsize-64/tmpfile.c: File removed.
36737 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36738 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36739 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36740
36741 * stdio-common/vfscanf.c: Include <stdbool.h>.
36742 * nss/makedb.c: Likewise.
36743 * stdio-common/_i18n_number.h: Likewise.
36744 * argp/argp-help.c: Likewise.
36745 * posix/wordexp.c: Likewise.
36746 * sysdeps/posix/spawni.c: Likewise.
36747 * nss/nss_files/files-initgroups.c: Likewise.
36748 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36749 * nss/nss_files/files-initgroups.c: Likewise.
36750 * nss/nss_db/db-netgrp.c: Likewise.
36751 * nss/nss_db/db-initgroups.c: Likewise.
36752 * io/fchmodat.c: Include <sys/stat.h>.
36753
36754 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36755 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36756
36757 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36758 [HAVE_MMAP].
36759
36760 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36761 Add multiple inclusion protection.
36762
e5abc686
DM
367632012-07-27 David S. Miller <davem@davemloft.net>
36764
36765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36766
815e6fa3
GB
367672012-07-27 Gary Benson <gbenson@redhat.com>
36768
36769 [BZ #14298]
36770 * elf/rtld.c: Include <stap-probe.h>.
36771 (dl_main): Added static probes "init_start" and "init_complete".
36772 * elf/dl-load.c: Include <stap-probe.h>.
36773 (lose): Take new parameter "nsid".
36774 Added static probe "map_failed".
36775 (_dl_map_object_from_fd): Pass namespace id to lose.
36776 Added static probe "map_start".
36777 (open_verify): Pass namespace id to lose.
36778 * elf/dl-open.c: Include <stap-probe.h>.
36779 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36780 and "reloc_complete".
36781 * elf/dl-close.c: Include <stap-probe.h>.
36782 (_dl_close_worker): Added static probes "unmap_start" and
36783 "unmap_complete".
36784 * elf/rtld-debugger-interface.txt: New file documenting the above.
36785
9f98c16c
RM
367862012-07-26 Roland McGrath <roland@hack.frob.com>
36787
36788 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36789 rather than a string variable.
36790 * sunrpc/rpc_main.c (h_output): Likewise.
36791 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36792
f3c22df3
PT
367932012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36794
36795 * inet/check_native.c: New file.
36796
3129cfc6
JM
367972012-07-26 Joseph Myers <joseph@codesourcery.com>
36798
da865e95
JM
36799 [BZ #13629]
36800 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36801 if larger part has absolute value 1.0.
36802 * math/s_clog10.c (__clog10): Likewise.
36803 * math/s_clog10f.c (__clog10f): Likewise.
36804 * math/s_clog10l.c (__clog10l): Likewise.
36805 * math/s_clogf.c (__clogf): Likewise.
36806 * math/s_clogl.c (__clogl): Likewise.
36807 * math/libm-test.inc (clog_test): Add more tests.
36808 (clog10_test): Likewise.
36809 * sysdeps/i386/fpu/libm-test-ulps: Update.
36810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36811
3129cfc6
JM
36812 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36813 (pltexit): Likewise.
36814 (La_regs): Likewise.
36815 (La_retval): Likewise.
36816 (int_retval): Likewise.
36817 Update #error for removed macros to refer only to definitions in
36818 tst-audit.h.
36819 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36820 macro.
36821 (pltexit): Likewise.
36822 (La_regs): Likewise.
36823 (La_retval): Likewise.
36824 (int_retval): Likewise.
36825 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36826 macro.
36827 (pltexit): Likewise.
36828 (La_regs): Likewise.
36829 (La_retval): Likewise.
36830 (int_retval): Likewise.
36831 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36832 macro.
36833 (pltexit): Likewise.
36834 (La_regs): Likewise.
36835 (La_retval): Likewise.
36836 (int_retval): Likewise.
36837 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36838 macro.
36839 (pltexit): Likewise.
36840 (La_regs): Likewise.
36841 (La_retval): Likewise.
36842 (int_retval): Likewise.
36843 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36844 macro.
36845 (pltexit): Likewise.
36846 (La_regs): Likewise.
36847 (La_retval): Likewise.
36848 (int_retval): Likewise.
36849 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36850 macro.
36851 (pltexit): Likewise.
36852 (La_regs): Likewise.
36853 (La_retval): Likewise.
36854 (int_retval): Likewise.
36855 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36856 macro definitions in tst-audit.h.
36857 * sysdeps/i386/tst-audit.h: New file.
36858 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36859 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36860 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36861 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36862 * sysdeps/sh/tst-audit.h: Likewise.
36863 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36864 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36865 * sysdeps/x86_64/tst-audit.h: Likewise.
36866
bfc07087
AJ
368672012-07-26 Andreas Jaeger <aj@suse.de>
36868
b1b2aaf8
AJ
36869 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36870 ptrace.
36871
36872 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36873 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36874 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36875 PTRACE_O_MASK.
36876 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36877 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36878 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36879
bfc07087
AJ
36880 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36881 value.
36882
36883 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36884 _sigsys.
36885 (si_call_addr, si_syscall, si_arch): Define new macro.
36886 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36887 _sigsys.
36888 (si_call_addr, si_syscall, si_arch): Define new marcro.
36889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36890 _sigsys.
36891 (si_call_addr, si_syscall, si_arch): Define new macro.
36892 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36893 _sigsys.
36894 (si_call_addr, si_syscall, si_arch): Define new macro.
36895
89b4b02f
JM
368962012-07-25 Joseph Myers <joseph@codesourcery.com>
36897
36898 [BZ #13717]
36899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36900 Change to 2.4.21 where previously 2.4.1.
36901 * sysdeps/unix/sysv/linux/configure: Regenerated.
36902 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36903 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36904 Linux kernel version.
36905 (__ASSUME_STD_AUXV): Remove.
36906 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36907 kernel version.
36908 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36909 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36910 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36911 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36912 (__ASSUME_NETLINK_SUPPORT): Likewise.
36913 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36914 (__no_netlink_support): Remove conditional definition.
36915 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36916 Remove.
36917 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36918 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36919 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36920 (if_nameindex_ioctl): Remove.
36921 (if_nameindex_netlink): Do not handle __no_netlink_support.
36922 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36923 code.
36924 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36925 Remove conditional code.
36926 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36927 code.
36928 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36929 unconditional.
36930 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36931 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36932 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36933 Remove.
36934 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36935 [!__ASSUME_STD_AUXV]: Remove conditional code.
36936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36937 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36938 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36940 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36941 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36942 code.
36943 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36945 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36946 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36947 conditional code.
36948 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36950 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36951 code.
36952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36953 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36954 conditional code.
36955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36956 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36957 code unconditional.
36958 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36959 conditional code.
36960 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36961 unconditional.
36962 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36963 conditional code.
36964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36965 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36966 unconditional.
36967 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36968 conditional code.
36969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36970 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36971 code unconditional.
36972 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36973 conditional code.
36974 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36975 unconditional.
36976 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36977 conditional code.
36978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36979 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36980 code unconditional.
36981 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36982 conditional code.
36983 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36984 unconditional.
36985 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36986 conditional code.
36987
842a39cd
AS
369882012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36989
36990 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36991 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36992 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36993 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36994 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36995 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36996 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36997 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36998 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36999 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37000 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37001 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37002 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37003 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37004 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37005 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37006 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37007 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37008 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37010 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37011 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37012 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37013
84b3fd84
FW
370142012-07-25 Florian Weimer <fweimer@redhat.com>
37015
37016 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
37017 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37018 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37019 Introduce __libc_secure_getenv.
0c7936d5
FW
37020 * stdlib/Versions (2.17): Add secure_getenv
37021 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37022 * stdlib/secure-getenv.c: Rename __secure_getenv to
37023 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37024 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
37025 * stdlib/tst-secure-getenv.c: New.
37026 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
37027 * manual/startup.texi (Environment Access): Document
37028 secure_getenv.
84b3fd84
FW
37029 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37030 __libc_secure_getenv.
37031 * inet/ruserpass.c (ruserpass): Likewise.
37032 * malloc/mtrace.c (mtrace): Likewise.
37033 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 37034 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
37035 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37036 * sysdeps/posix/tempname.c: Likewise. Evaluate
37037 HAVE_SECURE_GETENV.
37038 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 37039 __secure_getenv to __libc_secure_getenv.
84b3fd84 37040 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
37041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37042 Likewise.
37043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37044 Likewise.
37045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37047 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 37052
56e49b71
JM
370532012-07-25 Joseph Myers <joseph@codesourcery.com>
37054
37055 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37056 (struct La_i86_retval): Likewise.
37057 (struct La_x86_64_regs): Likewise.
37058 (struct La_x86_64_retval): Likewise.
37059 (struct La_x32_regs): Likewise.
37060 (struct La_x32_retval): Likewise.
37061 (struct La_ppc32_regs): Likewise.
37062 (struct La_ppc32_retval): Likewise.
37063 (struct La_ppc64_regs): Likewise.
37064 (struct La_ppc64_retval): Likewise.
37065 (struct La_sh_regs): Likewise.
37066 (struct La_sh_retval): Likewise.
37067 (struct La_s390_32_regs): Likewise.
37068 (struct La_s390_32_retval): Likewise.
37069 (struct La_s390_64_regs): Likewise.
37070 (struct La_s390_64_retval): Likewise.
37071 (struct La_sparc32_regs): Likewise.
37072 (struct La_sparc32_retval): Likewise.
37073 (struct La_sparc64_regs): Likewise.
37074 (struct La_sparc64_retval): Likewise.
37075 (struct audit_ifaces): Remove architecture-specific pltenter and
37076 pltexit members.
37077 * sysdeps/i386/ldsodefs.h: New file.
37078 * sysdeps/powerpc/ldsodefs.h: Likewise.
37079 * sysdeps/s390/ldsodefs.h: Likewise.
37080 * sysdeps/sh/ldsodefs.h: Likewise.
37081 * sysdeps/sparc/ldsodefs.h: Likewise.
37082 * sysdeps/x86_64/ldsodefs.h: Likewise.
37083
354691b7
MP
370842012-07-25 Marek Polacek <polacek@redhat.com>
37085
37086 [BZ #6808]
37087 * math/libm-test.inc (yn_test): Add another test.
37088 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37089 to ERANGE when the result is +-Inf.
37090 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37091 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37092 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37093 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37094
bf9e2071
JM
370952012-07-24 Joseph Myers <joseph@codesourcery.com>
37096
37097 * conform/data/time.h-data (NULL): Use macro-constant. Require
37098 equal to 0.
37099 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37100 clock_t.
37101 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37102
57633811
TS
371032012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37104
37105 * configure.in <sysdeps resolving>: Correct printing
37106 Implies_before.
37107 * configure: Regenerate.
37108
c23c33b0
TS
371092012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37110
37111 * math/w_ilogb.c: Include <limits.h>.
37112 * math/w_ilogbl.c: Likewise.
37113
b5982523
JM
371142012-07-20 Joseph Myers <joseph@codesourcery.com>
37115
37116 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37117 va_copy. Document allowing for unavailable va_copy only as
37118 pre-C99 compatibility.
37119 * manual/string.texi (Copying and Concatenation): Use va_copy
37120 instead of __va_copy in concat example.
37121
ac4ea442
PT
371222012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37123
37124 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37125 (__sendto): Use create_address_port. Initialize APORT and deallocate
37126 it if not null.
37127
f98eafbd
PT
37128 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37129 with O_NOLINK passed to __file_name_lookup.
37130
898c7aab
PT
37131 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37132 with O_NOLINK passed to __file_name_lookup.
37133
0ced335a
PT
37134 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37135 negative N or less than NGIDS.
37136
b3404dbd
PT
37137 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37138 type to string_t. Set ERANGE as errno and return it if NAME is not big
37139 enough. Use memcpy instead of strncpy.
37140
0f48659e
JM
371412012-07-20 Joseph Myers <joseph@codesourcery.com>
37142
37143 * elf/Makefile (check-data): Remove.
37144 (localplt.data): New vpath directive.
37145 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37146 instead of $(check-data).
37147 * scripts/data/localplt-generic.data: Move to ...
37148 * sysdeps/generic/localplt.data: ... here.
37149 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37150 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37151 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37153 ... here.
37154 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37156 ... here.
37157 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37159 ... here.
37160 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37162 ... here.
37163 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37165 ... here.
37166 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37168 ... here.
37169
d37cbdaa
AZ
371702012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37171
37172 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37173 PPC32 and PPC64 files.
37174 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37175 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37176
46f85fc2
AK
371772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37178
37179 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37180 __makecontext_ret to ...
37181 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37182 ... here and call exit if uc_link is NULL. New file.
37183 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37184 __makecontext_ret.S.
37185 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37186 __makecontext_ret to ...
37187 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37188 ... here and call exit if uc_link is NULL. New file.
37189 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37190 __makecontext_ret.S.
37191
08f43f9b
AK
371922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37193
37194 * elf/elf.h (R_390_IRELATIVE): New definition.
37195 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37196 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37197 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37198 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37199 (elf_machine_lazy_rel): Likewise.
37200 * sysdeps/s390/dl-irel.h: New file.
37201 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37202 * sysdeps/s390/s390-64/memset.S: New asm code.
37203 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37204 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37205 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37206 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37207 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37208 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37209 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37210 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37211 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37212 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37213 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37214 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37215 * sysdeps/s390/s390-32/memset.S: New asm code.
37216 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37217
3b05db33
MP
372182012-07-17 Marek Polacek <polacek@redhat.com>
37219
37220 [BZ #14349]
37221 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37222 * sysdeps/s390/s390-64/configure.in: Likewise.
37223 * sysdeps/sparc/configure.in: Likewise.
37224 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37225 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37226 * sysdeps/i386/configure.in: Likewise.
37227 * sysdeps/x86_64/configure.in: Likewise.
37228 * sysdeps/sh/configure.in: Likewise.
37229 * sysdeps/s390/s390-32/configure: Regenerated.
37230 * sysdeps/s390/s390-64/configure: Likewise.
37231 * sysdeps/x86_64/configure: Likewise.
37232 * sysdeps/sh/configure: Likewise.
37233 * sysdeps/powerpc/powerpc64/configure: Likewise.
37234 * sysdeps/powerpc/powerpc32/configure: Likewise.
37235 * sysdeps/sparc/configure: Likwise.
37236 * sysdeps/i386/configure: Likewise.
37237
a66877c6
MP
37238 * elf/dl-open.c: Comment fixes.
37239
cfc82fd8
JM
372402012-07-17 Joseph Myers <joseph@codesourcery.com>
37241
bd29910a
JM
37242 * Makefile [CXX] (check-data): Remove.
37243 [CXX] (c++-types.data): New vpath directive.
37244 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37245 vpath. Do not allow for C++ type data being missing.
37246 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37247 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37248 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37249 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37250 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37251 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37252 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37254 ... here.
37255 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37257 ... here.
37258 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37260 ... here.
37261 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37263 ... here.
37264 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37266 ... here.
37267 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37269 ... here.
37270 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37272 ... here.
37273 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37275
cfc82fd8
JM
37276 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37277 definitions to architecture-specific files.
37278 (TLS_IE): Likewise.
37279 (TLS_LD): Likewise.
37280 (TLS_GD): Likewise.
37281 * sysdeps/i386/tls-macros.h: New file.
37282 * sysdeps/powerpc/tls-macros.h: Likewise.
37283 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37284 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37285 * sysdeps/sh/tls-macros.h: Likewise.
37286 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37287 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37288 * sysdeps/x86_64/tls-macros.h: Likewise.
37289
f7db3170
TS
372902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37291
07cbfc23
TS
37292 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37293 zero value for regular exit case.
37294
f7db3170
TS
37295 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37296 (__start_context): Preserve zero value for regular exit case.
37297
dc97c227
TS
372982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37299 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37300
37301 * manual/setjmp.texi (setcontext): Clarify normal process
37302 termination when uc_link is the null pointer.
37303 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37304 exit call.
37305
d0cd7d02
AS
373062012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37307
37308 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37309 preprocessor. Test for each exception mask separately.
37310
dd318934
AJ
373112012-07-16 Andreas Jaeger <aj@suse.de>
37312
37313 * po/ru.po: Update from translation team.
37314
8048311a
JM
373152012-07-15 Joseph Myers <joseph@codesourcery.com>
37316
37317 * conform/data/string.h-data (NULL): Use macro-constant. Require
37318 equal to 0.
37319 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37320 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37321 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37322 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37323 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37324
b637d46e
AJ
373252012-07-13 Andreas Jaeger <aj@suse.de>
37326
37327 * po/fr.po: Update from translation team.
37328
541428fe
MP
373292012-07-12 Marek Polacek <polacek@redhat.com>
37330
37331 [BZ #14173]
37332 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37333 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37334 loop condition.
37335
ec332e94
JM
373362012-07-12 Joseph Myers <joseph@codesourcery.com>
37337
37338 [BZ #13717]
37339 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37340 Change to 2.4.1 where previously 2.4.0.
37341 * sysdeps/unix/sysv/linux/configure: Regenerated.
37342 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37343 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37344 version.
37345 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37346 (__ASSUME_AT_CLKTCK): Remove.
37347 (__ASSUME_AT_PAGESIZE): Likewise.
37348 (__ASSUME_AT_XID): Likewise.
37349 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37350 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37351 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37352 unconditionally.
37353 (HAVE_AUX_PAGESIZE): Likewise.
37354 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37355 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37356 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37357
7b6e99be
JB
373582012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37359
37360 [BZ #14307]
37361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37362 the temporary buffer used to invoke __gethostbyname2_r,
37363 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37364 host_data / struct gaih_addrtuple.
37365 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37366 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37367 header file nss/nsswitch.h.
37368 * nss/nsswitch.h (global scope): Add definition of implementation
37369 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37370 resolv/nss_dns/dns-host.c).
37371
608404eb
AJ
373722012-07-11 Andreas Jaeger <aj@suse.de>
37373
37374 * po/fr.po: Update from translation team.
37375
71220aca
AJ
37376 * po/sv.po: Update from translation team
37377 * po/fr.po: Another update from translation team.
37378
28cfe843
AZ
373792012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37380
37381 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37382 for subnormals or multiply small sinh result by itself.
37383 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37385
6b90f981
DM
373862012-07-11 David S. Miller <davem@davemloft.net>
37387
37388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37389
c6825772
AS
373902012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37391
37392 [BZ #14347]
37393 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37394 (INTERNAL_MARK): Shift it here.
37395
7b8e0d49
MP
373962012-07-10 Marek Polacek <polacek@redhat.com>
37397
37398 [BZ #14151]
37399 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37400 libc_cv_asm_global_directive with .globl.
37401 * configure: Regenerated.
37402 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37403 with .globl.
37404 * sysdeps/i386/configure: Regenerated.
37405 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37406 with .globl.
37407 * sysdeps/x86_64/configure: Regenerated.
37408 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37409 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37410 * elf/tst-unique2mod2.c: Likewise.
37411 * elf/tst-unique2mod1.c: Likewise.
37412 * elf/tst-unique1mod2.c: Likewise.
37413 * elf/tst-unique1mod1.c: Likewise.
37414 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37415 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37416 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37417 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37418 * sysdeps/mach/sysdep.h: Likewise.
37419 * sysdeps/i386/sysdep.h: Likewise.
37420 * sysdeps/i386/i386-mcount.S: Likewise.
37421 * sysdeps/x86_64/_mcount.S: Likewise.
37422 * sysdeps/x86_64/sysdep.h: Likewise.
37423 * sysdeps/sh/_mcount.S: Likewise.
37424 * sysdeps/sh/sysdep.h: Likewise.
37425 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37426 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37427 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37428 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37429 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37430 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37431 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37432 * locale/localeinfo.h: Likewise.
37433 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37434 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37435
6c55cda3
RM
374362012-07-09 Roland McGrath <roland@hack.frob.com>
37437
37438 [BZ #14336]
37439 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37440 system".
37441 * manual/message.texi (The Uniforum approach): Likewise.
37442 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37443 (glibc iconv Implementation): Likewise.
37444
638a572e
JM
374452012-07-09 Joseph Myers <joseph@codesourcery.com>
37446
37447 [BZ #14337]
37448 * math/s_clog.c (__clog): Avoid scaling a value down where that
37449 could result in underflow.
37450 * math/s_clog10.c (__clog10): Likewise.
37451 * math/s_clog10f.c (__clog10f): Likewise.
37452 * math/s_clog10l.c (__clog10l): Likewise.
37453 * math/s_clogf.c (__clogf): Likewise.
37454 * math/s_clogl.c (__clogl): Likewise.
37455 * math/libm-test.inc (clog_test): Add more tests.
37456 (clog10_test): Likewise.
37457 * sysdeps/i386/fpu/libm-test-ulps: Update.
37458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37459
261f4859
AS
374602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37461
0abaf3e4
AS
37462 [BZ #14283]
37463 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37464 by 7 not 8 to examine high bit of fractional part.
37465
261f4859
AS
37466 [BZ #14042]
37467 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37468 for call to __mcount_internal.
37469 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37470 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37471 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37472
f17ac40d
JM
374732012-07-06 Joseph Myers <joseph@codesourcery.com>
37474
9ad63c23
JM
37475 [BZ #14154]
37476 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37477 approximation for values within 0x1p-13f of an odd multiple of
37478 pi/4.
37479 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37480 exception. Add more tests.
37481 * sysdeps/i386/fpu/libm-test-ulps: Update.
37482
f17ac40d
JM
37483 [BZ #6778]
37484 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37485 inputs and return -1 for them. Do not check for +Inf in case not
37486 reachable for +Inf.
37487 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37488 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37489 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37490 and return -1 for them. Do not check for +Inf in case not
37491 reachable for +Inf.
37492 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37493 define.
37494 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37495 and return -1 for them. Do not check for +Inf in case not
37496 reachable for +Inf.
37497 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37498 spurious underflow.
37499 * sysdeps/i386/fpu/libm-test-ulps: Update.
37500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37501
fb21f89b
MF
375022012-07-06 Mike Frysinger <vapier@gentoo.org>
37503
37504 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37505
cdfe2c5e
JM
375062012-07-05 Joseph Myers <joseph@codesourcery.com>
37507
37508 [BZ #14157]
37509 [BZ #14331]
37510 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37511 could result in spurious underflow. Scale down values above
37512 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37513 * math/s_csqrtf.c (__csqrtf): Likewise.
37514 * math/s_csqrtl.c (__csqrtl): Likewise.
37515 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37516 spurious underflow.
37517 * sysdeps/i386/fpu/libm-test-ulps: Update.
37518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37519
70d35b67
AS
375202012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37521
704bc459
AS
37522 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37523 xopen-msg.sed.
37524 * catgets/xopen-msg.awk: New file.
37525 * catgets/xopen-msg.sed: Removed.
37526
70d35b67
AS
37527 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37528 po2text.sed.
37529 * intl/po2test.awk: New file.
37530 * intl/po2test.sed: Removed.
37531
ca61cf32
JM
375322012-07-04 Joseph Myers <joseph@codesourcery.com>
37533
37534 [BZ #14328]
37535 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37536 or multiply small sinh result by itself.
37537 * math/s_ctanf.c (__ctanf): Likewise.
37538 * math/s_ctanh.c (__ctanh): Likewise.
37539 * math/s_ctanhf.c (__ctanhf): Likewise.
37540 * math/s_ctanhl.c (__ctanhl): Likewise.
37541 * math/s_ctanl.c (__ctanl): Likewise.
37542 * math/libm-test.inc (ctan_test_tonearest): New function.
37543 (ctan_test_towardzero): Likewise.
37544 (ctan_test_downward): Likewise.
37545 (ctan_test_upward): Likewise.
37546 (ctanh_test_tonearest): Likewise.
37547 (ctanh_test_towardzero): Likewise.
37548 (ctanh_test_downward): Likewise.
37549 (ctanh_test_upward): Likewise.
37550 (main): Call these new functions.
37551 * sysdeps/i386/fpu/libm-test-ulps: Update.
37552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37553
ca48a46a
MF
375542012-07-03 Mike Frysinger <vapier@gentoo.org>
37555
37556 * .gitignore: Delete /ports entry.
37557
9d63d37d
AJ
375582012-07-03 Andreas Jaeger <aj@suse.de>
37559
37560 * po/bg.po: Update from translation team.
37561 * po/cs.po: Likewise.
37562 * po/de.po: Likewise.
37563 * po/hr.po: Likewise.
37564 * po/nl.pl: Likewise.
37565 * po/pl.po: Likewise.
37566 * po/vi.po: Likewise.
37567
370ca3d2
JM
375682012-07-03 Joseph Myers <joseph@codesourcery.com>
37569
95f5a9a8
JM
37570 * Makeconfig [!+link] (+link-before-libc): New variable.
37571 [!+link] (+link-after-libc): Likewise.
37572 [!+link] (+link-tests): Likewise.
37573 [!+link] (+link): Define in terms of $(+link-before-libc) and
37574 $(+link-after-libc).
37575 [!+link-static] (+link-static-before-libc): New variable.
37576 [!+link-static] (+link-static-after-libc): Likewise.
37577 [!+link-static] (+link-static-tests): Likewise.
37578 [!+link-static] (+link-static): Define in terms of
37579 $(+link-static-before-libc) and $(+link-static-after-libc).
37580 [build-shared] (link-libc-before-gnulib): New variable.
37581 [build-shared] (link-libc-tests): Likewise.
37582 [build-shared] (link-libc): Define in terms of
37583 $(link-libc-before-gnulib).
37584 [!build-shared] (link-libc-tests): New variable.
37585 (link-libc-static-tests): New variable.
37586 [!gnulib] (gnulib-arch): New variable.
37587 [!gnulib] (gnulib-tests): Likewise.
37588 [!gnulib] (static-gnulib-arch): Likewise.
37589 [!gnulib] (static-gnulib-tests): Likewise.
37590 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37591 Define with "=" instead of ":=".
37592 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37593 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37594 * Rules (binaries-all-notests): New variable.
37595 (binaries-all-tests): Likewise.
37596 (binaries-static-notests): Likewise.
37597 (binaries-static-tests): Likewise.
37598 (binaries-all): Define using $(binaries-all-notests) and
37599 $(binaries-all-tests).
37600 (binaries-static): Define using $(binaries-static-notests) and
37601 $(binaries-static-tests).
37602 (binaries-shared-tests): New variable.
37603 (binaries-shared-notests): Likewise.
37604 (binaries-shared): Remove variable.
37605 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37606 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37607 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37608 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37609 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37610 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37611 * elf/Makefile (sln-modules): New variable.
37612 (extra-objs): Add $(sln-modules:=.o).
37613 (ldconfig-modules): Add static-stubs.
37614 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37615 * elf/static-stubs.c: New file.
37616
7a845b2c
JM
37617 [BZ #14283]
37618 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37619 by 7 not 8 to examine high bit of fractional part. Use volatile
37620 variables when splitting into final array of floats if
37621 __FLT_EVAL_METHOD__ != 0.
37622 * math/libm-test.inc (cos_test): Add another test.
37623 (sin_test): Likewise.
37624 * sysdeps/i386/fpu/libm-test-ulps: Update.
37625
e2283f38
JM
37626 [BZ #14273]
37627 * math/libm-test.inc (cosh_test): Add more tests.
37628
370ca3d2
JM
37629 * version.h (RELEASE): Set to "development".
37630 (VERSION): Set to "2.16.90".
37631
ee9247c3
CD
376322012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37633
37634 * NEWS: Update copyright. Remove last-updated date.
37635 Mention math library bug fixes and timezone data changes.
37636 * README: Mention GNU/Hurd, x32, and HPPA support status.
37637
4648c381
TS
376382012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37639
37640 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37641
aac78a43
AJ
376422012-06-27 Andreas Jaeger <aj@suse.de>
37643
37644 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37645
ed3dbfad
AJ
376462012-06-25 Andreas Jaeger <aj@suse.de>
37647
37648 * sysdeps/s390/fpu/libm-test-ulps: Update.
37649
4d0ee855
AS
376502012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37651 Thomas Schwinge <thomas@codesourcery.com>
37652
37653 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37654 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37655 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37656 fanotify_mark.
37657
af1bce34
TS
376582012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37659
a9fa33ba
TS
37660 * sysdeps/mach/start.c: Remove file.
37661 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37662 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37663 * sysdeps/sh/init-first.c: Likewise.
37664
58f902b8
TS
37665 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37666 registers for frame unwinding purposes, add CFI directives.
37667 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37668 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37669 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37670 Likewise.
37671
1518f58b
TS
37672 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37673 __fortify_fail returning.
37674 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37675
db9b5059
TS
37676 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37677 sysdeps/sh/____longjmp_chk.S.
37678 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37679 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37680 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37681 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37682
967705fe
TS
37683 * sysdeps/sh/abort-instr.h: New file.
37684 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37685 process in case exit returns.
37686
a9def8c4
TS
37687 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37688 initialize the GOT register before use.
37689
2a649725
TS
37690 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37691 calculation of ARGC > 4.
37692
af1bce34
TS
37693 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37694 meaningful names to some local labels.
37695
d230f50a
KK
376962012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37697 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37698
37699 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37700 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37701 (__arch_compare_and_exchange_val_16_acq): Likewise.
37702 (__arch_compare_and_exchange_val_32_acq): Likewise.
37703 (atomic_exchange_and_add): Fix gUSA sequence.
37704 (atomic_add): Likewise.
37705 (atomic_add_negative): Likewise.
37706 (atomic_add_zero): Likewise.
37707 (atomic_bit_test_set): Likewise.
37708
0479b305
AS
377092012-06-22 Andreas Schwab <schwab@redhat.com>
37710
37711 [BZ #13579]
37712 * include/link.h (struct link_map): Add l_free_initfini.
37713 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37714 l_initfini.
37715 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37716 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37717 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37718 set.
37719
0e3933b9
CD
377202012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37721
37722 * configure.in: Use AC_LANG_SOURCE.
37723 * configure: Regenerate.
37724
4248b1b1
RM
377252012-06-22 Roland McGrath <roland@hack.frob.com>
37726
37727 * configure.in (libc_cv_localstatedir): New substituted variable.
37728 * configure: Regenerated.
37729 * config.make.in (localstatedir): New variable, substituted from
37730 libc_cv_localstatedir.
37731 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37732 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37733 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37734 * sysdeps/gnu/configure: Regenerated.
37735
006dd861
JL
377362012-06-21 Jeff Law <law@redhat.com>
37737
37738 [BZ #14277]
37739 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37740 free. Simplify list management for _LIBC case.
37741
79662d42
JM
377422012-06-21 Joseph Myers <joseph@codesourcery.com>
37743
b7abb4bf
JM
37744 [BZ #14273]
37745 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37746 Clear sign bit of 64-bit integer value before comparing against
37747 overflow value.
37748
79662d42
JM
37749 * sysdeps/mach/configure: Regenerated.
37750
1f150908
L
377512012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37752
37753 [BZ #14278]
37754 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37755
28363bbf
JL
377562012-06-21 Jeff Law <law@redhat.com>
37757
37758 [BZ #13882]
37759 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37760 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37761 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37762 * elf/dl-open.c (dl_open_worker): Likewise.
37763
09615db4
CD
377642012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37765
37766 * scripts/list-sources.sh: Scan PORTS for translations.
37767 * po/libc.pot: Regenerated.
37768
2174c6dd
AJ
377692012-06-21 Andreas Jaeger <aj@suse.de>
37770
37771 [BZ #12194]
37772 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37773 warning.
37774 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37775 * bits/byteswap-16.h (__bswap_16): Likewise.
37776 * bits/byteswap.h (__bswap_constant_16): Likewise.
37777
3ee947b1
L
377782012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37779
37780 [BZ #14117]
a2f34833
L
37781 * sysdeps/i386/fpu_control.h: Removed.
37782 * sysdeps/x86_64/fpu_control.h: Moved to ...
37783 * sysdeps/x86/fpu_control.h: Here.
37784
3ee947b1
L
37785 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37786 (_FPU_SETCW): Likewise.
37787
ed1825f8
L
377882012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37789
25f1282a
L
37790 [BZ #14117]
37791 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37792 * sysdeps/x86/fpu/bits/mathinline.h: This.
37793 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37794
ed1825f8
L
37795 [BZ #14050]
37796 [BZ #14117]
37797 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37798 functions if __x86_64__ is defined.
37799
36d54b74
CLT
378002012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37801
37802 * string/endian.h: Add !__ASSEMBLER__ condition for including
37803 conversion interfaces.
37804
10285c21
JM
378052012-06-15 Joseph Myers <joseph@codesourcery.com>
37806
37807 [BZ #14241]
37808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37809 of ABS(x) in calculating zero to negative powers other than odd
37810 integers.
37811 * math/libm-test.inc (pow_test): Add more tests.
37812
06c5abbd
AJ
378132012-06-15 Andreas Jaeger <aj@suse.de>
37814
37815 * manual/contrib.texi (Contributors): Update entry of Liubov
37816 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37817 Machado Filho.
37818
a3aeac40
CH
378192012-06-15 Cyril Hrubis <metan@ucw.cz>
37820
37821 * string/string.h: Add __wur to GNU version of strerror_r.
37822
49bdf4c1
L
378232012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37824
37825 [BZ #14229]
37826 * string/Makefile (tests): Add tst-strtok_r.
37827 * string/tst-strtok_r.c: New file.
37828 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37829 RAX_LP/RDX_LP on SAVE_PTR.
37830
834f9b8d
RM
378312012-06-14 Roland McGrath <roland@hack.frob.com>
37832
37833 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37834
75fa1921
JM
378352012-06-14 Joseph Myers <joseph@codesourcery.com>
37836
37837 * libm_test.inc (csqrt_test): Allow more spurious underflow
37838 exceptions.
37839 (j0_test): Likewise.
37840 (j1_test): Likewise.
37841 (y0_test): Likewise.
37842 (y1_test): Likewise.
37843
771766df
CD
378442012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37845
37846 * po/Makefile (libc.pot): Use UTF-8 charset.
37847
ceb9e56b
PP
378482012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37849
37850 [BZ #14210]
37851 Suppress sign-conversion warning from FD_SET.
37852 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37853 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37854 not unsigned long int.
37855 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37856
ddb28975
L
378572012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37858
37859 [BZ #14050]
37860 [BZ #14117]
37861 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37862 __extern_always_inline instead of __extern_inline.
37863 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37864 (__signbit): Likewise.
37865 (__signbitl): Support C++ namespace.
37866 (lrintf): New inline function.
37867 (lrint): Likewise.
37868 (llrintf): Likewise.
37869 (llrint): Likewise.
37870 (fmaxf): Likewise.
37871 (fmax): Likewise.
37872 (fminf): Likewise.
37873 (fmin): Likewise.
37874 (rint): Likewise.
37875 (rintf): Likewise.
37876 (ceil): Likewise.
37877 (ceilf): Likewise.
37878 (floor): Likewise.
37879 (floorf): Likewise.
37880 (nearbyint): Likewise.
37881 (nearbyintf): Likewise.
37882
d7b4fb26
TS
378832012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37884
37885 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37886 non-default versions.
37887
eb55f5c2
RM
378882012-06-11 Roland McGrath <roland@hack.frob.com>
37889
37890 [BZ #14218]
37891 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37892
366af02c
TS
378932012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37894
99ff6e5c
TS
37895 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37896 (FE_UPWARD, FE_DOWNWARD): Don't define.
37897 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37898 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37899
366af02c
TS
37900 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37901 reading it.
37902 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37903 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37904
793ea851
KK
379052012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37906
37907 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37908 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37909 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37910 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37911
a728a38f
L
379122012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37913
37914 [BZ #14117]
c08010c7
L
37915 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37916 * sysdeps/i386/fpu/Implies: New file.
37917 * sysdeps/x86_64/fpu/Implies: Likewise.
37918 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37919 * sysdeps/x86/fpu/bits/fenv.h: This.
37920
a728a38f
L
37921 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37922 __SSE_MATH__.
37923
6e230d11
SP
379242012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37925
37926 [BZ #14134]
37927 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37928 character 0xffff that matches the last element of the
37929 conversion table.
37930
1b671feb
AZ
379312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37932
37933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37934 fmodl commit.
37935
6043738b
AZ
379362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37937
37938 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37939 values higher than 25.6283.
37940
34ae0b32
AZ
379412012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37942
37943 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37944 subnormal exponent extraction and add some __builtin_expect.
37945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37946 Fix for subnormal mantissa calculation.
37947
1214ec8f
MF
379482012-06-04 Mike Frysinger <vapier@gentoo.org>
37949
37950 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37951 cpu2 is -1 and errno is not ENOSYS.
37952
f3d1f93c
L
379532012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37954
37955 [BZ #14117]
0e4a3cd7
L
37956 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37957 * sysdeps/x86/bits/string.h: This.
37958 * sysdeps/x86_64/bits/string.h: Removed.
37959
6704c645
L
37960 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37961 if not compiling for x86-64, but compiling for >= i486.
37962
48495318
L
37963 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37964 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37965
14adcbfc
L
37966 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37967 New macro from Linux kernel 3.4.0.
37968 (FP_XSTATE_MAGIC2): Likewise.
37969 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37970 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37971 (struct _fpx_sw_bytes): New struct.
37972 (struct _xsave_hdr): Likewise.
37973 (struct _ymmh_state): Likewise.
37974 (struct _xstate): Likewise.
37975
68e408ab
L
37976 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37977 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37979 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37980 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37981 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37982
f3d1f93c
L
37983 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37984 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37985 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37986 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37987 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37988 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37989
d9dc34cd
TMQMF
379902012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37991
37992 [BZ #13743]
37993 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37994 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37995 (sysdep_headers): Include sys/platform/ppc.h.
37996 * sysdeps/powerpc/test-gettimebase.c: Test for
37997 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37998 * manual/Makefile (appendices): Include platform.texi.
37999 * manual/contrib.texi (Contributors): Update @node pointers.
38000 * manual/maint.texi (Maintenance): Likewise.
38001 (Platform): New node.
38002 * manual/platform.texi: New file. Document the new features.
38003
4af3879c
SP
380042012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38005 Jakub Jelinek <jakub@redhat.com>
38006
38007 [BZ #14188]
38008 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38009 where __builtin_expect is unavailable.
38010
2fd6ff13
DM
380112012-06-03 David S. Miller <davem@davemloft.net>
38012
38013 * stdlib/longlong.h: Updated from GCC.
38014
173f7220
AS
380152012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38016
38017 [BZ #14042]
38018 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38019 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38020 __mcount_internal.
38021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38022 (GLIBC_2.16): Likewise.
38023
f34a1c6f
L
380242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38025
38026 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38027
88a4576f
JM
380282012-06-01 Joseph Myers <joseph@codesourcery.com>
38029
ea32bcdd
JM
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38031 (default-abi): New variable.
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38033 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38034 variable.
38035 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38036 Likewise.
38037 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38038 Likewise.
38039 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38040 Likewise.
38041
88a4576f
JM
38042 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38043 definition. Document in comment.
38044
402fe938
DM
380452012-06-01 David S. Miller <davem@davemloft.net>
38046
38047 * stdlib/longlong.h: Updated from GCC.
38048
3553723f
L
380492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38050
38051 [BZ #14117]
3bd872c4
L
38052 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38053 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38054 sys/debugreg.h sys/io.h here.
38055 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38056 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38057 sys/io.h.
38058 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38059 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38060 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38061 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38062 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38063 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38064
3553723f
L
38065 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38066 Define only if __x86_64__ is defined.
38067
4842e4fe
JM
380682012-06-01 Joseph Myers <joseph@codesourcery.com>
38069
c5bfe3d5
JM
38070 [BZ #14048]
38071 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38072 Use int64_t for variable i.
38073 * math/libm-test.inc (fmod_test): Add more tests.
38074
4842e4fe
JM
38075 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38076 z computation is not scheduled after fetestexcept.
38077 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38078 Use math_force_eval instead of asm to ensure calculation scheduled
38079 before exception test.
38080 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38081 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38082
efb73488
AJ
380832012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38084
38085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38086 computation is not scheduled after fetestexcept.
38087
29bcce7c
L
380882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38089
38090 [BZ #14117]
38091 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38092 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38093
73a68f94
AZ
380942012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38095
38096 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38097 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38098
67b6df78
L
380992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38100
edf2933a 38101 [BZ #14117]
ebc64a18
L
38102 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38103 <bits/wordsize.h>.
38104 (__WCHAR_MIN): Support __WORDSIZE == 64.
38105 (__WCHAR_MAX): Likewise.
38106
edf2933a
L
38107 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38108 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38109
57c6cf40
L
38110 [BZ #14183]
38111 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38112 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38113
67b6df78 38114 [BZ #14117]
8eb6281e
L
38115 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38116 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38117
aac639f4
L
38118 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38119 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38120
67b6df78
L
38121 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38122 Defined to 1 if __x86_64__ isn't defined.
38123 (_STAT_VER_LINUX_OLD): New.
38124 (st_atime): Remove duplicate.
38125 (st_mtime): Likewise.
38126 (st_ctime): Likewise.
38127
1c2cfe81
DM
381282012-05-31 David S. Miller <davem@davemloft.net>
38129
38130 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38131 entries.
38132
5be8418c
AS
381332012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38134
e7725326
AS
38135 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38136 gen-libm-test.pl.
38137
5be8418c
AS
38138 [BZ #14132]
38139 * elf/dl-reloc.c: Include <_itoa.h>.
38140 (_dl_reloc_bad_type): Remove use of INTUSE.
38141 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38142 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38143 * stdio-common/psiginfo.c (psiginfo): Likewise.
38144 * stdio-common/psignal.c (psignal): Likewise.
38145 * string/strsignal.c (strsignal): Likewise.
38146 * include/signal.h (_sys_siglist): Declare hidden proto.
38147 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38148 INTVARDEF with libc_hidden_data_def.
38149 * stdio-common/itoa-udigits.c: Likewise.
38150 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38151 (_itoa_lower_digits_internal): Remove declaration.
38152 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38153 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38154 (_sys_sigabbrev_internal): Remove aliases.
38155 (_sys_siglist): Define hidden alias.
38156
507352f1
MT
381572012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38158
38159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38160 bits/sysctl.h.
38161
42bbb1c3
L
381622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38163
38164 [BZ #14117]
6bd784b6
L
38165 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38166 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38167
8bca20f0
L
38168 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38169 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38170 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38171 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38172 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38173 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38174
f9e890a9
L
38175 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38176 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38177 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38178
471101a1
L
38179 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38180 with __addr.
38181 (insw): Likewise.
38182 (insl): Likewise.
38183 (outsb): Likewise.
38184 (outsw): Likewise.
38185 (outsl): Likewise.
38186
6451c862
L
38187 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38188 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38189 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38190
a254b8c9
L
38191 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38192 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38193 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38194 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38195 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38196 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38197
b8dfdd92
L
38198 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38199 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38200
578cd270
L
38201 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38202 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38203
de662f5f
L
38204 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38205 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38206 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38207
25653439
L
38208 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38209 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38210 to ...
38211 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38212
6bad24a0
L
38213 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38214 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38215 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38216
42bbb1c3
L
38217 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38218 for x86-64.
38219 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38220
2d10d547
JM
382212012-05-31 Joseph Myers <joseph@codesourcery.com>
38222
38223 * math/math.h (M_El): Use two more decimal places.
38224 (M_LOG2El): Likewise.
38225 (M_LOG10El): Likewise.
38226 (M_LN2l): Likewise.
38227 (M_LN10l): Likewise.
38228 (M_PIl): Likewise.
38229 (M_PI_2l): Likewise.
38230 (M_PI_4l): Likewise.
38231 (M_1_PIl): Likewise.
38232 (M_2_PIl): Likewise.
38233 (M_2_SQRTPIl): Likewise.
38234 (M_SQRT2l): Likewise.
38235 (M_SQRT1_2l): Likewise.
38236
f230c29b
DM
382372012-05-31 David S. Miller <davem@davemloft.net>
38238
38239 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38240 values between float registers.
38241 * sysdeps/sparc/sparc64/memset.S: Likewise.
38242 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38243
fed806c3
MF
382442012-05-31 Mike Frysinger <vapier@gentoo.org>
38245
38246 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38247 -D_FORTIFY_SOURCE=1.
38248 (CPPFLAGS-tst-longjmp_chk.c): Define.
38249 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38250 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38251 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38252 CFLAGS-tst-wchar-h.c.
38253
30917259
MP
382542012-05-31 Marek Polacek <polacek@redhat.com>
38255
38256 [BZ #14132]
38257 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38258 __endmntent_internal): Remove declaration.
38259 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38260 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38261 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38262
1c58d5dc
DM
382632012-05-30 David S. Miller <davem@davemloft.net>
38264
38265 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38266 (___Q_simulate_exceptions): Use real FP ops rather than writing
38267 into the %fsr.
38268 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38269 Likewise.
38270
7dc00e0d
L
382712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38272
38273 [BZ #14117]
0bd53985
L
38274 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38275 * sysdeps/x86/bits/xtitypes.h: This.
38276
3a257e66
L
38277 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38278 * sysdeps/x86/bits/wordsize.h: This.
38279
62f62904
L
38280 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38281 * sysdeps/x86/bits/huge_vall.h: This.
38282
404fe9d9
L
38283 * sysdeps/i386/bits/select.h: Removed.
38284 * sysdeps/x86_64/bits/select.h: Renamed to ...
38285 * sysdeps/x86/bits/select.h: This.
38286
d48d0446
L
38287 * sysdeps/i386/bits/setjmp.h: Removed.
38288 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38289 * sysdeps/x86/bits/setjmp.h: This.
38290
7dc00e0d
L
38291 * sysdeps/i386/bits/mathdef.h: Removed.
38292 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38293 * sysdeps/x86/bits/mathdef.h: This.
38294
03277f8f
AS
382952012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38296
38297 [BZ #14132]
38298 * include/sys/socket.h (__connect_internal)
38299 (__libc_sa_len_internal): Remove declaration.
38300 (__connect, __libc_sa_len): Declare hidden_proto.
38301 (SA_LEN): Remove use of INTUSE.
38302 * socket/connect.c: Add libc_hidden_def.
38303 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38304 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38305 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38306 alias.
38307 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38308 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38309 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38310 of adding _internal alias.
38311
13764867
L
383122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38313
38314 [BZ #14117]
6bd97696
L
38315 * sysdeps/i386/bits/link.h: Removed.
38316 * sysdeps/i386/bits/linkmap.h: Likewise.
38317 * sysdeps/x86_64/bits/link.h: Renamed to ...
38318 * sysdeps/x86/bits/link.h: This.
38319 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38320 * sysdeps/x86/bits/linkmap.h: This.
38321
f726f0bb
L
38322 * sysdeps/i386/bits/endian.h: Removed.
38323 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38324 * sysdeps/x86/bits/endian.h: This.
38325
13764867
L
38326 * sysdeps/i386/bits/byteswap.h: Removed.
38327 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38328 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38329 * sysdeps/x86/bits/byteswap.h: This.
38330 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38331 * sysdeps/x86/bits/byteswap-16.h: This.
38332 * sysdeps/i386/Implies: Add x86.
38333 * sysdeps/x86_64/Implies: Likewise.
38334
ae251b0b
DM
383352012-05-30 David S. Miller <davem@davemloft.net>
38336
38337 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38338 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38339 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38340 (FP_TRAPPING_EXCEPTIONS): Define.
38341 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38342 (FP_TRAPPING_EXCEPTIONS): Define.
38343 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38344 subnormals only when inexact has been signalled or underflow
38345 exceptions are enabled.
38346 (_FP_PACK_CANONICAL): Likewise.
38347
d5c90867
L
383482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38349
38350 [BZ #14183]
38351 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38352 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38353
63f1549e
RH
383542012-05-30 Richard Henderson <rth@twiddle.net>
38355
8d8f2279
RH
38356 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38357 with #ifndef NOT_IN_libc.
38358
63f1549e
RH
38359 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38360 marked to avoid plt entry.
38361
0ab0291b
L
383622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38363
38364 [BZ #14112]
38365 * Makeconfig (default-abi): New macro.
38366 (abi-includes): Likewise.
38367 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38368 $(abi-$(default-abi)-lib-soname) for soname if defined.
38369 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38370 abi-variants.
38371 * Makefile (installed-stubs): Likewise.
38372 * include/stubs-biarch.h: Removed.
38373 * scripts/lib-names.awk: Only handle one library at a time.
38374 * scripts/soversions.awk: Remove WORDSIZE support.
38375 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38376 entries.
38377 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38378 Removed.
38379 (syscall-list-default-condition): Likewise.
38380 (syscall-list-default-condition): Likewise.
38381 (syscall-list-includes): Likewise.
38382 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38383 syscall-list-* with abi-*. Handle undefined abi-variants.
38384 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38385 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38386 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38387 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38388 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38389 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38390 Removed.
38391 (syscall-list-32-options): Likewise.
38392 (syscall-list-32-condition): Likewise.
38393 (syscall-list-64-options): Likewise.
38394 (syscall-list-64-condition): Likewise.
38395 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38396 macro.
38397 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38398 Renamed to ...
38399 (abi-*): This.
38400 (abi-64-ld-soname): New macro.
38401 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38402 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38403 Renamed to ...
38404 (abi-*): This.
38405 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38406 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38407
4da0431d
JM
384082012-05-30 Joseph Myers <joseph@codesourcery.com>
38409
3a85279c
JM
38410 * sysdeps/unix/sysv/linux/kernel-features.h
38411 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38412 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38413 include <kernel-features.h>.
38414 [!__NR_ftruncate64]: Remove conditional code.
38415 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38416 [__NR_ftruncate64]: Make code unconditional.
38417 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38418 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38419 include <kernel-features.h>.
38420 [!__NR_ftruncate64]: Remove conditional code.
38421 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38422 [__NR_ftruncate64]: Make code unconditional.
38423 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38425 include <kernel-features.h>.
38426 [!__NR_ftruncate64]: Remove conditional code.
38427 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38428 [__NR_ftruncate64]: Make code unconditional.
38429 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38431 include <kernel-features.h>.
38432 [!__NR_ftruncate64]: Remove conditional code.
38433 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38434 [__NR_ftruncate64]: Make code unconditional.
38435 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38436
4da0431d
JM
38437 * configure.in (libc_cv_fpie): Weaken to a compile test using
38438 LIBC_TRY_CC_OPTION.
38439 * configure: Regenerated.
38440
11ef492c
AK
384412012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38442
38443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38447 Refreshed.
38448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38454 Refreshed.
38455
d66ef399
DM
384562012-05-27 David S. Miller <davem@davemloft.net>
38457
38458 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38459 (___Q_zero): New.
38460 (__Q_simulate_exceptions): Return void. Change to simulate
38461 exceptions by writing into the %fsr.
38462 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38463 (__Qp_handle_exceptions): Likewise.
38464 (numbers): Delete.
38465 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38466 __Qp_handle_exceptions.
38467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38468 __Qp_handle_exceptions.
38469 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38470 as unused and give dummy FP_RND_NEAREST initializer.
38471 (FP_INHIBIT_RESULTS): Define.
38472 (___Q_simulate_exceptions): Update declaration.
38473 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38474 formatting.
38475 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38476 as unused and give dummy FP_RND_NEAREST initializer.
38477 (__Qp_handle_exceptions): Update declaration.
38478 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38479 formatting.
38480
04fb54b5
TS
384812012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38482
38483 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38484 the temporary FPU control word.
38485 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38486 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38487 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38488 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38489 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38490 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38491 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38492 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38493 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38494 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38495 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38496
3f99608f
KK
384972012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38498
38499 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38500 fields.
38501
65a4de4e
CLT
385022012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38503
38504 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38505 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38506 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38507 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38508 Likewise.
38509 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38510 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38511 Likewise.
38512
15749d40
UD
385132012-05-27 Ulrich Drepper <drepper@gmail.com>
38514
38515 * po/h.po: Update from translation team.
38516
25dbcb27
AS
385172012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38518
3d3f8e55
AS
38519 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38520
25dbcb27
AS
38521 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38522 handling of denormals.
38523 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38524 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38525 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38526 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38527 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38530 Likewise.
38531
7ad47a80 385322012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
38533
38534 [BZ #14152]
38535 * math/libm-test.inc (fma_test): Don't always expect underflow
38536 exception.
38537
9c6ea9fa
SP
385382012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38539
38540 [BZ #12416]
38541 * elf/tst-execstack.c: Include stackinfo.h.
38542 (do_test): Adjust test case to ensure that pthread_getattr_np
38543 behaviour remains the same after marking stack executable.
38544
a8239222
JM
385452012-05-25 Joseph Myers <joseph@codesourcery.com>
38546
38547 * sysdeps/unix/sysv/linux/kernel-features.h
38548 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38549 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38550 kernel-features.h.
38551 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38552 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38553 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38554 kernel-features.h.
38555 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38556 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38557
918b5606
L
385582012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38559
38560 * configure.in: Define the default includes to being none.
38561 * configure: Regenerated.
38562
3a097cc7
RM
385632012-05-25 Roland McGrath <roland@hack.frob.com>
38564
8422c9a5
RM
38565 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38566 * sysdeps/x86_64/setjmp.S: Likewise.
38567 * sysdeps/i386/bsd-setjmp.S: Likewise.
38568 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38569 * sysdeps/i386/setjmp.S: Likewise.
38570 * sysdeps/i386/__longjmp.S: Likewise.
38571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38572 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38573
3a097cc7
RM
38574 * include/stap-probe.h: New file.
38575 * configure.in: Handle --enable-systemtap.
38576 * configure: Regenerated.
38577 * config.h.in (USE_STAP_PROBE): New #undef.
38578 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38579 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38580 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38581
21708942
JM
385822012-05-25 Joseph Myers <joseph@codesourcery.com>
38583
38584 [BZ #13717]
38585 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38586 to 2.4.0 where earlier.
38587 * sysdeps/unix/sysv/linux/configure: Regenerated.
38588 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38589 <kernel-features.h>.
38590 [__ASSUME_32BITUIDS]: Make code unconditional.
38591 [!__ASSUME_32BITUIDS]: Remove conditional code.
38592 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38593 <kernel-features.h>.
38594 [__ASSUME_32BITUIDS]: Make code unconditional.
38595 [!__ASSUME_32BITUIDS]: Remove conditional code.
38596 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38597 [__ASSUME_32BITUIDS]: Make code unconditional.
38598 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38599 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38600 <kernel-features.h>.
38601 [__ASSUME_32BITUIDS]: Make code unconditional.
38602 [!__ASSUME_32BITUIDS]: Remove conditional code.
38603 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38604 <kernel-features.h>.
38605 [__ASSUME_32BITUIDS]: Make code unconditional.
38606 [!__ASSUME_32BITUIDS]: Remove conditional code.
38607 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38608 <kernel-features.h>.
38609 [__ASSUME_32BITUIDS]: Make code unconditional.
38610 [!__ASSUME_32BITUIDS]: Remove conditional code.
38611 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38612 <kernel-features.h>.
38613 [__ASSUME_32BITUIDS]: Make code unconditional.
38614 [!__ASSUME_32BITUIDS]: Remove conditional code.
38615 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38616 <kernel-features.h>.
38617 [__ASSUME_32BITUIDS]: Make code unconditional.
38618 [!__ASSUME_32BITUIDS]: Remove conditional code.
38619 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38620 <kernel-features.h>.
38621 [__ASSUME_32BITUIDS]: Make code unconditional.
38622 [!__ASSUME_32BITUIDS]: Remove conditional code.
38623 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38624 <kernel-features.h>.
38625 [__ASSUME_32BITUIDS]: Make code unconditional.
38626 [!__ASSUME_32BITUIDS]: Remove conditional code.
38627 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38628 <kernel-features.h>.
38629 [__ASSUME_32BITUIDS]: Make code unconditional.
38630 [!__ASSUME_32BITUIDS]: Remove conditional code.
38631 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38632 <kernel-features.h>.
38633 [__ASSUME_32BITUIDS]: Make code unconditional.
38634 [!__ASSUME_32BITUIDS]: Remove conditional code.
38635 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38636 <kernel-features.h>.
38637 [__ASSUME_32BITUIDS]: Make code unconditional.
38638 [!__ASSUME_32BITUIDS]: Remove conditional code.
38639 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38640 <kernel-features.h>.
38641 [__NR_setresgid] (__setresgid): Do not declare.
38642 [__ASSUME_32BITUIDS]: Make code unconditional.
38643 [!__ASSUME_32BITUIDS]: Remove conditional code.
38644 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38645 <kernel-features.h>.
38646 [__NR_setresuid] (__setresuid): Do not declare.
38647 [__ASSUME_32BITUIDS]: Make code unconditional.
38648 [!__ASSUME_32BITUIDS]: Remove conditional code.
38649 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38650 <kernel-features.h>.
38651 [__ASSUME_32BITUIDS]: Make code unconditional.
38652 [!__ASSUME_32BITUIDS]: Remove conditional code.
38653 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38654 <kernel-features.h>.
38655 [__ASSUME_32BITUIDS]: Make code unconditional.
38656 [!__ASSUME_32BITUIDS]: Remove conditional code.
38657 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38658 <kernel-features.h>.
38659 [__ASSUME_32BITUIDS]: Make code unconditional.
38660 [!__ASSUME_32BITUIDS]: Remove conditional code.
38661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38662 <kernel-features.h>.
38663 [__ASSUME_32BITUIDS]: Make code unconditional.
38664 [!__ASSUME_32BITUIDS]: Remove conditional code.
38665 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38666 <kernel-features.h>.
38667 [__ASSUME_32BITUIDS]: Make code unconditional.
38668 [!__ASSUME_32BITUIDS]: Remove conditional code.
38669 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38670 <kernel-features.h>.
38671 [__ASSUME_32BITUIDS]: Make code unconditional.
38672 [!__ASSUME_32BITUIDS]: Remove conditional code.
38673 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38674 <kernel-features.h>.
38675 [__ASSUME_32BITUIDS]: Make code unconditional.
38676 [!__ASSUME_32BITUIDS]: Remove conditional code.
38677 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38678 <kernel-features.h>.
38679 [__ASSUME_32BITUIDS]: Make code unconditional.
38680 [!__ASSUME_32BITUIDS]: Remove conditional code.
38681 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38682 <kernel-features.h>.
38683 [__ASSUME_32BITUIDS]: Make code unconditional.
38684 [!__ASSUME_32BITUIDS]: Remove conditional code.
38685 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38686 <kernel-features.h>.
38687 [__ASSUME_32BITUIDS]: Make code unconditional.
38688 [!__ASSUME_32BITUIDS]: Remove conditional code.
38689 * sysdeps/unix/sysv/linux/kernel-features.h
38690 (__ASSUME_SETRESUID_SYSCALL): Remove.
38691 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38692 (__ASSUME_32BITUIDS): Likewise.
38693 (__ASSUME_LDT_WORKS): Likewise.
38694 (__ASSUME_O_DIRECTORY): Likewise.
38695 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38696 architecture but not kernel version.
38697 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38698 (__ASSUME_MMAP2_SYSCALL): Likewise.
38699 (__ASSUME_STAT64_SYSCALL): Likewise.
38700 (__ASSUME_IPC64): Likewise.
38701 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38702 <kernel-features.h>.
38703 [__ASSUME_32BITUIDS]: Make code unconditional.
38704 [!__ASSUME_32BITUIDS]: Remove conditional code.
38705 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38706 <kernel-features.h>.
38707 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38708 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38709 132096]: Remove conditional code.
38710 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38711 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38712 <kernel-features.h>.
38713 [__ASSUME_32BITUIDS]: Make code unconditional.
38714 [!__ASSUME_32BITUIDS]: Remove conditional code.
38715 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38716 <kernel-features.h>.
38717 [__ASSUME_32BITUIDS]: Make code unconditional.
38718 [!__ASSUME_32BITUIDS]: Remove conditional code.
38719 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38720 <kernel-features.h>.
38721 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38722 unconditional.
38723 (__setresgid): Do not declare.
38724 [__ASSUME_32BITUIDS]: Make code unconditional.
38725 [!__ASSUME_32BITUIDS]: Remove conditional code.
38726 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38727 <kernel-features.h>.
38728 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38729 unconditional.
38730 (__setresuid): Do not declare.
38731 [__ASSUME_32BITUIDS]: Make code unconditional.
38732 [!__ASSUME_32BITUIDS]: Remove conditional code.
38733 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38734 <kernel-features.h>.
38735 [__ASSUME_32BITUIDS]: Make code unconditional.
38736 [!__ASSUME_32BITUIDS]: Remove conditional code.
38737 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38738 <kernel-features.h>.
38739 [__ASSUME_32BITUIDS]: Make code unconditional.
38740 [!__ASSUME_32BITUIDS]: Remove conditional code.
38741
a386f1cc
RH
387422012-05-25 Richard Henderson <rth@twiddle.net>
38743
38744 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38745 dl_hwcap to ifunc resolver.
38746 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38747 elf_ifunc_invoke.
38748 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38749 dl_hwcap to ifunc resolver.
38750 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38751
b6550497
JM
387522012-05-24 Joseph Myers <joseph@codesourcery.com>
38753
38754 [BZ #14153]
38755 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38756 for |x| <= 2**-26, not 2**-57.
38757 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38758 exception.
38759
b0bc23a1
JL
387602012-05-24 Jeff Law <law@redhat.com>
38761
38762 * stdio-common/Makefile (tests): Add bug25.
38763 * stdio-common/bug25.c: New test.
38764
347c92e9
L
387652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38766
38767 [BZ #13576]
38768 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38769 multiple of MALLOC_ALIGNMENT in size.
38770 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38771
6bcc8b3f
JM
387722012-05-24 Joseph Myers <joseph@codesourcery.com>
38773
38774 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38775 Require >= 256.
38776 (FILENAME_MAX): Use macro-int-constant.
38777 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38778 (_IOFBF): Use macro-int-constant.
38779 (_IOLBF): Likewise.
38780 (_IONBF): Likewise.
38781 (SEEK_CUR): Likewise.
38782 (SEEK_END): Likewise.
38783 (SEEK_SET): Likewise.
38784 (TMP_MAX): Likewise.
38785 (EOF): Use macro-int-constant. Require < 0.
38786 (NULL): Use macro-constant. Require == 0.
38787 (stdin): Require type to be FILE *.
38788 (stdout): Likewise.
38789 (stderr): Likewise.
38790 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38791 macro-int-constant.
38792 (EXIT_SUCCESS): Likewise.
38793 (NULL): Use macro-constant. Require == 0.
38794 (RAND_MAX): Use macro-int-constant.
38795 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38796 [C99-based standards] (strtof): Require function.
38797 [C99-based standards] (strtold): Likewise.
38798 [C99-based standards] (strtoll): Likewise.
38799 [C99-based standards] (strtoull): Likewise.
38800 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38801 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38802 [ISO || ISO99 || ISO11] (math.h): Likewise.
38803 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38804 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38806
d18ea0c5
AS
388072012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38808
38809 [BZ #14132]
56d25bb8
AS
38810 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38811 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38812 * intl/dgettext.c (DCGETTEXT): Likewise.
38813 * intl/gettext.c (DCGETTEXT): Likewise.
38814 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38815 * posix/regex_internal.h (gettext): Likewise.
38816 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38817 Remove declaration.
38818 * include/argz.h (__argz_count_internal)
38819 (__argz_stringify_internal): Remove declaration.
38820 (__argz_count, __argz_stringify): Declare hidden proto.
38821 * intl/dcgettext.c: Remove use of INTDEF.
38822 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38823 * string/argz-stringify.c: Likewise.
38824 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38825 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38826 Declare hidden proto.
d18ea0c5
AS
38827 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38828 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38829 Declare hidden proto.
38830 * include/stdio.h (__asprintf_internal): Don't declare.
38831 (__asprintf): Don't define as macro. Declare hidden proto.
38832 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38833 (__fsetlocking): Declare hidden proto.
38834 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38835 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38836 hidden proto.
38837 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38838 (_IO_setlinebuf): Remove use of INTUSE.
38839 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38840 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38841 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38842 Remove declaration.
38843 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38844 (_IO_do_flush): Remove use of INTUSE.
38845 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38846 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38847 (_IO_adjust_column, _IO_least_wmarker)
38848 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38849 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38850 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38851 (_IO_default_doallocate, _IO_wdefault_doallocate)
38852 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38853 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38854 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38855 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38856 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38857 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38858 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38859 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38860 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38861 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38862 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38863 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38864 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38865 proto.
38866 (_IO_flush_all_internal, _IO_adjust_column_internal)
38867 (_IO_default_uflow_internal, _IO_default_finish_internal)
38868 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38869 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38870 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38871 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38872 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38873 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38874 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38875 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38876 (_IO_file_close_internal, _IO_file_close_it_internal)
38877 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38878 (_IO_file_init_internal, _IO_file_attach_internal)
38879 (_IO_file_fopen_internal, _IO_file_read_internal)
38880 (_IO_file_sync_internal, _IO_file_seek_internal)
38881 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38882 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38883 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38884 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38885 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38886 (_IO_list_all_internal, _IO_link_in_internal)
38887 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38888 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38889 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38890 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38891 (_IO_do_write_internal, _IO_padn_internal)
38892 (_IO_getline_info_internal, _IO_getline_internal)
38893 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38894 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38895 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38896 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38897 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38898 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38899 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38900 with libc_hidden_ver, remove use of INTUSE.
38901 * libio/genops.c: Likewise.
38902 * libio/freopen.c: Likewise.
38903 * libio/freopen64.c: Likewise.
38904 * libio/iofclose.c: Likewise.
38905 * libio/iofdopen.c: Likewise.
38906 * libio/iofflush.c: Likewise.
38907 * libio/iofflush_u.c: Likewise.
38908 * libio/iofgets.c: Likewise.
38909 * libio/iofgets_u.c: Likewise.
38910 * libio/iofopen.c: Likewise.
38911 * libio/iofopncook.c: Likewise.
38912 * libio/iofread.c: Likewise.
38913 * libio/iofread_u.c: Likewise.
38914 * libio/ioftell.c: Likewise.
38915 * libio/iofwrite.c: Likewise.
38916 * libio/iogetline.c: Likewise.
38917 * libio/iogets.c: Likewise.
38918 * libio/iogetwline.c: Likewise.
38919 * libio/iopadn.c: Likewise.
38920 * libio/iopopen.c: Likewise.
38921 * libio/ioseekoff.c: Likewise.
38922 * libio/ioseekpos.c: Likewise.
38923 * libio/iosetbuffer.c: Likewise.
38924 * libio/iosetvbuf.c: Likewise.
38925 * libio/ioungetc.c: Likewise.
38926 * libio/ioungetwc.c: Likewise.
38927 * libio/iovdprintf.c: Likewise.
38928 * libio/iovsprintf.c: Likewise.
38929 * libio/iovsscanf.c: Likewise.
38930 * libio/memstream.c: Likewise.
38931 * libio/obprintf.c: Likewise.
38932 * libio/oldfileops.c: Likewise.
38933 * libio/oldiofclose.c: Likewise.
38934 * libio/oldiofdopen.c: Likewise.
38935 * libio/oldiofopen.c: Likewise.
38936 * libio/oldiopopen.c: Likewise.
38937 * libio/oldstdfiles.c: Likewise.
38938 * libio/putc.c: Likewise.
38939 * libio/setbuf.c: Likewise.
38940 * libio/setlinebuf.c: Likewise.
38941 * libio/stdfiles.c: Likewise.
38942 * libio/strops.c: Likewise.
38943 * libio/vasprintf.c: Likewise.
38944 * libio/vscanf.c: Likewise.
38945 * libio/vsnprintf.c: Likewise.
38946 * libio/vswprintf.c: Likewise.
38947 * libio/wfiledoalloc.c: Likewise.
38948 * libio/wfileops.c: Likewise.
38949 * libio/wgenops.c: Likewise.
38950 * libio/wmemstream.c: Likewise.
38951 * libio/wstrops.c: Likewise.
38952 * libio/__fpurge.c: Likewise.
38953 * libio/__fsetlocking.c: Likewise.
38954 * assert/assert.c: Likewise.
38955 * debug/fgets_chk.c: Likewise.
38956 * debug/fgets_u_chk.c: Likewise.
38957 * debug/fread_chk.c: Likewise.
38958 * debug/fread_u_chk.c: Likewise.
38959 * debug/gets_chk.c: Likewise.
38960 * debug/obprintf_chk.c: Likewise.
38961 * debug/vasprintf_chk.c: Likewise.
38962 * debug/vdprintf_chk.c: Likewise.
38963 * debug/vsnprintf_chk.c: Likewise.
38964 * debug/vsprintf_chk.c: Likewise.
38965 * malloc/mtrace.c: Likewise.
38966 * misc/error.c: Likewise.
38967 * misc/syslog.c: Likewise.
38968 * stdio-common/asprintf.c: Likewise.
38969 * stdio-common/fxprintf.c: Likewise.
38970 * stdio-common/getw.c: Likewise.
38971 * stdio-common/isoc99_fscanf.c: Likewise.
38972 * stdio-common/isoc99_scanf.c: Likewise.
38973 * stdio-common/isoc99_vfscanf.c: Likewise.
38974 * stdio-common/isoc99_vscanf.c: Likewise.
38975 * stdio-common/isoc99_vsscanf.c: Likewise.
38976 * stdio-common/printf-prs.c: Likewise.
38977 * stdio-common/printf_fp.c: Likewise.
38978 * stdio-common/printf_fphex.c: Likewise.
38979 * stdio-common/printf_size.c: Likewise.
38980 * stdio-common/putw.c: Likewise.
38981 * stdio-common/scanf.c: Likewise.
38982 * stdio-common/sprintf.c: Likewise.
38983 * stdio-common/tmpfile.c: Likewise.
38984 * stdio-common/vfprintf.c: Likewise.
38985 * stdio-common/vfscanf.c: Likewise.
38986 * stdlib/strfmon_l.c: Likewise.
38987 * sunrpc/openchild.c: Likewise.
38988 * sunrpc/xdr_stdio.c: Likewise.
38989 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38990 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38991
d6c33fda
RM
389922012-05-24 Roland McGrath <roland@hack.frob.com>
38993
c1487492
RM
38994 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38995
38996 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38997 in the third column, to generate for the shared library an IFUNC
38998 that uses _dl_vdso_vsym.
38999 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39000 * Makeconfig (object-suffixes-noshared): New variable.
39001
39002 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39003 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39004 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39005 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39006
d6c33fda
RM
39007 [BZ #14132]
39008 * include/sys/time.h (__gettimeofday): Remove macro.
39009 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39010 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39011 Remove INTDEF.
39012 (__gettimeofday): Add libc_hidden_def.
39013 (gettimeofday): Add libc_hidden_weak.
39014 * sysdeps/mach/gettimeofday.c: Likewise.
39015 * sysdeps/posix/gettimeofday.c: Likewise.
39016 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39017 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39019 (__gettimeofday_internal): Remove strong_alias.
39020 (__gettimeofday): Add libc_hidden_def.
39021 (gettimeofday): Add libc_hidden_weak.
39022 * sysdeps/unix/syscalls.list (gettimeofday):
39023 Remove __gettimeofday_internal alias.
39024
b5a2bbe6
L
390252012-05-24 Daniel Jacobowitz <drow@false.org>
39026 H.J. Lu <hongjiu.lu@intel.com>
39027
39028 [BZ #12495]
39029 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39030 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39031 (largebin_index_32_big): New.
39032 (largebin_index): Use it for 16-byte alignment.
39033 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39034 correction with front_misalign.
39035
cfba4fda
L
390362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39037
7f907421
L
39038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39040 Likewise.
39041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39042 Likewise.
39043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39044 Likewise.
39045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39046 Likewise.
39047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39048 Likewise.
39049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39050 Likewise.
39051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39052 Likewise.
39053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39054 Likewise.
39055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39056 Likewise.
39057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39058 Likewise.
39059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39060 Likewise.
39061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39062 Likewise.
39063
cfba4fda
L
39064 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39065 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39066
80bad0cc
JM
390672012-05-24 Joseph Myers <joseph@codesourcery.com>
39068
7a25eb06
JM
39069 [BZ #10846]
39070 [BZ #14036]
39071 * math/libm-test.inc (exp_test): Add test from bug 14036.
39072 (pow_test): Add test from bug 10846.
39073
795405f9
JM
39074 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39075 and other flags.
39076 (special_function): Do not include flags in test name.
39077 (parse_args): Likewise.
39078 * sysdeps/i386/fpu/libm-test-ulps: Update.
39079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39080 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39081 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39083
80bad0cc
JM
39084 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39085 exceptions.
39086 * math/libm-test.inc ("Philosophy"): Update comment about
39087 exception testing.
39088 (UNDERFLOW_EXCEPTION): New macro.
39089 (UNDERFLOW_EXCEPTION_OK): Likewise.
39090 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39091 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39092 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39093 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39094 (INVALID_EXCEPTION_OK): Update value.
39095 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39096 (OVERFLOW_EXCEPTION_OK): Likewise.
39097 (IGNORE_ZERO_INF_SIGN): Likewise.
39098 (test_exceptions): Handle underflow exceptions.
39099 (acos_test): Update for underflow exception expectations.
39100 (cexp_test): Likewise.
39101 (clog_test): Likewise.
39102 (clog10_test): Likewise.
39103 (csqrt_test): Likewise.
39104 (ctan_test): Likewise.
39105 (ctanh_test): Likewise.
39106 (exp_test): Likewise.
39107 (exp10_test): Likewise.
39108 (exp2_test): Likewise.
39109 (expm1_test): Likewise.
39110 (fma_test): Likewise.
39111 (j0_test): Likewise.
39112 (jn_test): Likewise.
39113 (nexttoward_test): Likewise.
39114 (pow_test): Likewise.
39115 (scalbn_test): Likewise.
39116 (scalbln_test): Likewise.
39117 (tan_test): Likewise.
39118 (y1_test): Likewise.
39119 * sysdeps/i386/fpu/libm-test-ulps: Update.
39120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39121
9e0e3d0b
DM
391222012-05-23 David S. Miller <davem@davemloft.net>
39123
39124 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39125 (__libc_sigaction): Remove unused local variables.
39126
ccd0a08f
L
391272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39128
39129 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39130
62bdf9a6
PE
391312012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39132
f8591f80
PE
39133 mktime: avoid signed integer overflow
39134 * time/mktime.c (__mktime_internal): Do not mishandle the case
39135 where diff == INT_MIN.
39136
94c7d826
PE
39137 mktime: simplify computation of average
39138 * time/mktime.c (ranged_convert): Use new time_t_avg function
39139 instead of rolling our own (probably-slower) code.
39140
ce73d683
PE
39141 mktime: do not assume signed right shift propagates sign bit
39142 * time/mktime.c (isdst_differ): New static function.
39143 (__mktime_internal): No need to normalize tm_isdst now.
39144 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39145 tm_isdst values.
39146
72a22e59
PE
39147 mktime: merge another wrapv change from gnulib
39148 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39149 from some compilers.
39150
68605433
PE
39151 mktime: remove incorrect attempt at unusual arithmetics
39152 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39153 The code didn't really work on such machines anyway.
39154 (TYPE_MINIMUM): Assume two's complement.
39155 (twos_complement_arithmetic): Verify that long_int and time_t
39156 are two's complement (or unsigned, in the latter case).
39157
03cf7fe3
PE
39158 mktime: check signed shifts on long_int and time_t, too
39159 * time/mktime.c (SHR): Check that shifts work as desired
39160 on the types long_int and time_t too, as SHR is used on
39161 such types.
39162
f04dfbc2
PE
39163 mktime: do not assume 'long' is wide enough
39164 * time/mktime.c (verify): Move decl up.
39165 (long_int): New type.
39166 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39167 to remove assumption in the code that 'long' is wide enough to
39168 store year values. This assumption is not true on x32 and on
39169 some non-glibc platforms.
39170
62bdf9a6
PE
39171 mktime: merge wrapv change from gnulib
39172 * time/mktime.c (WRAPV): New macro.
39173 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39174 (guess_time_tm, __mktime_internal): Do not assume that signed
39175 integer overflow wraps around; modern compilers generate code
39176 where this assumption is no longer valid.
39177
5e292e4f
L
391782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39179
39180 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39181 Replace "jmp L(pseudo_end)" with "ret".
39182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39183 Likewise.
39184
8caf8c87
AJ
391852012-05-23 Andreas Jaeger <aj@suse.de>
39186
39187 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39188 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39189
1a09dc56
AJ
391902012-05-23 Andreas Jaeger <aj@suse.de>
39191 Maximilian Attems <max@stro.at>
39192
39193 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39194 New macros.
39195
1c87aba0
L
391962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39197
39198 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39199 code so that pseudo_end is just ret and the stack pointer is
39200 correct also for static library in error case.
39201
40e45bd5
JM
392022012-05-23 Joseph Myers <joseph@codesourcery.com>
39203
c2670533
JM
39204 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39205 move to syscalls.list.
39206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39210
40e45bd5
JM
39211 * manual/install.texi (Running make install): Do not mention Linux
39212 kernel version for which pt_chown is not needed.
39213 (Linux): Do not mention problems with nscd with 2.0 kernels.
39214 * INSTALL: Regenerated.
39215
be08eda5
AJ
392162012-05-23 Andreas Jaeger <aj@suse.de>
39217
39218 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39219 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39220 macro.
39221 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39222 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39223 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39224 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39225 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39226 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39227 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39228 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39229 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39230 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39231 * sysdeps/unix/sysv/linux/bits/in.h
39232 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39233
a6a056bb
RM
392342012-05-22 Roland McGrath <roland@hack.frob.com>
39235
39236 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39237 (PREPARE_VERSION): Just use assert instead, it will be elided
39238 under [NDEBUG] anyway.
39239
c9009328
L
392402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39241
39242 * sysdeps/unix/sysv/linux/Makefile: Include
39243 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 39244 (sysdep_routines): Remove sysctl.
c9009328
L
39245 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39246 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39247 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39248 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39249 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39250
73338355
AJ
392512012-05-22 Andreas Jaeger <aj@suse.de>
39252
39253 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39254 that pseudo_end is just ret and the stack pointer is correct also
39255 for static library in error case.
39256
d44638b0
PP
392572012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39258
39259 [BZ #14122]
39260 * nss/nsswitch.c (defconfig_entries): New variable.
39261 (__nss_database_lookup): Don't leak defconfig entries.
39262 (nss_parse_service_list): Don't leak on error paths.
39263 (free_database_entries): New function.
39264 (free_defconfig): New function.
39265 (free_mem): Move common code to free_database_entries.
39266
31a39bd8
L
392672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39268
da0331a8
L
39269 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39270 Add arch_prctl.
39271 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39272
31a39bd8
L
39273 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39274 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39276 New macro.
39277 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39278 (INTERNAL_SYSCALL_TYPES): Likewise.
39279 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39280 (LOAD_REGS_TYPES_[1-6]): Likewise.
39281 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39282 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39283
45470df3
AZ
392842012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39285
39286 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39287 copysignl for GLIBC_2_0.
39288 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39289 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39291 logbl for GLIBC_2_0.
39292 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39293 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39294
98a61bcb
L
392952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39296
a4f6e481
L
39297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39298 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39299
f63d5db6
L
39300 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39301 Use "neg %eax".
39302
98a61bcb
L
39303 * time/mktime.c: Update copyright years.
39304
95770f14
PE
393052012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39306
6226efbd
PE
39307 mktime: merge comment-quoting-style change from gnulib
39308 * time/mktime.c: Quote 'like this' in comments.
39309 The GNU coding standards suggest that we no longer quote `like this',
39310 as "`" and "'" are typically rendered asymmetrically nowadays.
39311 The typical gnulib style is to quote 'like this' when quoting
39312 code, and "like this" when quoting English.
39313
b99e4f78
PE
39314 * time/mktime.c (compile-command): Add "-I.".
39315
643e01e6
PE
39316 mktime: merge mktime-internal.h change from gnulib
39317 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39318
2554247d
PE
39319 mktime: merge time_r change from gnulib
39320 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39321
826dd0ab
PE
39322 mktime: merge DEBUG change from gnulib
39323 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39324 case system <time.h> has a #define.
39325
bd83aabe
PE
39326 mktime: merge <sys/types.h> change from gnulib
39327 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39328 since <time.t> is now guaranteed to define time_t.
39329
95770f14
PE
39330 mktime: merge HAVE_CONFIG_H change from gnulib
39331 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39332
5e1a27a9
L
393332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39334
0e44a77e
L
39335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39336 Use "neg %eax".
39337
5e1a27a9
L
39338 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39339 __rlim_t cast.
39340 (struct rusage): Use anonymous union to pad each field to
39341 __syscall_slong_t.
39342
46259bec
DM
393432012-05-21 David S. Miller <davem@davemloft.net>
39344
39345 * Makefules (o-iterator): Remove .s cases.
39346 (compile-command.s): Delete.
39347 (COMPILE.s): Delete.
39348 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39349
59f0c22e
JM
393502012-05-21 Joseph Myers <joseph@codesourcery.com>
39351
39352 * configure.in (libc_cv_predef_stack_protector): Only consider
39353 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39354 * configure: Regenerated.
39355
20c07380
L
393562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39357
bbb3154b
L
39358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39359 New macro. Use R*LP on int and pointer.
39360 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
39361 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39362 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
39363 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39364
20c07380
L
39365 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39366 [__WORDSIZE_TIME64_COMPAT32] instead of
39367 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39368 (struct utmp): Likewise.
39369 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39370 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39371 Renamed to ...
39372 (__WORDSIZE_TIME64_COMPAT32): This.
39373 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39374 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39375 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39376 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39377 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39378 (__WORDSIZE_TIME64_COMPAT32): New macro.
39379
d8d1017e
AJ
393802012-05-21 Andreas Jaeger <aj@suse.de>
39381
39382 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39383 only if [SHARED]. Add prototype for __wcschr_ia32.
39384
6c7fb145
RM
393852012-05-21 Roland McGrath <roland@hack.frob.com>
39386
39387 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39388 of %rbp unmolested in the jmp_buf while mangling the low bits.
39389 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39390 unmolested high bits of %rbp while demangling the low bits.
39391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39392
66274218
AJ
393932012-05-21 Andreas Jaeger <aj@suse.de>
39394
07c58f8f
AJ
39395 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39396 * sunrpc/svc_simple.c: Use it for registerrpc.
39397 * sunrpc/xcrypt.c: Use it for passwd2des.
39398
66274218
AJ
39399 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39400
61f65140
L
394012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39402
39403 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39404 Don't define if [__SYSCALL_WORDSIZE != 32].
39405 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39406 New macro.
39407
5fefb436
AJ
394082012-05-21 Bruno Haible <bruno@clisp.org>
39409 Andreas Jaeger <aj@suse.de>
39410
39411 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39412 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39413 inptr and inend for must_buffer_ch.
39414 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39415 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39416 * stdio-common/Makefile (tests): Remove bug15.
39417 (bug15-ENV): Remove macro.
39418 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39419 anymore.
39420
d8e272ab
AJ
394212012-05-19 Andreas Jaeger <aj@suse.de>
39422 Roland McGrath <roland@hack.frob.com>
39423
39424 * manual/contrib.texi: Completely rewritten. It contains now an
39425 alphabetical list of contributors and their contributions.
39426
4a56a162
RH
394272012-05-21 Richard Henderson <rth@twiddle.net>
39428
39429 * misc/getauxval.c (__getauxval): Use unsigned long int.
39430 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39431 (getauxval): Use unsigned long int.
39432
d024d23c
L
394332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39434
39435 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39436
cbc00a03
RM
394372012-05-21 Roland McGrath <roland@hack.frob.com>
39438
39439 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39440 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39441 __alignof__ (long double).
39442
478143fa
AZ
394432012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39444
39445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39446
c7683a6d
RH
394472012-05-20 Richard Henderson <rth@twiddle.net>
39448
39449 * misc/getauxval.c: New file.
39450 * misc/sys/auxv.h: New file.
39451 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39452 (routines): Add getauxval.
39453 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39454 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39455 * elf/dl-sysdep.c (_dl_auxv): Remove.
39456 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39457 * elf/dl-support.c (_dl_auxv): New variable.
39458 (_dl_aux_init): Initialize it.
39459 * manual/startup.texi (Auxiliary Vector): New node.
39460 * sysdeps/generic/bits/hwcap.h: New file.
39461 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39462 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39463 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39464 * sysdeps/sparc/sysdep.h: ... here. Include it.
39465 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
39467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39468 Update.
c7683a6d
RH
39469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39477
a6f1845d
AZ
394782012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39479
39480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39481
cbcbe830
DM
394822012-05-19 David S. Miller <davem@davemloft.net>
39483
39484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39485
e0b16cc2
JM
394862012-05-19 Joseph Myers <joseph@codesourcery.com>
39487
39488 [BZ #14123]
39489 * math/s_ccosh.c: Include <float.h>
39490 (__ccosh): Avoid internal overflow calculating sinh and cosh
39491 values before multiplying by sin and cos values.
39492 * math/s_ccoshf.c: Likewise.
39493 * math/s_ccoshl.c: Likewise.
39494 * math/s_csin.c: Likewise.
39495 * math/s_csinf.c: Likewise.
39496 * math/s_csinl.c: Likewise.
39497 * math/s_csinh.c: Likewise.
39498 * math/s_csinhf.c: Likewise.
39499 * math/s_csinhl.c: Likewise.
39500 * math/libm-test.inc (ccos_test): Add more tests.
39501 (ccosh_test): Likewise.
39502 (csin_test): Likewise.
39503 (csinh_test): Likewise.
39504 * sysdeps/i386/fpu/libm-test-ulps: Update.
39505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39506
6ad13e08
L
395072012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39508
f66f0ce8
L
39509 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39510 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39511
6ad13e08
L
39512 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39513
b1d072a7
JM
395142012-05-19 Joseph Myers <joseph@codesourcery.com>
39515
39516 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39517 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39518 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39519 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39520 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39521 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39522 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39523 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39524 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39525 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39526 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39527 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39528 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39529 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39530 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39531 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39532 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39533 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39534 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39535 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39536 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39537 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39538 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39539 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39540 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39541 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39542 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39543 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39544 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39545 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39546 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39547
9eae47cb
AJ
395482012-05-18 Andreas Jaeger <aj@suse.de>
39549
39550 * csu/.gitignore: Delete.
39551
bb07f69f
L
395522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39553
39554 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39555 (timex): Use __syscall_slong_t.
39556
e6bdb741
AJ
395572012-05-18 Andreas Jaeger <aj@suse.de>
39558 Carlos O'Donell <carlos_odonell@mentor.com>
39559
39560 * manual/install.texi (Configuring and compiling): Update
39561 description about files modified in the source directory.
d6c33fda 39562 * INSTALL: Regenerated.
e6bdb741 39563
1b74487e
L
395642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39565
39566 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39567 value. Use "or" to set return value to -1.
39568 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39569 negate return value.
39570
a88b64b9
TMQMF
395712012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39572
57f41c40
AS
39573 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39574 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
39575 failure if the compiler has Graphite support disabled.
39576 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39577 Likewise.
57f41c40
AS
39578 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39579 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
39580 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39581 Likewise.
39582
3707636e
L
395832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39584
610b8622
L
39585 * sysdeps/x86_64/x32/_itoa.h: New file.
39586
7cd195df
L
39587 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39588 getdents system call only if kernel and user dirents have the
39589 same d_ino and d_off.
39590
94b07d20
L
39591 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39592 LLONG_MAX != LONG_MAX.
39593 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39594 (_fitoa_word): Likewise.
39595
18298070
L
39596 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39597 years.
39598 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39599 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39600 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39601
553c7ea4
L
39602 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39603 include <bits/wordsize.h>. Check __x86_64__ instead of
39604 __WORDSIZE.
39605 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39606 if __x86_64__ is defined. Use anonymous union on fpstate.
39607
3707636e
L
39608 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39609 anonymous union.
39610
b53ef01a
AS
396112012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39612
37fb1dc0
AS
39613 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39614 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39615 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39616 Refer to _rtld_local_ro instead of _rtld_global_ro.
39617 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39618 Likewise.
39619 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39620 Likewise.
39621 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39622 Likewise.
39623 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39624 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39625 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39626
b53ef01a
AS
39627 * sysdeps/powerpc/powerpc32/dl-machine.c
39628 (__elf_machine_runtime_setup) [PROF]: Don't reference
39629 _dl_prof_resolve.
39630
7a185db2
AJ
396312012-05-18 Andreas Jaeger <aj@suse.de>
39632
39633 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39634 function only available for GCCs before 3.4 since GCC 3.4
39635 introduced a builtin.
39636 (lrint): Likewise.
39637 (llrintf): Likewise.
39638 (llrint): Likewise.
39639 (fmaxf): Likewise.
39640 (fmax): Likewise.
39641 (fminf): Likewise.
39642 (fmin): Likewise.
39643 (rint): Likewise.
39644 (rintf): Likewise.
39645 (nearbyint): Likewise.
39646 (nearbyintf): Likewise.
39647 (ceil): Likewise.
39648 (ceilf): Likewise.
39649 (floor): Likewise.
39650 (floorf): Likewise.
39651
3e5aef87
L
396522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39653
428bd707
L
39654 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39655 on both fields and cast pointer to __syscall_ulong_t.
39656
3e5aef87
L
39657 * bits/types.h (__fsword_t): New type.
39658 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39659 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39661 (__FSWORD_T_TYPE): Likewise.
39662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39663 (__FSWORD_T_TYPE): Likewise.
39664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39665 (__FSWORD_T_TYPE): Likewise.
39666 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39667 (__FSWORD_T_TYPE): Likewise.
39668 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39669 __SWORD_TYPE with __fsword_t.
39670 (statfs64): Likewise.
39671
1ba7c3dc
DM
396722012-05-17 David S. Miller <davem@davemloft.net>
39673
39674 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39675
59910343
AJ
396762012-05-17 Andreas Jaeger <aj@suse.de>
39677
39678 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39679 warning.
39680
2e4c1e9e
L
396812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39682
39683 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39684
de7f5ce7
AJ
396852012-05-17 Andreas Jaeger <aj@suse.de>
39686
39687 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39688 when it is used.
39689
286abc3d
CM
396902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39691
39692 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39693
477cc68e
L
396942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39695
39696 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39697 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39698
1a0994f5
CD
396992012-05-17 Andreas Jaeger <aj@suse.de>
39700 Carlos O'Donell <carlos_odonell@mentor.com>
39701
39702 [BZ #14059]
39703 * sysdeps/x86_64/multiarch/init-arch.h
39704 (bit_YMM_Usable): Rename to...
39705 (bit_AVX_Usable): ... this.
39706 (bit_FMA4_Usable): New macro.
39707 (bit_XMM_state): New macro.
39708 (bit_YMM_state): New macro.
39709 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39710 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39711 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39712 (CPUID_OSXSAVE): New macro.
39713 (CPUID_AVX): New macro.
39714 (CPUID_FMA4): New macro.
39715 (index_YMM_Usable): Rename to...
39716 (index_AVX_Usable): ... this.
39717 (HAS_AVX): Use HAS_ARCH_FEATURE.
39718 (HAS_FMA4): Likewise.
39719 (HAS_YMM_USABLE): Remove.
39720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39721 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39722 are present.
39723 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39724 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39725 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39726 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39727 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39728
0af797de
CM
397292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39730
39731 * math/libm-test.c: Support platforms without multiple rounding modes.
39732 * math/bug-nextafter.c: Support platforms without FP exceptions.
39733 * math/bug-nexttoward.c: Likewise.
39734 * math/test-fenv.c: Likewise.
39735 * math/test-misc.c: Likewise.
39736 * stdlib/bug-getcontext.c: Likewise.
39737
e39745ff
AJ
397382012-05-17 Andreas Jaeger <aj@suse.de>
39739
39740 * manual/examples/search.c (critter_cmp): Change signature to
39741 avoid warnings.
39742 * manual/string.texi (Collation Functions): Likewise.
39743
48970aba
L
397442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39745
39746 * bits/types.h: Fold copyright years.
39747 * bits/typesizes.h: Likewise.
39748 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39752 * time/time.h: Likewise.
39753
bedee953
PP
397542012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39755
39756 [BZ #208]
39757 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39758 in instead of returning them. Return void.
39759 (__libc_mallinfo): Accumulate over all arenas.
39760 (__malloc_stats): Adjust for change in int_mallinfo interface.
39761
61653dfb
RM
397622012-05-16 Roland McGrath <roland@hack.frob.com>
39763
30b99d79
RM
39764 [BZ #10375]
39765 * configure.in (NM): Add AC_CHECK_TOOL for it.
39766 (libc_extra_cflags): New substituted variable.
39767 Check for -fstack-protector being used implicitly.
39768 * configure: Regenerated.
39769 * config.make.in (config-extra-cflags): New variable,
39770 gets @libc_extra_cflags@.
39771 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39772
61653dfb
RM
39773 [BZ #10375]
39774 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39775 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39776 * configure: Regenerated.
39777 * config.make.in (CPPUNDEFS): New substituted variable.
39778 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39779 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39780 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39781
661768bb
L
397822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39783
39784 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39785 (mq_attr): Use __syscall_slong_t.
39786
d4261567
L
397872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39788
39789 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39790 Check __x86_64__ instead of __WORDSIZE.
39791 (_STAT_VER_LINUX): Likewise.
39792 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39793 __syscall_ulong_t and __syscall_slong_t.
39794 (stat64): Likewise.
39795
cf3ff365
L
397962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39797
39798 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39799
76cf3e4d
L
398002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39801
39802 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39803
a637753a
L
398042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39805
39806 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39807 __syscall_ulong_t.
39808
d5e05119
L
39809 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39810 include <bits/wordsize.h>. Check __x86_64__ instead of
39811 __WORDSIZE.
39812 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39813 defined.
39814 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39815
f62ee380
L
39816 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39817 include <bits/wordsize.h>. Check __x86_64__ instead of
39818 __WORDSIZE.
39819 (user_regs_struct): Use "__extension__ unsigned long long"
39820 instead of "unsigned long" if __x86_64__ is defined.
39821 (user): Likewise. Pad after pointer field if __ILP32__ is
39822 defined.
39823
4e124ced
JM
398242012-05-16 Joseph Myers <joseph@codesourcery.com>
39825
6a3951a0
JM
39826 * configure.in (makeinfo): Require version 4.5 or later. Allow
39827 versions 5 to 9.
39828 * configure: Regenerated.
39829 * manual/install.texi (texinfo): Increase version requirement to
39830 4.5 or later.
39831 * INSTALL: Regenerated.
39832
4e124ced
JM
39833 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39834
953ca31a
L
398352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39836
39837 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39838
617aca05
L
39839 * sysdeps/x86_64/x32/ffs.c: New file.
39840
5762f7ae
L
39841 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39842 __syscall_ulong_t.
39843 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39844 defined. Use __syscall_ulong_t.
39845 (shminfo): Use __syscall_ulong_t.
39846 (shm_info): Likewise.
39847
a26b6856
L
39848 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39849 __syscall_ulong_t.
39850
cb2b9ef7
L
39851 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39852 <bits/wordsize.h>.
39853 (msgqnum_t): Use __syscall_ulong_t.
39854 (msglen_t): Likewise.
39855 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39856 __syscall_ulong_t.
39857
34683bb0
L
39858 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39859 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39860
84a68786
L
39861 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39862
48baa5f1
L
39863 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39864 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39865
180be88b
L
39866 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39867 __syscall_slong_t.
39868
5e90c8ad
L
39869 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39870 include <bits/wordsize.h>. Check __x86_64__ instead of
39871 __WORDSIZE.
39872
23dfb58b
L
39873 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39874 "unsigned long long int" if __x86_64__ is defined.
39875 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39876
ce5d54b0
L
39877 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39878 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39879 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39880
13dc9eac
L
39881 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39882 <stdint.h>.
39883 (GET_PC): Cast to uintptr_t first.
39884 (GET_FRAME): Likewise.
39885 (GET_STACK): Likewise.
39886
a7895d15
L
39887 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39888 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39889 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39890 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39891 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39892 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39893 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39894 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39895 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39896 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39897 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39898 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39899 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39900 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39901 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39902 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39903 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39904 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39905 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39906 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39907 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39908 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39909 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39910 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39911 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39912 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39913 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39914 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39915 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39916
656416c9
AS
399172012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39918
5bd66283
AS
39919 * Makerules (+depfiles): Also collect depfiles from .oS in
39920 $(extra-objs).
39921 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39922 .oS, $(libnldbl-routines)).
39923
656416c9
AS
39924 * Makerules (native-compile-mkdep-flags): Define.
39925 * sunrpc/Makefile (extra-objs): Add $(addprefix
39926 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39927 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39928 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39929 calling $(make-target-directory).
39930
a46f2169
L
399312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39932
39933 * bits/types.h (__snseconds_t): Removed.
39934 * time/time.h (struct timespec): Replace __snseconds_t with
39935 __syscall_slong_t.
39936 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39937 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39938 Likewise.
39939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39940 (__SNSECONDS_T_TYPE): Likewise.
39941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39942 (__SNSECONDS_T_TYPE): Likewise.
39943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39944 (__SNSECONDS_T_TYPE): Likewise.
39945
6af6528b
L
399462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39947
39948 * sysdeps/mach/hurd/bits/typesizes.h
39949 (__SYSCALL_SLONG_TYPE): New macro.
39950 (__SYSCALL_ULONG_TYPE): Likewise.
39951
de986b56
L
399522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39953
39954 * bits/types.h (__syscall_slong_t): New type.
39955 (__syscall_ulong_t): Likewise.
39956
39957 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39958 (__SYSCALL_ULONG_TYPE): Likewise.
39959 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39960 (__SYSCALL_SLONG_TYPE): Likewise.
39961 (__SYSCALL_ULONG_TYPE): Likewise.
39962 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39963 (__SYSCALL_SLONG_TYPE): Likewise.
39964 (__SYSCALL_ULONG_TYPE): Likewise.
39965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39966 (__SYSCALL_SLONG_TYPE): Likewise.
39967 (__SYSCALL_ULONG_TYPE): Likewise.
39968
85736dc7
L
399692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39970
39971 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39972 Add sigaltstack-offsets.sym.
39973 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39974 <sigaltstack-offsets.h>.
39975 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39976 longjmp_msg pointer.
39977 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39978 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39979 signal stack.
39980 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39981
cc03b296
JM
399822012-05-15 Joseph Myers <joseph@codesourcery.com>
39983
a9538892
JM
39984 * elf/stackguard-macros.h: Remove file.
39985 * sysdeps/generic/stackguard-macros.h: New file.
39986 * sysdeps/i386/stackguard-macros.h: Likewise.
39987 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39988 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39989 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39990 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39991 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39992 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39993 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39994 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39995 <elf/stackguard-macros.h>.
39996
cc03b296
JM
39997 [BZ #14109]
39998 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39999 __aligned__ in attribute.
40000 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40001 (gregset_t): Likewise.
40002
93171016
L
400032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40004
40005 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40006 * sysdeps/x86_64/64/Implies-after: Here. New file.
40007 * sysdeps/x86_64/x32/Implies-after: New file.
40008
d86813a0
L
400092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40010
40011 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40012 and access return value for _dl_profile_fixup. Use R10_LP to
40013 load frame size.
40014
2953ec75
L
400152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40016
40017 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40018
3b550e9e
L
400192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40020
40021 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40022 * sysdeps/x86_64/x32/sysdep.h: New file.
40023
eda41706
L
400242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40025
40026 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40027 * sysdeps/x86_64/setjmp.S: Likewise.
40028
9ea01d93
AZ
400292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40030
40031 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40032 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40033 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40034 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40035 remove unused global constant.
40036
02a91938
CM
400372012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40038
40039 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40040 include of <not-cancel.h>.
40041
6540185f
RM
400422012-05-15 Roland McGrath <roland@hack.frob.com>
40043
40044 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40045
509072a0
AJ
400462012-05-15 Jeff Law <law@redhat.com>
40047 Andreas Jaeger <aj@suse.de>
40048
40049 [BZ #13594]
40050 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40051 out from...
40052 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40053 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40054 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40055 code changing __hst_map_handle.map.
40056
ba75122d
RM
400572012-05-15 Roland McGrath <roland@hack.frob.com>
40058
40059 * configure.in (sysnames): Look for Implies-before and Implies-after
40060 files.
40061 * configure: Regenerated.
40062
890d8bd8
L
400632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40064
40065 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40066 8-byte data alignment with LP_SIZE alignment.
40067
f6ee6623
L
400682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40069
40070 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40071 into R10_LP.
40072
ea2626f6
L
400732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40074
40075 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40076
085f715e
L
400772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40078
40079 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40080 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40081 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40082 Likewise.
40083 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40084
be8498fc
L
400852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40086
40087 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40088 (stackinfo_sub_sp): Likewise.
40089
70bc83b9
L
400902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40091
40092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40093 RAX_LP.
40094
9bc0b730
L
400952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40096
40097 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40098 into R*_LP.
40099
6d2850e7
L
401002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40101
40102 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40103 sizes into R*_LP.
40104
3cb84561
L
401052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40106
40107 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40108
54e2ed81
L
401092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40110
40111 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40112 into R11_LP and load __x86_64_shared_cache_size_half into
40113 R8_LP.
40114
8a17f349
L
401152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40116
40117 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40118 R8_LP.
40119
777b1eea
AZ
401202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40121
40122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40123 logb for POWER7.
40124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40125 logbf for POWER7.
40126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40127 logbl for POWER7.
40128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40129 powerpc32/power7/fpu/s_logb.c via #include.
40130 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40131 powerpc32/power7/fpu/s_logbf.c via #include.
40132 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40133 powerpc32/power7/fpu/s_logbl.c via #include.
40134
d20d4ac2
JM
401352012-05-15 Joseph Myers <joseph@codesourcery.com>
40136
40137 * README.libm: Remove file.
40138
6cdef1ab
L
401392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40140
40141 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40142 count for x32. Use R*_LP and omit operand-size suffix.
40143
0b254d8f
L
401442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40145
40146 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40147 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40148 * sysdeps/x86_64/x32/shlib-versions: New file.
40149
ceb809dc
RM
401502012-05-14 Roland McGrath <roland@hack.frob.com>
40151
40152 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40153 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40154 Use _dl_fatal_printf instead.
40155
37f1abd4
JM
401562012-05-14 Joseph Myers <joseph@codesourcery.com>
40157
40158 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40159 set if not set by the user. Do not allow for being unset.
40160 * sysdeps/unix/sysv/linux/configure: Regenerated.
40161
11de3a33
L
401622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40163
40164 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40165 the `q' suffix from lea and replace .quad with ASM_ADDR.
40166
e02f153a
L
401672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40168
40169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40170 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40171 instead of $17.
40172 (PTR_DEMANGLE): Likewise.
40173
520ae0fd
L
401742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40175
40176 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40177 (LP_OP): Likewise.
40178 (ASM_ADDR): Likewise.
40179 (RAX_LP): Likewise.
40180 (RBP_LP): Likewise.
40181 (RBX_LP): Likewise.
40182 (RCX_LP): Likewise.
40183 (RDI_LP): Likewise.
40184 (RSI_LP): Likewise.
40185 (RSP_LP): Likewise.
40186 (R8_LP): Likewise.
40187 (R9_LP): Likewise.
40188 (R10_LP): Likewise.
40189 (R10_LP): Likewise.
40190 (R11_LP): Likewise.
40191 (R12_LP): Likewise.
40192 (R13_LP): Likewise.
40193 (R14_LP): Likewise.
40194 (R15_LP): Likewise.
40195
b985be81
L
401962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40197
40198 * sysdeps/x86_64/x32/dl-machine.h: New file.
40199
6a4888ff
AJ
402002012-05-14 Andreas Jaeger <aj@suse.de>
40201
40202 * manual/Makefile (subdir): Remove export of subdir.
40203 (all): Remove target.
40204 (.PHONY): Remove all from list.
40205 (mkinstalldirs): Remove.
40206 (.PHONY): Remove installdirs from list.
40207 ($(inst_infodir)/libc.info): Use make-target-directory.
40208 (installdirs): Remove.
40209 (subdir_%): Remove.
40210 (glibc-targets): Remove.
40211 (lib): Remove.
40212 (stubs): Remove.
40213 ($(objpfx)stubs ../po/manual.pot): Remove.
40214 ($(objpfx)stamp%): Remove.
40215 (make-target-directory): Remove.
40216 (subdir_install): Remove.
40217 (routines): Remove.
40218 (aux): Remove.
40219 (sources): Remove.
40220 (objects): Remove.
40221 (headers): Remove.
40222
40223 [BZ #13750]
40224 * manual/.gitignore: Remove, it's not needed anymore.
40225 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40226 all files in it.
40227 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40228 directory.
40229 (texis): Renamed to $(objpfx)texis.
40230 (texis-path): New, contains path to generated files.
40231 (chapters.%): Use texis-path for complete path, add extra argument
40232 libc-texinfo.sh.
40233 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40234 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40235 (summary,texi, stamp-summary): Use complete path of
40236 files. Generate files in build dir.
40237 (dir-add.texi): Build in build dir.
40238 (libm-err.texi,stamp-libm-err): Likewise.
40239 (version.texi, stamp-version): Likewise.
40240 (.%c.texi): Likewise.
40241 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40242 (mostlyclean): Remove target.
40243 (realclean): Remove target.
40244 (generated): Add new variable with contents from mostlyclean and
40245 realclean, remove entries duplicated in common-mostlyclean, add
40246 stamp-libm-err and stamp-version.
40247 (generated-dirs): Add libc directory.
40248 ($(inst_infodir)/libc.info): Install files from build dir.
40249
40250 * manual/install.texi (Configuring and compiling): Adjust since
40251 the info files are not part of the tar ball anymore.
40252
7ac77294
AJ
402532012-05-14 Andreas Jaeger <aj@suse.de>
40254
40255 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40256 variable.
40257
ffb7875d
JM
402582012-05-14 Joseph Myers <joseph@codesourcery.com>
40259
40260 [BZ #13717]
40261 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40262 to 2.2.0 where earlier.
40263 * sysdeps/unix/sysv/linux/configure: Regenerated.
40264 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40265 Remove conditional code.
40266 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40267 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40268 Remove conditional code.
40269 [!__NR_lchown]: Likewise.
40270 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40271 [__NR_lchown]: Likewise.
40272 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40273 comment referencing __ASSUME_LCHOWN_SYSCALL.
40274 * sysdeps/unix/sysv/linux/i386/sigaction.c
40275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40277 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40278 Remove conditional code.
40279 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40280 (__protocol_available): Remove #if 0 code.
40281 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40282 conditional code.
40283 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40284 * sysdeps/unix/sysv/linux/kernel-features.h
40285 (__ASSUME_GETCWD_SYSCALL): Don't define.
40286 (__ASSUME_REALTIME_SIGNALS): Likewise.
40287 (__ASSUME_PREAD_SYSCALL): Likewise.
40288 (__ASSUME_PWRITE_SYSCALL): Likewise.
40289 (__ASSUME_POLL_SYSCALL): Likewise.
40290 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40291 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40292 non-SPARC.
40293 (__ASSUME_SIOCGIFNAME): Don't define.
40294 (__ASSUME_MSG_NOSIGNAL): Likewise.
40295 (__ASSUME_SENDFILE): Define unconditionally.
40296 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40297 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40298 conditional code.
40299 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40300 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40301 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40302 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40303 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40304 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40305 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40307 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40310 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40311 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40316 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40322 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40330 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40331 Remove conditional code.
40332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40333 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40334 Remove conditional code.
40335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40336 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40337 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40338 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40339 Remove conditional code.
40340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40341 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40342 Remove conditional code.
40343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40344 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40345 Remove conditional code.
40346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40347 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40348 Remove conditional code.
40349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40350 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40351 Remove conditional code.
40352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40353 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40354 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40356 * sysdeps/unix/sysv/linux/sigaction.c
40357 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40358 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40359 * sysdeps/unix/sysv/linux/sigpending.c
40360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40362 * sysdeps/unix/sysv/linux/sigprocmask.c
40363 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40364 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40365 * sysdeps/unix/sysv/linux/sigsuspend.c
40366 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40367 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40368 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40369 (__libc_missing_rt_sigs): Remove.
40370 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40371 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40372 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40373 Remove conditional code.
40374 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40375 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40376 return 1.
40377 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40378 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40379 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40380 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40381
1bfb7291
AJ
403822012-05-14 Andreas Jaeger <aj@suse.de>
40383
caae5a81
AJ
40384 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40385 it's not used in glibc.
40386 (__coshm1): Likewise.
40387 (__acosh1p): Likewise.
40388 (__sgn): Likewise.
40389
1bfb7291
AJ
40390 * manual/string.texi (Copying and Concatenation): Add missing
40391 variable in concat example.
40392 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40393
c044d724
L
403942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40395
144c5467 40396 [BZ #14103]
c044d724
L
40397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40398 __builtin_clzl with __builtin_clzll.
40399
2523c62b
L
404002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40401
40402 [BZ #14104]
40403 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40404 libc_freeres_ptr.
40405
d7bb4c42
LD
404062012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40407
40408 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40409 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40410 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40411 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40412
9dc4e1fb
MF
404132012-05-14 Mike Frysinger <vapier@gentoo.org>
40414
40415 * NEWS: Update ia64 info.
40416
c7df0112
AS
404172012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40418
40419 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40420 used as bcopy.
40421
dc70356c
TS
404222012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40423
40424 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40425 * sysdeps/unix/syscalls.list (dup3): Likewise.
40426 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40427 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40428
9fb1a21f
L
404292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40430
40431 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40432 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40433
4822a2a5
L
404342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40435
40436 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40437 thread pointer.
40438 (TLS_IE): Use mov/add instead of movq/addq to load thread
40439 pointer.
40440 (TLS_GD_PREFIX): New.
40441 (TLS_GD): Use it.
40442
842b81d6
DM
404432012-05-11 David S. Miller <davem@davemloft.net>
40444
40445 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40446 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40447 (_FPU_SETCW): Likewise.
40448
1cf463cd
L
404492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40450
40451 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40452 is 32-byte aligned.
40453
60cc4a18
AS
404542012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40455
40456 [BZ #11837]
40457 * iconvdata/gb18030.c: Update tables.
40458 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40459 characters specially.
40460 (BODY for TO_LOOP): Add encoding of missing ranges.
40461
febb44a4
TS
404622012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40463
40464 [BZ #13673]
40465 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40466 * sysdeps/mach/hurd/dup3.c: Likewise.
40467 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40468 * sysdeps/powerpc/memmove.c:: Likewise.
40469
0a10fb9e
L
404702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40471
40472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40473 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40474
df8a552f
L
404752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40476
40477 * elf/elf.h (R_X86_64_RELATIVE64): New.
40478 (R_X86_64_NUM): Updated.
40479 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40480 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40481 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40482 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40483 tst-quad1pie tst-quad2pie
40484 (modules-names): Add tst-quadmod1 tst-quadmod2.
40485 ($(objpfx)tst-quad1): New dependency.
40486 ($(objpfx)tst-quad2): Likewise.
40487 ($(objpfx)tst-quad1pie): Likewise.
40488 ($(objpfx)tst-quad2pie): Likewise.
40489 * sysdeps/x86_64/tst-quad1.c: New file.
40490 * sysdeps/x86_64/tst-quad1pie.c: New file.
40491 * sysdeps/x86_64/tst-quad2.c: Likewise.
40492 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40493 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40494 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40495 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40496 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40497
f34d6f84
ST
404982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40499
f42d41d1
ST
40500 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40501 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40502 * streams/stropts.h (t_scalar_t): Define type.
40503
3c3571fc
ST
40504 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40505 (_PATH_PRESERVE): Set to "/var/lib".
40506 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40507
61f06bd3
ST
40508 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40509 instead of int.
40510
918d4d71
ST
40511 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40512 if __dir_mkfile succeeded.
40513
f34d6f84
ST
40514 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40515 checking for _hurd_dtablesize. Unlock it right after having
40516 finished _hurd_dtable allocation.
40517
10589b4a
TS
405182012-05-10 Thomas Schwinge <thomas@schwinge.name>
40519
674cdbc7
TS
40520 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40521 * sysdeps/mach/hurd/configure: Regenerated.
40522 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40523 special-casing to...
40524 * sysdeps/gnu/configure.in: ... this new file.
40525 * sysdeps/unix/sysv/linux/configure: Regenerated.
40526 * sysdeps/gnu/configure: New generated file.
40527
8e41b99f
TS
40528 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40529 for Linux: use nsec instead of usec, as well as:
40530 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40531 members of type struct timespec.
40532 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40533 New macros.
40534 (struct stat64): Likewise.
40535 (_STATBUF_ST_NSEC): New macro.
40536 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40537
10589b4a
TS
40538 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40539 __strtoul_internal rather than strtoul.
40540
63643c85
PT
405412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40542
40543 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40544 and reject them.
40545
3faebe6a
ST
405462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40547
40548 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40549 which preserves existing values.
40550 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40551
c6474b07
PT
405522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40553
40554 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40555 TIMEOUT values. Return EINVAL for NFDS values either negative or
40556 greater than FD_SETSIZE.
40557
1043890b
ST
405582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40559
40560 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40561 allocated, call __vm_protect to finish enabling the existing space, and
40562 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40563 allocate the remainder.
40564
37ed8b9b
PT
405652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40566
40567 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40568 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40569
db653660
ST
405702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40571
37ed8b9b
PT
40572 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40573 sysdeps/mach/hurd/readlink.c.
b29d4053 40574
db653660
ST
40575 * posix/tst-sysconf.c (posix_options): Only use
40576 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40577 _POSIX_SYNCHRONIZED_IO when they are defined
40578 * sysdeps/mach/hurd/bits/posix_opt.h:
40579 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40580 (_XOPEN_REALTIME): Undefine macro.
40581 (_XOPEN_REALTIME_THREADS): Undefine macro.
40582 (_XOPEN_SHM): Undefine macro.
40583 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40584 macro to -1.
40585 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40586 macro to -1.
40587 (_POSIX_ASYNC_IO): Undefine macro.
40588 (_POSIX_PRIORITIZED_IO): Undefine macro.
40589 (_POSIX_SPIN_LOCKS): Define macro to -1.
40590
ee16e894
ST
40591 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40592 SA_NODEFER, SA_RESETHAND.
40593 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40594 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40595 F_DUPFD_CLOEXEC.
40596
6103ae3b
TS
405972012-05-10 Thomas Schwinge <thomas@schwinge.name>
40598
40599 * elf/Makefile (pldd-modules): Define unconditionally.
40600
80b4e5f3
TS
406012012-05-10 Thomas Schwinge <thomas@schwinge.name>
40602
40603 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40604
edadcbd6
ST
406052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40606
40607 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40608 Return ENOENT when name is empty.
40609 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40610
80694780
TS
406112012-05-10 Thomas Schwinge <thomas@schwinge.name>
40612
1792c087
TS
40613 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40614
80694780
TS
40615 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40616
6b645f0d
ST
406172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40618
80694780
TS
40619 Fix mlock in all cases except non-readable pages.
40620 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40621 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 40622
6b645f0d
ST
40623 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40624 (__mkdir): When path is `/', just fail with EEXIST.
40625 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40626
e468f8a3
TS
406272012-05-10 Thomas Schwinge <thomas@schwinge.name>
40628
40629 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40630 <sys/uio.h> (for writev).
40631 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40632 and <sys/param.h> (for MIN).
40633
a4186cff
PT
406342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40635
40636 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40637 REQUESTED_TIME. Properly set the remaining time and return EINTR
40638 if interrupted.
40639
510bbf14
TS
406402012-05-10 Thomas Schwinge <thomas@schwinge.name>
40641
40642 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40643 Depend on against $(link-rpcuserlibs).
40644
5d5722e8
ST
406452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40646
a4186cff
PT
40647 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40648 (__libc_stack_end): Do not use attribute_relro.
40649 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40650 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 40651 to libthread-provided value.
a4186cff
PT
40652 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40653 attribute_relro.
5d5722e8 40654
37233df9
TS
406552012-05-10 Thomas Schwinge <thomas@schwinge.name>
40656
be971a2b
TS
40657 [BZ #3748]
40658 * bits/libc-lock.h (__libc_once_get): New macro.
40659 * sysdeps/mach/bits/libc-lock.h: Likewise.
40660 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40662 instead of using implementation details.
40663
37233df9
TS
40664 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40665 * libio/freopen.c: Likewise.
40666 * libio/freopen64.c: Likewise.
40667 * misc/syslog.c: Likewise.
40668 * nscd/connections.c: Likewise.
40669 * nscd/netgroupcache.c: Likewise.
40670 * sysdeps/posix/getcwd.c: Likewise.
40671
38de94a5
RM
406722012-05-10 Roland McGrath <roland@hack.frob.com>
40673
40674 * math/w_ilogbf.c: Add #include <limits.h>.
40675
67530489
ST
406762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40677
a4186cff 40678 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
40679 path instead of returning without unlocking.
40680
67530489
ST
40681 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40682 immediate-write ioctls.
40683 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40684
5aa3a74a
TS
406852012-05-10 Thomas Schwinge <thomas@schwinge.name>
40686
18bad2ae
TS
40687 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40688 __builtin_frame_address instead of making assumptions about the
40689 location of the return address relative to DATA. Force early load of
40690 the return address.
40691 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40692 __builtin_frame_address.
40693
5aa3a74a
TS
40694 dup3 for GNU Hurd.
40695 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40696 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40697 implement dup3 and do some further code clean-ups.
40698 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40699 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40700
ecd0de9a
ST
407012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40702
cd9fa985
ST
40703 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40704
a4186cff
PT
40705 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40706 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40707 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40708 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40709 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40710 d->port.lock.
802ca5a5 40711
a4186cff
PT
40712 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40713 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40714 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40715
bcf55240
TS
407162012-05-10 Thomas Schwinge <thomas@schwinge.name>
40717
6960eb42
TS
40718 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40719 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40720 definitions.
40721
eb43375f
TS
40722 accept4 for GNU Hurd.
40723 * include/sys/socket.h (__libc_accept4): New prototype.
40724 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40725 to implement __libc_accept4.
40726 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40727 __libc_accept4.
40728 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40729
bcf55240
TS
40730 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40731 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40732 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40733 signal-defines.sym.
40734
6178c55b
ST
407352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40736
a4186cff 40737 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40738
6f080c2f
TS
407392012-05-10 Thomas Schwinge <thomas@schwinge.name>
40740
40741 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40742 assertion on O_CLOEXEC flag.
40743 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40744 * hurd/intern-fd.c: Likewise.
40745 * hurd/port2fd.c: Likewise.
40746
bcfe3a54
ST
407472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40748
40749 [BZ #3906]
40750 * bits/in.h (IPV6_PKTINFO): Define new macro.
40751 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40752
89c9aa49
AZ
407532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40754
40755 [BZ #13954]
40756 [BZ #13955]
40757 [BZ #13956]
40758 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40760 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40761 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40763 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40764 * math/libm-test.inc (logb_test) : Additional logb tests.
40765
021db4be
AJ
407662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40767 Andreas Jaeger <aj@suse.de>
40768
40769 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40770 * configure: Regenerated.
40771 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40772 * config.make.in (link-obsolete-rpc): New substituted variable.
40773 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40774 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40775 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40776 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40777 so that libc.a contains the symbols.
40778 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40779 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40780 * sunrpc/auth_none.c: Likewise.
40781 * sunrpc/auth_unix.c: Likewise.
40782 * sunrpc/authdes_prot.c: Likewise.
40783 * sunrpc/authuxprot.c: Likewise.
40784 * sunrpc/clnt_gen.c: Likewise.
40785 * sunrpc/clnt_perr.c: Likewise.
40786 * sunrpc/clnt_raw.c: Likewise.
40787 * sunrpc/clnt_simp.c: Likewise.
40788 * sunrpc/clnt_tcp.c: Likewise.
40789 * sunrpc/clnt_udp.c: Likewise.
40790 * sunrpc/clnt_unix.c: Likewise.
40791 * sunrpc/des_crypt.c: Likewise.
40792 * sunrpc/des_soft.c: Likewise.
40793 * sunrpc/get_myaddr.c: Likewise.
40794 * sunrpc/key_call.c: Likewise.
40795 * sunrpc/key_prot.c: Likewise.
40796 * sunrpc/netname.c: Likewise.
40797 * sunrpc/pm_getmaps.c: Likewise.
40798 * sunrpc/pm_getport.c: Likewise.
40799 * sunrpc/pmap_clnt.c: Likewise.
40800 * sunrpc/pmap_prot.c: Likewise.
40801 * sunrpc/pmap_prot2.c: Likewise.
40802 * sunrpc/pmap_rmt.c: Likewise.
40803 * sunrpc/publickey.c: Likewise.
40804 * sunrpc/rpc_cmsg.c: Likewise.
40805 * sunrpc/rpc_common.c: Likewise.
40806 * sunrpc/rpc_dtable.c: Likewise.
40807 * sunrpc/rpc_prot.c: Likewise.
40808 * sunrpc/rpc_thread.c: Likewise.
40809 * sunrpc/rtime.c: Likewise.
40810 * sunrpc/svc.c: Likewise.
40811 * sunrpc/svc_auth.c: Likewise.
40812 * sunrpc/svc_raw.c: Likewise.
40813 * sunrpc/svc_run.c: Likewise.
40814 * sunrpc/svc_tcp.c: Likewise.
40815 * sunrpc/svc_udp.c: Likewise.
40816 * sunrpc/svc_unix.c: Likewise.
40817 * sunrpc/svcauth_des.c: Likewise.
40818 * sunrpc/xcrypt.c: Likewise.
40819 * sunrpc/xdr.c: Likewise.
40820 * sunrpc/xdr_array.c: Likewise.
40821 * sunrpc/xdr_float.c: Likewise.
40822 * sunrpc/xdr_intXX_t.c: Likewise.
40823 * sunrpc/xdr_mem.c: Likewise.
40824 * sunrpc/xdr_rec.c: Likewise.
40825 * sunrpc/xdr_ref.c: Likewise.
40826 * sunrpc/xdr_sizeof.c: Likewise.
40827 * sunrpc/xdr_stdio.c: Likewise.
40828
b5c086a2
RM
408292012-05-10 Roland McGrath <roland@hack.frob.com>
40830
40831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40832 change. Update copyright years.
40833
6d74dd09
JM
408342012-05-10 Joseph Myers <joseph@codesourcery.com>
40835
40836 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40837
28e72501
MK
408382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40839 Joseph Myers <joseph@codesourcery.com>
40840 Paul Pluzhnikov <ppluzhnikov@google.com>
40841
40842 [BZ #14012]
40843 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40844 requiring rpcgen.
40845 [cross-compiling] (extra-libs): Likewise.
40846 [cross-compiling] (extra-libs-others): Likewise.
40847 [cross-compiling] (librpcsvc-routines): Likewise.
40848 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40849 [cross-compiling] (omit-deps): Likewise.
40850 (sunrpc-CPPFLAGS): New variable.
40851 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40852 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40853 (cross-rpcgen-objs): New variable.
40854 (extra-objs): Append $(cross-rpcgen-objs).
40855 ($(cross-rpcgen-objs)): New rule.
40856 ($(objpfx)cross-rpcgen): Likewise.
40857 (rpcgen-cmd): Define to use $(built-program-file). Expand
40858 comment.
40859 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40860 ($(objpfx)x%.stmp): Likewise.
40861 * sunrpc/proto.h [IS_IN_build] (_): Define.
40862 [IS_IN_build] (_libc_intl_domainname): Likewise.
40863
c8c59454
L
408642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40865
40866 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40867 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40868 and R_X86_64_TPOFF64.
40869
6f27cd16
JM
408702012-05-10 Joseph Myers <joseph@codesourcery.com>
40871
40872 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40873 sysdeps/unix/sysv/syscalls.list.
40874 (stime): Likewise.
40875 (utime): Likewise.
40876 * sysdeps/unix/sysv/syscalls.list: Remove file.
40877
02467e1c
PE
408782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40879
40880 [BZ #3440]
40881 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40882 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40883 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40884 (__LC_IDENTIFICATION): Make these macros useful in #if
40885 expressions, as required by C99.
40886
da392631
AS
408872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40888
40889 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40890 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40891 after this.
40892
8115f29b
L
408932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40894
40895 * stdlib/longlong.h: Updated from GCC.
40896
bdd74070
AJ
408972012-05-09 Andreas Jaeger <aj@suse.de>
40898
edfe0dbe
AJ
40899 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40900 default is first entry.
40901 (run_mode): Set type.
40902 (main): Remove informal message about syslog.
40903 (options): Fix typo.
40904
bcfe3a54
ST
40905 [BZ #14053]
40906 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40907 to asm.
bcfe3a54
ST
40908 (lrint): Likewise.
40909 (llrintf): Likewise.
40910 (llrint): Likewise.
40911 (rint): Likewise.
40912 (rintf): Likewise.
40913 (nearbyint): Likewise.
40914 (nearbyintf): Likewise.
bdd74070 40915
91d8d69e
AJ
409162012-05-09 Andreas Jaeger <aj@suse.de>
40917 Pedro Alves <palves@redhat.com>
40918
40919 * nscd/nscd.c (run_mode): Use enum.
40920 (main): Cleanup coding style issue.
40921
bb90b80b
AJ
409222012-05-09 Alexandre Oliva <aoliva@redhat.com>
40923 Andreas Jaeger <aj@suse.de>
40924
bcfe3a54
ST
40925 * nscd/nscd.c (go_background): Replaced with...
40926 (run_mode): ... this.
bb90b80b 40927 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40928 (options): Add -F --foreground.
40929 (main): Implement it.
40930 (parse_opt): Parse it.
bb90b80b 40931
1a4b75a1
AJ
409322012-05-09 Andreas Jaeger <aj@suse.de>
40933
40934 [BZ #14083]
40935 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40936 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40937 -Wconversion warning.
40938 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40939 Likewise.
40940
b1cc2472
JM
409412012-05-09 Joseph Myers <joseph@codesourcery.com>
40942
40943 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40944 == 0.
40945 (LC_ALL): Use macro-int-constant.
40946 (LC_COLLATE): Likewise.
40947 (LC_CTYPE): Likewise.
40948 (LC_MESSAGES): Likewise.
40949 (LC_MONETARY): Likewise.
40950 (LC_NUMERIC): Likewise.
40951 (LC_TIME): Likewise.
40952 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40953 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40954 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40955 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40956 Specify type.
40957 [C99-based standards] (float_t): Expect type.
40958 [C99-based standards] (double_t): Expect type.
40959 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40960 type.
40961 [C99-based standards] (HUGE_VALL): Likewise.
40962 [C99-based standards] (INFINITY): Likewise.
40963 [C99-based standards] (NAN): Likewise.
40964 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40965 [C99-based standards] (FP_NAN): Likewise.
40966 [C99-based standards] (FP_NORMAL): Likewise.
40967 [C99-based standards] (FP_SUBNORMAL): Likewise.
40968 [C99-based standards] (FP_ZERO): Likewise.
40969 [C99-based standards] (FP_FAST_FMA): Use
40970 optional-macro-int-constant. Specify type. Require == 1.
40971 [C99-based standards] (FP_FAST_FMAF): Likewise.
40972 [C99-based standards] (FP_FAST_FMAL): Likewise.
40973 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40974 [C99-based standards] (FP_ILOGBNAN): Likewise.
40975 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40976 Specify type.
40977 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40978 [C99-based standards] (math_errhandling): Specify type.
40979 [ISO99 || ISO11] (signgam): Do not allow.
40980 [non-C99-based standards] (copysignf): Do not allow.
40981 [non-C99-based standards] (exp2f): Likewise.
40982 [non-C99-based standards] (log2f): Likewise.
40983 [non-C99-based standards] (modff): Allow.
40984 [non-C99-based standards] (erff): Do not allow.
40985 [non-C99-based standards] (erfcf): Likewise.
40986 [non-C99-based standards] (gammaf): Likewise.
40987 [non-C99-based standards] (hypotf): Likewise.
40988 [non-C99-based standards] (j0f): Likewise.
40989 [non-C99-based standards] (j1f): Likewise.
40990 [non-C99-based standards] (jnf): Likewise.
40991 [non-C99-based standards] (lgammaf): Likewise.
40992 [non-C99-based standards] (tgammaf): Likewise.
40993 [non-C99-based standards] (y0f): Likewise.
40994 [non-C99-based standards] (y1f): Likewise.
40995 [non-C99-based standards] (ynf): Likewise.
40996 [non-C99-based standards] (isnanf): Likewise.
40997 [non-C99-based standards] (acoshf): Likewise.
40998 [non-C99-based standards] (asinhf): Likewise.
40999 [non-C99-based standards] (atanhf): Likewise.
41000 [non-C99-based standards] (cbrtf): Likewise.
41001 [non-C99-based standards] (expm1f): Likewise.
41002 [non-C99-based standards] (ilogbf): Likewise.
41003 [non-C99-based standards] (log1pf): Likewise.
41004 [non-C99-based standards] (logbf): Likewise.
41005 [non-C99-based standards] (nextafterf): Likewise.
41006 [non-C99-based standards] (remainderf): Likewise.
41007 [non-C99-based standards] (rintf): Likewise.
41008 [non-C99-based standards] (scalbf): Likewise.
41009 [non-C99-based standards] (copysignl): Likewise.
41010 [non-C99-based standards] (exp2l): Likewise.
41011 [non-C99-based standards] (log2l): Likewise.
41012 [non-C99-based standards] (modfl): Allow.
41013 [non-C99-based standards] (erfl): Do not allow.
41014 [non-C99-based standards] (erfcl): Likewise.
41015 [non-C99-based standards] (gammal): Likewise.
41016 [non-C99-based standards] (hypotl): Likewise.
41017 [non-C99-based standards] (j0l): Likewise.
41018 [non-C99-based standards] (j1l): Likewise.
41019 [non-C99-based standards] (jnl): Likewise.
41020 [non-C99-based standards] (lgammal): Likewise.
41021 [non-C99-based standards] (tgammal): Likewise.
41022 [non-C99-based standards] (y0l): Likewise.
41023 [non-C99-based standards] (y1l): Likewise.
41024 [non-C99-based standards] (ynl): Likewise.
41025 [non-C99-based standards] (isnanl): Likewise.
41026 [non-C99-based standards] (acoshl): Likewise.
41027 [non-C99-based standards] (asinhl): Likewise.
41028 [non-C99-based standards] (atanhl): Likewise.
41029 [non-C99-based standards] (cbrtl): Likewise.
41030 [non-C99-based standards] (expm1l): Likewise.
41031 [non-C99-based standards] (ilogbl): Likewise.
41032 [non-C99-based standards] (log1pl): Likewise.
41033 [non-C99-based standards] (logbl): Likewise.
41034 [non-C99-based standards] (nextafterl): Likewise.
41035 [non-C99-based standards] (remainderl): Likewise.
41036 [non-C99-based standards] (rintl): Likewise.
41037 [non-C99-based standards] (scalbl): Likewise.
41038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41039 [non-C99-based standards] (FP_*): Do not allow.
41040 [C99-based standards] (FP_*): Change to
41041 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41042 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41043 allow.
41044 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41045 (SIG_ERR): Likewise.
41046 [X/Open-based standards] (SIG_HOLD): Likewise.
41047 (SIG_IGN): Likewise.
41048 (SIGABRT): Use macro-int-constant. Specify type. Require
41049 positive value.
41050 (SIGFPE): Likewise.
41051 (SIGILL): Likewise.
41052 (SIGINT): Likewise.
41053 (SIGSEGV): Likewise.
41054 (SIGTER): Likewise.
41055 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41056 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41057 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41058 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41059 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41060 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41061 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41062 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41063 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41064 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41065 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41066 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41067 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41068 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41069 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41070 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41071 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41072 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41073 [X/Open-based standards] (SIGTRAP): Likewise.
41074 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41075 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41076 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41077 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41078 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41079 allow.
41080
b9f1922d
IW
410812012-05-08 Ian Wienand <ianw@vmware.com>
41082
41083 [BZ #14080]
41084 * time/tzset.c (__tzset_parse_tz): Update default rules for
41085 daylight time changes in the Energy Policy Act of 2005.
41086
1db86e88
AJ
410872012-05-09 Andreas Jaeger <aj@suse.de>
41088
41089 [BZ #13983]
41090 * elf/ldconfig.c (parse_conf): Change string to make clear that
41091 ldconfig only issued a warning if ld.so.conf does not exist.
41092
dee4a4e3
DM
410932012-05-08 David S. Miller <davem@davemloft.net>
41094
ee0db190
DM
41095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41096 movxtod instead of popping the value on the stack.
41097
dee4a4e3
DM
41098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41099
6a43ec98
CD
411002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41101
41102 * config.h.in: Add HAVE_ARM_PCS_VFP.
41103
05c2c961
RMG
411042012-05-08 Roland Mc Grath <roland@hack.frob.com>
41105
bcfe3a54
ST
41106 [BZ #13979]
41107 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41108 checking but the checks are disabled for any reason.
05c2c961 41109
4b30f61a
L
411102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41111
41112 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41113 and ELF64_R_TYPE with ELFW(R_TYPE).
41114
eee2bc67
JM
411152012-05-08 Joseph Myers <joseph@codesourcery.com>
41116
7ea5391a
JM
41117 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41118 (ulimit): Likewise.
41119
eee2bc67
JM
41120 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41121 (settimeofday): Likewise.
41122
abb66a67
MF
411232012-05-08 Mike Frysinger <vapier@gentoo.org>
41124
41125 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41126 a struct th_u2 inside the union, and move tu_block/tu_code into
41127 a new th_u3 union of tu_block/tu_code inside of that. Move
41128 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41129 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41130 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41131 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41132 (th_stuff): Change to th_u1.tu_stuff.
41133 (th_data): Define.
41134 (th_msg): Change to th_u1.th_u2.tu_data.
41135
7f18b530
DM
411362012-05-07 David S. Miller <davem@davemloft.net>
41137
05760585
DM
41138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41139
7f18b530
DM
41140 [BZ #14074]
41141 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41142 (SETUP_PIC_REG): Use it.
41143 (SETUP_PIC_REG_LEAF): Use it.
41144
495fd99f
JM
411452012-05-07 Joseph Myers <joseph@codesourcery.com>
41146
41147 [BZ #13885]
41148 [BZ #13923]
41149 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41150 USE_AS_EXPM1L.
41151 (EXPL_FINITE): Likewise.
41152 (FLDLOG): Likewise.
41153 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41154 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41155 e_expl.S.
41156 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41157 USE_AS_EXPM1L.
41158 (EXPL_FINITE): Likewise.
41159 (FLDLOG): Likewise.
41160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41161 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41162 e_expl.S.
41163 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41164 test of -max_value argument for long double.
41165 * sysdeps/i386/fpu/libm-test-ulps: Update.
41166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41167
6693d694
DM
411682012-05-06 David S. Miller <davem@davemloft.net>
41169
41170 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41171 quad soft-float symbols whose references which are compiler
41172 generated.
41173 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41174
6c23e11c
JM
411752012-05-06 Joseph Myers <joseph@codesourcery.com>
41176
d8b82cad
JM
41177 [BZ #13884]
41178 [BZ #13914]
41179 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41180 USE_AS_EXP10L.
41181 (EXPL_FINITE): Likewise.
41182 (FLDLOG): Likewise.
41183 (c0): Likewise.
41184 (c1): Likewise.
41185 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41186 Adjust comments for base varying.
41187 (__expl_finite): Change alias to EXPL_FINITE.
41188 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41189 e_expl.S.
41190 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41191 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41193 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41194 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41195 USE_AS_EXP10L.
41196 (EXPL_FINITE): Likewise.
41197 (FLDLOG): Likewise.
41198 (c0): Likewise.
41199 (c1): Likewise.
41200 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41201 Adjust comments for base varying.
41202 (__expl_finite): Change alias to EXPL_FINITE.
41203 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41204 tests for bugs.
41205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41206
6c23e11c
JM
41207 [BZ #14064]
41208 * math/libm-test.inc (check_float_internal): Correct ulp
41209 calculation for subnormal expected results.
41210
29ba805c
AJ
412112012-05-06 Andreas Jaeger <aj@suse.de>
41212
41213 * Makeconfig (+math-flags): New, set to -frounding-math.
41214 (+cflags): Add +math-flags so that all of glibc gets compiled with
41215 it.
41216
41217 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41218
7b17aeda
JM
412192012-05-05 Joseph Myers <joseph@codesourcery.com>
41220
5779f134
JM
41221 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41222 Disable one test.
41223
41498f4d
JM
41224 [BZ #13787]
41225 [BZ #13922]
41226 [BZ #14036]
41227 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41228 (__ieee754_expl): Allow for and saturate large arguments.
41229 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41230 (u_threshold): Likewise.
41231 (__exp): Call __ieee754_exp before checking for overflow and
41232 underflow.
41233 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41234 (u_threshold): Likewise.
41235 (__expf): Call __ieee754_expf before checking for overflow and
41236 underflow.
41237 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41238 (u_threshold): Likewise.
41239 (__expl): Call __ieee754_expl before checking for overflow and
41240 underflow.
41241 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41242 (__ieee754_expl): Allow for and saturate large arguments.
41243 * math/libm-test.inc (exp_test): Add another test. Do not allow
41244 missing overflow exception on overflow.
41245 (expm1_test): Do not allow missing overflow exception on overflow.
41246
6698b8bf
JM
41247 * sysdeps/i386/fpu/e_expl.c: Move to ...
41248 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41249 rather than using inline asm.
41250 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41251 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41252 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41253
7b17aeda
JM
41254 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41255 (nice): Likewise.
41256 (poll): Likewise.
41257 (signal): Likewise.
41258 (time): Likewise.
41259 (times): Likewise.
41260
f7c85819
JM
412612012-05-04 Joseph Myers <joseph@codesourcery.com>
41262
41263 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41264 sysdeps/unix/common/syscalls.list.
41265 (fchmod): Likewise.
41266 (fchown): Likewise.
41267 (ftruncate): Likewise.
41268 (getrusage): Likewise.
41269 (gettimeofday): Likewise.
41270 (setpgid): Likewise.
41271 (setregid): Likewise.
41272 (setreuid): Likewise.
41273 (sigaction): Likewise.
41274 (truncate): Likewise.
41275 (vhangup): Likewise.
41276 * sysdeps/unix/common/syscalls.list: Remove file.
41277 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41278 * sysdeps/unix/sysv/linux/Implies: Likewise.
41279
336270d0
L
412802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41281
41282 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41284 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41285 Moved to ...
41286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41287 Here.
41288 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41289 to ...
41290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41291 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41292 to ...
41293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41294 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41295 to ...
41296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41297 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41298 to ...
41299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41300 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41301 to ...
41302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41303 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41304 to ...
41305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41306 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41307 to ...
41308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41309 Here.
41310 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41311 to ...
41312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41313 Here.
41314 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41315 to ...
41316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41317 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41318 Moved to ...
41319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41320 Here.
41321 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41322 to ...
41323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41324
d128e450
JM
413252012-05-04 Joseph Myers <joseph@codesourcery.com>
41326
fa8ee516
JM
41327 * sysdeps/unix/common/bits/dirent.h: Remove file.
41328 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41329
d128e450
JM
41330 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41331 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41332 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41333 * sysdeps/unix/bsd/isatty.c: Likewise.
41334 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41335 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41336 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41337
ff8faaf0 413382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 41339
62881be4 41340 [BZ #13563]
31dc8730
AZ
41341 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41342 long double comparison inaccuracies.
41343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41345
6fef930c
AS
413462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41347
41348 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41350
8f203e6c
JM
413512012-05-04 Joseph Myers <joseph@codesourcery.com>
41352
41353 [BZ #14049]
41354 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41355 nonzero digits before rounding a hex value.
41356 * stdlib/tst-strtod.c (tests): Add another test.
41357
5197d9c2
AK
413582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41359
41360 * sysdeps/s390/fpu/libm-test-ulps: Update.
41361
f0c1dedf
AJ
413622012-05-03 Andreas Jaeger <aj@suse.de>
41363
41364 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41365 does not get optimized out.
41366 (malloc_opt_barrier): New.
41367
a65ef2ae 413682012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 41369 Roland McGrath <roland@hack.frob.com>
a65ef2ae 41370
2b942cb7 41371 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 41372 intermediate file deletion.
2b942cb7 41373 (generated): Add .symlist files.
a65ef2ae 41374
54b71e02
JM
413752012-05-03 Joseph Myers <joseph@codesourcery.com>
41376
41377 [BZ #13775]
41378 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41379 Redirect under this condition.
41380 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41381 [__USE_GNU] (__dprintf_chk): Not under this condition.
41382 [__USE_GNU] (__vdprintf_chk): Likewise.
41383 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41384 under this condition.
41385 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41386 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41387 [__USE_XOPEN2K8] (vdprintf): Likewise.
41388 [__USE_GNU] (__dprintf_chk): Not under this condition.
41389 [__USE_GNU] (__vdprintf_chk): Likewise.
41390 [__USE_GNU] (dprintf): Likewise.
41391 [__USE_GNU] (vdprintf): Likewise.
41392
d3dfcc41
RM
413932012-05-03 Roland McGrath <roland@hack.frob.com>
41394
41395 * elf/Makefile (common-generated): Set this instead of generated for
41396 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41397 $(all-built-dso)-derived lists.
41398
7ac30cc5
AJ
413992012-05-03 Andreas Jaeger <aj@suse.de>
41400
0c51e550
AJ
41401 * sysdeps/i386/fpu/libm-test-ulps: Update.
41402
7ac30cc5
AJ
41403 * FAQ: Removed.
41404 * FAQ.in: Likewise.
41405 * scripts/gen-FAQ.pl: Likewise.
41406 * manual/install.texi (Installation): Point to online location of
41407 FAQ.
41408 * Makefile (files-for-dist): Remove FAQ.
41409 (FAQ): Remove.
41410
d4c2917f
AM
414112012-05-02 Allan McRae <allan@archlinux.org>
41412
41413 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41414 (LDFLAGS-reldepmod5.so): Likewise.
41415 (LDFLAGS-reldep6mod1.so): Likewise.
41416 (LDFLAGS-reldep6mod4.so): Likewise.
41417 (LDFLAGS-reldep8mod3.so): Likewise.
41418 (LDFLAGS-unload4mod1.so): Likewise.
41419 (LDFLAGS-unload4mod2.so): Likewise.
41420 (LDFLAGS-tst-initorder): Likewise.
41421 (LDFLAGS-tst-initordera2.so): Likewise.
41422 (LDFLAGS-tst-initordera3.so): Likewise.
41423 (LDFLAGS-tst-initordera4.so): Likewise.
41424 (LDFLAGS-tst-initorderb2.so): Likewise.
41425 (LDFLAGS-noload): Likewise.
41426 (LDFLAGS-next): Likewise.
41427 (LDFLAGS-order2mod1.so): Likewise.
41428 (LDFLAGS-order2mod2.so): Likewise.
41429 (LDFLAGS-tst-initorder2): Likewise.
41430 (LDFLAGS-tst-initorder2a.so): Likewise.
41431 (LDFLAGS-tst-initorder2b.so): Likewise.
41432 (LDFLAGS-tst-initorder2c.so): Likewise.
41433 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41434
d77f993f
DM
414352012-05-02 David S. Miller <davem@davemloft.net>
41436
41437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41438
171a70b4
PP
414392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41440
41441 [BZ #14055]
41442 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41443
0be196ad
AJ
414442012-05-02 Andreas Jaeger <aj@suse.de>
41445
41446 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41447 since we manipulate rounding mode.
41448 (CPPFLAGS-test-idouble.c): Likewise.
41449 (CPPFLAGS-test-ifloat.c): Likewise.
41450 (CFLAGS-test-ldouble.c): Likewise.
41451 (CFLAGS-test-double.c): Likewise.
41452 (CFLAGS-test-float.c): Likewise.
41453 (CFLAGS-test-misc.c): Likewise.
41454 (CFLAGS-test-test-fenv.c): Likewise.
41455
4f9d04aa
AZ
414562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41457
2b942cb7
RM
41458 [BZ #2550]
41459 [BZ #2570]
41460 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41461 comparisons to determine direction to adjust input.
4f9d04aa 41462
82a79e7d
RM
414632012-05-01 Roland McGrath <roland@hack.frob.com>
41464
f5a01ca9
RM
41465 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41466 output to the target.
41467
90fe4186
RM
41468 * scripts/localplt.awk: New file.
41469 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41470 (check-localplt-CFLAGS): Variable removed.
41471 ($(all-built-dso:=.jmprel)): New static pattern rule.
41472 (generated): Add those targets.
41473 (localplt-built-dso): New variable.
41474 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41475
41476 * elf/check-localplt.c: File removed.
41477
82397ed6
RM
41478 * scripts/check-execstack.awk: New file.
41479 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41480 (check-execstack-CFLAGS): Variable removed.
41481 ($(objpfx)check-execstack.h): Target removed.
41482 ($(objpfx)execstack-default): New target.
41483 (generated): Add that instead of check-execstack.h.
41484 ($(all-built-dso:=.phdr)): New static pattern rule.
41485 (generated): Add those targets.
41486 * elf/check-execstack.c: File removed.
41487
82a79e7d
RM
41488 * scripts/check-textrel.awk: New file.
41489 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41490 (check-textrel-CFLAGS): Variable removed.
41491 (all-built-dso): Use := to define.o
41492 ($(all-built-dso:=.dyn)): New static pattern rule.
41493 (generated): Add those targets.
41494 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41495 * config.make.in (READELF): New substituted variable.
41496 * elf/check-textrel.c: File removed.
41497
62fde54f 414982012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 41499
615605c9
JM
41500 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41501 allow.
41502 * conform/data/ctype.h-data [C99-based standards] (isblank):
41503 Expect function.
41504 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41505 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41507 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41508 Specify type. Require positive value.
41509 (EILSEQ): Likewise.
41510 (ERANGE): Likewise.
41511 [ISO || POSIX] (EILSEQ): Do not expect.
41512 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41513 Specify type. Require positive value.
41514 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41515 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41516 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41517 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41518 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41519 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41520 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41521 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41522 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41523 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41524 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41525 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41526 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41527 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41528 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41529 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41530 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41531 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41532 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41533 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41534 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41535 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41536 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41537 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41538 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41539 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41540 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41541 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41542 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41543 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41544 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41545 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41546 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41547 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41548 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41549 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41550 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41551 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41552 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41553 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41554 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41555 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41556 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41557 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41558 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41559 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41560 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41561 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41562 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41563 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41564 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41565 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41566 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41567 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41568 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41569 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41570 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41571 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41572 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41573 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41574 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41575 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41576 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41577 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41578 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41579 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41580 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41581 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41582 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41583 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41584 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41585 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41586 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41587 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41588 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41589 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41590 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41591 Require >= 2.
41592 (FLT_ROUNDS): Expect as macro, not constant.
41593 (FLT_MANT_DIG): Use macro-int-constant.
41594 (DBL_MANT_DIG): Likewise.
41595 (LDBL_MANT_DIG): Likewise.
41596 (FLT_DIG): Likewise.
41597 (DBL_DIG): Likewise.
41598 (LDBL_DIG): Likewise.
41599 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41600 (DBL_MIN_EXP): Likewise.
41601 (LDBL_MIN_EXP): Likewise.
41602 (FLT_MAX_EXP): Use macro-int-constant.
41603 (DBL_MAX_EXP): Likewise.
41604 (LDBL_MAX_EXP): Likewise.
41605 (FLT_MAX_10_EXP): Likewise.
41606 (DBL_MAX_10_EXP): Likewise.
41607 (LDBL_MAX_10_EXP): Likewise.
41608 (FLT_MAX): Use macro-constant.
41609 (DBL_MAX): Likewise.
41610 (LDBL_MAX): Likewise.
41611 (FLT_EPSILON): Use macro-constant. Give upper bound.
41612 (DBL_EPSILON): Likewise.
41613 (LDBL_EPSILON): Likewise.
41614 (FLT_MIN): Likewise.
41615 (DBL_MIN): Likewise.
41616 (LDBL_MIN): Likewise.
41617 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41618 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41619 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41620 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41621 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41622 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41623 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41624 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41625 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41626 [ISO11] (FLT_TRUE_MIN): Likewise.
41627 [ISO11] (LDBL_TRUE_MIN): Likewise.
41628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41629 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41630 (SCHAR_MIN): Use macro-int-constant. Specify type.
41631 (SCHAR_MAX): Likewise.
41632 (UCHAR_MAX): Likewise.
41633 (CHAR_MIN): Likewise.
41634 (CHAR_MAX): Likewise.
41635 (MB_LEN_MAX): Use macro-int-constant.
41636 (SHRT_MIN): Use macro-int-constant. Specify type.
41637 (SHRT_MAX): Likewise.
41638 (USHRT_MAX): Likewise.
41639 (INT_MAX): Likewise.
41640 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41641 bound negative.
41642 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41643 bound with "U".
41644 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41645 bound with "L".
41646 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41647 bound negative. Suffix upper bound with "L".
41648 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41649 bound with "UL".
41650 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41651 Specify type.
41652 [C99-based standards] (LLONG_MAX): Likewise.
41653 [C99-based standards] (ULLONG_MAX): Likewise.
41654 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41655 == 0.
41656 [ISO11] (max_align_t): Require type.
41657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41658
c9140a62
JM
41659 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41660 from $CFLAGS, without defining away __attribute__ calls.
41661 (checknamespace): Use $CFLAGS_namespace.
41662
9af0bf29
JM
41663 * conform/conformtest.pl (@keywords): Only include C99 keywords
41664 for standards based on C99 or C11.
41665
343222a2
JM
41666 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41667 Disable tests.
41668 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41669 UNIX98]: Likewise.
41670
661f8cf0
JM
41671 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41672 usability of symbols in #if.
41673
ee74b9cb
JM
41674 * conform/conformtest.pl: If macro or constant types start
41675 "promoted:", expect the symbol to be of the following type
41676 promoted by the integer promotions.
62fde54f 41677
aafc49b3
JM
41678 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41679 in one place. Also handle "macro-constant".
41680
fefdf574
JM
41681 * conform/conformtest.pl: Only accept expected macro values with
41682 "==". Parse all "macro" lines in one place.
41683 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41684
f2d922fe
JM
41685 * conform/conformtest.pl: Handle braced types on "constant" lines
41686 instead of handling "typed-constant".
41687 * conform/data/signal.h-data: Use "constant" instead of
41688 "typed-constant".
41689
d22956c9
JM
41690 * conform/conformtest.pl: Handle "optional-" at start of lines in
41691 one place rather than duplicating several cases. Handle each
41692 format of "macro" line with initial "optional-".
41693
028e2e38
JM
41694 * conform/conformtest.pl: Only accept expected constant or
41695 optional-constant values with "==". Parse all "constant" lines in
41696 one place. Parse all "optional-constant" lines in one place.
41697 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41698 * conform/data/fmtmsg.h-data: Likewise.
41699 * conform/data/netinet/in.h-data: Likewise.
41700 * conform/data/tar.h-data: Likewise.
41701 * conform/data/limits.h-data: Use "==" form on "constant" and
41702 "optional-constant" lines.
41703
1b8f2850
JM
41704 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41705 Use -std=c99 for XOPEN2K.
41706 (@knownproblems): Remove.
41707 (newtoken): Don't check %isknown.
41708
a05a144b
JM
41709 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41710 Do not expect macro.
41711 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41712 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41713 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41714 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41715 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41716 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41717 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41718 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41719 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41720 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41721 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41722 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41723 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41724 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41725 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41726 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41727 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41728 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41729 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41730 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41731 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41732 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41733 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41734 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41735 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41736 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41737 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41738 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41739 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41740 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41741 [XPG3] (acosh): Likewise.
41742 [XPG3] (asinh): Likewise.
41743 [XPG3] (atanh): Likewise.
41744 [XPG3] (cbrt): Likewise.
41745 [XPG3] (expm1): Likewise.
41746 [XPG3] (ilogb): Likewise.
41747 [XPG3] (log1p): Likewise.
41748 [XPG3] (logb): Likewise.
41749 [XPG3] (nextafter): Likewise.
41750 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41751 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41752 [XPG3] (remainder): Likewise.
41753 [XPG3] (rint): Likewise.
41754 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41755 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41756 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41757 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41758 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41759 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41760 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41761 [UNIX98 || XOPEN2K] (scalb): Expect.
41762 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41763 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41764 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41765 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41766 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41767 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41768 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41769 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41770 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41771 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41772 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41773 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41774 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41775 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41776 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41777 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41778 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41779 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41780 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41781 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41782 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41783 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41784 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41785 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41786 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41787 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41788 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41789 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41790 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41791 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41792 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41793 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41794 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41795 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41796 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41797 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41798 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41799 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41800 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41801 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41802 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41803 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41804 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41805 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41806 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41807 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41808 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41809 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41810 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41811 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41812 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41813 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41814 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41815 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41816 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41817 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41818 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41819 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41820 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41821 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41822 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41823 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41824 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41825 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41826 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41827 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41828 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41829 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41830 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41831 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41832 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41833 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41834 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41835 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41836 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41837 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41838 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41839 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41840 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41841 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41842 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41843 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41844 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41845 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41846 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41847 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41848 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41849 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41850 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41851 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41852 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41853 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41854 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41855 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41856 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41857 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41858 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41859 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41860 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41861 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41862 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41863 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41864 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41865 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41866 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41867 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41868 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41869 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41870 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41871 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41872 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41873 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41874 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41875 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41876 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41877 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41878 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41879 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41880 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41881 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41882 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41883 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41884 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41885 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41886 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41887 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41888 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41889 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41890 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41891 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41892 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41893 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41894 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41895 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41896 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41897 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41898 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41899
73c5ebe3
JM
41900 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41901 _XOPEN_SOURCE_EXTENDED for XPG4.
41902
39c33b6c
JM
41903 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41904
62fde54f
JM
41905 * Makeconfig (localtime): Remove variable.
41906 (inst_localtime-file): Likewise.
41907
0741d64c
AS
419082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41909
41910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41911 Update.
41912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41913 Update.
41914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41915 Update.
41916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41917 Update.
41918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41919 Update.
41920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41921 Update.
41922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41923 Update.
41924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41925 Update.
41926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41927 Update.
41928
7cb029ee
JM
419292012-05-01 Joseph Myers <joseph@codesourcery.com>
41930
41931 [BZ #2550]
41932 [BZ #2570]
41933 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41934 comparisons to determine direction to adjust input.
41935 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41936 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41937 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41938 Likewise.
41939 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41940 Likewise.
41941 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41942 Likewise.
41943 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41944 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41945 Likewise.
41946 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41947 Likewise.
41948 * math/libm-test.inc (nexttoward_test): Add more tests.
41949
412bd966
AS
419502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41951
41952 [BZ #14040]
41953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41954 in version GLIBC_2.1, not GLIBC_2.0.
41955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41956 Likewise.
41957
9568c0c2
JM
419582012-04-30 Joseph Myers <joseph@codesourcery.com>
41959
adfbc8ac
JM
41960 [BZ #13942]
41961 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41962 (1 - x) * (1 + x).
41963 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41964 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41965 * math/libm-test.inc (acos_test): Add more tests.
41966 (asin_test): Likewise.
41967 * sysdeps/i386/fpu/libm-test-ulps: Update.
41968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41969
5ba3cc69
JM
41970 [BZ #14034]
41971 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41972 of square root.
41973 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41974 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41975 * math/libm-test.inc (acos_test_tonearest): New function.
41976 (acos_test_towardzero): Likewise.
41977 (acos_test_downward): Likewise.
41978 (acos_test_upward): Likewise.
41979 (asin_test_tonearest): Likewise.
41980 (asin_test_towardzero): Likewise.
41981 (asin_test_downward): Likewise.
41982 (asin_test_upward): Likewise.
41983 (main): Call the new functions.
41984 * sysdeps/i386/fpu/libm-test-ulps: Update.
41985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41986
9568c0c2
JM
41987 [BZ #13884]
41988 [BZ #13924]
41989 * math/e_exp10.c: Include <float.h>.
41990 (__ieee754_exp10): Handle underflow here rather than multiplying
41991 large negative argument by M_LN10.
41992 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41993 of __ieee754_expf.
41994 * math/e_exp10l.c: Include <float.h>.
41995 (__ieee754_exp10l): Handle underflow here rather than multiplying
41996 large negative argument by M_LN10l.
41997 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41998 spurious overflow exception on underflow.
41999
5ac3ea17
MP
420002012-04-29 Marek Polacek <polacek@redhat.com>
42001
42002 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42003 (__fortify_function): New macro.
42004 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42005 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42006 __extern_always_inline.
42007 * libio/bits/stdio2.h: Likewise.
42008 * libio/bits/stdio.h: Likewise.
42009 * string/string.h: Likewise.
42010 * string/bits/string3.h: Likewise.
42011 * include/stdio.h: Likewise.
42012 * stdlib/bits/stdlib.h: Likewise.
42013 * stdlib/stdlib.h: Likewise.
42014 * rt/bits/mqueue2.h: Likewise.
42015 * rt/mqueue.h: Likewise.
42016 * posix/bits/unistd.h: Likewise.
42017 * posix/unistd.h: Likewise.
42018 * io/bits/poll2.h: Likewise.
42019 * io/bits/fcntl2.h: Likewise.
42020 * io/fcntl.h: Likewise.
42021 * io/sys/poll.h: Likewise.
42022 * misc/bits/syslog.h: Likewise.
42023 * misc/bits/syslog-ldbl.h: Likewise.
42024 * misc/sys/syslog.h: Likewise.
42025 * socket/bits/socket2.h: Likewise.
42026 * socket/sys/socket.h: Likewise.
42027 * debug/tst-chk1.c: Likewise.
42028 * wcsmbs/bits/wchar2.h: Likewise.
42029 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42030 * wcsmbs/wchar.h: Likewise.
42031
ecf0ebfb
AJ
420322012-04-29 Andreas Jaeger <aj@suse.de>
42033
42034 * Makerules (tests): Remove enable-check-abi protection.
42035 (check-abi-warn): Remove.
42036 (check-abi-%): Remove check-abi-warn usage.
42037
42038 * configure.in: Remove check-abi configure option.
42039 * configure: Regenerated.
42040 * config.make.in (enable-check-abi): Remove.
42041
6d5c57fa
AS
420422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42043
24c5d07e 42044 [BZ #14033]
ded5180a
AS
42045 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42046 double functions to double *_finite functions.
42047
7e0d315d
AS
42048 [BZ #13941]
42049 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42050 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42051 LDBL_MIN_EXP.
42052 * stdio-common/Makefile (tests): Add tst-sprintf3.
42053 * stdio-common/tst-sprintf3.c: New file.
42054
6d5c57fa
AS
42055 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42056 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42057
0749ff8b
JM
420582012-04-28 Joseph Myers <joseph@codesourcery.com>
42059
42060 * conform/conformtest.pl: Remove duplicate typed-constant
42061 handling.
42062
8dbd5d7b
DM
420632012-04-28 David S. Miller <davem@davemloft.net>
42064
42065 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42066 (check-abi-%): Remove AWK script prerequisite and explicit
42067 abilist directory.
42068 (check-abi): Rewrite to just diff the symlist with the abilist.
42069 (config-tls, config-abi-config): Delete, no longer used.
42070 (update-abi-%): Remove AWK script and explicit abilist directory.
42071 (update-abi): Rewrite to simply compare and conditionally copy the
42072 symlist and the sysdep abilist file. Remove update-abi-config
42073 checks.
42074 * abilist/ld.abilist: Remove.
42075 * abilist/libBrokenLocale.abilist: Remove.
42076 * abilist/libanl.abilist: Remove.
42077 * abilist/libcrypt.abilist: Remove.
42078 * abilist/libdl.abilist: Remove.
42079 * abilist/librt.abilist: Remove.
42080 * abilist/libthread_db.abilist: Remove.
42081 * abilist/libutil.abilist: Remove.
42082 * scripts/extract-abilist.awk: Remove.
42083 * scripts/merge-abilist.awk: Remove.
42084 * sysdeps/generic/libcidn.abilist: New file.
42085 * sysdeps/generic/libnss_compat.abilist: New file.
42086 * sysdeps/generic/libnss_db.abilist: New file.
42087 * sysdeps/generic/libnss_dns.abilist: New file.
42088 * sysdeps/generic/libnss_files.abilist: New file.
42089 * sysdeps/generic/libnss_hesiod.abilist: New file.
42090 * sysdeps/generic/libnss_nis.abilist: New file.
42091 * sysdeps/generic/libnss_nisplus.abilist: New file.
42092 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42093 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42094 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42095 file.
42096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42097 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42098 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42099 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42100 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42101 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42102 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42103 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42104 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42105 file.
42106 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42107 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42108 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42109 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42110 file.
42111 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42112 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42113 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42114 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42115 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42116 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42117 file.
42118 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42119 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42120 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42121 file.
42122 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42124 New file.
42125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42126 New file.
42127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42128 New file.
42129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42130 New file.
42131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42132 New file.
42133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42134 New file.
42135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42136 New file.
42137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42138 New file.
42139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42140 New file.
42141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42142 New file.
42143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42144 New file.
42145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42146 New file.
42147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42148 New file.
42149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42150 file.
42151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42152 New file.
42153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42154 New file.
42155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42156 file.
42157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42158 New file.
42159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42160 New file.
42161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42162 file.
42163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42164 New file.
42165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42166 New file.
42167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42168 New file.
42169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42170 New file.
42171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42172 New file.
42173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42174 New file.
42175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42177 file.
42178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42179 New file.
42180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42181 file.
42182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42183 file.
42184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42185 file.
42186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42187 file.
42188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42189 file.
42190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42191 New file.
42192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42193 file.
42194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42195 file.
42196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42197 New file.
42198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42199 file.
42200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42202 file.
42203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42204 New file.
42205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42206 file.
42207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42208 file.
42209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42210 file.
42211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42212 file.
42213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42214 file.
42215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42216 New file.
42217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42218 file.
42219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42220 file.
42221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42222 New file.
42223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42224 file.
42225 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42226 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42227 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42228 file.
42229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42230 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42231 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42232 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42233 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42234 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42235 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42236 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42237 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42238 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42241 file.
42242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42243 New file.
42244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42245 file.
42246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42247 file.
42248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42249 file.
42250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42251 file.
42252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42253 file.
42254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42255 New file.
42256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42257 New file.
42258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42259 file.
42260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42261 New file.
42262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42263 file.
42264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42266 file.
42267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42268 New file.
42269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42270 file.
42271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42272 file.
42273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42274 file.
42275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42276 file.
42277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42278 file.
42279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42280 New file.
42281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42282 New file.
42283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42284 file.
42285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42286 New file.
42287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42288 file.
42289
41d73a1b
JM
422902012-04-28 Joseph Myers <joseph@codesourcery.com>
42291
42292 * conform/conformtest.pl: Fix typo in handling typed-constant from
42293 allow-header.
42294
28aeeda4
JM
422952012-04-27 Joseph Myers <joseph@codesourcery.com>
42296
adae8f5e
JM
42297 * README: Cut down references to pre-2.6 Linux kernels and
42298 Linuxthreads. Update lists of configurations in libc and ports
42299 and sort alphabetically. Say "or newer" with Linux kernel version
42300 requirements.
42301
28aeeda4
JM
42302 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42303
a462cb63
RA
423042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42305
42306 [BZ #887]
42307 * math/libm-test.inc (logb_test_downward): New test to expose
42308 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42309 rounding mode.
42310
6ad3493e
JM
423112012-04-27 Joseph Myers <joseph@codesourcery.com>
42312
42313 [BZ #14027]
42314 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42315 to be done.
42316 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42317 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42318
2ce4f015
JM
423192012-04-26 Joseph Myers <joseph@codesourcery.com>
42320
5aeb141a
JM
42321 * sysdeps/unix/i386/brk.S: Remove file.
42322 * sysdeps/unix/i386/dl-brk.S: Likewise.
42323 * sysdeps/unix/i386/pipe.S: Likewise.
42324 * sysdeps/unix/i386/sigreturn.S: Likewise.
42325 * sysdeps/unix/i386/syscall.S: Likewise.
42326 * sysdeps/unix/i386/vfork.S: Likewise.
42327 * sysdeps/unix/i386/wait.S: Likewise.
42328
7143acae
JM
42329 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42330 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42331
2ce4f015
JM
42332 * configure.in (arm*-none*): Do not allow without
42333 --enable-hacker-mode.
42334 (netbsd*): Remove case setting base_os.
42335 (386bsd*): Likewise.
42336 (freebsd*): Likewise.
42337 (bsdi*): Likewise.
42338 (osf*): Likewise.
42339 (sunos*): Likewise.
42340 (ultrix*): Likewise.
42341 (newsos*): Likewise.
42342 (dynix*): Likewise.
42343 (*bsd*): Likewise.
42344 (sysv*): Likewise.
42345 (isc*): Likewise.
42346 (esix*): Likewise.
42347 (sco*): Likewise.
42348 (minix*): Likewise.
42349 (irix4*): Likewise.
42350 (irix6*): Likewise.
42351 (solaris[2-9]*): Likewise.
42352 (none): Likewise.
42353 * configure: Regenerated.
42354
0ac229c8
AZ
423552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42356
42357 [BZ #11521]
42358 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42359 overflow or cancellation in calculating denominator.
42360 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42361 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42362 down expression to avoid unexpected rounding in newer GCCs.
42363 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42364
33f244f4
DM
423652012-04-26 David S. Miller <davem@davemloft.net>
42366
42367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42368 long-double compat symbols.
42369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42382
cfa1f3e8
DM
423832012-04-25 David S. Miller <davem@davemloft.net>
42384
42385 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42386 HWCAP_* values only after the memory barriers have been defined.
42387 (atomic_full_barrier): Define.
42388 (atomic_read_barrier): Define.
42389 (atomic_write_barrier): Define.
42390
6e236b92
SP
423912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42392
42393 * shlib-versions: Add libgcc_s version information.
42394 * sysdeps/generic/libgcc_s.h: Remove.
42395 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42396 libgcc_s.h.
42397 * sysdeps/gnu/unwind-resume.c: Likewise.
42398 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42399
aab39a09
DM
424002012-04-25 David S. Miller <davem@davemloft.net>
42401
42402 * sysdeps/unix/sparc/brk.S: Delete.
42403 * sysdeps/unix/sparc/dl-brk.S: Delete.
42404 * sysdeps/unix/sparc/pipe.S: Delete.
42405 * sysdeps/unix/sparc/sysdep.S: Delete.
42406 * sysdeps/unix/sparc/sysdep.h: Delete.
42407 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
42408 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42409 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42411 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
42412 (JUMPTARGET): Remove.
42413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42414 sysdeps/unix/sparc/sysdep.h
42415 (ENTRY, END): Remove.
42416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42417
a3cc4f48
JM
424182012-04-25 Joseph Myers <joseph@codesourcery.com>
42419
2ed8cda2
JM
42420 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42421 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42422 -DIS_IN_build.
42423
35d76d59
JM
42424 * timezone/README: Update upstream location and email address for
42425 tzcode and tzdata.
42426 * timezone/zdump.c: Update from tzcode 2012b.
42427 * timezone/zic.c: Likewise.
42428
a3cc4f48
JM
42429 * configure.in (libc_cv_as_needed): Remove test.
42430 * configure: Regenerated.
42431 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42432 conditional definition.
42433 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42434 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42435 * config.make.in (have-as-needed): Remove variable.
42436
ceab42c3
SP
424372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42438 Paul Pluzhnikov <ppluzhnikov@google.com>
42439
42440 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42441 strings correctly.
42442
3ce2865f
CLT
424432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42444
42445 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42446 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42447 * sysdeps/sh/strlen.S: Likewise.
42448
f37e0d68
JM
424492012-04-24 Joseph Myers <joseph@codesourcery.com>
42450
ae186e9a
JM
42451 * sysdeps/unix/fork.S: Remove file.
42452 * sysdeps/unix/i386/fork.S: Likewise.
42453 * sysdeps/unix/sparc/fork.S: Likewise.
42454
b96914af
JM
42455 * sysdeps/unix/system.c: Remove file.
42456 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42457
f37e0d68
JM
42458 * sysdeps/unix/getegid.S: Remove file.
42459 * sysdeps/unix/geteuid.S: Likewise.
42460
87ef29ca
RM
424612012-04-24 Roland McGrath <roland@hack.frob.com>
42462
83bcd236
RM
42463 * scripts/check-localplt.awk: New file.
42464 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42465 of diff.
42466 * scripts/data/localplt-generic.data: Add a comment.
42467
87ef29ca
RM
42468 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42469 NODE when __dir_mkfile failed.
42470 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42471 Reported by Ludovic Courtès <ludo@gnu.org>.
42472
e5a6e567
AJ
424732012-04-24 Andreas Jaeger <aj@suse.de>
42474
42475 * Makerules (common-clean): Also remove gen-as-const-headers
42476 files.
42477
c1820385
JM
424782012-04-24 Joseph Myers <joseph@codesourcery.com>
42479
42480 * Makerules (native-compile): Do not change working directory for
42481 build. Use $(OUTPUT_OPTION) in command.
42482 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42483
94e02fc4
AZ
424842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42485
42486 [BZ #13886]
42487 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42488 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42489 * math/libm-test.inc (floor_test): Add more tests.
42490 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42491
3a533ca3
JM
424922012-04-24 Joseph Myers <joseph@codesourcery.com>
42493
940ab4b3
JM
42494 * sysdeps/unix/getdents.c: Remove file.
42495 * sysdeps/unix/sysv/getdents.c: Likewise.
42496 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42497
90e037bd
JM
42498 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42499 sysdeps/unix/mman/syscalls.list.
42500 (mmap): Likewise.
42501 (mprotect): Likewise.
42502 (msync): Likewise.
42503 (munmap): Likewise.
42504 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42505 * sysdeps/unix/mman/syscalls.list: Remove.
42506 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42507
3a533ca3
JM
42508 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42509 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42510 * configure: Regenerated.
42511 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42512 $(libgcc_s_suffix).
42513 * config.make.in (libgcc_s_suffix): Remove variable.
42514
1ad743de
JM
425152012-04-23 Joseph Myers <joseph@codesourcery.com>
42516
4ad451e2
JM
42517 * sysdeps/unix/sysv/gethostname.c: Move to ...
42518 * sysdeps/posix/gethostname.c: ... here.
42519
5e37ce39
JM
42520 * sysdeps/unix/execve.S: Remove file.
42521
1ad743de
JM
42522 * sysdeps/unix/_exit.S: Remove file.
42523
4e681b5b
AJ
425242012-04-23 Andreas Jaeger <aj@suse.de>
42525
42526 [BZ #13739]
42527 * manual/Makefile: Remove make dist support, there's no
42528 need for a stand-alone documentation tar ball.
42529 (TEXI2DVI): Define always, it's not in Makeconfig.
42530 (dist): Removed.
42531 (tar-it): Removed.
42532 (edition): Removed.
42533 (glibc-doc-$(edition).tar): Removed
42534 (%.Z): Removed.
42535 (%.gz): Removed.
42536 (%.uu): Removed.
42537 (ETAGS): Remove, it's in Makeconfig.
42538 (move-if-change): Remove, it's in Makeconfig.
42539
38686a03 425402012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
42541
42542 [BZ #13970]
42543 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42544 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42545 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42546 (strtod_l, strtof_l, strtold_l): Remove __wur.
42547 It is not necessarily an error to ignore strtol's return value.
42548 One can reliably look at the stored endptr to decide whether
42549 the number had valid syntax.
42550
7c0616fa
AJ
425512012-04-21 Andreas Jaeger <aj@suse.de>
42552
803cb6b7 42553 [BZ #13739]
7c0616fa
AJ
42554 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42555
b0fe253f
JM
425562012-04-21 Joseph Myers <joseph@codesourcery.com>
42557
42558 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42559 * sysdeps/unix/sysv/Versions: Remove file.
42560
8280f22d
MT
425612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42562
42563 [BZ #13927]
42564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42565
75ce411f 425662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
42567
42568 [BZ #7064]
42569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42570 version from __vm86.
42571
097d59fa
JM
425722012-04-20 Joseph Myers <joseph@codesourcery.com>
42573
a90f3bcb
JM
42574 * sysdeps/unix/common/lxstat.c: Remove file.
42575 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42576
edc7ea78
JM
42577 * sysdeps/unix/sysv/Makefile: Remove file.
42578
cb78c221
JM
42579 * sysdeps/unix/sysv/direct.h: Remove file.
42580
efa6a45f
JM
42581 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42582 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42583 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42584 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42585 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42586 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42587 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42588
9c9f2d0c
JM
42589 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42590
4541c83b
JM
42591 * sysdeps/unix/xmknod.c: Remove file.
42592 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42593
f5d153a0
JM
42594 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42595
aa746595
JM
42596 * sysdeps/unix/sysv/i386/time.S: Remove file.
42597
cce5905e
JM
42598 * sysdeps/unix/fxstat.c: Remove file.
42599 * sysdeps/unix/xstat.c: Likewise.
42600 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42601
37fa3841
JM
42602 * sysdeps/unix/sysv/sigaction.c: Remove file.
42603
ff1962a3
JM
42604 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42605 (sysdep_headers): Remove variable.
42606 [termio.h not in sysdep_headers] (generated): Likewise.
42607 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42608 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42609 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42610 * sysdeps/unix/sysv/tcflow.c: Likewise.
42611 * sysdeps/unix/sysv/tcflush.c: Likewise.
42612 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42613 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42614 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42615 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42616 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42617
e7740d31
JM
42618 * sysdeps/unix/siglist.c: Remove file.
42619
ee06f18b
JM
42620 * sysdeps/unix/getppid.S: Remove file.
42621
097d59fa
JM
42622 * sysdeps/unix/mkdir.c: Remove file.
42623 * sysdeps/unix/rmdir.c: Likewise.
42624
ff3d51ec
AS
426252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42626
42627 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42628 ERR_MAX value.
42629 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42630 errlist-compat value.
42631
50f81fd7
DM
426322012-04-18 David S. Miller <davem@davemloft.net>
42633
42634 * sysdeps/generic/memcopy.h (reg_char): Delete.
42635 * debug/strcat_chk.c: Use char, not reg_char.
42636 * debug/strcpy_chk.c: Likewise.
42637 * debug/strncat_chk.c: Likewise.
42638 * debug/strncpy_chk.c: Likewise.
42639 * string/memchr.c: Likewise.
42640 * string/memrchr.c: Likewise.
42641 * string/rawmemchr.c: Likewise.
42642 * string/strcat.c: Likewise.
42643 * string/strchr.c: Likewise.
42644 * string/strchrnul.c: Likewise.
42645 * string/strcmp.c: Likewise.
42646 * string/strcpy.c: Likewise.
42647 * string/strncat.c: Likewise.
42648 * string/strncmp.c: Likewise.
42649 * string/strncpy.c: Likewise.
42650
8ff41c46
WS
426512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42652
42653 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42654 __builtin_memcopy is called when src and dest ranges are known to not
42655 overlap.
42656
6b652f46
WS
426572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42658
42659 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42660 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42661 fwd_align_merge macro call.
42662 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42663 bwd_align_merge macro call.
42664 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42665
b282631e
WS
426662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42667
42668 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42669 bwd_align_merge macros.
42670 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42671 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42672 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42673
95aa737c
DM
426742012-04-18 David S. Miller <davem@davemloft.net>
42675
42676 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42677
7a99a614
AJ
426782012-04-18 Andreas Jaeger <aj@suse.de>
42679
42680 [BZ# 6794]
42681 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42682 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42683 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42684
42685 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42686 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42687 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42688
42689 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42690 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42691 Adjust for changed ldbl-128 files.
42692
42693 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42694 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42695 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42696
e5270c23
DM
426972012-04-17 David S. Miller <davem@davemloft.net>
42698
42699 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42700
fb5e92c9
AS
427012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42702
42703 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42704 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42705 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42706 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42707 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42708 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42709
76da7265
AZ
427102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42711
42712 [BZ #6794]
42713 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42714 * math/libm-test.inc: Add ilogb errno and exception tests.
42715 * math/w_ilogb.c: New file: ilogb wrapper.
42716 * math/w_ilogbf.c: New file: ilogbf wrapper.
42717 * math/w_ilogbl.c: New file: ilogbl wrapper.
42718 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42719 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42720 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42721 exception being thrown with 0.0 as argument.
42722 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42723 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42724 exception being thrown with 0.0 as argument.
42725 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42726 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42727 exception being thrown with 0.0 as argument.
42728 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42729 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42730 exception being thrown with 0.0 as argument.
42731 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42732 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42733 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42734 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42735 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42736 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42737 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42738 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42739 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42740
0396e69d
PB
427412012-04-17 Petr Baudis <pasky@ucw.cz>
42742
42743 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42744 with altivec.
42745
750b5926
MP
427462012-04-16 Marek Polacek <polacek@redhat.com>
42747
42748 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42749
751728a1
MP
427502012-04-16 Marek Polacek <polacek@redhat.com>
42751
42752 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42753 operands of fdivp instruction.
42754
34a27407
L
427552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42756
42757 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42758 * elf/tst-auditmod3b.c: Likewise.
42759 * elf/tst-auditmod4b.c: Likewise.
42760 * elf/tst-auditmod5b.c: Likewise.
42761 * elf/tst-auditmod6b.c: Likewise.
42762 * elf/tst-auditmod6c.c: Likewise.
42763 * elf/tst-auditmod7b.c: Likewise.
42764 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42765 * sysdeps/x86_64/preconfigure.in: Likewise.
42766 * sysdeps/x86_64/preconfigure: Regenerated.
42767
7e73e17d
L
427682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42769
42770 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42771 __ILP32__.
42772
c7a6ab72
AB
427732012-04-13 Antoine Balestrat <merkil33@gmail.com>
42774
42775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42776 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42777
a9e8e0e0
CL
427782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42779
42780 [BZ #13973]
42781 * locale/iso-639.def: Fix gl language name. Spotted by
42782 Yaron Shahrabani.
42783
ec98af7d
RM
427842012-04-12 Roland McGrath <roland@hack.frob.com>
42785
42786 [BZ #2074]
42787 * libio/libio.h (__io_write_fn): Update comment.
42788
247c3ede
PB
427892012-04-12 Petr Baudis <pasky@ucw.cz>
42790
42791 [BZ #2074]
42792 * stdio.texi (Hook Functions): The user provided writer function
42793 is not allowed to return -1.
42794
55939d6d
DM
427952012-04-11 David S. Miller <davem@davemloft.net>
42796
42797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42798
90020f5a
MF
427992012-04-11 Mike Frysinger <vapier@gentoo.org>
42800
42801 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42802 Add a leading slash to rtkaio.
42803
288f9098
JM
428042012-04-11 Jim Meyering <meyering@redhat.com>
42805
90020f5a
MF
42806 [BZ #11959]
42807 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42808 It is not necessarily an error to ignore fwrite's return
42809 value. One can reliably use ferror to test for errors after
42810 the fact.
288f9098 42811
4be2b570
L
428122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42813
42814 * bits/types.h (__snseconds_t): New type.
42815 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42816
42817 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42819 (__SNSECONDS_T_TYPE): Likewise.
42820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42821 (__SNSECONDS_T_TYPE): Likewise.
42822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42823 (__SNSECONDS_T_TYPE): Likewise.
42824
288f9098 428252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42826
42827 [BZ #2636]
42828 * manual/time.texi (Processor Time): Return type of times is
42829 elapsed real time since an arbitrary point in the past.
42830 (CPU Time): Move CLK_TCK from here...
42831 (Processor Time): ...to here. Correct description.
42832 * manual/conf.texi (Constants for Sysconf): Correct description of
42833 _SC_CLK_TCK.
42834
d7dd4413
DM
428352012-04-10 David S. Miller <davem@davemloft.net>
42836
42837 [BZ #13967]
42838 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42839 where the is a gap between DT_REL(A) and DT_JMPREL.
42840
b46068fc
L
428412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42842
42843 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42844 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42845 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42846
73d65cc3
SP
428472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42848
42849 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42850 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42851 (dl_main): Handle --inhibit-cache.
42852 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42853 _dl_inhibit_cache.
42854 * elf/dl-load.c (_dl_map_object): Use it.
42855 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42856
bcc8d661
JM
428572012-04-09 Joseph Myers <joseph@codesourcery.com>
42858
8f9a2fae
JM
42859 [BZ #13872]
42860 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42861 (__ieee754_powl): Saturate large exponents rather than testing for
42862 overflow of y*log2(x).
42863 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42864 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42865 exceptions.
42866
bcc8d661
JM
42867 [BZ #11521]
42868 * math/s_ctan.c: Include <float.h>.
42869 (__ctan): Avoid internal overflow or cancellation in calculating
42870 denominator.
42871 * math/s_ctanf.c: Likewise.
42872 * math/s_ctanl.c: Likewise.
42873 * math/s_ctanh.c: Likewise.
42874 * math/s_ctanhf.c: Likewise.
42875 * math/s_ctanhl.c: Likewise.
42876 * math/libm-test.inc (ctan_test): Add more tests.
42877 (ctanh_test): Likewise.
42878 * sysdeps/i386/fpu/libm-test-ulps: Update.
42879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42880
823fbbb4
AJ
428812012-04-09 Andreas Jaeger <aj@suse.de>
42882
03879793
AJ
42883 [BZ #6894]
42884 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42885 is an optional BSD extension.
42886
823fbbb4
AJ
42887 [BZ #10254]
42888 * manual/stdio.texi (Opening Streams): Document additional fopen
42889 parameters.
42890
8de131cb
RM
428912012-04-09 Roland McGrath <roland@hack.frob.com>
42892
42893 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42894 %eax without telling the compiler.
42895
c0ed9d7d
CD
428962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42897
42898 [BZ # 13963]
42899 * manual/install.texi: Use sourceware.org.
42900
c483f6b4
JM
429012012-04-09 Joseph Myers <joseph@codesourcery.com>
42902
d7dd9453
JM
42903 [BZ #13873]
42904 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42905 (__ieee754_pow): Generate overflow and underflow using huge*huge
42906 and tiny*tiny rather than just returning constant infinity or zero
42907 for large exponents.
42908 * math/libm-test.inc (pow_test): Require overflow exceptions for
42909 applicable cases of large exponents.
42910
c483f6b4
JM
42911 [BZ #706]
42912 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42913 (__ieee754_pow): Use iterative multiplication algorithm only for
42914 integer exponents with absolute value below 1024. Check for odd
42915 integer exponents when using algorithm for real exponents.
42916 * math/libm-test.inc (pow_test): Add more tests.
42917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42918
d2de7579
JM
429192012-04-08 Joseph Myers <joseph@codesourcery.com>
42920
42921 [BZ #13705]
42922 * math/libm-test.inc (exp_test): Do not allow overflow exception
42923 on underflow test.
42924
f77f1232
AJ
429252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42926
42927 [BZ #13705]
42928 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42929 instead of __kernel_standard_f.
42930
3884932b
MF
429312012-04-08 Mike Frysinger <vapier@gentoo.org>
42932
42933 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42934 * sysdeps/x86_64/memset_chk.S: Likewise.
42935
54472e9c
AJ
429362012-04-08 Andreas Jaeger <aj@suse.de>
42937
6ab0fbfc
AJ
42938 [BZ #10153]
42939 * manual/startup.texi (Environment Access): Describe return value
42940 for putenv and setenv.
42941
61efba8c
AJ
42942 [BZ #6895]
42943 * manual/filesys.texi (Directory Entries): Add description for
42944 DT_LNK.
42945
95c3f29a
AJ
42946 [BZ #6890]
42947 * manual/filesys.texi (Directory Entries): Clarify that it's file
42948 system not operating system in the description of DT_UNKNOWN.
42949
54472e9c
AJ
42950 [BZ #6578]
42951 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42952
624254b1
SC
429532012-04-08 Stephen Compall <s11@member.fsf.org>
42954
42955 [BZ #6649]
42956 * manual/llio.texi (Opening and Closing Files): Add cross
42957 reference to explain mode argument.
42958
1e4920e0
MF
429592012-04-07 Mike Frysinger <vapier@gentoo.org>
42960
42961 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42962 * sysdeps/x86_64/memset_chk.S: Likewise.
42963
5ed848f3
DM
429642012-04-07 David S. Miller <davem@davemloft.net>
42965
42966 * elf/elf.h (R_SPARC_WDISP10): Define.
42967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42968 R_SPARC_SIZE32.
42969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42970 R_SPARC_SIZE64 and R_SPARC_H34.
42971
96154cd8
CD
429722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42973
42974 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42975 conditions and remove no longer applicable assertion.
42976
9904dc47
L
429772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42978
42979 * bits/byteswap.h: Include <features.h>.
42980 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42981 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42982
f8887d0a
L
429832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42984
42985 * bits/byteswap.h (__bswap_16): Removed.
42986 Include <bits/byteswap-16.h> to get __bswap_16.
42987 * sysdeps/i386/bits/byteswap.h: Likewise.
42988 * sysdeps/s390/bits/byteswap.h: Likewise.
42989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42990 * bits/byteswap-16.h: New file.
42991 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42992 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42993 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42994 * string/Makefile (headers): Add bits/byteswap-16.h.
42995
62470f60
PP
429962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42997
42998 [BZ #13895]
42999 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43000 extra indirection.
43001 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43002 * nss/tst-nss-static.c: New.
43003
4dad7bab
RM
430042012-04-06 Robert Millan <rmh@gnu.org>
43005
43006 [BZ #6486]
43007 * manual/llio.texi (File Position Primitive): lseek
43008 refers to WHENCE when it really means OFFSET.
43009
e9142a17
AJ
430102012-04-06 Andreas Jaeger <aj@suse.de>
43011
2c040eff
AJ
43012 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43013 strncmp declarations.
43014
e9142a17
AJ
43015 * abilist/libc.abilist: Add __poll and __ppoll.
43016
ff9f1c5f
DM
430172012-04-05 David S. Miller <davem@davemloft.net>
43018
dcd2ae90
DM
43019 * scripts/check-local-headers.sh: Accept a host triplet in the
43020 path matched by the exclude regexp.
43021
993eb054
DM
43022 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43023 definition.
43024 * sysdeps/powerpc/powerpc32/dl-machine.h
43025 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43026 * sysdeps/s390/s390-32/dl-machine.h
43027 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43028 * sysdeps/sparc/sparc32/dl-machine.h
43029 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43030 * sysdeps/sparc/sparc64/dl-machine.h
43031 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43032
ff9f1c5f
DM
43033 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43034 lazy binding.
48e2e132 43035 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
43036 undefined symbol errors.
43037
48e2e132 43038 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
43039 DT_NEEDED entries.
43040
e80d6f94
MM
430412012-04-05 Michael Matz <matz@suse.de>
43042
43043 [BZ #13592]
43044 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43045
349fa79f
AJ
430462012-04-05 Andreas Jaeger <aj@suse.de>
43047
43048 [BZ #13908]
43049 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43050 comment.
43051
f402708f
KK
430522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43053
43054 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43055 which ROUND is no valid rounding mode.
43056
2ecccfc9
KK
430572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43058
43059 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43060 read again.
43061 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43062
8a53f50f
KK
430632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43064
43065 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43066 an exception using FPU order intentionally.
43067
430682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43069
43070 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43071 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43072 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43073 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43074
d653abb7
SJ
430752012-04-05 Simon Josefsson <simon@josefsson.org>
43076
43077 [BZ #12340]
43078 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43079 EINVAL when BUFLEN is too smal.
43080
c3b1bf7d
TS
430812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43082
43083 [BZ #13553]
43084 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43085 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43086
b1aa60f3
AJ
430872012-04-03 Andreas Jaeger <aj@suse.de>
43088
c3b1bf7d 43089 [BZ #13938]
67f60a26
AJ
43090 * manual/setjmp.texi (System V contexts): Fix sentence.
43091
b1aa60f3
AJ
43092 [BZ #13926]
43093 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43094 New macro for this case.
43095 [!__GNUC__] (__bswap_64): New inline function for this case.
43096 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43097 * bits/byteswap.h: Likewise.
43098 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43099 ull, guard with __GLIBC_HAVE_LONG_LONG.
43100
43101 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43102 __GLIBC_HAVE_LONG_LONG.
43103
43104 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43105 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43106
39c59c35
TMQMF
431072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43108
43109 [BZ #13691]
43110 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43111 inptr and inend, rather than using last_ch.
43112
135ffda8
DM
431132012-04-02 David S. Miller <davem@davemloft.net>
43114
43115 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43116 * stdio-common/printf-parse.h (read_int): Change return type to
43117 'int', return -1 on INT_MAX overflow.
43118 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43119 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43120 overflows INT_MAX. Check for overflow of in-format-string precision
43121 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43122 SIZE_MAX not INT_MAX for integer overflow test.
43123 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43124 skip the construct in the format string but do not record anything.
43125 * stdio-common/bug22.c: Adjust to test both width/prevision
43126 INT_MAX overflow as well as total length INT_MAX overflow. Check
43127 explicitly for proper errno values.
43128
228c019e
TS
431292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43130
302cadd3
TS
43131 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43132 CHAR_MAX.
43133 * string/test-strcmp.c [! WIDE]: Likewise.
43134 * time/tst-mktime2.c: Likewise for INT_MAX.
43135 * string/test-string.h: #include <sys/param.h> for MIN.
43136
228c019e
TS
43137 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43138 * sysdeps/i386/init-first.c (init): Likewise.
43139 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43140 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43141 * sysdeps/sh/init-first.c (init): Likewise.
43142
cfa633f5
UD
431432012-04-01 Ulrich Drepper <drepper@gmail.com>
43144
43145 * po/ru.po: Update from translation team.
d1635ef8 43146 * po/vi.po: Likewise.
cfa633f5 43147
6cd0a5ea
SP
431482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43149
43150 * resolv/nss_dns/dns-host.c: Merge copyright years.
43151
4b43400f
LD
431522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43153
43154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43155 Optimize memcpy with prefetch if
43156 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43157 src, dst pointers have unequal 16 byte alignments.
43158
48c41d04
SP
431592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43160
43161 [BZ #13928]
43162 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43163 from a CNAME entry and return the minimum ttl for the query.
43164 (gaih_getanswer_slice): Likewise.
43165
b8dc394d
JL
431662012-03-30 Jeff Law <law@redhat.com>
43167
43168 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43169 due to long keys.
43170 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43171 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43172
2f5a5ed0
JL
43173 * resolv/nss_dns/dns-host.c: Update copyright year.
43174
1d39e359
UD
431752012-03-30 Ulrich Drepper <drepper@gmail.com>
43176
c030f70c 43177 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 43178 requests to save a system call. Fix check that all bytes are sent.
c030f70c 43179
1d39e359
UD
43180 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43181 comments for sendmmsg.
43182
431832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
43184
43185 [BZ #13691]
43186 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43187 with only 1 character between 0x0041 and 0x01b0.
43188 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43189 * wcsmbs/tst-mbsnrtowcs.c: New file.
43190
20fde227
DM
431912012-03-29 David S. Miller <davem@davemloft.net>
43192
43193 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43194 small copies by hand.
43195
984a4237
JL
431962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43197
43198 [BZ #13761]
57f41c40
AS
43199 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43200 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43201 group memberships.
984a4237 43202
18c9d62b
DM
432032012-03-28 David S. Miller <davem@davemloft.net>
43204
88d85d4f
DM
43205 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43206 that branches into memcpy.
43207 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43208 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43210 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43212 bits.
43213 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43214 implementation too.
43215 * sysdeps/sparc/mempcpy.S: New file.
43216
e5aa83e1
DM
43217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43218 the IFUNC routine in the libc case.
43219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43220
88570753
DM
43221 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43222 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43223 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43224 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43225 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43226 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43227 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43228 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43229
249d7567
DM
43230 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43231 loop to 256 bytes instead of 64 bytes and fix test signedness.
43232
18c9d62b
DM
43233 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43234 * sysdeps/sparc/sparc32/Makefile: rather than here...
43235 * sysdeps/sparc/sparc64/Makefile: and here.
43236
05f3d1f6
UD
432372012-03-28 Ulrich Drepper <drepper@gmail.com>
43238
43239 * malloc/mallocbug.c: Avoid warnings about unused variables.
43240
86ae07a8
JL
432412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43242
43243 [BZ #13760]
43244 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43245 in the right place. Discard and retry query if response is
43246 larger than input buffer size.
43247
41bf21a1
JM
432482012-03-28 Joseph Myers <joseph@codesourcery.com>
43249
d6270972
JM
43250 [BZ #369]
43251 [BZ #2678]
43252 [BZ #3866]
43253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43254 x for large integer exponent.
43255 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43256 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43257 sign of result as needed afterwards.
43258 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43259 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43260 result for underflowing pow the same as for overflow.
43261 (__kernel_standard_l): Handle powl overflow and underflow here
43262 rather than calling __kernel_standard.
43263 * math/libm-test.inc (pow_test): Add more tests.
43264
414fca03 43265 [BZ #3868]
41bf21a1
JM
43266 [BZ #13879]
43267 [BZ #13910]
43268 [BZ #13911]
43269 [BZ #13912]
43270 [BZ #13913]
43271 [BZ #13915]
43272 [BZ #13916]
43273 [BZ #13917]
43274 [BZ #13918]
43275 [BZ #13919]
43276 [BZ #13920]
43277 [BZ #13921]
43278 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43279 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43280 (__kernel_standard_l): New function.
43281 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43282 __kernel_standard.
43283 * math/w_acosl.c (__acosl): Likewise.
43284 * math/w_asinl.c (__asinl): Likewise.
43285 * math/w_atan2l.c (__atan2l): Likewise.
43286 * math/w_atanhl.c (__atanhl): Likewise.
43287 * math/w_coshl.c (__coshl): Likewise.
43288 * math/w_exp10l.c (__exp10l): Likewise.
43289 * math/w_exp2l.c (__exp2l): Likewise.
43290 * math/w_fmodl.c (__fmodl): Likewise.
43291 * math/w_hypotl.c (__hypotl): Likewise.
43292 * math/w_j0l.c (__j0l, __y0l): Likewise.
43293 * math/w_j1l.c (__j1l, __y1l): Likewise.
43294 * math/w_jnl.c (__jnl, __ynl): Likewise.
43295 * math/w_lgammal.c (__lgammal): Likewise.
43296 * math/w_log10l.c (__log10l): Likewise.
43297 * math/w_log2l.c (__log2l): Likewise.
43298 * math/w_logl.c (__logl): Likewise.
43299 * math/w_powl.c (__powl): Likewise.
43300 * math/w_remainderl.c (__remainderl): Likewise.
43301 * math/w_scalbl.c (sysv_scalbl): Likewise.
43302 * math/w_sinhl.c (__sinhl): Likewise.
43303 * math/w_sqrtl.c (__sqrtl): Likewise.
43304 * math/w_tgammal.c (__tgammal): Likewise.
43305 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43306 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43307 * math/libm-test.inc (acos_test): Add more tests.
43308 (acosh_test): Likewise.
43309 (asin_test): Likewise.
43310 (atanh_test): Likewise.
43311 (exp_test): Likewise.
43312 (exp10_test): Likewise.
43313 (exp2_test): Likewise.
43314 (expm1_test): Likewise.
43315 (lgamma_test): Likewise.
43316 (log_test): Likewise.
43317 (log10_test): Likewise.
43318 (log1p_test): Likewise.
43319 (log2_test): Likewise.
43320 (pow_test): Do not allow some spurious overflow exceptions.
43321 (sqrt_test): Add more tests.
43322 (tgamma_test): Likewise.
43323 (y0_test): Likewise.
43324 (y1_test): Likewise.
43325 (yn_test): Likewise.
43326
dd62fda6
AB
433272012-03-27 Anton Blanchard <anton@samba.org>
43328
43329 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43330 MAP_HUGETLB.
43331 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43332 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43333 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43334
1e3cdfda
AJ
433352012-03-27 David S. Miller <davem@davemloft.net>
43336
b855ab85
DM
43337 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43338
1e3cdfda
AJ
43339 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43340 have-as-vis3 check.
43341
433422012-03-27 Andreas Jaeger <aj@suse.de>
43343
43344 * sysdeps/x86_64/elf/configure.in: Moved to ...
43345 * sysdeps/x86_64/configure.in: ... here.
43346 * sysdeps/x86_64/elf/start.S: Moved to ...
43347 * sysdeps/x86_64/start.S: ... here.
43348 * sysdeps/x86_64/elf/configure: Delete.
43349
43350 * sysdeps/x86_64/configure.in: Merge contents from
43351 sysdeps/i386/configure.in (without i686 check).
43352
43353 * sysdeps/i386/elf/Versions: Merge into ...
43354 * sysdeps/i386/Versions: ... this.
43355 * sysdeps/i386/elf/Versions: Delete file.
43356 * sysdeps/i386/elf/start.S: Moved to ...
43357 * sysdeps/i386/start.S: ...here.
43358 * sysdeps/i386/elf/configure.in: Merge into...
43359 * sysdeps/i386/configure.in: ...here.
43360 * sysdeps/i386/elf/configure.in: Delete file.
43361 * sysdeps/i386/elf/configure: Delete file.
43362
43363 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43364 * debug/backtracesyms.c: ... here.
43365 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43366 * debug/backtracesymsfd.c: ... here.
43367 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43368 * sysdeps/generic/ifunc-sel.h: ... here.
43369
43370 * sysdeps/unix/i386/start.c: Delete file.
43371 * sysdeps/unix/sparc/start.c: Delete file.
43372 * sysdeps/unix/start.c: Delete file.
43373
43374 * sysdeps/sh/elf/configure.in: Moved to ...
43375 * sysdeps/sh/configure.in: ... here.
43376 * sysdeps/sh/elf/start.S: Moved to ...
43377 * sysdeps/sh/start.S: ... here.
43378 * sysdeps/sh/elf/configure: Delete file.
43379
43380 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43381 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43382 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43383 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43384 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43385 * sysdeps/powerpc/powerpc64/start.S: here.
43386 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43387 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43388 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43389 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43390 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43391
43392 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43393 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43394 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43395 * sysdeps/powerpc/powerpc32/start.S: ... here.
43396 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43397 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43398 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43399
43400 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43401 * sysdeps/powerpc/ifunc-sel.h: ... here.
43402 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43403 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43404
43405 * sysdeps/sparc/elf/configure.in: Moved to ...
43406 * sysdeps/sparc/configure.in: ... here.
43407 * sysdeps/sparc/elf/configure: Delete file.
43408 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43409 * sysdeps/sparc/sparc32/start.S: ... here.
43410 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43411 * sysdeps/sparc/sparc64/start.S: ... here.
43412 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43413 * sysdeps/sparc/sparc32/Makefile: ... this.
43414 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43415 * sysdeps/sparc/sparc64/Makefile: ... this.
43416
43417 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43418 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43419 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43420 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43421 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43422 * sysdeps/s390/s390-32/setjmp.S: ... here.
43423 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43424 * sysdeps/s390/s390-32/configure.in: ... here.
43425 * sysdeps/s390/s390-32/elf/configure: Delete file.
43426 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43427 * sysdeps/s390/s390-32/start.S: ... here.
43428
43429 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43430 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43431 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43432 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43433 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43434 * sysdeps/s390/s390-64/setjmp.S: ... here.
43435 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43436 * sysdeps/s390/s390-64/configure.in: ... here
43437 * sysdeps/s390/s390-64/elf/configure: Delete file.
43438 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43439 * sysdeps/s390/s390-64/start.S: ... here.
43440 * sysdeps/s390/s390-64/elf/configure: Delete.
43441
43442 * configure.in: Remove support for elf directories in sysdeps.
43443
43444 * configure: Regenerated.
43445 * sysdeps/i386/configure: Regenerated.
43446 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43447 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43448 * sysdeps/s390/s390-32/configure: Regenerated.
43449 * sysdeps/s390/s390-64/configure: Regenerated.
43450 * sysdeps/sh/configure: Regenerated.
43451 * sysdeps/sparc/configure: Regenerated.
43452 * sysdeps/x86_64/configure: Regenerated.
43453
a3f61311
AS
434542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43455
c876e002
AS
43456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43457
a3f61311
AS
43458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43459 denormal result into account.
43460
ac4c54f0
RM
434612012-03-25 Roland McGrath <roland@hack.frob.com>
43462
43463 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43464 Reported by Allan McRae <allan@archlinux.org>.
43465
6a9b9c02
JL
434662012-03-23 Jeff Law <law@redhat.com>
43467
43468 * nss/getnssent.c (__nss_getent): Fix typo.
43469
4c42a0c1
DM
434702012-03-23 David S. Miller <davem@davemloft.net>
43471
43472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43473
1532c7ac
L
434742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43475
43476 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43477 to pad to uint64_t for each field.
43478 (dl_tls_index): Replace unsigned long with uint64_t.
43479
3ff42526
PP
434802012-03-23 Daniel Jacobowitz <dmj@google.com>
43481 Paul Pluzhnikov <ppluzhnikov@google.com>
43482
43483 [BZ #6528]
43484 * grp/Makefile (otherlibs): Don't set it.
43485 * inet/Makefile (otherlibs): Likewise.
43486 * login/Makefile (otherlibs): Likewise.
43487 * nscd/Makefile (otherlibs): Likewise.
43488 * posix/Makefile (otherlibs): Likewise.
43489 * pwd/Makefile (otherlibs): Likewise.
43490 * rt/Makefile (otherlibs): Likewise.
43491 * sunrpc/Makefile (otherlibs): Likewise.
43492 * nss/Makefile (otherlibs): Likewise.
43493 Add libnss_files to routines and static-only-routines.
43494 ($(objpfx)getent): Remove rule.
43495 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43496 static-only-routines.
43497
7c69cd14
JM
434982012-03-22 Joseph Myers <joseph@codesourcery.com>
43499
43500 [BZ #13892]
43501 * math/s_cexp.c: Include <float.h>.
43502 (__cexp): Handle exp result overflowing not necessarily
43503 overflowing both real and imaginary parts of result.
43504 * math/s_cexpf.c: Likewise.
43505 * math/s_cexpl.c: Likewise.
43506 * math/libm-test.inc (cexp_test): Add more tests.
43507 * sysdeps/i386/fpu/libm-test-ulps: Update.
43508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43509
81b035fe
L
435102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43511
43512 * include/link.h (ELFW): New macro.
43513 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43514 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43515
1da7940c
L
435162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43517
43518 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43519 with uint64_t.
43520
b749dbb9
L
435212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43522
43523 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43524 declaration.
43525 (struct La_x32_retval): Likewise.
43526
2ff87f3f
L
435272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43528
43529 * sysdeps/x86_64/preconfigure.in: New file.
43530 * sysdeps/x86_64/preconfigure: New generated file.
43531
c0df8e69
JM
435322012-03-22 Joseph Myers <joseph@codesourcery.com>
43533
48e44791
JM
43534 [BZ #13824]
43535 * math/e_exp2l.c: Include <float.h>.
43536 (__ieee754_exp2l): Handle overflow and underflow cases
43537 separately. Only pass fractional part of argument to
43538 __ieee754_expl.
43539 * math/libm-test.inc (exp2_test): Add more tests.
43540
c0df8e69
JM
43541 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43542 negating x to take absolute value.
43543 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43544 Likewise.
43545 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43546 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43547 Likewise.
43548 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43549 computing low part if x was negated.
43550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43551
c8e43ba7
L
435522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43553
43554 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43555 la_x32_gnu_pltexit.
43556 (pltexit): Cast int_retval to ptrdiff_t.
43557 * elf/tst-auditmod3b.c: Likewise.
43558 * elf/tst-auditmod4b.c: Likewise.
43559 * elf/tst-auditmod5b.c: Likewise.
43560 * elf/tst-auditmod6b.c: Likewise.
43561 * elf/tst-auditmod6c.c: Likewise.
43562 * elf/tst-auditmod7b.c: Likewise.
43563
43564 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43565 and x32_gnu_pltexit.
43566
43567 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43568 __ELF_NATIVE_CLASS.
43569 (La_x32_regs): New macro.
43570 (La_x32_retval): Likewise.
43571 (la_x32_gnu_pltenter): New function prototype.
43572 (la_x32_gnu_pltexit): Likewise.
43573
7998fa78
AS
435742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43575
dcb33988
AS
43576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43577 exponent.
43578
233fc563
AS
43579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43580
7998fa78
AS
43581 * configure.in (libc_cv_cc_nofma): Check for option to disable
43582 generation of FMA instructions.
43583 * configure: Regenerate.
43584 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43585 * sysdeps/ieee754/dbl-64/Makefile: New file.
43586 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43587 Remove brandred-fma4.
43588 (CFLAGS-brandred-fma4.c): Remove.
43589 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43590 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43591 define.
43592 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43593 define.
43594
8e95c99a
L
435952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43596
43597 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43598 LLONG_MAX != LONG_MAX.
43599 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43600 (_fitoa_word): Likewise.
43601 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43602 LLONG_MAX != LONG_MAX.
43603 * stdio-common/_itowa.h: Include <_itoa.h>.
43604 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43605 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43606 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43607 only if not defined.
43608 (_ITOA_WORD_TYPE): Likewise.
43609 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43610 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43611
6f4db457
DM
436122012-03-21 David S. Miller <davem@davemloft.net>
43613
43614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43615
7785fe5a
L
436162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43617
43618 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43619 of x86_64 when setting libc_cv_slibdir, libdir and
43620 libc_cv_localedir.
43621 * sysdeps/unix/sysv/linux/configure: Regenerated.
43622
4535cd55
JM
436232012-03-21 Joseph Myers <joseph@codesourcery.com>
43624
43625 * manual/lang.texi (Old Varargs): Remove section.
43626 (How Variadic): Update menu.
43627 (va_start): Do not mention varargs.h.
43628
17228132
TS
436292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43630 Joseph Myers <joseph@codesourcery.com>
43631
43632 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43633 link test.
43634 * configure: Regenerated.
43635
8149f976
TS
436362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43637
05f3d1f6
UD
43638 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43639 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43640 conformtest.pl
8149f976 43641
1a4ac776
JM
436422012-03-21 Joseph Myers <joseph@codesourcery.com>
43643
be22ce65
JM
43644 * NOTES: Remove.
43645 * Makefile (files-for-dist): Remove NOTES.
43646 (NOTES): Remove rule.
43647 * README: Don't refer to NOTES.
43648 * manual/creature.texi: Don't include macros.texi.
43649 * manual/intro.texi (creature.texi): Remove comment referring to
43650 NOTES.
43651
40b601fb
JM
43652 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43653 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43654 * configure: Regenerated.
43655 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43656 LIBC_TRY_CC_OPTION.
43657 (libc_cv_as_i686): Likewise.
43658 (libc_cv_cc_avx): Likewise.
43659 (libc_cv_cc_sse2avx): Likewise.
43660 (libc_cv_cc_fma4): Likewise.
43661 (libc_cv_cc_novzeroupper): Likewise.
43662 * sysdeps/i386/configure: Regenerated.
43663
1a4ac776
JM
43664 [BZ #13883]
43665 * sysdeps/i386/fpu/s_cexp.S: Remove.
43666 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43667 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43668 * math/libm-test.inc (cexp_test): Add more tests.
43669 * sysdeps/i386/fpu/libm-test-ulps: Update.
43670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43671
a458e7fe
AM
436722012-03-21 Allan McRae <allan@archlinux.org>
43673
43674 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43675
0cb7efc5
JM
436762012-03-21 Joseph Myers <joseph@codesourcery.com>
43677
43678 [BZ #13871]
43679 * math/w_exp2.c: Do not include <float.h>.
43680 (o_threshold, u_threshold): Remove.
43681 (__exp2): Calculate result before checking finiteness and calling
43682 __kernel_standard.
43683 * math/w_exp2f.c: Likewise.
43684 * math/w_exp2l.c: Likewise.
43685 * math/libm-test.inc (exp2_test): Require overflow exception for
43686 1e6 input.
2460d3aa
JM
43687
43688 [BZ #3866]
43689 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43690 range of signed 64-bit integers before using fistpll. Remove
43691 checks for whether integers fit in mantissa bits.
43692 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43693 the range of signed 32-bit integers before using fistpl. Remove
43694 checks for whether integers fit in mantissa bits.
43695 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43696 (__ieee754_powl): Test for y outside the range of signed 64-bit
43697 integers before using fistpll. Reduce 64-bit values to 63-bit
43698 ones as needed.
43699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43700 divide-by-zero is raised for zero to large negative powers.
43701 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43702 (__ieee754_powl): Test for y outside the range of signed 64-bit
43703 integers before using fistpll. Reduce 64-bit values to 63-bit
43704 ones as needed.
43705 * math/libm-test.inc (pow_test): Add more tests.
43706
eb96ffb0
L
437072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43708
43709 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43710 <stdio-common/_itoa.h>.
43711 * debug/segfault.c: Likewise.
43712 * elf/dl-cache.c: Likewise.
43713 * elf/dl-minimal.c: Likewise.
43714 * elf/dl-misc.c: Likewise.
43715 * elf/dl-sysdep.c: Likewise.
43716 * elf/dl-version.c: Likewise.
43717 * elf/rtld.c: Likewise.
43718 * hurd/hurdsock.c: Likewise.
43719 * hurd/lookup-retry.c: Likewise.
43720 * malloc/malloc.c: Likewise.
43721 * malloc/mtrace.c: Likewise.
43722 * nscd/nscd_getgr_r.c: Likewise.
43723 * nscd/nscd_getpw_r.c: Likewise.
43724 * nscd/nscd_getserv_r.c: Likewise.
43725 * posix/getopt_init.c: Likewise.
43726 * posix/wordexp.c: Likewise.
43727 * stdio-common/_itoa.c: Likewise.
43728 * stdio-common/printf_fphex.c: Likewise.
43729 * stdio-common/vfprintf.c: Likewise.
43730 * string/_strerror.c: Likewise.
43731 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43732 * sysdeps/i386/i686/hp-timing.h: Likewise.
43733 * sysdeps/mach/_strerror.c: Likewise.
43734 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43735 * sysdeps/mach/hurd/sethostid.c: Likewise.
43736 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43737 * sysdeps/mach/xpg-strerror.c: Likewise.
43738 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43739 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43740 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43741 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43742 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43743 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43744 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43745 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43746 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43747 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43748 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43749 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43750 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43751 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43752 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43753 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43754 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43755 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43756 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43757 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43758 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43759
43760 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43761
43762 * stdio-common/_itoa.h: Moved to ...
43763 * sysdeps/generic/_itoa.h: Here.
43764
43765 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43766
43767 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43768 instead of "_itoa.h" and "_itowa.h".
43769 * stdio-common/vfprintf.: Likewise.
43770
d1af992d
L
437712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43772
43773 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43774 <bits/wordsize.h>.
43775 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43776 (__signbit): Likwise.
43777 (llrintf): Likwise.
43778 (llrint): Likwise.
43779
114883e0
L
437802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43781
43782 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43783 __WORDSIZE != 64.
43784
c135cc1b
JM
437852012-03-20 Joseph Myers <joseph@codesourcery.com>
43786
43787 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43788 OVERFLOW_EXCEPTION_OK.
43789 * math/libm-test.inc ("Philosophy"): Update comment about
43790 exception testing.
43791 (OVERFLOW_EXCEPTION): Define.
43792 (OVERFLOW_EXCEPTION_OK): Likewise.
43793 (INVALID_EXCEPTION_OK): Renumber.
43794 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43795 (IGNORE_ZERO_INF_SIGN): Likewise.
43796 (test_exceptions): Handle FE_OVERFLOW.
43797 (exp10_test): Expect overflow exceptions.
43798 (exp2_test): Likewise.
43799 (expm1_test): Likewise.
43800 (nextafter_test): Likewise.
43801 (pow_test): Likewise.
43802 (scalbn_test): Likewise.
43803 (scalbln_test): Likewise.
43804
95443d88
L
438052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43806
43807 * sysdeps/x86_64/bits/atomic.h
43808 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43809 64bit integer.
43810 (atomic_exchange_acq): Likewise.
43811 (__arch_exchange_and_add_body): Likewise.
43812 (__arch_add_body): Likewise.
43813 (atomic_add_negative): Likewise.
43814 (atomic_add_zero): Likewise.
43815
490df6c4
L
438162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43817
c2722551 43818 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43819 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43820
5e52b189
L
438212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43822
43823 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43824 Check __x86_64__ instead of __WORDSIZE.
43825
a9879d4c
L
438262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43827
43828 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43829
5df98260
DM
438302012-03-19 David S. Miller <davem@davemloft.net>
43831
e1497744
DM
43832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43833
5df98260
DM
43834 * sysdeps/sparc/fpu/fenv_private.h: New file.
43835 * sysdeps/sparc/fpu/math_private.h: Use it.
43836 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43837 Remove.
57f41c40 43838 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43839 (libc_feholdexcept_setroundl): Remove.
43840 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43841 Remove.
43842 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43843 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43844
b4c35121
L
438452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43846
43847 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43848 int64_t instead of long int.
43849 (INSERT_WORDS64): Likwise.
43850
56965fd7
L
438512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43852
43853 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43854 _Unwind_GetCFA return to _Unwind_Ptr first.
43855
83d1aec8
JM
438562012-03-19 Joseph Myers <joseph@codesourcery.com>
43857
1897ad44
JM
43858 [BZ #13629]
43859 * math/s_clog.c: Include <float.h>.
43860 (__clog): Scale large or subnormal inputs.
43861 * math/s_clogf.c: Likewise.
43862 * math/s_clogl.c: Likewise.
43863 * math/s_clog10.c: Include <float.h>.
43864 (M_LOG10_2): Define.
43865 (__clog10): Scale large or subnormal inputs.
43866 * math/s_clog10f.c: Likewise.
43867 * math/s_clog10l.c: Likewise.
43868 * math/libm-test.inc (clog_test): Add more tests.
43869 (clog10_test): Likewise.
43870 * sysdeps/i386/fpu/libm-test-ulps: Update.
43871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43872
7726d6a9
JM
43873 [BZ #11451]
43874 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43875 x and y.
43876 * math/libm-test.inc (atan2_test): Add another test.
43877
83d1aec8
JM
43878 * Makerules (common-objdir-compile): Remove.
43879 * sysdeps/unix/Makefile (config-generated): Do not add
43880 $(unix-generated) to variable.
43881 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43882 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43883 Remove rule.
43884 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43885 Likewise.
43886 [generic bits/local_lim.h] (before-compile): Do not append to
43887 variable.
43888 [generic bits/local_lim.h] (common-generated): Likewise.
43889 [generic sys/param.h] (before-compile): Do not append to variable.
43890 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43891 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43892 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43893 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43894 include.
43895 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43896 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43897 [generic sys/param.h] ($(addprefix
43898 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43899 [generic sys/param.h] (common-generated): Do not append to
43900 variable.
43901 [generic sys/param.h] (sysdep_headers): Likewise.
43902 [generic bits/errno.h] (before-compile): Do not append to
43903 variable.
43904 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43905 rule.
43906 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43907 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43908 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43909 [generic bits/errno.h] (common-generated): Do not append to
43910 variable.
43911 [generic bits/ioctls.h] (before-compile): Do not append to
43912 variable.
43913 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43914 rule.
43915 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43916 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43917 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43918 rule.
43919 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43920 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43921 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43922 [generic bits/ioctls.h] (common-generated): Do not append to
43923 variable.
43924 [generic sys/syscall.h] (syscall.h): Remove variable.
43925 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43926 rule.
43927 [generic sys/syscall.h] (before-compile): Do not append to
43928 variable.
43929 [generic sys/syscall.h] (common-generated): Likewise.
43930 * sysdeps/unix/errnos-tmpl.c: Remove file.
43931 * sysdeps/unix/errnos.awk: Likewise.
43932 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43933 * sysdeps/unix/ioctls.awk: Likewise.
43934 * sysdeps/unix/mk-local_lim.c: Likewise.
43935 * sysdeps/unix/snarf-ioctls: Likewise.
43936
4851a949
RH
439372012-03-19 Richard Henderson <rth@twiddle.net>
43938
bd37f2ee
RH
43939 * sysdeps/i386/fpu/fenv_private.h: New file.
43940 * sysdeps/i386/fpu/math_private.h: Use it.
43941 (math_opt_barrier, math_force_eval): Remove.
43942 (libc_feholdexcept_setround_53bit): Remove.
43943 (libc_feupdateenv_53bit): Remove.
43944 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43945 (math_opt_barrier, math_force_eval): Remove.
43946 (libc_feholdexcept): Remove.
43947 (libc_feholdexcept_setround): Remove.
43948 (libc_fetestexcept, libc_fesetenv): Remove.
43949 (libc_feupdateenv_test): Remove.
43950 (libc_feupdateenv, libc_feholdsetround): Remove.
43951 (libc_feresetround): Remove.
43952
d0adc922
RH
43953 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43954 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43955
0fe0f1f8
RH
43956 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43957 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43958 (libc_feupdateenv_testl): New.
43959 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43960 (libc_feupdateenv_testf): New.
43961 (libc_feupdateenv): Use libc_feupdateenv_test.
43962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43963 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43964
eb92c487
RH
43965 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43966 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43967 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43968 (libc_feresetround_noex): New.
43969 (libc_feresetround_noexf): New.
43970 (libc_feresetround_noexl): New.
43971 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43972 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43973 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43974 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43975 SET_RESTORE_ROUND.
43976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43977 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43978 (__cos): Likewise.
43979 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43980 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43981 SET_RESTORE_ROUND_NOEX.
43982 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43983 SET_RESTORE_ROUND_NOEXF.
43984 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43985 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43986 (libc_feholdsetroundf): New.
43987 (libc_feresetround, libc_feresetroundf): New.
43988
7d2e8012
RH
43989 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43990 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43991 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43992
b4dabbb4
RH
43993 * sysdeps/generic/math_private.h: Include <fenv.h>.
43994 (default_libc_feholdexcept): New.
43995 (default_libc_feholdexcept_setround): New.
43996 (default_libc_fesetenv, default_libc_feupdateenv): New.
43997 (libc_feholdexcept): Only define if undefined.
43998 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43999 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44000 (libc_feholdexcept_setroundl): Likewise.
44001 (libc_feholdexcept_setround_53bit): Likewise.
44002 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44003 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44004 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44005 (libc_feupdateenv_53bit): Likewise.
44006 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44007 (libc_feholdexcept): Convert from macro to inline function.
44008 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44009 (libc_fesetenv, libc_feupdateenv): Likewise.
44010
4851a949
RH
44011 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44012 not previously defined.
44013 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44014 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44015 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44016 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44017 * sysdeps/ieee754/flt-32/math_private.h: New file.
44018 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44019 math_private.h below SET_FLOAT_WORD.
44020 (__isnan, __isinf_ns, __finite): Remove.
44021 (__isnanf, __isinf_nsf, __finitef): Remove.
44022
e79d442e
AS
440232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44024
44025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44026
90b80344
DM
440272012-03-17 David S. Miller <davem@davemloft.net>
44028
44029 [BZ #6471]
44030 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44031 for 2.16.
44032
edc21804
DM
440332012-03-16 David S. Miller <davem@davemloft.net>
44034
77e927af
DM
44035 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44036 warnings.
44037
374976dd
DM
44038 [BZ #6471]
44039 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44040 properly.
44041 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44042 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44043 sysdep_routines when subdir is sysvipc.
44044 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44045 __getshmlba helper.
44046
edc21804
DM
44047 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44048
473c3ef3
L
440492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44050
44051 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44052 [__LP64__].
44053
eb0f39b6
L
440542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44055
44056 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44057 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44058 (__lround): Renamed to ...
44059 (__llround): This. Replace long int with long long int.
44060 Define lround functions as aliases of llround functions.
44061 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44062
6b6cd74b
L
440632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44064
44065 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44066 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44067 adresses to uintptr_t. Replace "long int" and "unsigned long
44068 int" with "greg_t" on va_arg.
44069
f1a77b01
L
440702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44071
44072 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44073 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44074
44075 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44076 Move e_machine check before EI_CLASS check. Handle x32
44077 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44078 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44079 SKIP_EM_IA_64 and include
44080 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44081
44082 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44083 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44084 (add_system_dir): New macro.
44085
44086 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44087 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44088
11b90b9f
JM
440892012-03-16 Joseph Myers <joseph@codesourcery.com>
44090
c36e1d23
JM
44091 [BZ #2551]
44092 [BZ #2552]
44093 [BZ #2553]
44094 [BZ #2554]
44095 [BZ #2562]
44096 [BZ #2563]
44097 [BZ #2565]
44098 [BZ #2566]
44099 [BZ #2576]
44100 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44101 (y0): Likewise.
44102 * math/w_j0f.c (j0f): Likewise.
44103 (y0f): Likewise.
44104 * math/w_j0l.c (__j0l): Likewise.
44105 (__y0l): Likewise.
44106 * math/w_j1.c (j1): Likewise.
44107 (y1): Likewise.
44108 * math/w_j1f.c (j1f): Likewise.
44109 (y1f): Likewise.
44110 * math/w_j1l.c (__j1l): Likewise.
44111 (__y1l): Likewise.
44112 * math/w_jn.c (jn): Likewise.
44113 (yn): Likewise.
44114 * math/w_jnf.c (jnf): Likewise.
44115 (ynf): Likewise.
44116 * math/w_jnl.c (__jnl): Likewise.
44117 (__ynl): Likewise.
44118 * math/libm-test.inc (j0_test): Add more tests.
44119 (j1_test): Likewise.
44120 (jn_test): Likewise. Add trailing semicolon to existing test.
44121 (y0_test): Likewise.
44122 (y1_test): Likewise.
44123 * sysdeps/i386/fpu/libm-test-ulps: Update.
44124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44125
11b90b9f
JM
44126 [BZ #13851]
44127 [BZ #13854]
44128 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44129 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44130 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44131 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44132 (__tanl): Set errno for infinite argument.
44133 * sysdeps/i386/fpu/mptan.c: Remove.
44134 * sysdeps/i386/fpu/s_tan.S: Likewise.
44135 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44136 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44137 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44138 * math/libm-test.inc (tan_test): Add more tests and enable more
44139 tests for double and long double.
44140 * sysdeps/i386/fpu/libm-test-ulps: Update.
44141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44142
6a1bd2a1
JK
441432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44144
44145 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44146 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44147
10a803e0
RM
441482012-03-16 Roland McGrath <roland@hack.frob.com>
44149
44150 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44151 * configure.in: Use it for both main tree and add-ons.
44152 * configure: Regenerated.
44153
f196c7f7
L
441542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44155
44156 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44157
8848d99d
JM
441582012-03-16 Joseph Myers <joseph@codesourcery.com>
44159
96cbe7f4
JM
44160 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44161 in comment.
44162
8848d99d
JM
44163 [BZ #13851]
44164 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44165 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44166 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44167 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44168 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44169 infinite argument.
44170 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44172 != 0 for prec == 2.
44173 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44174 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44175 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44176 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44177 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44178 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44179 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44180 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44181 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44182 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44183 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44184 * math/libm-test.inc (cos_test): Add more tests and enable more
44185 tests for long double.
44186 (sin_test): Likewise.
44187 (sincos_test): Likewise.
44188 * sysdeps/i386/fpu/libm-test-ulps: Update.
44189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44190
dd7f4703
DM
441912012-03-16 David S. Miller <davem@davemloft.net>
44192
44193 * sysdeps/sparc/fpu/math_private.h: New file.
44194
006f1daa
DM
441952012-03-15 David S. Miller <davem@davemloft.net>
44196
c0c83bc8
DM
44197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44198 file.
e6a62e18 44199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
44200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44201 file.
e6a62e18
DM
44202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44208 sysdep routines.
44209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44210
88cb87d9
DM
44211 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44212 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44213
006f1daa 44214 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
44215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44216 sparc-ifunc.h
006f1daa 44217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
44218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44219 Likewise.
44220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44221 Likewise.
006f1daa
DM
44222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
44225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44226 Likewise.
006f1daa
DM
44227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
44231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44232 Likewise.
44233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44234 Likewise.
006f1daa
DM
44235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44259
11e0098e
AS
442602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44261
44262 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44263 scaling.
44264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44265
e85b09d0
AJ
442662012-03-15 Andreas Jaeger <aj@suse.de>
44267
44268 [BZ #13852]
44269 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44270 ieee754/flt-32 implementation for sin, cos and sincos.
44271 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44272 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44273 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44274 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44275 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44276 ieee754/flt-32 implementation for tan.
44277
44278 * math/libm-test.inc (cos_test): Enable some large input tests for
44279 float as well
44280 (sin_test): Likewise.
44281 (sincos_test): Likewise.
44282 (tan_test): Add tests for large input.
44283
44284 * sysdeps/i386/fpu/libm-test-ulps: Update.
44285
81c64153
AJ
442862012-03-15 Andreas Jaeger <aj@suse.de>
44287
44288 [BZ #13658]
44289 * math/libm-test.inc (cos_test): Add more test cases.
44290 (sin_test): Likewise.
44291 (sincos_test): Likewise.
44292
7bbfa5c6
AJ
442932012-03-15 Andreas Jaeger <aj@suse.de>
44294
44295 [BZ #13837]
44296 * math/libm-test.inc (cos_test): Add a test case for large input
44297 value.
44298 (sin_test): Likewise.
44299 (sincos_test): Likewise.
44300
57f41c40
AS
443012012-03-15 Andreas Jaeger <aj@suse.de>
44302 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
44303
44304 [BZ #13658]
0671f479 44305 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
44306 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44307 * sysdeps/i386/fpu/branred.c: Likewise.
44308 * sysdeps/i386/fpu/dosincos.c: Likewise.
44309 * sysdeps/i386/fpu/mpa.c: Likewise.
44310 * sysdeps/i386/fpu/s_cos.S: Likewise.
44311 * sysdeps/i386/fpu/s_sin.S: Likewise.
44312 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44313 * sysdeps/i386/fpu/sincos32.c: Likewise.
44314
44315 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44316 Define.
44317 (libc_feupdateenv_53bit): Define.
44318 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44319 Define.
44320 (libc_feupdateenv_53bit): Define.
44321
44322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44323 53 bit (without extend i386 double precision).
44324
44325 * math/libm-test.inc (sincos_test): Add tests for large input.
44326 (sin): Likewise.
44327 (cos): Likewise.
44328
44329 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44330
9cad04ea
AS
443312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44332
44333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44334
f7062b9a
DM
443352012-03-15 David S. Miller <davem@davemloft.net>
44336
44337 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44338 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44339 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44340 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
44352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44353 file.
f7062b9a 44354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
44355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44356 file.
f7062b9a 44357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
44358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44359 file.
f7062b9a 44360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
44361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44362 file.
f7062b9a
DM
44363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44365 fmin/fmax sysdep routines.
44366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44367
7bd951ff
DM
443682012-03-14 David S. Miller <davem@davemloft.net>
44369
559398ab
DM
44370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44376 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44397 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44399 routines.
44400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44401 file.
559398ab 44402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
44403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44404 file.
559398ab 44405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
44406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44407 file.
559398ab 44408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
44409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44410 file.
559398ab 44411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
44412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44413 file.
559398ab 44414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
44415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44416 file.
44417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44418 file.
44419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44420 file.
44421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44422 file.
44423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44424 New file.
44425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44426 file.
44427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44428 file.
559398ab 44429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
44430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44431 file.
559398ab 44432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44434 file.
559398ab 44435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
44436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44437 file.
559398ab 44438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
44439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44440 VIS3 routines.
559398ab
DM
44441
44442 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44443 New file.
44444
5a1c1e32
DM
44445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44446
eae47a36
DM
44447 * sysdeps/sparc/configure.in: New file.
44448 * sysdeps/sparc/configure: Generate.
44449 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44450 * configure: Regenerate.
44451 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44452 * config.make.in (have-as-vis3): New.
44453 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44454 available use -Av9d instead of -Av9a.
44455 * sysdeps/sparc/sparc64/Makefile: Likewise.
44456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
44457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44458 New file.
44459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44460 file.
44461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44462 New file.
44463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44464 file.
eae47a36
DM
44465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44468 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44469 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44470
c0c83bc8
DM
44471 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44472 fzeros/fnegs to load 0x80000000 into a float register instead of
44473 using the stack.
7bd951ff
DM
44474 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44475
bd951ccb
JM
444762012-03-14 Joseph Myers <joseph@codesourcery.com>
44477
44478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44479 bits/syscall.h.
44480 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44481 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44482 ($(inst_includedir)/bits/syscall.h): Remove rule.
44483 ($(objpfx)bits/syscall.d): Include instead of
44484 $(objpfx)syscall-list.d.
44485 (generated): Change syscall-list.h and syscall-list.d to
44486 bits/syscall.h and bits/syscall.d.
44487
bb4e6db2
RM
444882012-03-14 Roland McGrath <roland@hack.frob.com>
44489
44490 [BZ #13846]
44491 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44492
aa4a2ae1
JM
444932012-03-14 Joseph Myers <joseph@codesourcery.com>
44494
e456826d
JM
44495 [BZ #13841]
44496 * math/s_csqrt.c: Include <float.h>.
44497 (__csqrt): Scale large or subnormal inputs.
44498 * math/s_csqrtf.c: Likewise.
44499 * math/s_csqrtl.c: Likewise.
44500 * math/libm-test.inc (csqrt_test): Add more tests.
44501 * sysdeps/i386/fpu/libm-test-ulps: Update.
44502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44503
aa4a2ae1
JM
44504 [BZ #13840]
44505 * math/libm-test.inc (hypot_test): Add more tests.
44506
7c10fd35
DM
445072012-03-13 David S. Miller <davem@davemloft.net>
44508
44509 [BZ #13840]
44510 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44511 double-precision for the calculation instead of scaling.
44512
f453b98b
JM
445132012-03-13 Joseph Myers <joseph@codesourcery.com>
44514
44515 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44516 manipulate bits before adding and subtracting TWO52[sx].
44517 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44519 Likewise.
44520 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44521
09a3453f
DM
445222012-03-13 David S. Miller <davem@davemloft.net>
44523
8e59da90
DM
44524 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44525 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44527 rtld-global-offsets.h
44528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44529
2a8ab7f2
DM
44530 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44531 large parameters.
44532
10f62770
DM
44533 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44534
5f0bdb18
DM
44535 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44536 'err' in the ifdef scope in which it is actually used.
44537
09a3453f
DM
44538 * nss/nss_db/db-init.c: Include string.h
44539
b4b2eb5e
DM
445402012-03-12 David S. Miller <davem@davemloft.net>
44541
98bb2f1c
DM
44542 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44543 masking out of the most significant byte of random value used.
44544 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44545 Fix coding style in previous change.
44546
b4b2eb5e
DM
44547 * sysdeps/unix/sysv/linux/kernel-features.h
44548 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44549 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44550 expression.
44551 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44552 later.
44553
6e226b09
DM
445542012-03-11 David S. Miller <davem@davemloft.net>
44555
a1bcbd40
DM
44556 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44557 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44559 for 'resultvar' otherwise things get truncated on 64-bit.
44560
cb9d6174
DM
44561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44562 Fix masking out of the most significant byte of random value used.
44563
6e226b09
DM
44564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44565
058c132d
AS
445662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44567
44568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44569
2d2cd515
DM
445702012-03-09 David S. Miller <davem@davemloft.net>
44571
44572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44573 variables with appropriate CPP guards.
57f41c40
AS
44574 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44575 from the frame pointer, not the stack pointer. Correct layout
44576 comments. Fix test on resulting framesize and the management of
44577 the outregs buffer for pltexit. Preserve floating point return
44578 values across _dl_call_pltexit call.
2d2cd515
DM
44579 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44580 framesize and the management of the outregs buffer for pltexit.
44581 Preserve floating point return values across _dl_call_pltexit
44582 call.
57f41c40
AS
44583 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44584 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44585 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
44586 (print_exit): Fix format string for return register value.
44587
9a07f9d0
JM
445882012-03-10 Joseph Myers <joseph@codesourcery.com>
44589
44590 * sunrpc/Makefile (others): Add rpcgen.
44591 ($(objpfx)rpcgen): Remove special build rule and dependency on
44592 libc.
44593 * sunrpc/rpcgen.c: New file.
44594
547b5e30
PE
445952012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44596
c524201a
PE
44597 [BZ #13673]
44598 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44599 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44600 * sysdeps/i386/crti.S: Likewise.
44601 * sysdeps/i386/crtn.S: Likewise.
44602 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44603 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44604 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44605 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44606 * sysdeps/sh/crti.S: Likewise.
44607 * sysdeps/sh/crtn.S: Likewise.
44608 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44609
7b6235f2
PE
44610 [BZ #13673]
44611 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44612 with URL.
44613 * locale/programs/locfile-kw.gperf: Likewise.
44614 * locale/programs/charmap-kw.h: Regenerated.
44615 * locale/programs/locfile-kw.h: Likewise.
44616
547b5e30
PE
44617 [BZ #13673]
44618 * intl/plural.y: Replace FSF snail mail address with URL.
44619 * intl/plural.c: Regenerated.
44620
5f0a5dae
RH
446212012-03-09 Richard Henderson <rth@twiddle.net>
44622
44623 * include/math_private.h: Remove file.
44624 * math/math_private.h: Move file ...
44625 * sysdeps/generic/math_private.h: ... here.
44626
b8c03620
RH
44627 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44628 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44629 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44630
4e234f5d 44631 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
44632 and <math_private.h>.
44633 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44634 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44635 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44636 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44637 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44638 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44639 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44641 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44642 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44645 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44647 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44648 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44650 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44651 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44652 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44654 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44655 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44657 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44659 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44663 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44664 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44665 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44666 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44667 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44669 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44670 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44671 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44672 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44673 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44674 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44675 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44676 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44677 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44678 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44679 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44680 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44681 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44682 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44683 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44684 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44685 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44686 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44687 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44688 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44689 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44690 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44691 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44692 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44694 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44695 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44696 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44697 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44698 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44699 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44700 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44701 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44702 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44703 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44704 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44705 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44706 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44707 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44709 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44710 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44712 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44713 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44714 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44715 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44716 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44717 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44719 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44720 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44721 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44722 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44723 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44724 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44725 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44726 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44727 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44728 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44729 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44730 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44731 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44732 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44733 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44734 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44735 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44736 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44737 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44738 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44739 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44740 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44741 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44743 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44744 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44745 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44746 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44747 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44748 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44749 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44750 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44751 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44752 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44753 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44754 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44756 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44757 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44758 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44759 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44760 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44761 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44762 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44763 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44764 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44765 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44766 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44767 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44768 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44769 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44770 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44771 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44772 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44773 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44774 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44775 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44776 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44777 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44778 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44779 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44780 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44781 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44782 * sysdeps/ieee754/k_standard.c: Likewise.
44783 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44784 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44785 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44787 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44792 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44793 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44796 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44797 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44803 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44807 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44810 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44813 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44814 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44815 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44816 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44817 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44818 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44819 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44821 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44826 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44828 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44829 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44830 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44831 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44833 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44834 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44835 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44836 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44837 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44838 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44839 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44840 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44842 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44843 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44845 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44848 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44853 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44856 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44857 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44858 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44859 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44860 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44861 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44862 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44863 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44865 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44866 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44867 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44868 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44869 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44870 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44871 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44872 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44873 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44874 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44875 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44876 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44877 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44878 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44879 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44880 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44881 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44882 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44883 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44884 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44885 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44886 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44887 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44888 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44889 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44890 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44891 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44892 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44893 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44894 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44895 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44896 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44897 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44898 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44899 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44900 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44901 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44902 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44903 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44904 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44905 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44906 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44907 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44908 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44909 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44910 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44911 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44912 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44913 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44914 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44915 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44916 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44917 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44918 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44919 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44920 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44921 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44922 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44923 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44924 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44925 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44926 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44927 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44928 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44929 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44930 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44931 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44932 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44933 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44934 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44935 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44936 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44937 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44938 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44939 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44940 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44941 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44942 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44943 * sysdeps/ieee754/s_lib_version.c: Likewise.
44944 * sysdeps/ieee754/s_matherr.c: Likewise.
44945 * sysdeps/ieee754/s_signgam.c: Likewise.
44946 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44947 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44948 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44949 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44950 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44951 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44952 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44953 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44954 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44955 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44956 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44957 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44958 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44959 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44960 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44961 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44962 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44963 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44964 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44965 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44967
1991fa03
JM
449682012-03-09 Joseph Myers <joseph@codesourcery.com>
44969
44970 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44971 * sunrpc/rpc_main.c: Likewise.
44972 * sunrpc/rpc_svcout.c: Likewise.
44973
60d6f5a6
DM
449742012-03-09 David S. Miller <davem@davemloft.net>
44975
44976 * include/math_private.h: New file.
44977
4962050e
JM
449782012-03-09 Joseph Myers <joseph@codesourcery.com>
44979
02a6f887
JM
44980 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44981 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44982 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44983 from <bits/socket_type.h>.
44984 (enum __socket_type): Don't define here.
44985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44987 bits/socket_type.h.
44988
c6e013c1
JM
44989 [BZ #13566]
44990 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44991 checking __USE_GNU.
44992
4962050e
JM
44993 * Makerules ($(inst_includedir)/%.h): New rule.
44994 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44995 (install-others): Remove variable setting.
44996 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44997
38842f45
RH
449982012-03-08 Richard Henderson <rth@twiddle.net>
44999
67bb6da6
RH
45000 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45001 from macro to inline function; merge with the
45002 !__LIBC_INTERNAL_MATH_INLINES version.
45003 (__ieee754_sqrtf): Likewise.
45004
15194b4b
RH
45005 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45006 to inline function.
45007 (__rintf, __floor, __floorf): Likewise.
45008
64e21ede
RH
45009 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45010 macro to inline function.
45011 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45012
38842f45
RH
45013 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45014 not <math/math_private.h>.
45015
c64bf5fe
DM
450162012-03-08 David S. Miller <davem@davemloft.net>
45017
45018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45019 copyright year.
45020 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45021
82d86f28
TS
450222012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45023
45024 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45025 normalization.
45026 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45027 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45028
aea5d727
UD
450292012-03-08 Ulrich Drepper <drepper@gmail.com>
45030
45031 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45032 be defined individually, they must be defined as a block. Define
45033 S for printing a string instead of hidint the different by using a
45034 macro for adding the 'l'.
45035 * stdio-common/tst-fphex-wide.c: Adjust.
45036
70bca0a3
MP
450372012-03-07 Marek Polacek <polacek@redhat.com>
45038
45039 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45040
65b81130
MP
450412012-03-08 Marek Polacek <polacek@redhat.com>
45042
45043 [BZ #13806]
45044 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45045 * stdio-common/tst-fphex.c: Define a few macros to make the
45046 test reusable. Use them.
45047 * stdio-common/tst-fphex-wide.c: New file.
45048
07037eeb
JM
450492012-03-08 Joseph Myers <joseph@codesourcery.com>
45050
a7a93d50
JM
45051 [BZ #6911]
45052 * manual/macros.texi (gnusystems): New macro.
45053 (nongnusystems): Likewise.
45054 (gnulinuxhurdsystems): Likewise.
45055 (gnuhurdsystems): Likewise..
45056 (gnulinuxsystems): Likewise.
45057 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45058 variants of the GNU system, not "GNU system".
45059 * manual/conf.texi: Likewise.
45060 * manual/errno.texi: Likewise. Update example of errno macro
45061 expansion.
45062 * manual/filesys.texi: Likewise.
45063 (getumask): Document as specific to GNU/Hurd.
45064 * manual/install.texi: Likewise. Reword some references to
45065 GNU/Linux.
45066 * manual/intro.texi: Likewise.
45067 * manual/io.texi: Likewise.
45068 (File Name Portability): Detail which constraints are inapplicable
45069 to all GNU systems and which are only inapplicable to GNU/Hurd.
45070 * manual/job.texi: Likewise.
45071 * manual/llio.texi: Likewise.
45072 (O_NOCTTY): Document as present on GNU/Linux.
45073 * manual/maint.texi: Likewise.
45074 * manual/memory.texi: Likewise.
45075 * manual/pattern.texi: Likewise.
45076 * manual/pipe.texi: Likewise.
45077 * manual/process.texi: Likewise.
45078 * manual/resource.texi: Likewise.
45079 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45080 child on GNU/Hurd.
45081 * manual/setjmp.texi: Likewise.
45082 * manual/signal.texi: Likewise.
45083 * manual/startup.texi: Likewise.
45084 * manual/stdio.texi: Likewise.
45085 * manual/terminal.texi: Likewise.
45086 (ONLCR): Document as POSIX.
45087 (OXTABS): Document availability on GNU/Linux as XTABS.
45088 (ONOEOT): Document availability separately from other bits.
45089 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45090 * manual/time.texi: Likewise.
45091 * manual/users.texi: Likewise.
45092 * INSTALL: Regenerated.
45093 * sysdeps/gnu/errlist.c: Regenerated.
45094
07037eeb
JM
45095 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45096 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45097 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45098 puts.
45099 * configure: Regenerated.
45100
d1d3431a
JM
451012012-03-07 Joseph Myers <joseph@codesourcery.com>
45102
af6a1e37
JM
45103 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45104 default includes instead of AC_HEADER_CHECK.
45105 * sysdeps/i386/configure: Regenerated.
45106
d1d3431a
JM
45107 [BZ #10716]
45108 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45109 * math/s_cacoshf.c (__cacoshf): Likewise.
45110 * math/s_cacoshl.c (__cacoshl): Likewise.
45111 * math/s_casinh.c (__casinh): Set signs of result from argument.
45112 * math/s_casinhf.c (__casinhf): Likewise.
45113 * math/s_casinhl.c (__casinhl): Likewise.
45114 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45115 (casinh_test): Add more tests.
45116 * sysdeps/i386/fpu/libm-test-ulps: Update.
45117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45118
482ff4da
UD
451192012-03-07 Ulrich Drepper <drepper@gmail.com>
45120
872fda05
UD
45121 * po/zh_TW.po: Update from translation team.
45122
a4300c7a
UD
45123 * login/Makefile (distribute): Remove variable.
45124 * catgets/Makefile: Likewise.
45125 * mach/Makefile: Likewise.
45126 * malloc/Makefile: Likewise.
45127 * misc/Makefile: Likewise.
45128 * iconv/Makefile: Likewise.
45129 * nscd/Makefile: Likewise.
45130 * hurd/Makefile: Likewise.
45131 * manual/Makefile: Likewise.
45132 * locale/Makefile: Likewise.
45133 * intl/Makefile: Likewise.
45134 * conform/Makefile: Likewise.
45135 * nss/Makefile: Likewise.
45136 * time/Makefile: Likewise.
45137 * soft-fp/Makefile: Likewise.
45138 * dirent/Makefile: Likewise.
45139 * gmon/Makefile: Likewise.
45140 * po/Makefile: Likewise.
45141 * rt/Makefile: Likewise.
45142 * socket/Makefile: Likewise.
45143 * math/Makefile: Likewise.
45144 * signal/Makefile: Likewise.
45145 * debug/Makefile: Likewise.
45146 * elf/Makefile: Likewise.
45147 * timezone/Makefile: Likewise.
45148 * stdlib/Makefile: Likewise.
45149 * iconvdata/Makefile: Likewise.
45150 * sunrpc/Makefile: Likewise.
45151 * io/Makefile: Likewise.
45152 * argp/Makefile: Likewise.
45153 * inet/Makefile: Likewise.
45154 * hesiod/Makefile: Likewise.
45155 * grp/Makefile: Likewise.
45156 * csu/Makefile: Likewise.
45157 * wctype/Makefile: Likewise.
45158 * crypt/Makefile: Likewise.
45159 * libio/Makefile: Likewise.
45160 * string/Makefile: Likewise.
45161 * nis/Makefile: Likewise.
45162 * resolv/Makefile: Likewise.
45163 * stdio-common/Makefile: Likewise.
45164 * wcsmbs/Makefile: Likewise.
45165 * dlfcn/Makefile: Likewise.
45166 * posix/Makefile: Likewise.
45167
3b7c4e74 45168 [BZ #6959]
482ff4da
UD
45169 * timezone/Makefile: Don't install timezone files, just the programs
45170 and scripts.
45171
f72ed77d
UD
451722012-03-06 Ulrich Drepper <drepper@gmail.com>
45173
a000466f
UD
45174 * nss/databases.def: Add missing gshadow entry.
45175
f72ed77d
UD
45176 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45177
a53b7a4e
MP
451782012-03-06 Marek Polacek <polacek@redhat.com>
45179
45180 [BZ #13726]
45181 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45182 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45183 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45184 * stdio-common/tst-long-dbl-fphex.c: New file.
45185
e9258400
DM
451862012-03-06 David S. Miller <davem@davemloft.net>
45187
45188 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45189 (set_obp_int): New function.
45190 (get_obp_int): New function.
45191 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
45192 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45193 Avoid unused variable warnings on 'val' and use builtin_expect.
45194 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45195 __builtin_expect.
e9258400
DM
45196 (INLINE_CLONE_SYSCALL): Likewise.
45197
3bd2c723
DM
451982012-03-05 David S. Miller <davem@davemloft.net>
45199
45200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45201
bbb78d03
AS
452022012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45203
884c5db4
AS
45204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45205
bbb78d03
AS
45206 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45207 only for |x| >= 40.
45208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45209
1c9f702a 452102012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
45211
45212 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45213 Replace gettimeofday with __vdso_gettimeofday.
45214
7be16f82
RM
45215 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45216 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45217 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
45218
45219 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45220 time with __vdso_time.
45221
ed58a00f
JM
452222012-03-05 Joseph Myers <joseph@codesourcery.com>
45223
45224 * manual/lang.texi (size_t): Note types to which size_t may be
45225 equivalent with the GNU C Library, but do not describe when
45226 differences between them are significant.
45227
30ee4ced
AJ
452282012-03-05 Andreas Jaeger <aj@suse.de>
45229
45230 * sysdeps/i386/fpu/libm-test-ulps: Update.
45231
b7cd39e8
JM
452322012-03-05 Joseph Myers <joseph@codesourcery.com>
45233
45234 [BZ #3976]
45235 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45236 (__ieee754_pow): Save and restore rounding mode and use
45237 round-to-nearest for main computations.
45238 * math/libm-test.inc (pow_test_tonearest): New function.
45239 (pow_test_towardzero): Likewise.
45240 (pow_test_downward): Likewise.
45241 (pow_test_upward): Likewise.
45242 (main): Call the new functions.
45243 * sysdeps/i386/fpu/libm-test-ulps: Update.
45244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
45245
45246 [BZ #3976]
45247 * math/libm-test.inc (cosh_test_tonearest): New function.
45248 (cosh_test_towardzero): Likewise.
45249 (cosh_test_downward): Likewise.
45250 (cosh_test_upward): Likewise.
45251 (sinh_test_tonearest): Likewise.
45252 (sinh_test_towardzero): Likewise.
45253 (sinh_test_downward): Likewise.
45254 (sinh_test_upward): Likewise.
45255 (main): Call the new functions.
45256 * sysdeps/i386/fpu/libm-test-ulps: Update.
45257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45258
6c6a98c9
TV
452592012-03-05 Tom de Vries <tom@codesourcery.com>
45260
45261 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45262 default stack guard is set in last bytes.
45263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45264
21bb2d2e 452652012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 45266
21bb2d2e 45267 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 45268
21bb2d2e
AJ
45269 [BZ #13656]
45270 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45271 possibly allocate from heap instead of stack.
45272 * stdio-common/bug-vfprintf-nargs.c: New file.
45273 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 45274
c6922934
AS
452752012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45276
45277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45278
bc957d53
MP
452792012-03-03 Marek Polacek <polacek@redhat.com>
45280
45281 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45282 * math/math_private.h: Likewise.
45283 * stdlib/tst-strtod.c: Likewise.
45284 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45285 * sysdeps/x86_64/bits/atomic.h: Likewise.
45286
6358490d
DM
452872012-03-02 David S. Miller <davem@davemloft.net>
45288
45289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45293 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45294 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45295 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45296 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45297
01ae168d
RM
452982012-03-02 Roland McGrath <roland@hack.frob.com>
45299
d9a17c07
RM
45300 [BZ #13792]
45301 * manual/examples/README: New file, says the example source files
45302 can be used under GPL>=2.
45303 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45304 line containing just "*/".
45305 * manual/examples/add.c: Add copyright header (GPL>=2).
45306 * manual/examples/argp-ex1.c: Likewise.
45307 * manual/examples/argp-ex2.c: Likewise.
45308 * manual/examples/argp-ex3.c: Likewise.
45309 * manual/examples/argp-ex4.c: Likewise.
45310 * manual/examples/atexit.c: Likewise.
45311 * manual/examples/db.c: Likewise.
45312 * manual/examples/dir.c: Likewise.
45313 * manual/examples/dir2.c: Likewise.
45314 * manual/examples/execinfo.c: Likewise.
45315 * manual/examples/filecli.c: Likewise.
45316 * manual/examples/filesrv.c: Likewise.
45317 * manual/examples/fmtmsgexpl.c: Likewise.
45318 * manual/examples/genpass.c: Likewise.
45319 * manual/examples/inetcli.c: Likewise.
45320 * manual/examples/inetsrv.c: Likewise.
45321 * manual/examples/isockad.c: Likewise.
45322 * manual/examples/longopt.c: Likewise.
45323 * manual/examples/memopen.c: Likewise.
45324 * manual/examples/memstrm.c: Likewise.
45325 * manual/examples/mkfsock.c: Likewise.
45326 * manual/examples/mkisock.c: Likewise.
45327 * manual/examples/mygetpass.c: Likewise.
45328 * manual/examples/pipe.c: Likewise.
45329 * manual/examples/popen.c: Likewise.
45330 * manual/examples/rprintf.c: Likewise.
45331 * manual/examples/search.c: Likewise.
45332 * manual/examples/select.c: Likewise.
45333 * manual/examples/setjmp.c: Likewise.
45334 * manual/examples/sigh1.c: Likewise.
45335 * manual/examples/sigusr.c: Likewise.
45336 * manual/examples/stpcpy.c: Likewise.
45337 * manual/examples/strdupa.c: Likewise.
45338 * manual/examples/strftim.c: Likewise.
45339 * manual/examples/strncat.c: Likewise.
45340 * manual/examples/subopt.c: Likewise.
45341 * manual/examples/swapcontext.c: Likewise.
45342 * manual/examples/termios.c: Likewise.
45343 * manual/examples/testopt.c: Likewise.
45344 * manual/examples/testpass.c: Likewise.
45345 * manual/examples/timeval_subtract.c: Likewise.
45346
01ae168d
RM
45347 [BZ #13792]
45348 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45349 function to ...
45350 * manual/timeval_subtract.c.texi: ... here, new file.
45351
49efa33d
DM
453522012-03-02 David S. Miller <davem@davemloft.net>
45353
45354 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45355
28afd92d
JM
453562012-03-02 Joseph Myers <joseph@codesourcery.com>
45357
804360ed
JM
45358 [BZ #3976]
45359 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45360 (__sin): Save and restore rounding mode and use round-to-nearest
45361 for all computations.
45362 (__cos): Save and restore rounding mode and use round-to-nearest
45363 for all computations.
45364 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45365 <fenv.h>.
45366 (tan): Save and restore rounding mode and use round-to-nearest for
45367 all computations.
45368 * math/libm-test.inc (cos_test_tonearest): New function.
45369 (cos_test_towardzero): Likewise.
45370 (cos_test_downward): Likewise.
45371 (cos_test_upward): Likewise.
45372 (sin_test_tonearest): Likewise.
45373 (sin_test_towardzero): Likewise.
45374 (sin_test_downward): Likewise.
45375 (sin_test_upward): Likewise.
45376 (tan_test_tonearest): Likewise.
45377 (tan_test_towardzero): Likewise.
45378 (tan_test_downward): Likewise.
45379 (tan_test_upward): Likewise.
45380 (main): Call the new functions.
45381 * sysdeps/i386/fpu/libm-test-ulps: Update.
45382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45383
a6d06d7b
JM
45384 [BZ #10135]
45385 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45386 small n, then large n, before computing and testing k+n.
45387 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45388 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45389 Likewise.
45390 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45391 Likewise.
45392 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45393 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45394 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45395 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45398 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45399 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45400 * math/libm-test.inc (scalbn_test): Add more tests.
45401 (scalbln_test): Likewise.
45402
07e12bb3
JM
45403 * manual/filesys.texi (mode_t): Describe constraints on size and
45404 signedness, not exact equivalence to a particular type.
45405 (ino_t): Likewise.
45406 (ino64_t): Likewise.
45407 (dev_t): Likewise.
45408 (nlink_t): Likewise.
45409 (blkcnt_t): Likewise.
45410 (blkcnt64_t): Likewise.
45411 * manual/llio.texi (off_t): Likewise.
45412
28afd92d
JM
45413 [BZ #3976]
45414 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45415 (__ieee754_exp): Save and restore rounding mode and use
45416 round-to-nearest for all computations.
45417 * math/libm-test.inc (exp_test_tonearest): New function.
45418 (exp_test_towardzero): Likewise.
45419 (exp_test_downward): Likewise.
45420 (exp_test_upward): Likewise.
45421 (main): Call the new functions.
45422 * sysdeps/i386/fpu/libm-test-ulps: Update.
45423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45424
b1eeb65d
CD
454252012-03-01 Chris Demetriou <cgd@google.com>
45426
45427 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45428 have predictable order.
45429
53362a4b
DM
454302012-03-01 David S. Miller <davem@davemloft.net>
45431
3c969083
DM
45432 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45433
759707de
DM
45434 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45435 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45436 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45437 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45438
dfdb8ff2
DM
45439 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45440 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45441 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45443 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45444 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45445 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45446 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45447 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45448
ead89f96
DM
45449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45450
7f66bd07
DM
45451 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45452 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45453 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45454
53362a4b
DM
45455 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45456 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45457 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45458 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45459 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45461 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45462 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45463 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45464 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45465 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45466 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45468 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45469 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45471 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45472 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45473 * sysdeps/sparc/elf/configure: Regenerated.
45474
7b1902cb
JM
454752012-03-01 Joseph Myers <joseph@codesourcery.com>
45476
bec039bc
JM
45477 * configure.in (AS, LD): Require binutils 2.20 or later.
45478 * configure: Regenerated.
45479 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45480 as required minimum version.
45481 * INSTALL: Regenerated.
45482
7b1902cb
JM
45483 [BZ #2541]
45484 [BZ #4108]
45485 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45486 before squaring exponent.
45487 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45488 bottom long double and 27 bits of top long double before squaring
45489 exponent.
45490 * math/libm-test.inc (erfc_test): Add more tests.
45491 * sysdeps/i386/fpu/libm-test-ulps: Update.
45492 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45494
f775c276
KT
454952012-03-01 Kai Tietz <ktietz@redhat.com>
45496
45497 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45498 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45499 containing bit-fields.
45500 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45501 * soft-fp/single.h (_FP_UNION_S): Likewise.
45502 * soft-fp/double.h (_FP_UNION_D): Likewise.
45503
5b8a4d4a
JM
455042012-02-29 Joseph Myers <joseph@codesourcery.com>
45505
0bab47b6
JM
45506 [BZ #13786]
45507 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45508 not include ../strcmp.S.
45509 [USE_AS_STRNCASECMP_L]: Likewise.
45510 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45511 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45512 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45513 (__strncasecmp_l_ia32): Define as alias to
45514 __strncasecmp_l_nonascii.
45515
0fcad3e2
JM
45516 [BZ #5794]
45517 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45518 * sysdeps/i386/fpu/libm-test-ulps: Update.
45519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45520
5b8a4d4a
JM
45521 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45523
8fdceb2e
JL
455242012-02-29 Jeff Law <law@redhat.com>
45525
45526 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45527 out of bounds read.
45528
1f393a11
MP
455292012-02-29 Marek Polacek <polacek@redhat.com>
45530
45531 [BZ #13706]
45532 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45533 * elf/Makefile: Add rules to run tst-unused-dep.out.
45534
8847f037
DM
455352012-02-28 David S. Miller <davem@davemloft.net>
45536
45537 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45538 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45539 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45540 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45541 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45542 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45543
169d7f11
JM
455442012-02-29 Joseph Myers <joseph@codesourcery.com>
45545
45546 * math/libm-test.inc (llround_test): Move one test from
45547 lround_test. Use TEST_f_L in moved test.
45548 (lround_test): Move misplaced test to llround_test. Add testcase
45549 from bug 2561.
45550
39adf059
UD
455512012-02-28 Ulrich Drepper <drepper@gmail.com>
45552
45553 * sysdeps/x86_64/fpu/e_expf.S: New file.
45554 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45555
71b5d1c5
SB
455562012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45557
45558 [BZ #13637]
45559 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45560 of remain_len that may cause incomplete multi-byte character and
45561 false match.
45562 * posix/bug-regex33.c: New file.
45563 * posix/Makefile (tests): Add bug-regex33.
45564
1f77f049
JM
455652012-02-28 Joseph Myers <joseph@codesourcery.com>
45566
45567 * manual/macros.texi: New file.
45568 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45569 * manual/libc.texinfo: Include macros.texi.
45570 * manual/creatute.texi: Likewise.
45571 * manual/install.texi: Likewise.
45572 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45573 @glibcadj{} in references to the GNU C Library.
45574 * manual/charset.texi: Likewise.
45575 * manual/conf.texi: Likewise.
45576 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45577 when not using those macros.
45578 * manual/creature.texi: Likewise.
45579 * manual/crypt.texi: Likewise.
45580 * manual/errno.texi: Likewise.
45581 * manual/filesys.texi: Likewise.
45582 * manual/header.texi: Likewise.
45583 * manual/install.texi: Likewise.
45584 * manual/intro.texi: Likewise.
45585 * manual/io.texi: Likewise.
45586 * manual/job.texi: Likewise.
45587 * manual/lang.texi: Likewise.
45588 * manual/libc.texiinfo: Likewise.
45589 * manual/llio.texi: Likewise.
45590 * manual/locale.texi: Likewise.
45591 * manual/maint.texi: Likewise.
45592 * manual/math.texi: Likewise.
45593 * manual/memory.texi: Likewise.
45594 * manual/message.texi: Likewise.
45595 * manual/nss.texi: Likewise.
45596 * manual/pattern.texi: Likewise.
45597 * manual/process.texi: Likewise.
45598 * manual/resource.texi: Likewise.
45599 * manual/search.texi: Likewise.
45600 * manual/setjmp.texi: Likewise.
45601 * manual/signal.texi: Likewise.
45602 * manual/socket.texi: Likewise.
45603 * manual/startup.texi: Likewise.
45604 * manual/stdio.texi: Likewise.
45605 * manual/string.texi: Likewise.
45606 * manual/sysinfo.texi: Likewise.
45607 * manual/syslog.texi: Likewise.
45608 * manual/terminal.texi: Likewise.
45609 * manual/time.texi: Likewise.
45610 * manual/users.texi: Likewise.
45611 * INSTALL: Regenerated.
45612 * NOTES: Regenerated.
d40c5d54 45613 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 45614
450bf206
AS
456152012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45616
45617 * include/dirent.h: Include <dirstream.h> before
45618 <dirent/dirent.h>.
45619
741a235b
DM
456202012-02-28 David S. Miller <davem@davemloft.net>
45621
45622 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45623 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45624 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45625 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45626
d6b5aa58
DM
456272012-02-27 David S. Miller <davem@davemloft.net>
45628
1aff59a3
DM
45629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45631 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45632 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45633
d6b5aa58
DM
45634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45635 frame pointer instead of stack pointer relative arg slot.
45636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45637 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45638 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45639
433f48bf
CD
456402012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45641
45642 [BZ #3992]
45643 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45644
d674b76d
DM
456452012-02-27 David S. Miller <davem@davemloft.net>
45646
45647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45651 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45652 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45653 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45654 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45655
0e7727f7
JM
456562012-02-27 Joseph Myers <joseph@codesourcery.com>
45657
45658 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45659 later. Allow versions 5-9.
43be4ca2 45660 * configure: Regenerated.
0e7727f7
JM
45661 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45662 required minimum version and 4.6 as recommended version. Do not
45663 mention bugs in GCC 2.7 and 2.8.
43be4ca2 45664 * INSTALL: Regenerated.
0e7727f7 45665
a78bc654
DM
456662012-02-27 David S. Miller <davem@davemloft.net>
45667
428d5830
DM
45668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45672 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45673 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45674 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45675 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45676
a78bc654
DM
45677 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45678 manipulate bits before adding and subtracting TWO112[sx].
45679 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45680
4579f81c
RM
456812012-02-27 Roland McGrath <roland@hack.frob.com>
45682
36c8acb4
RM
45683 [BZ #13775]
45684 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45685 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45686 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45687 being in POSIX, because they are in 1003.1-2008.
45688
84ad622b
RM
45689 * rt/tst-aio.c: Include <fcntl.h>.
45690 * rt/tst-aio7.c: Likewise.
45691 * rt/tst-aio64.c: Likewise.
45692
4579f81c
RM
45693 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45694
abd923db
JM
456952012-02-27 Joseph Myers <joseph@codesourcery.com>
45696
45697 * manual/install.texi (--with-headers): Describe headers as
45698 interface headers, not private headers.
45699 (Specific advice for GNU/Linux systems): Describe use of headers
45700 from "make headers_install", not private headers from older
45701 kernels.
43be4ca2 45702 * INSTALL: Regenerated.
abd923db
JM
45703 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45704 Change to 2.6.19.
45705 * sysdeps/unix/sysv/linux/configure: Regenerated.
45706
6664049b
JM
45707 * manual/llio.texi (fclean): Remove documentation.
45708
bb8b6697
JM
45709 * manual/Makefile (libc-texi-generated): New variable. Include
45710 version.texi.
45711 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45712 $(libc-texi-generated), not duplicated list of files.
45713 (version.texi, stamp-version): New rules.
45714 (realclean): Remove $(libc-texi-generated), not individual files
45715 from that list. Do not remove dir-add.texinfo.
45716 * manual/libc.texinfo: Comment out uses of edition numbers and
45717 references to printed manual. Remove last-updated dates.
45718 (EDITION): Comment out.
45719 (ISBN): Likewise.
45720 (VERSION, UPDATED): Remove.
45721 (version.texi): Include.
45722
12e5c3b9
AS
457232012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45724
45725 * sysdeps/posix/spawni.c: Include <signal.h>.
45726 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45727 * sysdeps/pthread/aio_fsync.c: Likewise.
45728
4efeffc1 457292012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45730
ba63ba08
UD
45731 * conform/Makefile (tests): Run only when not cross-compiling and
45732 when fast-check is not defined.
45733
d94a4670
UD
45734 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45735 * conform/data/limits.h-data: Fixes for POSIX2008.
45736 * conform/run-conformtest.sh: Run all tests.
45737 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45738 headers.
45739 * include/bits/dlfcn.h: Likewise.
45740 * include/langinfo.h: Likewise.
45741 * include/monetary.h: Likewise.
45742 * include/sys/poll.h: Likewise.
45743
45744 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45745 for __USE_GNU.
45746 * posix/spawn.h: Define __need_sigset_t.
45747 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45748 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45749 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45750 to get sigevent_t only.
45751 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45752 only for __USE_GNU.
45753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45754 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45755 process_vm_writev only for __USE_GNU.
45756 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45757
45758 * conform/Makefile: For now ignore errors from run-conformtest.
45759 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45760 POSIX to avoid namespace pollution. Don't prepend headers.
45761 * conform/data/aio.h-data: Fixes for POSIX testing.
45762 * conform/data/fcntl.h-data: Likewise.
45763 * conform/data/glob.h-data: Likewise.
45764 * conform/data/grp.h-data: Likewise.
45765 * conform/data/pthread.h-data: Likewise.
45766 * conform/data/pwd.h-data: Likewise.
45767 * conform/data/signal.h-data: Likewise.
45768 * conform/data/spawn.h-data: Likewise.
45769 * conform/data/stdio.h-data: Likewise.
45770 * conform/data/stdlib.h-data: Likewise.
45771 * conform/data/stropts.h-data: Likewise.
45772 * conform/data/sys/mman.h-data: Likewise.
45773 * conform/data/sys/stat.h-data: Likewise.
45774 * conform/data/sys/types.h-data: Likewise.
45775 * conform/data/sys/wait.h-data: Likewise.
45776 * conform/data/time.h-data: Likewise.
45777 * conform/data/unistd.h-data: Likewise.
45778 * conform/data/utime.h-data: Likewise.
45779
45780 * io/sys/stat.h: fchmod was always in POSIX.
45781 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45782 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45783 * rt/aio.h: Define __need_timespec before including <time.h>.
45784 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45785 struct. Add forward declaration of pthread_attr_t and use it in
45786 sigevent.
45787 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45788 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45789 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45790 always remove CLK_TCK definition.
45791
c20105c3
AS
457922012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45793
45794 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45795
7a270350
UD
457962012-02-25 Ulrich Drepper <drepper@gmail.com>
45797
31341567
UD
45798 * conform/run-conformtest.sh: New file.
45799 * conform/Makefile: Run run-conformtest for tests.
45800 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45801 support.
45802
45803 * conform/data/uchar.h-data: New file.
45804 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45805 * conform/data/arpa/inet.h-data: Likewise.
45806 * conform/data/assert.h-data: Likewise.
45807 * conform/data/complex.h-data: Likewise.
45808 * conform/data/cpio.h-data: Likewise.
45809 * conform/data/ctype.h-data: Likewise.
45810 * conform/data/dirent.h-data: Likewise.
45811 * conform/data/dlfcn.h-data: Likewise.
45812 * conform/data/errno.h-data: Likewise.
45813 * conform/data/fcntl.h-data: Likewise.
45814 * conform/data/float.h-data: Likewise.
45815 * conform/data/fmtmsg.h-data: Likewise.
45816 * conform/data/fnmatch.h-data: Likewise.
45817 * conform/data/ftw.h-data: Likewise.
45818 * conform/data/glob.h-data: Likewise.
45819 * conform/data/grp.h-data: Likewise.
45820 * conform/data/iconv.h-data: Likewise.
45821 * conform/data/inttypes.h-data: Likewise.
45822 * conform/data/langinfo.h-data: Likewise.
45823 * conform/data/libgen.h-data: Likewise.
45824 * conform/data/limits.h-data: Likewise.
45825 * conform/data/locale.h-data: Likewise.
45826 * conform/data/math.h-data: Likewise.
45827 * conform/data/monetary.h-data: Likewise.
45828 * conform/data/mqueue.h-data: Likewise.
45829 * conform/data/ndbm.h-data: Likewise.
45830 * conform/data/net/if.h-data: Likewise.
45831 * conform/data/netdb.h-data: Likewise.
45832 * conform/data/netinet/in.h-data: Likewise.
45833 * conform/data/nl_types.h-data: Likewise.
45834 * conform/data/poll.h-data: Likewise.
45835 * conform/data/pthread.h-data: Likewise.
45836 * conform/data/pwd.h-data: Likewise.
45837 * conform/data/regex.h-data: Likewise.
45838 * conform/data/sched.h-data: Likewise.
45839 * conform/data/search.h-data: Likewise.
45840 * conform/data/semaphore.h-data: Likewise.
45841 * conform/data/setjmp.h-data: Likewise.
45842 * conform/data/signal.h-data: Likewise.
45843 * conform/data/spawn.h-data: Likewise.
45844 * conform/data/stdarg.h-data: Likewise.
45845 * conform/data/stdio.h-data: Likewise.
45846 * conform/data/stdlib.h-data: Likewise.
45847 * conform/data/string.h-data: Likewise.
45848 * conform/data/strings.h-data: Likewise.
45849 * conform/data/stropts.h-data: Likewise.
45850 * conform/data/sys/ipc.h-data: Likewise.
45851 * conform/data/sys/mman.h-data: Likewise.
45852 * conform/data/sys/msg.h-data: Likewise.
45853 * conform/data/sys/resource.h-data: Likewise.
45854 * conform/data/sys/select.h-data: Likewise.
45855 * conform/data/sys/sem.h-data: Likewise.
45856 * conform/data/sys/shm.h-data: Likewise.
45857 * conform/data/sys/socket.h-data: Likewise.
45858 * conform/data/sys/stat.h-data: Likewise.
45859 * conform/data/sys/statvfs.h-data: Likewise.
45860 * conform/data/sys/time.h-data: Likewise.
45861 * conform/data/sys/timeb.h-data: Likewise.
45862 * conform/data/sys/times.h-data: Likewise.
45863 * conform/data/sys/types.h-data: Likewise.
45864 * conform/data/sys/uio.h-data: Likewise.
45865 * conform/data/sys/un.h-data: Likewise.
45866 * conform/data/sys/utsname.h-data: Likewise.
45867 * conform/data/sys/wait.h-data: Likewise.
45868 * conform/data/syslog.h-data: Likewise.
45869 * conform/data/tar.h-data: Likewise.
45870 * conform/data/termios.h-data: Likewise.
45871 * conform/data/utime.h-data: Likewise.
45872 * conform/data/utmpx.h-data: Likewise.
45873 * conform/data/varargs.h-data: Likewise.
45874 * conform/data/wchar.h-data: Likewise.
45875 * conform/data/wctype.h-data: Likewise.
45876 * conform/data/wordexp.h-data: Likewise.
45877
45878 * include/stropts.h: New file.
45879 * include/uchar.h: New file.
45880 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45881 * include/assert.h: Likewise.
45882 * include/ctype.h: Likewise.
45883 * include/dirent.h: Likewise.
45884 * include/dlfcn.h: Likewise.
45885 * include/fcntl.h: Likewise.
45886 * include/fnmatch.h: Likewise.
45887 * include/glob.h: Likewise.
45888 * include/grp.h: Likewise.
45889 * include/libio.h: Likewise.
45890 * include/locale.h: Likewise.
45891 * include/math.h: Likewise.
45892 * include/net/if.h: Likewise.
45893 * include/netdb.h: Likewise.
45894 * include/netinet/in.h: Likewise.
45895 * include/pthread.h: Likewise.
45896 * include/pwd.h: Likewise.
45897 * include/regex.h: Likewise.
45898 * include/sched.h: Likewise.
45899 * include/search.h: Likewise.
45900 * include/setjmp.h: Likewise.
45901 * include/signal.h: Likewise.
45902 * include/stdio.h: Likewise.
45903 * include/stdlib.h: Likewise.
45904 * include/string.h: Likewise.
45905 * include/sys/cdefs.h: Likewise.
45906 * include/sys/mman.h: Likewise.
45907 * include/sys/msg.h: Likewise.
45908 * include/sys/resource.h: Likewise.
45909 * include/sys/select.h: Likewise.
45910 * include/sys/socket.h: Likewise.
45911 * include/sys/stat.h: Likewise.
45912 * include/sys/statvfs.h: Likewise.
45913 * include/sys/time.h: Likewise.
45914 * include/sys/times.h: Likewise.
45915 * include/sys/uio.h: Likewise.
45916 * include/sys/utsname.h: Likewise.
45917 * include/sys/wait.h: Likewise.
45918 * include/termios.h: Likewise.
45919 * include/time.h: Likewise.
45920 * include/ulimit.h: Likewise.
45921 * include/unistd.h: Likewise.
45922 * include/utime.h: Likewise.
45923 * include/wchar.h: Likewise.
45924 * include/wctype.h: Likewise.
45925 * include/wordexp.h: Likewise.
45926
45927 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45928
7a270350
UD
45929 * time/time.h: TIME_UTC must be a macro.
45930 Make timespec_get available for ISO C11 only as well.
45931
7724defc
UD
459322012-02-24 Ulrich Drepper <drepper@gmail.com>
45933
45934 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45935 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45936
6b1d1d46
JM
459372012-02-24 Joseph Myers <joseph@codesourcery.com>
45938
45939 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45940
0f8bbd69
JM
459412012-02-24 Joseph Myers <joseph@codesourcery.com>
45942
45943 * manual/texinfo.tex: Update to version 2012-01-19.16.
45944
66ab80bc
JM
459452012-02-24 Joseph Myers <joseph@codesourcery.com>
45946
45947 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45948
74981cc5
RM
459492012-02-24 Roland McGrath <roland@hack.frob.com>
45950
ee968201
RM
45951 [BZ #13738]
45952 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45953 * manual/fdl-1.3.texi: New file.
45954 * manual/fdl-1.1.texi: File removed.
45955
74981cc5
RM
45956 [BZ #13738]
45957 * manual/libc.texinfo (FDL_VERSION): New @set.
45958 Use it for mention of FDL in cover text.
45959 (Documentation License): Use it in @include file name.
45960
7bb764bc
JM
459612012-02-22 Joseph Myers <joseph@codesourcery.com>
45962 Roland McGrath <roland@hack.frob.com>
45963
45964 [BZ #5461]
57f41c40
AS
45965 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45966 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45967 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45968 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45969 name.
45970 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45971
6cbeae47
JM
459722012-02-22 Joseph Myers <joseph@codesourcery.com>
45973
45974 [BZ #2547]
45975 [BZ #11365]
45976 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45977 manipulate bits before adding and subtracting TWO23[sx].
45978 * math/libm-test.inc (nearbyint_test): Add more tests.
45979
fe45ce09
JM
459802012-02-22 Joseph Myers <joseph@codesourcery.com>
45981
45982 [BZ #2548]
45983 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45984 bits before adding and subtracting TWO23[sx].
45985 * math/libm-test.inc (rint_test): Add more tests.
45986 (rint_test_tonearest): Likewise.
45987 (rint_test_towardzero): Likewise.
45988 (rint_test_downward): Likewise.
45989 (rint_test_upward: Likewise.
45990
ff3b3d82
JM
459912012-02-22 Joseph Myers <joseph@codesourcery.com>
45992
45993 [BZ #10110]
45994 * include/stdc-predef.h: New file. Extracted from features.h.
45995 * include/features.h: Include stdc-predef.h.
45996 * Makefile (headers): Add stdc-predef.h.
45997 * CONFORMANCE (Compiler limitations): Update.
45998
ef0aab35
JM
459992012-02-22 Joseph Myers <joseph@codesourcery.com>
46000
46001 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46002
58639409
DM
460032012-02-21 David S. Miller <davem@davemloft.net>
46004
46005 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46006 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46007
c0e70b25
DM
460082012-02-20 David S. Miller <davem@davemloft.net>
46009
46010 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46011 using a normal save/restore sequence, rather than allocating a
46012 dummy stack frame just to store a frame pointer and restore.
46013 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46014
fb06851d
JM
460152012-02-21 Joseph Myers <joseph@codesourcery.com>
46016
46017 * manual/install.texi: Fix stray word in line-wrapped comment.
46018
7a8b71c3
DM
460192012-02-20 David S. Miller <davem@davemloft.net>
46020
d510c123
DM
46021 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46022 both binutils and gcc support GOTDATA.
46023
0722d7c2
DM
46024 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46025 "rd %pc" in the PIC register setup sequences.
46026
3d2b3019
DM
46027 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46028 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46029 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46030 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46031 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46033 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46034 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46035 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46036 (SYSCALL_ERROR_HANDLER): Likewise.
46037 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46038 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46040 (SYSCALL_ERROR_HANDLER): Likewise.
46041
c80098a9
DM
46042 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46043 (HAVE_GCC_GOTDATA): New.
46044 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46045 relocation support in both binutils and gcc.
46046 * sysdeps/sparc/elf/configure: Regenerate.
46047
3a2545a0
DM
46048 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46049 * sysdeps/sparc/sparc32/elf/configure: Delete.
46050 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46051 * sysdeps/sparc/sparc64/elf/configure: Delete.
46052 * sysdeps/sparc/elf/configure.in: New file.
46053 * sysdeps/sparc/elf/configure: Generate.
46054
7a8b71c3
DM
46055 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46056 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46057 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46058 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46059 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46060
f1e86fca
JM
460612012-02-21 Joseph Myers <joseph@codesourcery.com>
46062
46063 * manual/install.texi: Do not mention specific glibc version
46064 numbers.
46065 * manual/libc.texinfo (VERSION, UPDATED): Update.
46066 (@copying): Use @copyright{} and range of years.
46067
0e7dfaef
JM
460682012-02-21 Joseph Myers <joseph@codesourcery.com>
46069
46070 [BZ #13695]
46071 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46072 [crti.S not in sysdirs] (generated): Do not append.
46073 [crti.S not in sysdirs] (omit-deps): Likewise.
46074 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46075 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46076 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46077 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46078 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46079 Likewise.
46080 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46081 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46082 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46083 * csu/defs.awk: Remove file.
46084 * sysdeps/generic/initfini.c: Likewise.
46085 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46086 variable.
46087 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46088 Likewise.
46089
599af3ca
JM
460902012-02-20 Joseph Myers <joseph@codesourcery.com>
46091
46092 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46093 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46094 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46095 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46097 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46098 <bits/epoll.h>.
46099 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46100 (__EPOLL_PACKED): Define to empty if not defined by
46101 <bits/epoll.h>.
46102 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46104 bits/epoll.h.
46105
0e499750
JM
461062012-02-20 Joseph Myers <joseph@codesourcery.com>
46107
46108 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46109 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46110 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46111 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46112 <bits/timerfd.h>.
46113 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46115 bits/timerfd.h.
46116
5ad91f6e
JM
461172012-02-20 Joseph Myers <joseph@codesourcery.com>
46118
46119 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46120 in C locale.
46121 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46122 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46123 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46125
06b99b02
AJ
461262012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46127
46128 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46129 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46130
7638c0fd
AS
461312012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46132
46133 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46134 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46135 defined.
46136 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46137 Likewise.
46138 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46139 entry for 2.16.
46140
92221550
AJ
461412012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46142
46143 * math/w_acos.c: Use non-signaling floating-point comparisons.
46144 * math/w_acosf.c: Likewise.
46145 * math/w_acosh.c: Likewise.
46146 * math/w_acoshf.c: Likewise.
46147 * math/w_acoshl.c: Likewise.
46148 * math/w_acosl.c: Likewise.
46149 * math/w_asin.c: Likewise.
46150 * math/w_asinf.c: Likewise.
46151 * math/w_asinl.c: Likewise.
46152 * math/w_atanh.c: Likewise.
46153 * math/w_atanhf.c: Likewise.
46154 * math/w_atanhl.c: Likewise.
46155 * math/w_exp2.c: Likewise.
46156 * math/w_exp2f.c: Likewise.
46157 * math/w_exp2l.c: Likewise.
46158 * math/w_j0.c: Likewise.
46159 * math/w_j0f.c: Likewise.
46160 * math/w_j0l.c: Likewise.
46161 * math/w_j1.c: Likewise.
46162 * math/w_j1f.c: Likewise.
46163 * math/w_j1l.c: Likewise.
46164 * math/w_jn.c: Likewise.
46165 * math/w_jnf.c: Likewise.
46166 * math/w_log.c: Likewise.
46167 * math/w_log10.c: Likewise.
46168 * math/w_log10f.c: Likewise.
46169 * math/w_log10l.c: Likewise.
46170 * math/w_log2.c: Likewise.
46171 * math/w_log2f.c: Likewise.
46172 * math/w_log2l.c: Likewise.
46173 * math/w_logf.c: Likewise.
46174 * math/w_logl.c: Likewise.
46175 * math/w_sqrt.c: Likewise.
46176 * math/w_sqrtf.c: Likewise.
46177 * math/w_sqrtl.c: Likewise.
46178 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46179 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46180 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46181 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46182 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46183
ebaf36eb
JM
461842012-02-19 Joseph Myers <joseph@codesourcery.com>
46185
46186 [BZ #9739]
46187 * manual/string.texi (strnlen): Use correct parameter name in
46188 equivalent expression.
46189
71c254a6
JM
461902012-02-19 Joseph Myers <joseph@codesourcery.com>
46191
46192 [BZ #11174]
46193 * manual/users.texi (seteuid): Consistently use neweuid for
46194 argument name.
46195
16d2c631
JM
461962012-02-19 Joseph Myers <joseph@codesourcery.com>
46197
46198 [BZ #13704]
46199 * manual/nss.texi (Services in the NSS configuration): Correct
46200 list of services in example configuration file.
46201
cd837b09
NB
462022012-02-19 Nick Bowler <nbowler@draconx.ca>
46203
46204 [BZ #11322]
46205 * manual/arith.texi: Remove statements about negative zero
46206 behaving identically to zero.
46207
02c4bbad
JM
462082012-02-18 Joseph Myers <joseph@codesourcery.com>
46209
46210 [BZ #5993]
46211 * manual/install.texi: Do not document upgrading from libc5.
46212
366842e7
JM
462132012-02-18 Joseph Myers <joseph@codesourcery.com>
46214
46215 [BZ #4596]
46216 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46217
dd54084d
DM
462182012-02-18 David S. Miller <davem@davemloft.net>
46219
46220 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46221 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46222 %o7 across the call.
46223 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46224 instead.
46225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46226 SETUP_PIC_REG_LEAF.
46227 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46228 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46229 * sysdeps/sparc/crtn.S: Likewise.
46230
2bcc53a3
UD
462312012-02-17 Ulrich Drepper <drepper@gmail.com>
46232
46233 * aout/Makefile: Remove.
46234
09c093b5
RK
462352012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46236
46237 [BZ #13058]
46238 * manual/examples/argp-ex1.c (main): Format definition in GNU
46239 style.
46240 * manual/examples/argp-ex2.c (main): Likewise.
46241 * manual/examples/argp-ex3.c (main): Likewise.
46242 * manual/examples/argp-ex4.c (main): Likewise.
46243 * manual/examples/longopt.c (main): Use new-style prototype
46244 definition.
46245 * manual/examples/strncat.c (main): Specify return type and use
46246 (void) for arguments.
46247 * manual/examples/subopt.c (main): Use char **argv argument.
46248
2ee633a2
JM
462492012-02-17 Joseph Myers <joseph@codesourcery.com>
46250
46251 [BZ #5077]
46252 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46253 rounding modes.
46254
0520adde
FB
462552012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46256
46257 [BZ #6907]
46258 * manual/string.texi (strchr): Change when strchrnul is
46259 recommended.
46260
3f4081cd
DGM
462612012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46262
46263 [BZ #174]
46264 * manual/locale.texi (setlocale): Document LOCPATH.
46265
d1b10e78
JM
462662012-02-17 Joseph Myers <joseph@codesourcery.com>
46267
46268 [BZ #10210]
46269 * manual/process.texi (execle): Move @dots{} before last argument.
46270
79c6869c
PB
462712012-02-17 Paul Bolle <pebolle@tiscali.nl>
46272
46273 [BZ #12047]
46274 * manual/charset.texi (Generic Charset Conversion): Fix typo
46275 (LC_TYPE -> LC_CTYPE).
46276
cc6e48bc
NB
462772012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46278
46279 [BZ #5805]
46280 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46281 (scalbnf): Likewise.
46282 (scalbnl): Likewise.
46283 (scalbln): Likewise.
46284 (scalblnf): Likewise.
46285 (scalblnl): Likewise.
46286 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46287 (vwarnx): Likewise.
46288 (verr): Likewise.
46289 (verrx): Likewise.
46290 * manual/filesys.texi (telldir): Use braces around return type.
46291 * manual/llio.texi (mmap): Add space after comma.
46292 (mmap64): Likewise.
46293 * manual/math.texi (jn): Use @var{} on parameter names.
46294 (jnf): Likewise.
46295 (jnl): Likewise.
46296 (yn): Likewise.
46297 (ynf): Likewise.
46298 (ynl): Likewise.
46299 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46300 line.
46301 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46302 "...".
46303 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46304 (sched_get_priority_max): Likewise.
46305 * manual/signal.texi (sigvec): Add space after comma.
46306 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46307 names.
46308 (if_indextoname): Likewise.
46309 (if_freenameindex): Likewise.
46310 (sendto): Use ',' instead of '.' in prototype.
46311 * manual/startup.texi (syscall): Use @dots{} instead of literal
46312 "...".
46313 * manual/stdio.texi (__fpending): Separate initial words of
46314 paragraph from @deftypefun line.
46315 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46316 "...".
46317 (vsyslog): Use @var{} on parameter names.
46318 * manual/terminal.texi (stty): Use @var{} on parameter names.
46319 * manual/users.texi (getutmp): Use @var{} on parameter names.
46320 (getutmpx): Likewise.
46321
5b23062f
JM
463222012-02-17 Joseph Myers <joseph@codesourcery.com>
46323
46324 [BZ #6884]
46325 * manual/stdio.texi (fopen): Fix typos in description of
46326 ",ccs=STRING".
46327
8dee4833
AJ
463282012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46329
46330 [BZ #4026]
46331 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46332 get clock_id definition.
46333
9078ce93
TS
463342012-02-17 Thomas Schwinge <thomas@schwinge.name>
46335
46336 [BZ #4822]
46337 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46338 (madvise): Cast every argument to void on its own.
46339
3835c55f
JM
463402012-02-17 Joseph Myers <joseph@codesourcery.com>
46341
46342 [BZ #9902]
46343 * manual/startup.texi (Exit Status): Fix typo.
46344
35c47e37
JM
463452012-02-17 Joseph Myers <joseph@codesourcery.com>
46346
46347 [BZ #10140]
46348 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46349 * manual/examples/argp-ex2.c: Likewise.
46350 * manual/examples/argp-ex3.c: Likewise.
46351
e3b69ca7
RH
463522012-02-16 Richard Henderson <rth@redhat.com>
46353
46354 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46355 * sysdeps/s390/s390-32/initfini.c: Remove.
46356 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46357 * sysdeps/s390/s390-64/initfini.c: Remove.
46358
df83af67
KK
463592012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46360
46361 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46362 compiler output for sysdeps/generic/initfini.c.
46363 * sysdeps/sh/elf/initfini.c: Remove file.
46364
f63f3380
DM
463652012-02-16 David S. Miller <davem@davemloft.net>
46366
fb59b3a4
DM
46367 [BZ #11494]
46368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46369
f63f3380
DM
46370 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46371 * sysdeps/sparc/crti.S: New file.
46372 * sysdeps/sparc/crtn.S: New file.
46373 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46374 * sysdeps/sparc/sparc64/Makefile: Likewise.
46375
df6a4a4a
MF
463762012-02-15 Mike Frysinger <vapier@gentoo.org>
46377
6dd8f3dc 46378 [BZ #3335]
df6a4a4a
MF
46379 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46380
1cac7236
RM
463812012-02-15 Roland McGrath <roland@hack.frob.com>
46382
d2c736f8
RM
46383 [BZ #4822]
46384 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46385
1cac7236
RM
46386 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46387 (write, read, close): Likewise.
46388 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46389
8e475601
JM
463902012-02-15 Joseph Myers <joseph@codesourcery.com>
46391
46392 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46393 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46394 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46395 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46396 <bits/signalfd.h>.
46397 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46398 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46399 bits/signalfd.h.
46400
ed656b40
MP
464012012-02-14 Marek Polacek <polacek@redhat.com>
46402
46403 * sysdeps/x86_64/crti.S: New file.
46404 * sysdeps/x86_64/crtn.S: New file.
46405 * sysdeps/x86_64/elf/initfini.c: Remove file.
46406
2a979d3a
JM
464072012-02-13 Joseph Myers <joseph@codesourcery.com>
46408
46409 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46410 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46411 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46412 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46413 <bits/inotify.h>.
46414 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46416 bits/inotify.h.
46417
2a418ac3
JM
464182012-02-13 Joseph Myers <joseph@codesourcery.com>
46419
46420 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46421 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46422 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46423 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46424 <bits/eventfd.h>.
46425 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46427 bits/eventfd.h.
46428
fb779be7
TS
464292012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46430
e19e83c5
RM
46431 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46432 __feraiseexcept instead of feraiseexcept.
7c35ffed 46433
fb779be7
TS
46434 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46435 nanosleep invocations.
46436 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46437 strings, and add error checking for a nanosleep invocations.
46438
59ba27a6
PE
464392012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46440
46441 Replace FSF snail mail address with URLs, as per GNU coding standards.
46442 Most of the snail mail addresses were wrong anyway, and omitting
46443 them makes the source code easier to maintain. Almost all of the
46444 changes are to license notices and to locale LC_IDENTIFICATION
46445 addresses, except for this one:
46446 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46447 not its snail mail address.
46448
57b957eb
RH
464492012-02-09 Richard Henderson <rth@twiddle.net>
46450
af850b1c
RH
46451 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46452 of kernel-features.h.
46453
57b957eb
RH
46454 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46455
6b73181a
MP
464562012-02-08 Marek Polacek <polacek@redhat.com>
46457
46458 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46459 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46460 * sysdeps/gnu/_G_config.h: Likewise.
46461 * sysdeps/generic/_G_config.h: Likewise.
46462
26ecc33a
AS
464632012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46464
6c6dbc63
AS
46465 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46466 tests.
46467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46468
e216c012
AS
46469 * sysdeps/powerpc/powerpc32/crti.S: New file.
46470 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46471 * sysdeps/powerpc/powerpc64/crti.S: New file.
46472 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46473
26ecc33a
AS
46474 * Makeconfig (have-initfini): Don't set.
46475 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46476 * configure.in (nopic_initfini): Don't substitute.
46477 * config.h.in (HAVE_INITFINI): Don't #undef.
46478 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46479 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46480
3add8e13
JM
464812012-02-08 Joseph Myers <joseph@codesourcery.com>
46482
46483 Support crti.S and crtn.S provided directly by architectures.
46484 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46485 [crti.S in sysdirs] (omit-deps): Likewise.
46486 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46487 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46488 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46489 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46490 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46491 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46492 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46493 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46494 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46495 compiler output for sysdeps/generic/initfini.c.
46496 * sysdeps/i386/elf/Makefile: Remove file.
46497 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46498
a22f12b4
MP
464992012-02-07 Marek Polacek <polacek@redhat.com>
46500
46501 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46502 * sysdeps/gnu/_G_config.h: Likewise.
46503 * sysdeps/mach/hurd/_G_config.h: Likewise.
46504
148cf100
MP
465052012-02-07 Marek Polacek <polacek@redhat.com>
46506
46507 * math/Makefile (tests): Add tst-CMPLX2.
46508 * math/tst-CMPLX2.c: New file.
46509
cfdc0dd7
AS
465102012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46511
84ba42c4
AS
46512 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46513
cfdc0dd7
AS
46514 * math/libm-test.inc (jn_test): Add missing L suffix.
46515
622c86f4
MP
465162012-02-06 Marek Polacek <polacek@redhat.com>
46517
46518 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46519 * sysdeps/i386/fpu/e_powf.S: Likewise.
46520 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46521 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46522 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46523 * sysdeps/i386/fpu/e_pow.S: Likewise.
46524 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46526 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46527 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46528 * sysdeps/i386/fpu/e_log2.S: Likewise.
46529 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46530 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46531 * sysdeps/i386/fpu/e_powl.S: Likewise.
46532 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46533 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46534 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46535 * sysdeps/i386/fpu/e_logl.S: Likewise.
46536 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46537 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46538 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46539 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46540 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46541 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46542 * sysdeps/i386/fpu/e_log.S: Likewise.
46543 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46544 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46545 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46546 * sysdeps/i386/fpu/e_logf.S: Likewise.
46547 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46548 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46549 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46550 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46551 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46552 * sysdeps/i386/fpu/e_log10.S: Likewise.
46553 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46554 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46555 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46556 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46557 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46558 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46559 * sysdeps/i386/asm-syntax.h: Likewise.
46560 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46561 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46562 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46563 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46564 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46565 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46566 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46567 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46568 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46569 * sysdeps/powerpc/sysdep.h: Likewise.
46570 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46571 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46572
d4a54ac6
JM
465732012-02-06 Joseph Myers <joseph@codesourcery.com>
46574
46575 [BZ #411]
46576 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46577
314054ea
JM
465782012-02-06 Joseph Myers <joseph@codesourcery.com>
46579
46580 * sysdeps/i386/sysdep.h: Include <features.h>.
46581 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46582 version.
46583
d8e0ca50
JM
465842012-02-05 Joseph Myers <joseph@codesourcery.com>
46585
46586 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46587 Define.
46588 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46589 LOAD_PIC_REG_STR.
46590
b1da7dd9
JM
465912012-02-03 Joseph Myers <joseph@codesourcery.com>
46592
46593 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46594 (SETUP_PIC_REG): Use GET_PC_THUNK.
46595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46596 macro.
46597
9a1d9254
JM
465982012-02-03 Joseph Myers <joseph@codesourcery.com>
46599
46600 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46601 for non-PIC compilation.
46602 (SETUP_PIC_REG): Add .p2align directive.
46603 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46604 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46605 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46606 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46607 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46608 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46609 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46611 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46612 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46613 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46614 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46615 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46616 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46617 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46618 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46619 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46620 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46621 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46622 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46623 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46624 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46625 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46626 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46627 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46628 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46629 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46630 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46631 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46632 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46633 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46634 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46635 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46636 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46637 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46638 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46639 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46640 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46641 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46642 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46643 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46644
65dc3b75
JM
466452012-02-03 Joseph Myers <joseph@codesourcery.com>
46646
46647 * math/tst-CMPLX.c: Include <stdio.h>.
46648
d55bf177
JM
466492012-01-31 Joseph Myers <joseph@codesourcery.com>
46650
46651 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46652 float.
46653 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46654 * sysdeps/sparc/bits/mathdef.h: Likewise.
46655
69db4f8f
MP
466562012-01-31 Marek Polacek <polacek@redhat.com>
46657
46658 * libio/libio.h: Don't define _PARAMS.
46659 * locale/programs/config.h: Don't define PARAMS.
46660 * stdlib/strtol_l.c: Likewise.
46661 (__strtol_l): Remove PARAMS from the prototype.
46662
41b81892
UD
466632012-01-31 Ulrich Drepper <drepper@gmail.com>
46664
3b49edc0
UD
46665 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46666 names. Just use the correct names. Remove unnecessary wrapper
46667 functions.
46668 * malloc/arena.c: Likewise.
46669 * malloc/hooks.c: Likewise.
46670
41b81892
UD
46671 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46672 ARENA_TEST says not to. Simplify test for creation of a new arena.
46673 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46674
27a25b6e
UD
466752012-01-30 Ulrich Drepper <drepper@gmail.com>
46676
46677 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46678 into tail calls.
46679 (update_get_addr): New function.
46680 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46681 GET_ADDR_MODULE parameter.
46682
c8a89e7d
JM
466832012-01-30 Joseph Myers <joseph@codesourcery.com>
46684
46685 * crypt/cert.c: Remove __STDC__ conditionals.
46686 * crypt/crypt-entry.c: Likewise.
46687 * crypt/crypt_util.c: Likewise.
46688 * libio/filedoalloc.c: Likewise.
46689 * libio/fileops.c: Likewise.
46690 * libio/genops.c: Likewise.
46691 * libio/iofclose.c: Likewise.
46692 * libio/iofdopen.c: Likewise.
46693 * libio/iofopen.c: Likewise.
46694 * libio/iofopen64.c: Likewise.
46695 * libio/iogetdelim.c: Likewise.
46696 * libio/iopopen.c: Likewise.
46697 * libio/obprintf.c: Likewise.
46698 * libio/oldfileops.c: Likewise.
46699 * libio/oldiofclose.c: Likewise.
46700 * libio/oldiofdopen.c: Likewise.
46701 * libio/oldiofopen.c: Likewise.
46702 * libio/oldiopopen.c: Likewise.
46703 * libio/wfiledoalloc.c: Likewise.
46704 * libio/wgenops.c: Likewise.
46705 * locale/programs/xmalloc.c: Likewise.
46706 * misc/syslog.c: Likewise.
46707 * stdio-common/xbug.c: Likewise.
46708 * string/memchr.c: Likewise.
46709 * string/memcmp.c: Likewise.
46710 * string/memrchr.c: Likewise.
46711 * string/rawmemchr.c: Likewise.
46712 * sysdeps/posix/getcwd.c: Likewise.
46713 * time/strftime_l.c: Likewise.
46714
3b100462
JM
467152012-01-30 Joseph Myers <joseph@codesourcery.com>
46716
46717 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46718 * config.make.in (config-cflags-sse2avx): Define.
46719 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46720 Fix typo.
46721
607998af
CM
467222012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46723
46724 * scripts/config.guess: Update from upstream config git repository.
46725 * scripts/config.sub: Likewise.
46726
3601428f
CM
467272012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46728
3ac8b282
CM
46729 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46730 (EM_NUM): Update.
46731 (R_TILEPRO_*, R_TILEGX_*): New macros.
46732
e034841e
CM
46733 * scripts/firstversions.awk: Fix bug in version range handling.
46734
540d7568
CM
46735 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46736
3601428f
CM
46737 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46738
463de862
CM
46739 * include/sys/epoll.h: New file.
46740 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46741 libc_hidden_def.
46742
73139a76
UD
467432012-01-28 Ulrich Drepper <drepper@gmail.com>
46744
96bc5b45
UD
46745 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46746 Avoid unnecessary __WORDSIZE == 64 test.
46747 (fmaxf): Use VEX format if possible.
46748 (fmax): Likewise.
46749 (fminf): Likewise.
46750 (fmin): Likewise.
46751
56f6f6a2
UD
46752 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46753 * math/math_private.h: Remove libc_fegetround* and
46754 libc_fesetround*.
46755 * sysdeps/i386/configure.in: Check for -msse2avx.
46756 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46757 also if SSE2AVX is defined.
46758 Remove libc_fegetround* and libc_fesetround*.
46759 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46760 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46761 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46762 of HAS_YMM_USABLE.
46763 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46764 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46765 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46766 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46767 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46768
73139a76
UD
46769 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46770
d73f93a4
AZ
467712012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46772
46773 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46774 size is not set.
46775 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46776
6ee65ed6
UD
467772012-01-27 Ulrich Drepper <drepper@gmail.com>
46778
46779 [BZ #13618]
46780 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46781 relocation.
46782 * Makeconfig (libm): Define.
46783 * elf/Makefile: Add rules to build and run tst-relsort1.
46784 * elf/tst-relsort1.c: New file.
46785 * elf/tst-relsort1mod1.c: New file.
46786 * elf/tst-relsort1mod2.c: New file.
46787
8db21882
JM
467882012-01-27 Joseph Myers <joseph@codesourcery.com>
46789
46790 * math/s_ldexp.c: Remove __STDC__ conditionals.
46791 * math/s_ldexpf.c: Likewise.
46792 * math/s_ldexpl.c: Likewise.
46793 * math/s_nextafter.c: Likewise.
46794 * math/s_nexttowardf.c: Likewise.
46795 * math/s_significand.c: Likewise.
46796 * math/s_significandf.c: Likewise.
46797 * math/s_significandl.c: Likewise.
46798 * math/w_jnl.c: Likewise.
46799 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46800 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46801 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46802 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46803 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46804 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46805 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46806 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46807 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46808 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46809 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46818 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46819 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46820 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46821 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46822 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46823 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46824 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46825 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46826 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46827 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46828 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46829 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46830 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46831 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46832 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46833 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46834 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46835 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46836 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46837 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46838 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46839 * sysdeps/ieee754/k_standard.c: Likewise.
46840 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46841 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46842 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46843 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46844 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46845 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46848 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46849 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46850 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46852 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46853 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46854 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46855 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46857 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46858 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46859 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46860 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46861 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46862 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46863 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46864 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46865 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46867 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46869 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46870 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46871 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46872 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46873 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46874 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46875 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46876 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46877 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46878 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46879 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46880 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46881 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46882 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46883 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46884 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46885 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46886 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46887 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46888 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46889 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46890 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46893 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46894 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46895 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46896 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46897 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46898 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46899 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46900 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46901 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46902 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46903 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46904 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46905 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46906 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46907 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46908 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46909 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46910 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46911 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46912 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46913 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46914 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46915 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46916 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46917 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46918 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46919 * sysdeps/ieee754/s_matherr.c: Likewise.
46920 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46921 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46922 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46923 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46924
965a54a4
JM
469252012-01-26 Joseph Myers <joseph@codesourcery.com>
46926
46927 * crypt/md5.h: Remove __STDC__ conditionals.
46928 * libio/libioP.h: Likewise.
46929 * locale/programs/config.h: Likewise.
46930 * sysdeps/generic/sysdep.h: Likewise.
46931 * sysdeps/i386/asm-syntax.h: Likewise.
46932 * sysdeps/s390/asm-syntax.h: Likewise.
46933 * sysdeps/unix/sysdep.h: Likewise.
46934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46936
7071ad79
JM
469372012-01-26 Joseph Myers <joseph@codesourcery.com>
46938
46939 * libio/libio.h: Remove __STDC__ conditionals.
46940 * malloc/obstack.h: Likewise.
46941 * math/complex.h: Likewise.
46942 * math/math.h: Likewise.
46943 * sysdeps/generic/_G_config.h: Likewise.
46944 * sysdeps/gnu/_G_config.h: Likewise.
46945 * sysdeps/mach/hurd/_G_config.h: Likewise.
46946 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46947 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46948 * sysdeps/sparc/bits/mathdef.h: Likewise.
46949
afc5ed09
UD
469502012-01-26 Ulrich Drepper <drepper@gmail.com>
46951
46952 [BZ #13583]
46953 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46954 Clean up HAS_* macros.
afc5ed09 46955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46956 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46957 possible.
46958 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46959 HAS_AVX.
46960 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46961 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46962 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46963 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46964 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46965
bdb6de1d
JM
469662012-01-25 Joseph Myers <joseph@codesourcery.com>
46967
46968 * elf/tst-unique3.cc (gets): Remove declaration.
46969 * elf/tst-unique3lib.cc (gets): Likewise.
46970 * elf/tst-unique3lib2.cc (gets): Likewise.
46971 * elf/tst-unique4.cc (gets): Likewise.
46972
b15549e6
UD
469732012-01-24 Ulrich Drepper <drepper@gmail.com>
46974
46975 * include/stdio.h: Add C++ protection. Add gets declarations and
46976 definitions.
46977 * debug/tst-chk1.c: Don't declare gets here.
46978 * stdio-common/tst-gets.c: Likewise.
46979
a037381f
JM
469802012-01-24 Joseph Myers <joseph@codesourcery.com>
46981
46982 * posix/glob: Remove directory.
46983
f1d4aa75
JM
469842012-01-24 Joseph Myers <joseph@codesourcery.com>
46985
46986 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46987
81c0c964
PT
469882012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46989
46990 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46991 of the non-standard EPFNOSUPPORT.
46992
0ea698ae
ST
469932011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46994
46995 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46996 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46997 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46998
d220b117
UD
469992012-01-21 Ulrich Drepper <drepper@gmail.com>
47000
47001 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47002
3e1aa84e
UD
470032012-01-20 Ulrich Drepper <drepper@gmail.com>
47004
47005 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47006 transient errors.
47007 * nscd/grpcache.c (cache_addgr): Likewise.
47008 * nscd/hstcache.c (cache_addhst): Likewise.
47009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47010 * nscd/pwdcache.c (cache_addpw): Likewise.
47011 * nscd/servicescache.c (cache_addserv): Likewise.
47012
400aa020
UD
470132012-01-16 Ulrich Drepper <drepper@gmail.com>
47014
d77e7869
UD
47015 * malloc/malloc.c: Various cleanups.
47016 * malloc/hooks.c: Likewise.
47017
400aa020
UD
47018 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47019 * stdlib/bug-fmtmsg1.c: New file.
47020
47021 * stdlib/fmtmsg.c (init): Add missing unlock.
47022 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47023
e0a309cf
MP
470242012-01-12 Marek Polacek <polacek@redhat.com>
47025
47026 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47027 and _GNU_SOURCE.
47028
929d11c7
WS
470292012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47030
47031 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47032 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47033 macro to ensure uniqueness of label name.
47034 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47035 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47036
41d0e869
UD
470372012-01-11 Ulrich Drepper <drepper@gmail.com>
47038
0cc5ed3b
UD
47039 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47040
41d0e869
UD
47041 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47042 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47045
a47a831a
UD
470462012-01-10 Ulrich Drepper <drepper@gmail.com>
47047
daa891c0
UD
47048 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47049
47050 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47051 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47052 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47053
e58ef0f2
UD
47054 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47055
a47a831a 47056 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
47057 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47058 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 47059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
47060
47061 * math/bits/math-finite.h: Add ldexp support.
47062
a0bfc9c7
MP
470632012-01-10 Marek Polacek <polacek@redhat.com>
47064
47065 * locale/programs/localedef.h (show_archive_content): Add noreturn
47066 attribute.
47067
d6e97a1d
UD
470682012-01-09 Ulrich Drepper <drepper@gmail.com>
47069
47070 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47071
d5835c26
UD
470722012-01-08 Ulrich Drepper <drepper@gmail.com>
47073
e5f484c6
UD
47074 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47075
d5835c26
UD
47076 * io/Makefile (headers): Add bits/poll2.h.
47077
d1f741e9
WS
470782011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47079
47080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47081 typo #include statement.
47082
ec09c1c4
UD
470832012-01-08 Ulrich Drepper <drepper@gmail.com>
47084
47085 * include/sys/cdefs.h: Define __attribute_alloc_size.
47086 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47087 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47088 * elf/pldd.c: Likewise.
47089 * iconv/iconv_charmap.c: Likewise.
47090 * iconv/iconvconfig.c: Likewise.
47091 * iconv/strtab.c: Likewise.
47092 * locale/programs/locale.c: Likewise.
47093 * locale/programs/localedef.h: Likewise.
47094 * locale/programs/simple-hash.c: Likewise.
47095 * nscd/nscd.h: Likewise.
47096 * nss/makedb.c: Likewise.
47097 * sysdeps/generic/ldconfig.h: Likewise.
47098 * locale/programs/localedef.c: Remove xmalloc prototype.
47099 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47100
20b38e03
PP
471012012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47102
47103 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47104 appropriate.
47105
a0da5fe1
UD
471062012-01-08 Ulrich Drepper <drepper@gmail.com>
47107
1d5a644a 47108 * math/Makefile (tests): Add tst-CMPLX.
669704fd 47109 * math/tst-CMPLX.c: New file.
1d5a644a 47110
8784a6db
UD
47111 * math/complex.h (CMPLXL): Fix typo.
47112
d9a216c0
UD
47113 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47114 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47115 GLIBC_2.16.
47116 * debug/tst-chk1.c: Add poll and ppoll tests.
47117 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47118 * include/sys/poll.h: Add hidden proto for ppoll.
47119 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47120 * sysdeps/mach/hurd/ppoll.c: Likewise.
47121 * io/ppoll.c: Likewise.
47122 * debug/poll_chk.c: New file.
47123 * debug/ppoll_chk.c: New file.
47124 * include/bits/poll2.h: New file.
47125 * io/bits/poll2.h: New file.
47126
ac097f5c
UD
47127 [BZ #1350]
47128 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47129
2119dcfa
UD
47130 * configure.in: static is always set to yes. Remove.
47131 * config.make.in: Don't set build-static.
47132 * Makeconfig: Remove use of build-static.
47133 * dlfcn/Makefile: Likewise.
47134 * elf/Makefile: Likewise.
47135 * math/Makefile: Likewise.
47136 * misc/Makefile: Likewise.
47137 * nptl/Makefile: Likewise.
47138 * sysdeps/mach/hurd/Makefile: Likewise.
47139
121766a9
UD
47140 * configure.in: PWD_P is not used anymore.
47141 * config.make.in: Remove PWD_P entry.
47142
51a1d39c 47143 * configure.in: Remove last remnants of RANLIB.
8720d066 47144 No need to check for signed size_t anymore.
215f4bdc
UD
47145 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47146 and IA-64.
3857022a 47147 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
47148 * aclocal.m4: Likewise.
47149
d3ed7225
UD
47150 * wcsmbs/mbrtoc16.c: Implement using towc function.
47151 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47152 * wcsmbs/wcsmbsload.c: Likewise.
47153 * iconv/gconv_simple.c: Likewise.
47154 * iconv/gconv_int.h: Likewise.
47155 * iconv/gconv_builtin.h: Likewise.
47156 * iconv/iconv_prog.c: Remove CHAR16 handling.
47157
47158 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47159
47160 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47161
a0da5fe1
UD
47162 * configure.in: Remove --with-elf and --enable-bounded options.
47163 Dont set base_machine for ia64. More non-ELF conditions removed.
47164 Remove testing and setting of leading underscore information.
47165 * config.make.in (build-bounded): Set to no.
47166 * config.h.in: Remove NO_UNDERSCORES entry.
47167 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47168 them.
47169 * csu/start.c: Remove !NO_UNDERSCORE code.
47170 * locale/localeinfo.h: Likewise.
47171 * sysdeps/generic/machine-gmon.h: Likewise.
47172 * sysdeps/generic/sysdep.h: Likewise.
47173 * sysdeps/i386/sysdep.h: Likewise.
47174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47175 * sysdeps/mach/sysdep.h: Likewise.
47176 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47178 * sysdeps/sh/sysdep.h: Likewise.
47179 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47180 * sysdeps/unix/i386/sysdep.S: Likewise.
47181 * sysdeps/unix/sparc/start.c: Likewise.
47182 * sysdeps/unix/sparc/sysdep.S: Likewise.
47183 * sysdeps/unix/sparc/sysdep.h: Likewise.
47184 * sysdeps/unix/start.c: Likewise.
47185 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47186 * sysdeps/x86_64/sysdep.h: Likewise.
47187
df78418a
UD
471882012-01-07 Ulrich Drepper <drepper@gmail.com>
47189
a784e502
UD
47190 [BZ #13553]
47191 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47192 for non-gcc.
47193 * argp/argp-fmtstream.h: Use const instead __const.
47194 * argp/argp.h: Likewise.
47195 * assert/assert.h: Likewise.
47196 * bits/fenv.h: Likewise.
47197 * bits/sched.h: Likewise.
47198 * bits/sigset.h: Likewise.
47199 * bits/sigthread.h: Likewise.
47200 * catgets/nl_types.h: Likewise.
47201 * conform/data/pthread.h-data: Likewise.
47202 * crypt/crypt-private.h: Likewise.
47203 * crypt/crypt.h: Likewise.
47204 * crypt/crypt_util.c: Likewise.
47205 * ctype/ctype.h: Likewise.
47206 * debug/execinfo.h: Likewise.
47207 * debug/mbsnrtowcs_chk.c: Likewise.
47208 * debug/mbsrtowcs_chk.c: Likewise.
47209 * debug/wcsnrtombs_chk.c: Likewise.
47210 * debug/wcsrtombs_chk.c: Likewise.
47211 * debug/wcstombs_chk.c: Likewise.
47212 * dirent/dirent.h: Likewise.
47213 * dlfcn/dlfcn.h: Likewise.
47214 * elf/neededtest4.c: Likewise.
47215 * grp/grp.h: Likewise.
47216 * gshadow/gshadow.h: Likewise.
47217 * iconv/gconv.h: Likewise.
47218 * iconv/gconv_int.h: Likewise.
47219 * iconv/gconv_simple.c: Likewise.
47220 * iconv/iconv.h: Likewise.
47221 * iconv/loop.c: Likewise.
47222 * iconv/skeleton.c: Likewise.
47223 * include/aio.h: Likewise.
47224 * include/aliases.h: Likewise.
47225 * include/argz.h: Likewise.
47226 * include/arpa/inet.h: Likewise.
47227 * include/assert.h: Likewise.
47228 * include/dirent.h: Likewise.
47229 * include/dlfcn.h: Likewise.
47230 * include/execinfo.h: Likewise.
47231 * include/fcntl.h: Likewise.
47232 * include/fenv.h: Likewise.
47233 * include/glob.h: Likewise.
47234 * include/grp.h: Likewise.
47235 * include/libintl.h: Likewise.
47236 * include/mntent.h: Likewise.
47237 * include/netdb.h: Likewise.
47238 * include/pwd.h: Likewise.
47239 * include/rpc/netdb.h: Likewise.
47240 * include/sched.h: Likewise.
47241 * include/search.h: Likewise.
47242 * include/shadow.h: Likewise.
47243 * include/signal.h: Likewise.
47244 * include/stdio.h: Likewise.
47245 * include/stdlib.h: Likewise.
47246 * include/string.h: Likewise.
47247 * include/sys/socket.h: Likewise.
47248 * include/sys/stat.h: Likewise.
47249 * include/sys/statfs.h: Likewise.
47250 * include/sys/statvfs.h: Likewise.
47251 * include/sys/syslog.h: Likewise.
47252 * include/sys/time.h: Likewise.
47253 * include/sys/uio.h: Likewise.
47254 * include/time.h: Likewise.
47255 * include/unistd.h: Likewise.
47256 * include/utmp.h: Likewise.
47257 * include/wchar.h: Likewise.
47258 * include/wctype.h: Likewise.
47259 * inet/aliases.h: Likewise.
47260 * inet/arpa/inet.h: Likewise.
47261 * inet/netinet/ether.h: Likewise.
47262 * inet/netinet/in.h: Likewise.
47263 * intl/libintl.h: Likewise.
47264 * io/bits/fcntl2.h: Likewise.
47265 * io/fcntl.h: Likewise.
47266 * io/ftw.h: Likewise.
47267 * io/sys/poll.h: Likewise.
47268 * io/sys/stat.h: Likewise.
47269 * io/sys/statfs.h: Likewise.
47270 * io/sys/statvfs.h: Likewise.
47271 * io/utime.h: Likewise.
47272 * libio/bits/stdio.h: Likewise.
47273 * libio/bits/stdio2.h: Likewise.
47274 * libio/libio.h: Likewise.
47275 * libio/libioP.h: Likewise.
47276 * libio/stdio.h: Likewise.
47277 * locale/lc-ctype.c: Likewise.
47278 * locale/locale.h: Likewise.
47279 * login/utmp.h: Likewise.
47280 * malloc/arena.c: Likewise.
47281 * malloc/malloc.c: Likewise.
47282 * malloc/malloc.h: Likewise.
47283 * malloc/mcheck.c: Likewise.
47284 * malloc/mtrace.c: Likewise.
47285 * math/bits/mathcalls.h: Likewise.
47286 * math/fenv.h: Likewise.
47287 * math/math_private.h: Likewise.
47288 * misc/bits/error.h: Likewise.
47289 * misc/bits/syslog.h: Likewise.
47290 * misc/err.h: Likewise.
47291 * misc/error.h: Likewise.
47292 * misc/fstab.h: Likewise.
47293 * misc/mntent.h: Likewise.
47294 * misc/regexp.h: Likewise.
47295 * misc/search.h: Likewise.
47296 * misc/sgtty.h: Likewise.
47297 * misc/sys/mman.h: Likewise.
47298 * misc/sys/syslog.h: Likewise.
47299 * misc/sys/uio.h: Likewise.
47300 * misc/sys/xattr.h: Likewise.
47301 * misc/ttyent.h: Likewise.
47302 * nis/rpcsvc/ypclnt.h: Likewise.
47303 * nss/nss.h: Likewise.
47304 * posix/bits/unistd.h: Likewise.
47305 * posix/fnmatch.h: Likewise.
47306 * posix/glob.h: Likewise.
47307 * posix/sched.h: Likewise.
47308 * posix/spawn.h: Likewise.
47309 * posix/sys/wait.h: Likewise.
47310 * posix/unistd.h: Likewise.
47311 * posix/wordexp.h: Likewise.
47312 * pwd/pwd.h: Likewise.
47313 * resolv/netdb.h: Likewise.
47314 * resource/sys/resource.h: Likewise.
47315 * rt/aio.h: Likewise.
47316 * rt/bits/mqueue2.h: Likewise.
47317 * rt/mqueue.h: Likewise.
47318 * shadow/shadow.h: Likewise.
47319 * signal/signal.h: Likewise.
47320 * socket/send.c: Likewise.
47321 * socket/sendto.c: Likewise.
47322 * socket/sys/socket.h: Likewise.
47323 * stdio-common/printf.h: Likewise.
47324 * stdlib/bits/stdlib.h: Likewise.
47325 * stdlib/fmtmsg.h: Likewise.
47326 * stdlib/monetary.h: Likewise.
47327 * stdlib/stdlib.h: Likewise.
47328 * stdlib/ucontext.h: Likewise.
47329 * streams/stropts.h: Likewise.
47330 * string/argz.h: Likewise.
47331 * string/bits/string2.h: Likewise.
47332 * string/string.h: Likewise.
47333 * string/strings.h: Likewise.
47334 * sunrpc/rpc/auth.h: Likewise.
47335 * sunrpc/rpc/auth_des.h: Likewise.
47336 * sunrpc/rpc/clnt.h: Likewise.
47337 * sunrpc/rpc/netdb.h: Likewise.
47338 * sunrpc/rpc/pmap_clnt.h: Likewise.
47339 * sunrpc/rpc/xdr.h: Likewise.
47340 * sysdeps/generic/inttypes.h: Likewise.
47341 * sysdeps/generic/net/if.h: Likewise.
47342 * sysdeps/generic/sys/swap.h: Likewise.
47343 * sysdeps/gnu/net/if.h: Likewise.
47344 * sysdeps/gnu/utmpx.h: Likewise.
47345 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47346 * sysdeps/i386/i486/bits/string.h: Likewise.
47347 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47348 * sysdeps/s390/bits/string.h: Likewise.
47349 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47350 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47351 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47352 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47353 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47354 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47355 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47356 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47357 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47358 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47359 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47360 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47361 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47362 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47363 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47364 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47365 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47366 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47367 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47369 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47370 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47371 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47372 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47373 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47374 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47375 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47376 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47377 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47378 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47379 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47380 * sysvipc/sys/ipc.h: Likewise.
47381 * sysvipc/sys/msg.h: Likewise.
47382 * sysvipc/sys/sem.h: Likewise.
47383 * sysvipc/sys/shm.h: Likewise.
47384 * termios/termios.h: Likewise.
47385 * time/sys/time.h: Likewise.
47386 * time/time.h: Likewise.
47387 * wcsmbs/bits/wchar2.h: Likewise.
47388 * wcsmbs/uchar.h: Likewise.
47389 * wcsmbs/wchar.h: Likewise.
47390 * wctype/wctype.h: Likewise.
47391
0269750c
UD
47392 [BZ #13551]
47393 * Makeconfig: Remove all but ELF support including AIX support.
47394 * Makerules: Likewise.
47395 * config.h.in: Likewise.
47396 * config.make.in: Likewise.
47397 * configure: Likewise.
47398 * configure.in: Likewise.
47399 * csu/Makefile: Likewise.
47400 * csu/version.c: Likewise.
47401 * debug/Makefile: Likewise.
47402 * dlfcn/Makefile: Likewise.
47403 * elf/Makefile: Likewise.
47404 * extra-lib.mk: Likewise.
47405 * iconv/Makefile: Likewise.
47406 * include/libc-symbols.h: Likewise.
47407 * include/shlib-compat.h: Likewise.
47408 * resolv/Makefile: Likewise.
47409 * resolv/res_libc.c: Likewise.
47410 * rt/Makefile: Likewise.
47411 * sysdeps/i386/asm-syntax.h: Likewise.
47412 * sysdeps/i386/sysdep.h: Likewise.
47413 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47414 * sysdeps/mach/sysdep.h: Likewise.
47415 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47416 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47417 * sysdeps/s390/asm-syntax.h: Likewise.
47418 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47419 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47420 * sysdeps/sh/sysdep.h: Likewise.
47421 * sysdeps/unix/sparc/sysdep.h: Likewise.
47422 * sysdeps/wordsize-32/divdi3.c: Likewise.
47423 * sysdeps/x86_64/sysdep.h: Likewise.
47424
00bbd29b
UD
47425 * argp/Versions: Remove _argp_unlock_xxx.
47426
47427 [BZ #13559]
47428 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47429 * abilist/libBrokenLocale.abilist: Likewise.
47430 * abilist/libanl.abilist: Likewise.
47431 * abilist/libc.abilist: Likewise.
47432 * abilist/libcrypt.abilist: Likewise.
47433 * abilist/libdl.abilist: Likewise.
47434 * abilist/libm.abilist: Likewise.
47435 * abilist/libnsl.abilist: Likewise.
47436 * abilist/libpthread.abilist: Likewise.
47437 * abilist/libresolv.abilist: Likewise.
47438 * abilist/librt.abilist: Likewise.
47439 * abilist/libthread_db.abilist: Likewise.
47440 * abilist/libutil.abilist: Likewise.
47441 * abilist/libnss_db.abilist: New file.
47442
47443 * scripts/abilist.awk: Add support for indirect functions.
47444
a2693a0e
UD
47445 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47446
3f05895f
UD
47447 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47448
ecb6fb48
UD
47449 * shlib-versions: Remove entries for ports architectures.
47450
664f8cb9
UD
47451 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47452 files in ports.
47453 * elf/stackguard-macros.h: Remove support for IA-64.
47454 * elf/tst-auditmod1.c: Likewise.
47455 * sysdeps/generic/ldsodefs.h: Likewise.
47456
7ae81d88
UD
47457 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47458 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47459 configure files.
47460
bdeba135
UD
47461 [BZ #13552]
47462 * configure.in: Remove --enable-omitfp support.
47463 * FAQ.in: Adjust.
47464 * config.make.in: Likewise.
47465 * Makeconfig: Likewise.
47466 * manual/install.texi: Likewise.
47467
d75a0a62
UD
47468 In case anyone cares, the IA-64 architecture could move to ports.
47469 * sysdeps/ia64/*: Removed.
47470 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 47471 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 47472
dcc9756b
UD
47473 [BZ #13555]
47474 * configure.in: Remove entries for unsupported architectures.
47475
d3761ebc 47476 [BZ #13533]
9954432e
UD
47477 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47478 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47479 routines.
47480 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47481 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47482 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47483 fall back to using wcrtomb.
47484 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47485 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47486 renaming.
47487 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47488 * wcsmbs/tst-c16c32-1.c: New file.
47489
47490 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47491 local variable.
47492
c3a87236
UD
47493 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47494
28926a1b
UD
47495 * elf/tst-unique3.cc: Add explicit declaration of gets.
47496 * elf/tst-unique3lib.cc: Likewise.
47497 * elf/tst-unique3lib2.cc: Likewise.
47498 * elf/tst-unique4.cc: Likewise.
47499
df78418a
UD
47500 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47501
8ecd6b2a
JM
475022012-01-06 Joseph Myers <joseph@codesourcery.com>
47503
47504 [BZ #13566]
47505 * assert/assert.h (static_assert): Don't define for C++.
47506 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47507 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47508
9f115170
UD
475092012-01-03 Ulrich Drepper <drepper@gmail.com>
47510
5e0d0300
UD
47511 * iconv/loop.c (single loop): Fix assertion in storing of
47512 remaining bytes.
47513
9f115170
UD
47514 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47515
81fb02b0
UD
475162012-01-01 Ulrich Drepper <drepper@gmail.com>
47517
47518 * posix/getconf.c: Update copyright year.
47519 * nss/getent.c: Likewise.
a316c1f6 47520 * nss/makedb.c: Likewise.
81fb02b0
UD
47521 * iconv/iconvconfig.c: Likewise.
47522 * iconv/iconv_prog.c: Likewise.
47523 * elf/ldconfig.c: Likewise.
a316c1f6
UD
47524 * elf/pldd.c: Likewise.
47525 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
47526 * catgets/gencat.c: Likewise.
47527 * csu/version.c: Likewise.
47528 * elf/ldd.bash.in: Likewise.
47529 * elf/sprof.c (print_version): Likewise.
47530 * locale/programs/locale.c: Likewise.
47531 * locale/programs/localedef.c: Likewise.
a316c1f6 47532 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
47533 * nscd/nscd.c (print_version): Likewise.
47534 * debug/xtrace.sh: Likewise.
47535 * malloc/memusage.sh: Likewise.
47536 * malloc/mtrace.pl: Likewise.
47537 * debug/catchsegv.sh: Likewise.
47538
2ba92745
JJ
475392011-12-30 Jakub Jelinek <jakub@redhat.com>
47540
47541 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47542 pure attribute.
47543
dadebdae
UD
475442011-12-24 Ulrich Drepper <drepper@gmail.com>
47545
d3761ebc 47546 [BZ #13533]
db6af3eb
UD
47547 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47548 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47549 transformations.
47550 * iconv/gconv_int.h: Likewise.
47551 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47552 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47553 from libc for GLIBC_2.16.
47554 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47555 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47556 * wcsmbs/uchar.h: Really define mbstate_t.
47557 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47558 * wcsmbs/c16rtomb.c: New file.
47559 * wcsmbs/mbrtoc16.c: New file.
47560 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47561 for C/POSIX locale.
47562 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47563 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47564
dadebdae
UD
47565 * wcsmbs/wchar.h: Add missing __restrict.
47566
67371b56
UD
475672011-12-23 Ulrich Drepper <drepper@gmail.com>
47568
74033a25
UD
47569 [BZ #13532]
47570 * time/Makefile (routines): Add timespec_get.
47571 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47572 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47573 timespec for ISO C11.
47574 * time/timespec_get.c: New file.
47575 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47576 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47577
380d7e87
UD
47578 [BZ #13531]
47579 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47580 * stdlib/stdlib.h: Declare aligned_alloc.
47581 * Versions.def: Add GLIBC_2.16 for libc.
47582 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47583
4e9e7a35
UD
47584 [BZ 13527]
47585 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47586 ISO C11.
47587
380d7e87 47588 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
47589 code.
47590
03a71829
UD
47591 [BZ #13528]
47592 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47593
839e283e
UD
47594 [BZ #13529]
47595 * assert/assert.h (static_assert): Define.
47596
ce5294e2 47597 * version.h: Update for 2.16 development version.
90fa7312 47598
8d44e150 47599 [BZ #13526]
d7809905
UD
47600 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47601 _ISOC11_SOURCE.
47602
c0da14cd
UD
47603 * version.h (RELEASE): Bump for 2.15 release.
47604 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47605
530a3249
MP
47606 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47607 Patch by Marek Polacek <mpolacek@redhat.com>.
47608
67371b56
UD
47609 * bits/byteswap.h: Protect long long constants with __extension__.
47610 * sysdeps/i386/bits/byteswap.h: Likewise.
47611 * sysdeps/ia64/bits/byteswap.h: Likewise.
47612 * sysdeps/s390/bits/byteswap.h: Likewise.
47613 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47614
15db4de1
LD
476152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47616
47617 [BZ #13540]
bbe315ea
LD
47618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47619 destination buffer.
15db4de1
LD
47620 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47621
2b2596b1
MP
476222011-12-23 Marek Polacek <polacek@redhat.com>
47623
47624 * elf/dl-addr.c (determine_info): Add inline keyword.
47625 * elf/tst-auditmod4b.c (check_avx): Likewise.
47626 * elf/tst-auditmod6b.c (check_avx): Likewise.
47627 * elf/tst-auditmod6c.c (check_avx): Likewise.
47628 * elf/tst-auditmod7b.c (check_avx): Likewise.
47629
70c6c246
UD
476302011-12-23 Ulrich Drepper <drepper@gmail.com>
47631
47632 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47633 !__SSE_MATH__.
47634
c044cf14
LD
476352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47636
15db4de1 47637 [BZ #13540]
c044cf14
LD
47638 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47639 processing for last bytes.
47640
6b13d9d9
BH
476412011-08-06 Bruno Haible <bruno@clisp.org>
47642
d455f537
BH
47643 [BZ #13061]
47644 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47645 U+0385, not to U+1FEE.
47646
6b13d9d9
BH
47647 [BZ #13062]
47648 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47649 entry for U+00A5 U+0301.
47650
db910efd
UD
476512011-12-22 Ulrich Drepper <drepper@gmail.com>
47652
27deeafc
UD
47653 [BZ #13166]
47654 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47655 buffer for the output is too small.
47656
aed9d171
UD
47657 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47658 optimization.
47659
db910efd
UD
47660 [BZ #13185]
47661 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47662 SSE flags if possible.
47663
2bd779ae
LD
476642011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47665
e7f9dac3 47666 [BZ #13540]
2bd779ae
LD
47667 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47668 processing for last bytes.
47669
154bfc16
JM
476702011-12-22 Joseph Myers <joseph@codesourcery.com>
47671
47672 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47673 (syscall-list-default-options, syscall-list-default-condition)
47674 (syscall-list-includes): Define.
47675 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47676 list of ABIs and options and #if conditions for each ABI. Do not
47677 handle common syscalls between ABIs specially.
47678 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47679 Remove.
47680 (syscall-list-variants, syscall-list-32bit-options)
47681 (syscall-list-32bit-condition, syscall-list-64bit-options)
47682 (syscall-list-64bit-condition): Define.
47683 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47684 (syscall-list-variants, syscall-list-32bit-options)
47685 (syscall-list-32bit-condition, syscall-list-64bit-options)
47686 (syscall-list-64bit-condition): Define.
47687 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47688 Remove.
47689 (syscall-list-variants, syscall-list-32bit-options)
47690 (syscall-list-32bit-condition, syscall-list-64bit-options)
47691 (syscall-list-64bit-condition): Define.
47692 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47693 Remove.
47694 (syscall-list-variants, syscall-list-32bit-options)
47695 (syscall-list-32bit-condition, syscall-list-64bit-options)
47696 (syscall-list-64bit-condition): Define.
47697
21eaf3a5
UD
476982011-12-22 Ulrich Drepper <drepper@gmail.com>
47699
16c6f992
UD
47700 * locale/iso-639.def: Add brx entry.
47701
41043168
UD
47702 [BZ #13328]
47703 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47704 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47705
21eaf3a5
UD
47706 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47707 __feraiseexcept_renamed.
47708
e3a851a2
UD
477092011-12-21 Ulrich Drepper <drepper@gmail.com>
47710
4920765e
UD
47711 [BZ #13538]
47712 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47713 EPOLLET with unsigned values.
47714 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47715 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47716
e3a851a2
UD
47717 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47718 to large cancellation.
47719 * math/s_cacoshf.c: Likewise.
47720 * math/s_cacoshl.c: Likewise.
47721
b27e24b8
RK
477222011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47723
47724 [BZ #13305]
aebefeee 47725 [BZ #12786]
b27e24b8
RK
47726 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47727 * math/s_cacoshf.c: Likewise.
47728 * math/s_cacoshl.c: Likewise.
47729
ee190f67
UD
477302011-12-21 Ulrich Drepper <drepper@gmail.com>
47731
47732 [BZ #13439]
47733 * iconv/gconv.h: Define __GCONV_SWAP.
47734 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47735 * iconvdata/utf-16.c: Likewise.
47736 * iconvdata/utf-32.c: Likewise.
47737
707f25df
AS
477382011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47739
47740 [BZ #13524]
47741 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47742 numerator after shifting it by one limb.
47743
d2daaa1e
RÁE
477442011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47745
47746 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47747 under [__USE_EXTERN_INLINES].
47748
a4647e72
UD
477492011-12-17 Ulrich Drepper <drepper@gmail.com>
47750
47751 [BZ #13446]
47752 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47753
f0b264f1
AZ
477542011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47755
47756 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47757 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47758 optimized code.
47759 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47760 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47761 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47762 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47763 for strncasecmp/strncasecmp_l compilation.
47764 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47765 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47766
8ef4f244
MP
477672011-12-08 Marek Polacek <mpolacek@redhat.com>
47768
47769 [BZ #13484]
47770 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47771 of __asm__.
47772
97ac2654
UD
477732011-12-17 Ulrich Drepper <drepper@gmail.com>
47774
47775 [BZ #13506]
47776 * time/tzfile.c (__tzfile_read): Check values from file header.
47777
91d2a845
WS
477782011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47779
47780 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47781 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47782 * powerpc/powerpc32/dl-start.S: Likewise.
47783 * powerpc/powerpc32/elf/start.S: Likewise.
47784 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47785 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47786 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47787 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47788 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47789 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47790 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47791 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47792 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47793 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47794 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47795 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47796 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47797 * powerpc/powerpc32/memset.S: Likewise.
47798 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47799 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47800 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47801 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47802 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47803 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47804 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47805 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47806 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47807 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47808 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47809 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47810 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47811
a1267ba1
AZ
478122011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47813
47814 * math/libm-test.inc: Added more nearbyint tests.
47815 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47817 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47819
ad8ac1bd
RL
478202011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47821
47822 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47823 FD_CLOEXEC.
47824
1d3e4b61
UD
478252011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47826
47827 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47828 Add wcscpy-ssse3 wcscpy-c.
47829 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47830 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47831 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47832 * sysdeps/x86_64/wcschr.S: New file.
47833 * sysdeps/x86_64/wcsrchr.S: New file.
47834 * string/test-strcmp.c: Remove checking of wcscmp function for
47835 wrong alignments.
47836 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47837 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47838 wcsrchr-sse2 wcsrchr-c.
47839 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47840 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47841 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47842 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47843 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47844 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47845 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47846 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47847 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47848 * wcsmbc/wcschr.c (WCSCHR): New macro.
47849
5b330a2d
UD
478502011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47851
47852 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47853 * wcsmbs/test-wcsrchr.c: New file.
47854 * string/test-strrchr.c: Add wcsrchr support.
47855 (WIDE): New macro.
47856 * wcsmbs/test-wcscpy.c: New file.
47857 * string/test-strcpy.c: Add wcscpy support.
47858 (WIDE): New macro.
26428b7c 47859
f039c043
UD
478602011-12-10 Ulrich Drepper <drepper@gmail.com>
47861
47862 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47863 the inner loop.
47864
850fb039
AS
478652011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47866
47867 [BZ #13472]
47868 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47869
4efbd5cb
UD
478702011-12-04 Ulrich Drepper <drepper@gmail.com>
47871
52ff5dd0 47872 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47873 Minor optimizations.
52ff5dd0 47874
4efbd5cb
UD
47875 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47876 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47877 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47878
8a426e12
UD
478792011-12-03 Ulrich Drepper <drepper@gmail.com>
47880
aff2453d
UD
47881 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47882 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47883 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47884 for gcc to avoid warnings.
47885 * inet/Makefile (tests): Add tst-checks.
47886 * inet/tst-checks.c: New file.
47887
47888 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47889 warning.
47890
47891 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47892 __wmemcmp_sse2.
47893
47894 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47895 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47896
8a426e12
UD
47897 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47898
9bea3473
UD
478992011-12-02 Ulrich Drepper <drepper@gmail.com>
47900
3a965496
UD
47901 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47902 problem.
47903
9bea3473
UD
47904 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47905
f101631b
UD
479062011-11-29 Joseph Myers <joseph@codesourcery.com>
47907
47908 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47909 conditional on GCC version.
47910 (__arch_compare_and_exchange_val_8_acq)
47911 (__arch_compare_and_exchange_val_16_acq)
47912 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47913 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47914 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47915
a98275aa
UD
479162011-12-02 Joseph Myers <joseph@codesourcery.com>
47917
47918 * sysdeps/sh/backtrace.c: New file.
47919
d4cc29a2
AS
479202011-12-02 Andreas Schwab <schwab@redhat.com>
47921
47922 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47923 parenthesis.
47924
6257af2d
AS
479252011-12-01 Andreas Schwab <schwab@redhat.com>
47926
47927 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47928 falling back to utime.
47929
b5f44c1a
AS
479302011-11-30 Andreas Schwab <schwab@redhat.com>
47931
47932 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47933 expectations for float.
47934
f3a6cc0a
AS
479352011-11-29 Andreas Schwab <schwab@redhat.com>
47936
47937 * locale/weight.h (findidx): Add parameter len.
47938 * locale/weightwc.h (findidx): Likewise.
47939 * posix/fnmatch_loop.c (FCT): Adjust caller.
47940 * posix/regcomp.c (build_equiv_class): Likewise.
47941 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47942 * posix/regexec.c (check_node_accept_bytes): Likewise.
47943 * string/strcoll_l.c (STRCOLL): Likewise.
47944 * string/strxfrm_l.c (STRXFRM): Likewise.
47945
9d65ea3a
UD
479462011-11-17 Ulrich Drepper <drepper@gmail.com>
47947
47948 * Makefile.in: Remove CVSOPT handling.
47949 * configure.in: Remove use of AC_REVISION.
47950 * iconvdata/Makefile (distribute): No need to filter out CVS.
47951 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47952 handling.
47953
5583a086
AS
479542011-11-16 Andreas Schwab <schwab@redhat.com>
47955
47956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47957 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47958 [USE_AS_STRNCASECMP_L]: Likewise.
47959 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47960 NO_TLS_DIRECT_SEG_REFS.
47961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47962 Fix argument offsets for non-PIC.
47963 [USE_AS_STRNCASECMP_L]: Likewise.
47964 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47965 NO_TLS_DIRECT_SEG_REFS.
47966
d62a8200
UD
479672011-11-15 Ulrich Drepper <drepper@gmail.com>
47968
9d65ea3a 47969 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47970 O_CLOEXEC.
47971 * locale/loadlocale.c (_nl_load_locale): Likewise.
47972
09f93bd3
AS
479732011-11-15 Andreas Schwab <schwab@redhat.com>
47974
446514f9
AS
47975 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47976 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47977 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47978 (SYSCALL_GETTIME): Set errno on error.
47979
09f93bd3
AS
47980 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47981 count references to noai6ai_cached.
47982
312be3f9
UD
479832011-11-15 Ulrich Drepper <drepper@gmail.com>
47984
47985 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47986
47987 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47988 FD_CLOEXEC for /proc/self/maps.
47989
47990 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47991 FD_CLOEXEC for /proc/meminfo.
47992
47993 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47994 gai.conf.
47995
47996 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47997 FD_CLOEXEC for given file.
47998
47999 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48000
48001 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48002 FD_CLOEXEC for /etc/hosts.
48003 (_gethtent): Likewise.
48004
48005 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48006
48007 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48008 cancellation and set FD_CLOEXEC for /etc/netgroup.
48009
48010 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48011 reading /etc/publickey.
48012
48013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48014 allow cancellation when reading /etc/group.
48015
48016 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48017 cancellation.
48018 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48019
48020 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48021 when using data file.
48022
48023 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48024
48025 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48026 (write_nis_obj): Use "c" and "e" in fopen.
48027
48028 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48029
48030 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48031
48032 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48033
48034 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48035
48036 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48037 locale.alias.
48038
48039 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48040
48041 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48042
48043 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48044
48045 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48046 file parsing and set FD_CLOEXEC.
48047
82af0fa8
UD
480482011-11-14 Ulrich Drepper <drepper@gmail.com>
48049
48050 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48051
a5fb313c
AS
480522011-11-14 Andreas Schwab <schwab@redhat.com>
48053
48054 * malloc/arena.c (arena_get2): Don't call reused_arena when
48055 _int_new_arena failed.
48056
6abf3465
UD
480572011-11-14 Ulrich Drepper <drepper@gmail.com>
48058
48059 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48060 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48061 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48062 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48063 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48064 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48065 to compile strcasecmp and strncasecmp.
48066 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48067 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48068
48069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48070
76e3966e
UD
480712011-11-13 Ulrich Drepper <drepper@gmail.com>
48072
48073 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48074 locale-defines.sym to gen-as-const-headers.
48075 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48076 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48078 to compile strcasecmp and strncasecmp.
48079 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48080 strcasecmp_l and strncasecmp_l.
48081 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48082 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48083 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48084 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48085 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48086 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48087 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48088 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48089 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48090 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48091 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48092
ab26144e
UD
480932011-11-12 Ulrich Drepper <drepper@gmail.com>
48094
7edb22ef
UD
48095 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48096 result of SYSDEP_GETTIME_CPU to retval.
48097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48098 parameter list to macro. Remove trailing semicolon. Adjust users.
48099
9694fc44
UD
48100 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48101 variable.
48102
8ad89ef8
UD
48103 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48104 mantissa words.
48105 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48106
0c822ef9
UD
48107 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48108 from unused variable.
48109
874e0564
UD
48110 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48111 DWARF definitions.
48112 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48113 for assembling.
48114
3a2edc79
UD
48115 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48116 over namespaces.
48117
f3c2577f
UD
48118 * sunrpc/rpc_prot.c (rejected): Fix case value.
48119
294ce126
UD
48120 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48121 unsigned long long int to avoid warnings in shift.
48122
5e2b63c6
UD
48123 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48124 of use of trans.
48125 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48126 variable tmp.
48127
e7f4b08e
UD
48128 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48129 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48130 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48131
ab26144e
UD
48132 * nis/nis_table.c (nis_list): Use variable of correct type for
48133 result of __follow_path call.
48134
8a6d5255
AZ
481352011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48136
48137 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48138 of math functions ceil, trunc, floor, round, and sqrt, when
48139 avaliable on the platform.
48140 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48141 name clash.
48142 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48143 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48144 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48145
aaddc98c
MP
481462011-10-30 Marek Polacek <mpolacek@redhat.com>
48147
48148 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48149 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48150
95b7042b
RM
481512011-11-11 Roland McGrath <roland@hack.frob.com>
48152
48153 * include/unistd.h: Fix __readlink return type.
48154 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48155
57769839
UD
481562011-11-11 Ulrich Drepper <drepper@gmail.com>
48157
48158 * stdlib/ucontext.h: Undo last change for makecontext.
48159
edc5984d
AS
481602011-11-11 Andreas Schwab <schwab@redhat.com>
48161
98591e58
AS
48162 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48163
edc5984d
AS
48164 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48165 * setjmp/setjmp.h: Mark functions as non-leaf.
48166 * setjmp/bits/setjmp2.h: Likewise.
48167 * stdlib/ucontext.h: Likewise.
48168
77cdc054
AS
481692011-11-10 Andreas Schwab <schwab@redhat.com>
48170
48171 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48172 (reused_arena): Don't check arena limit.
48173 (arena_get2): Atomically check arena limit.
48174
fe72eebd
UD
481752011-11-08 Ulrich Drepper <drepper@gmail.com>
48176
5f078c32
UD
48177 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48178 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48179
fe72eebd
UD
48180 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48181 instructions.
48182
ae1bc2fa
AS
481832011-11-07 Andreas Schwab <schwab@redhat.com>
48184
7583a88d
AS
48185 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48186 handler when locking.
48187
ae1bc2fa
AS
48188 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48189 Fix size of allocated buffer.
48190
10fb0bfa
AS
481912011-11-04 Andreas Schwab <schwab@redhat.com>
48192
998832a4
AS
48193 [BZ #10103]
48194 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48195 declarations for long double functions.
48196 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48197
10fb0bfa
AS
48198 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48199
3d7ba52b
AS
482002011-11-03 Andreas Schwab <schwab@redhat.com>
48201
a9ae54a1
AS
48202 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48203 installed.
48204
3d7ba52b
AS
48205 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48206 is disabled.
48207
bc8db248
ST
482082011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48209
48210 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48211
45b96dd6
AS
482122011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48213
647776f6
AS
48214 * include/alloca.h (stackinfo_alloca_round): Define.
48215 (extend_alloca): Use it.
48216 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48217 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48218 here.
48219
d91a8b93
AS
48220 * scripts/check-local-headers.sh: Ignore libaudit.h.
48221
45b96dd6
AS
48222 * nscd/Makefile (extra-objs): Make recursively expanded.
48223
432d41ce
UD
482242011-11-01 Ulrich Drepper <drepper@gmail.com>
48225
34372fc6
UD
48226 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48227 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48228
fadb59f8
UD
48229 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48230 * posix/tst-rfc3484-2.c: Likewise.
48231 * posix/tst-rfc3484-3.c: Likewise.
48232
78239589
UD
48233 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48234 process_vm_writev.
48235 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48236 process_vm_writev.
48237 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48238 process_vm_writev from libc using GLIBC_2.15 version.
48239
432d41ce
UD
48240 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48241
02f9c6cf
PP
482422011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48243
48244 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48245 stack usage.
48246
3a2c0242
UD
482472011-10-31 Ulrich Drepper <drepper@gmail.com>
48248
f4ec4833
UD
48249 [BZ #13367]
48250 * nss/getent.c (initgroups_keys): Show error message in case no group
48251 names are given.
48252
3a2c0242
UD
48253 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48254 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48255 __bump_nl_timestamp.
48256 * nscd/connections (nscd_init): When host database is served open
48257 netlink socket and request notification about configuration changes.
48258 (main_loop_poll): Track netlink file descriptor and bump timestamp
48259 in case data becomes available.
48260 (main_loop_epoll): Likewise.
48261 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48262 (database_pers_head): Add extra_data fileds.
48263 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48264 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48265 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48266 Adjust caller.
48267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48268 in6ai data, call __free_in6ai.
48269 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48270 Add -DHAVE_NETLINK.
48271 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48272 interface information. Reuse previous data if netlink timestamp
48273 is not changed.
48274 (__bump_nl_timestamp): New function.
48275 (__free_in6ai): New function.
48276
636064eb
UD
482772011-10-30 Ulrich Drepper <drepper@gmail.com>
48278
48279 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48280 close_not_cancel_no_status here.
48281 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48282
9beb2334
UD
482832011-10-29 Ulrich Drepper <drepper@gmail.com>
48284
6ef76f3b
UD
48285 [BZ #13276]
48286 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48287 return value.
48288
0ffc4f3e 48289 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
48290 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48291 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48292
cb95113e
UD
482932011-07-03 Andreas Jaeger <aj@suse.de>
48294
48295 [BZ #10709]
48296 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48297 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48298 * math/libm-test.inc (sin_test): Add test case.
48299
a1b560ff
UD
483002011-10-29 Ulrich Drepper <drepper@gmail.com>
48301
c9aaface
UD
48302 [BZ #13337]
48303 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48304 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48305
d272e7f1
UD
48306 * elf/chroot_canon.c (chroot_canon): Cleanups.
48307
1bc33071
UD
48308 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48309
1760874d
TJ
48310 [BZ #13335]
48311 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48312 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48313
51d91b18
UD
48314 * string/test-strchr.c: Make usable for strchrnul testing.
48315 * string/test-strchrnul.c: New file.
48316 * string/Makefile (strop-tests): Add strchrnul.
48317
a1b560ff 48318 * po/it.po: Update from translation team.
b611fb81 48319 * po/es.po: Likewise.
a1b560ff 48320
a5b81e1f
UD
483212011-10-28 Ulrich Drepper <drepper@gmail.com>
48322
fd52bc6d
UD
48323 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48324 the three constants needed as parameters. Drop the others.
48325 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48326 __m128i_strloadu_tolower.
52e4b9eb
UD
48327 Create and initialize variable zero and use it in all the places
48328 where _mm_setzero_si128 was used.
fd52bc6d 48329
a5b81e1f
UD
48330 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48331 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48332 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48333 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48334 anymore.
48335 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48336 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48337 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48338 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48339 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48340 __mpranred, __mptan.
48341 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48342 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48343 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48344 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48345 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48346 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48347 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48348 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48349 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48350
b4343346
AS
483512011-10-28 Andreas Schwab <schwab@redhat.com>
48352
0c92d8a8
AS
48353 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48354 redefine if SHARED.
48355 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48356
b4343346
AS
48357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48358 wide char related routines to wcsmbs subdir.
48359
3871f58f
AS
483602011-10-27 Andreas Schwab <schwab@redhat.com>
48361
48362 [BZ #13344]
48363 * misc/sys/cdefs.h (__THROWNL): Define.
48364 * posix/unistd.h: Use __THREADNL instead of __THREAD
48365 for memory synchronization functions.
48366
94d44d9f
RM
483672011-10-26 Roland McGrath <roland@hack.frob.com>
48368
21b64b15 48369 [BZ #13349]
94d44d9f
RM
48370 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48371 doesn't exist.
48372 * manual/stdio.texi (Obstack Streams): Node removed.
48373
f6ce9294
AS
483742011-10-26 Andreas Schwab <schwab@redhat.com>
48375
80479147
AS
48376 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48377 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48378 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48379
f6ce9294
AS
48380 * math/math_private.h (math_force_eval): Allow non-addressable
48381 arguments.
48382 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48383
618280a1
UD
483842011-10-25 Ulrich Drepper <drepper@gmail.com>
48385
e0016b11
UD
48386 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48387 file is not needed.
48388
48389 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48390 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48391 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48392 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48393 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48394 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48395 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48396 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48397 Add AVX variants.
48398 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48399 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48400 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48401 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48402 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48403 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48404 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48405 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48406 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48407 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48408 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48409 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48410 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48411 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48412 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48413 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48414 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48415 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48416 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48417
48418 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48419 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48420
618280a1
UD
48421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48422 place. Use VEX encoding when compiling for AVX.
48423
37822576
AS
484242011-10-25 Andreas Schwab <schwab@redhat.com>
48425
1f1e1947
AS
48426 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48427 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48428
37822576
AS
48429 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48430
31ea014d
UD
484312011-10-25 Ulrich Drepper <drepper@gmail.com>
48432
d7826aa1 48433 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 48434 useless if() expression.
d7826aa1
UD
48435 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48436 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48438 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48440 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48444 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48445 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48446 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48447 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48448 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48449 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48450 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48451 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48452 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48453 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48454
31ea014d
UD
48455 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48456
16437fec
AS
484572011-10-25 Andreas Schwab <schwab@redhat.com>
48458
48459 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48460 condition.
48461 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48462
31d3cc00
UD
484632011-10-25 Ulrich Drepper <drepper@gmail.com>
48464
48465 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48466 .text section. Avoid duplicate constants.
48467 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48475 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48476 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48477 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48478 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48479 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48480 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48481 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48482 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48483 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48484 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48485 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48486 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48487 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48488 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48489 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48490 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48491 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48492 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48493 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48494 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48495 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48496 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48497 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48498 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48499 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48500 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48501 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48502 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48503 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48504 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48505 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48506 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48507 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48508 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48509 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48510 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48511 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48512
58985aa9
UD
485132011-10-24 Ulrich Drepper <drepper@gmail.com>
48514
202c9deb
UD
48515 * sysdeps/x86_64/dla.h: Move to ...
48516 * sysdeps/x86_64/fpu/dla.h: ...here.
48517 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48518 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 48519
af968f62
UD
48520 * config.make.in: Add have-mfma4 entry.
48521 * configure.in: Substitute libc_cv_cc_fma4.
48522 * math/Makefile (dbl-only-routines): Add sincostab.
48523 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48524 Use __sincostab not sincos.
48525 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48526 name is a macro.
48527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48531 using __copysign.
48532 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48533 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48534 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48535 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48536 and __inv.
48537 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48538 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48539 __copysign.
48540 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48541 define aliases when function name is a macro.
48542 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48543 sysdeps/ieee754/dbl-64/sincos.tbl.
48544 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48545 fma4-enabled routines.
48546 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48547 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48548 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48549 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48550 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48551 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48552 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48553 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48554 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48555 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48556 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48557 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48558 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48559 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48560 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48561 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48562 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48563 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48564 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48566 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48567 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48568 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48569 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48570 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48571 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48572 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48573 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48574 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48575 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48576
58985aa9
UD
48577 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48578 rename.
48579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48587
a201fbcf
AS
485882011-10-24 Andreas Schwab <schwab@redhat.com>
48589
48590 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48591
fc2ee42a
LD
485922011-10-23 Ulrich Drepper <drepper@gmail.com>
48593
bb3129bd
UD
48594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48595
0275fff8
UD
48596 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48597 prediction.
48598 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48599
2fa2ae85
UD
48600 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48601 Remove unused variable magic_bits.
48602 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48603
fc2ee42a
LD
48604 * string/strnlen.c: Define and use STRNLEN macro.
48605 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48606 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48607 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48608 * wcsmbs/wcslen.c: Define and use WCSLEN.
48609 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48610 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48611 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48612 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48613 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48614 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48615 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48616
ce7dd29f
LD
486172011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48618
48619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48620 strnlen-sse2-no-bsf.
48621 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48623 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48624 Add strnlen support.
48625 (USE_AS_STRNLEN): New macro.
48626 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48627 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48628 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48629 * sysdeps/x86_64/wcslen.S: New file.
48630
979c70a3
MZ
486312011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48632
48633 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48634 XMM-moves are used for copying on small sizes.
48635
2d09f82f
LD
486362011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48637
48638 * wcsmbs/Makefile (strop-tests): Add wcschr.
48639 * wcsmbs/test-wcschr.c: New file.
48640 * string/test-strchr.c: Update.
48641 Add wcschr support.
48642 (WIDE): New macro.
48643
619fccca
LD
486442011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48645
2d09f82f 48646 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
48647 * wcsmbs/test-wcslen.c: New file.
48648 * string/test-strlen.c: Update.
48649 Add wcslen support.
48650 (WIDE): New macro.
48651
09f699ea
UD
486522011-10-23 Ulrich Drepper <drepper@gmail.com>
48653
48654 * po/it.po: Update from translation team.
48655
95584d3b
LD
486562011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48657
48658 * sysdeps/x86_64/wcscmp.S: Update.
48659 Fix wrong comparison semantics.
48660 wcscmp shall use signed comparison not unsigned.
48661 Don't use substraction to avoid overflow bug.
48662 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48663 * wcsmbc/wcscmp.c: Likewise.
48664 * string/test-strcmp.c: Likewise.
48665 Add new tests to check cases with negative values.
48666
c8b3296b
UD
486672011-10-23 Ulrich Drepper <drepper@gmail.com>
48668
48669 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48670 * sysdeps/x86_64/dla.h: ...here. New file.
48671 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48676 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48677 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48678 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48680
246ad57a
AS
486812011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48682
48683 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48684 __ynl_finite aliases.
48685
a1a87169
UD
486862011-10-22 Ulrich Drepper <drepper@gmail.com>
48687
0d355eb7
UD
48688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48689
a1a87169
UD
48690 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48691 define DLA_FMA.
48692 [DLA_FMA] (EMULV): Use DLA_FMA.
48693 [DLA_FMA] (MUL12): Use EMULV.
48694 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48695 that are not needed.
48696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48701 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48703
ee2aafe0
AS
487042011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48705
48706 * math/s_nan.c: Undef __nan.
48707 * math/s_nanf.c: Undef __nanf.
48708 * math/s_nanl.c: Undef __nanl.
48709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48710 "math_private.h".
48711
bc62c2fb
UD
487122011-10-22 Ulrich Drepper <drepper@gmail.com>
48713
77425c63
UD
48714 * math/s_catan.c: Add branch predictions.
48715 * math/s_catanf.c: Likewise.
48716 * math/s_catanh.c: Likewise.
48717 * math/s_catanhf.c: Likewise.
48718 * math/s_catanhl.c: Likewise.
48719 * math/s_catanl.c: Likewise.
48720 * math/s_cexp.c: Likewise.
48721 * math/s_cexpf.c: Likewise.
48722 * math/s_cexpl.c: Likewise.
48723 * math/s_clog.c: Likewise.
48724 * math/s_clog10.c: Likewise.
48725 * math/s_clog10f.c: Likewise.
48726 * math/s_clog10l.c: Likewise.
48727 * math/s_clogf.c: Likewise.
48728 * math/s_clogl.c: Likewise.
48729 * math/s_csqrt.c: Likewise.
48730 * math/s_csqrtf.c: Likewise.
48731 * math/s_csqrtl.c: Likewise.
48732 * math/s_ctanf.c: Likewise.
48733 * math/s_ctanh.c: Likewise.
48734 * math/s_ctanhf.c: Likewise.
48735 * math/s_ctanhl.c: Likewise.
48736 * math/s_ctanl.c: Likewise.
48737
bc62c2fb
UD
48738 * math/math_private.h: Define __nan, __nanf, __nanl.
48739 * math/s_cacosh.c: Include <math_private.h>.
48740 * math/s_cacoshl.c: Likewise.
48741 * math/s_casinh.c: Likewise.
48742 * math/s_casinhf.c: Likewise.
48743 * math/s_casinhl.c: Likewise.
48744 * math/s_ccos.c: Rely entire on ccosh.
48745 * math/s_ccosf.c: Rely entire on ccoshf.
48746 * math/s_ccosl.c: Rely entirely on ccoshl.
48747 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48748 Remove tests for FE_INVALID.
48749 * math/s_ccoshf.c: Likewise.
48750 * math/s_ccoshl.c: Likewise.
48751 * math/s_csin.c: Likewise.
48752 * math/s_csinf.c: Likewise.
48753 * math/s_csinh.c Likewise.
48754 * math/s_csinhf.c: Likewise.
48755 * math/s_csinhl.c: Likewise.
48756 * math/s_csinl.c: Likewise.
48757 * math/s_ctan.c: Likewise.
48758 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48759 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48760 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48761
8ec250a4
UD
487622011-10-21 Ulrich Drepper <drepper@gmail.com>
48763
c196fed8
UD
48764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48765 compilation problems.
48766
8ec250a4
UD
48767 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48768 __builtin_expect.
48769
8d4f46c6
UD
487702011-10-20 Ulrich Drepper <drepper@gmail.com>
48771
ed72b654
UD
48772 * sysdeps/i386/configure.in: Test for -mfma4 option.
48773 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48774 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48775 COMMON_CPUID_INDEX_80000001.
48776 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48777 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48778 use it if FMA3 is not supported.
48779 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48780
8d4f46c6
UD
48781 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48782 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48783
d45c60c2
AS
487842011-10-20 Andreas Schwab <schwab@redhat.com>
48785
48786 [BZ #12892]
48787 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48788 it would create a cycle with a link time dependency.
48789
d9a4d2ab
UD
487902011-10-19 Ulrich Drepper <drepper@gmail.com>
48791
855d1560
UD
48792 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48793 instruction.
48794 * string/Makefile (strop-tests): Add rawmemchr.
48795 * string/test-rawmemchr.c: New file.
48796
d9a4d2ab
UD
48797 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48799 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48800 when compiling str{,n}casecmp and when AVX is available. Hook up
48801 new optimized code in initializers.
48802
8f3b1ffe
AS
488032011-10-19 Andreas Schwab <schwab@redhat.com>
48804
48805 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48806 __feraiseexcept instead of feraiseexcept.
48807
d38f1dba
UD
488082011-10-18 Ulrich Drepper <drepper@gmail.com>
48809
d9a8d0ab
UD
48810 * math/math_private.h: Define defaults for libc_fetestexcept and
48811 libc_feupdateenv.
48812 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48813 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48814 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48815 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48816 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48817 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48818 libc_fetestexcept and libc_feupdateenv.
48819
4855e3dd
UD
48820 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48821 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48822 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48823 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48824 libc_feholdexcept_setround.
48825
581d30e3
UD
48826 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48827 Add s_nearbyint-c and s_nearbyintf-c.
48828 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48829 nearbyintf inlines.
48830 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48831 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48832 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48833 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48834
d38f1dba
UD
48835 * math/math_private.h: Define defaults for libc_fegetround,
48836 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48837 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48838 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48840 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48841 standard functions.
48842 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48843 Remove comments and hacks for old compiler versions.
48844 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48845 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48846 libc_feholdexceptl.
48847
caa6c9d8
AS
488482011-10-18 Andreas Schwab <schwab@redhat.com>
48849
48850 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48851 (__feraiseexcept_renamed): Add __NTH.
48852 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48853 namespace violations.
48854
97c066e6
UD
488552011-10-17 Ulrich Drepper <drepper@gmail.com>
48856
99ce7b04
UD
48857 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48858
1004d182
UD
48859 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48860
228a984d
UD
48861 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48862 recently added interfaces.
48863 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48864
c8553a6a
UD
48865 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48866 about macro parameter expansion.
48867
ed22dcf6
UD
48868 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48869 __NO_MATH_INLINES is defined. Cleanups.
48870
48871 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48872 and __floorf is target has SSE4.1.
48873 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48874 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48875 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48876 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48877
b171c137
UD
48878 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48879 name.
48880 (floorf): Likewise.
48881
97c066e6
UD
48882 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48883
629f62ef
AS
488842011-10-17 Andreas Schwab <schwab@redhat.com>
48885
49a43d80
AS
48886 * misc/sys/cdefs.h: Fix last change.
48887
629f62ef
AS
48888 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48889 database lookup.
48890
e453f6cd
UD
488912011-10-16 Ulrich Drepper <drepper@gmail.com>
48892
aa78043a
UD
48893 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48894
ad0f5cad
UD
48895 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48896 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48897 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48899 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48900 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48901 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48902 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48903 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48904 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48905 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48906 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48907 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48908 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48909 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48910 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48911 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48912 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48913 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48914 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48915 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48916 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48917
48918 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48919 ceil, ceilf, floor, floorf.
48920
48921 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48922 Perform IRELATIVE relocations last.
48923
e453f6cd
UD
48924 * elf/do-rel.h: Add another parameter nrelative, replacing the
48925 local variable with the same name. Change name of the function
48926 to end in Rel or Rela (uppercase).
48927 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48928 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48929 elf_dynamic_do_##reloc function.
48930
fd5bdc09
UD
489312011-10-15 Ulrich Drepper <drepper@gmail.com>
48932
79b195b5
UD
48933 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48934 is sufficient, at least on modern CPUs.
48935
d4a28569
UD
48936 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48937
b61099b5
UD
48938 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48939 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48940
bcf01e6d
UD
48941 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48942 __expl_finite.
48943 * math/bits/math-finite.h: Add entries for exp.
48944 * math/e_expl.c: Add __*_finite alias.
48945 * sysdeps/i386/fpu/e_exp.S: Likewise.
48946 * sysdeps/i386/fpu/e_expf.S: Likewise.
48947 * sysdeps/i386/fpu/e_expl.c: Likewise.
48948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48949 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48950 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48951 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48952 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48953 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48954 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48955
ba1a0d59
UD
48956 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48957 is sufficient, at least on modern CPUs.
48958
fd5bdc09
UD
48959 * ctype/ctype-info.c (__ctype_init): Define.
48960 * include/ctype.h (__ctype_init): Declare.
48961 (__ctype_b_loc): The variable is always initialized.
48962 (__ctype_toupper_loc): Likewise.
48963 (__ctype_tolower_loc): Likewise.
48964 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48965 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48966
7872cfb0
AS
489672011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48968
b468825a
AS
48969 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48970
7872cfb0
AS
48971 * configure.in: Also look in $cxxmachine/include for C++ system
48972 headers.
48973
be13f7bf
LD
489742011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48975
48976 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48977 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48978 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48979 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48981 (USE_AS_WMEMCMP): New macro.
48982 Fixing indents.
48983 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48984 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48985 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48986 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48988 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48989 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48990 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48991 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48992 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48993 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48994 (USE_AS_WMEMCMP): New macro.
48995 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48996 * sysdeps/string/test-memcmp.c: Update.
48997 Fix simple_wmemcmp.
48998 Add new tests.
48999 * wcsmbs/wmemcmp.c: Update.
49000 (WMEMCMP): New macro.
49001 Fix overflow bug.
49002
556a2007
AJ
490032011-10-12 Andreas Jaeger <aj@suse.de>
49004
49005 [BZ #13268]
49006 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49007
538faaa7
UD
490082011-10-15 Ulrich Drepper <drepper@gmail.com>
49009
ab6737ff
UD
49010 * libio/iofwide.c (do_length): Avoid warning.
49011
538faaa7
UD
49012 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49013
396a21b1
UD
490142011-10-14 Ulrich Drepper <drepper@gmail.com>
49015
cdf2901f
UD
49016 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49017
38ad40ce
UD
49018 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49019 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49020 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49021 * sysdeps/i386/i686/fpu/e_log.S: New file.
49022 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49023 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49024
396a21b1
UD
49025 * ctype/ctype.h: Add support for inlined isXXX functions when
49026 compiling C++ code.
49027
6b1f68c9
AS
490282011-10-14 Andreas Schwab <schwab@redhat.com>
49029
349290c0
AS
49030 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49031
6b1f68c9
AS
49032 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49033
f2282d42
RM
490342011-10-13 Roland McGrath <roland@hack.frob.com>
49035
49036 [BZ #13291]
49037 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49038
5298ffa8
AS
490392011-10-13 Andreas Schwab <schwab@redhat.com>
49040
714fad23
AS
49041 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49042 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49043 feraiseexcept.
49044
81dcc7fb
AS
49045 * sysdeps/x86_64/memrchr.S: Check for zero size.
49046
5298ffa8
AS
49047 * string/stratcliff.c: Add memrchr tests.
49048
951fbcec
LD
490492011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49050
49051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49052 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49053 rawmemchr-sse2 rawmemchr-sse2-bsf.
49054 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49055 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49056 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49057 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49058 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49059 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49060 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49061 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49062 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49063 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49064 * string/memrchr.c (MEMRCHR): New macro.
49065
0ac5ae23
UD
490662011-10-12 Ulrich Drepper <drepper@gmail.com>
49067
49068 Add integration with gcc's -ffinite-math-only and optimize wrapper
49069 functions in libm.
49070 * Versions.def: Define GLIBC_2.15 version for libm.
49071 * math/Makefile (headers): Add bits/math-finite.h.
49072 * math/bits/math-finite.h: New file.
49073 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49074 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49075 * math/e_acoshl.c: Add __*_finite alias.
49076 * math/e_acosl.c: Likewise.
49077 * math/e_asinl.c: Likewise.
49078 * math/e_atan2l.c: Likewise.
49079 * math/e_atanhl.c: Likewise.
49080 * math/e_coshl.c: Likewise.
49081 * math/e_exp10.c: Likewise.
49082 * math/e_exp10f.c: Likewise.
49083 * math/e_exp10l.c: Likewise.
49084 * math/e_exp2l.c: Likewise.
49085 * math/e_fmodl.c: Likewise.
49086 * math/e_gammal_r.c: Likewise.
49087 * math/e_hypotl.c: Likewise.
49088 * math/e_j0l.c: Likewise.
49089 * math/e_j1l.c: Likewise.
49090 * math/e_jnl.c: Likewise.
49091 * math/e_lgammal_r.c: Likewise.
49092 * math/e_log10l.c: Likewise.
49093 * math/e_log2l.c: Likewise.
49094 * math/e_logl.c: Likewise.
49095 * math/e_powl.c: Likewise.
49096 * math/e_sinhl.c: Likewise.
49097 * math/e_sqrtl.c: Likewise.
49098 * math/e_scalb.c: Completely rewritten and optimized.
49099 * math/e_scalbf.c: Likewise.
49100 * math/e_scalbl.c: Likewise.
49101 * math/w_acos.c: Likewise.
49102 * math/w_acosf.c: Likewise.
49103 * math/w_acosl.c: Likewise.
49104 * math/w_acosh.c: Likewise.
49105 * math/w_acoshf.c: Likewise.
49106 * math/w_acoshl.c: Likewise.
49107 * math/w_asin.c: Likewise.
49108 * math/w_asinf.c: Likewise.
49109 * math/w_asinl.c: Likewise.
49110 * math/w_atan2.c: Likewise.
49111 * math/w_atan2f.c: Likewise.
49112 * math/w_atan2l.c: Likewise.
49113 * math/w_atanh.c: Likewise.
49114 * math/w_atanhf.c: Likewise.
49115 * math/w_atanhl.c: Likewise.
49116 * math/w_exp10.c: Likewise.
49117 * math/w_exp10f.c: Likewise.
49118 * math/w_exp10l.c: Likewise.
49119 * math/w_fmod.c: Likewise.
49120 * math/w_fmodf.c: Likewise.
49121 * math/w_fmodl.c: Likewise.
49122 * math/w_j0.c: Likewise.
49123 * math/w_j0f.c: Likewise.
49124 * math/w_j0l.c: Likewise.
49125 * math/w_j1.c: Likewise.
49126 * math/w_j1f.c: Likewise.
49127 * math/w_j1l.c: Likewise.
49128 * math/w_jn.c: Likewise.
49129 * math/w_jnf.c: Likewise.
49130 * math/w_log.c: Likewise.
49131 * math/w_logf.c: Likewise.
49132 * math/w_logl.c: Likewise.
49133 * math/w_log10.c: Likewise.
49134 * math/w_log10f.c: Likewise.
49135 * math/w_log10l.c: Likewise.
49136 * math/w_log2.c: Likewise.
49137 * math/w_log2f.c: Likewise.
49138 * math/w_log2l.c: Likewise.
49139 * math/w_pow.c: Likewise.
49140 * math/w_powf.c: Likewise.
49141 * math/w_powl.c: Likewise.
49142 * math/w_remainder.c: Likewise.
49143 * math/w_remainderf.c: Likewise.
49144 * math/w_remainderl.c: Likewise.
49145 * math/w_scalb.c: Likewise.
49146 * math/w_scalbf.c: Likewise.
49147 * math/w_scalbl.c: Likewise.
49148 * math/w_sqrt.c: Likewise.
49149 * math/w_sqrtf.c: Likewise.
49150 * math/w_sqrtl.c: Likewise.
49151 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49152 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49153 used.
49154 * math/math_private.h: Declare __kernel_standard_f.
49155 * math/w_cosh.c: Remove cruft and optimize a bit.
49156 * math/w_coshf.c: Likewise.
49157 * math/w_coshl.c: Likewise.
49158 * math/w_exp2.c: Likewise.
49159 * math/w_exp2f.c: Likewise.
49160 * math/w_exp2l.c: Likewise.
49161 * math/w_hypot.c: Likewise.
49162 * math/w_hypotf.c: Likewise.
49163 * math/w_hypotl.c: Likewise.
49164 * math/w_lgamma.c: Likewise.
49165 * math/w_lgamma_r.c: Likewise.
49166 * math/w_lgammaf.c: Likewise.
49167 * math/w_lgammaf_r.c: Likewise.
49168 * math/w_lgammal.c: Likewise.
49169 * math/w_lgammal_r.c: Likewise.
49170 * math/w_sinh.c: Likewise.
49171 * math/w_sinhf.c: Likewise.
49172 * math/w_sinhl.c: Likewise.
49173 * math/w_tgamma.c: Likewise.
49174 * math/w_tgammaf.c: Likewise.
49175 * math/w_tgammal.c: Likewise.
49176 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49177 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49178 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49179 Minor optimizations. Pretty printing. Remove cruft.
49180 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49181 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49182 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49183 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49184 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49185 * sysdeps/i386/fpu/e_asin.S: Likewise.
49186 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49187 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49188 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49189 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49190 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49191 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49192 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49193 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49194 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49195 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49196 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49197 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49198 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49199 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49200 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49201 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49202 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49203 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49204 * sysdeps/i386/fpu/e_log.S: Likewise.
49205 * sysdeps/i386/fpu/e_log10.S: Likewise.
49206 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49207 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49208 * sysdeps/i386/fpu/e_log2.S: Likewise.
49209 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49210 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49211 * sysdeps/i386/fpu/e_logf.S: Likewise.
49212 * sysdeps/i386/fpu/e_logl.S: Likewise.
49213 * sysdeps/i386/fpu/e_pow.S: Likewise.
49214 * sysdeps/i386/fpu/e_powf.S: Likewise.
49215 * sysdeps/i386/fpu/e_powl.S: Likewise.
49216 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49217 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49218 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49219 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49220 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49221 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49222 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49223 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49224 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49225 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49226 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49227 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49228 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49229 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49230 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49231 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49232 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49233 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49234 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49235 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49236 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49238 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49239 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49242 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49245 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49246 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49247 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49248 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49249 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49250 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49251 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49252 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49253 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49254 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49255 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49256 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49257 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49258 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49259 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49260 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49261 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49262 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49263 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49264 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49265 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49266 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49267 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49268 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49270 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49271 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49272 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49275 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49276 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49277 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49278 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49280 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49281 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49282 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49285 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49286 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49289 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49290 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49291 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49293 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49294 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49295 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49296 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49297 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49298 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49299 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49300 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49301 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49302 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49303 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49304 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49305 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49306 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49307 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49308 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49309 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49310 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49311 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49312 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49313 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49314 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49315 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49316 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49317 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49318 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49319 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49320 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49321 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49322 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49323 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49324 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49325 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49326 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49327 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49328 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49329 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49330 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49331 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49332 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49333 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49334 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49335 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49336 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49337 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49338 (__isnanf): Likewise.
49339 (__isinf_ns): Likewise.
49340 (__isinf_nsf): Likewise.
49341 (__finite): Likewise.
49342 (__finitef): Likewise.
49343 (__ieee754_sqrt): Define as macro.
49344 (__ieee754_sqrtf): Define as macro.
49345 (__ieee754_sqrtl): Define as macro.
49346 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49347 inlined copy.
49348 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49349 __FINITE_MATH_ONLY__ consistent.
49350 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49351
12cc2fcd
AS
493522011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49353
a843a204
AS
49354 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49355 of rawmemchr.
49356
12cc2fcd
AS
49357 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49358
c853acd5
UD
493592011-10-09 Ulrich Drepper <drepper@gmail.com>
49360
49361 * po/ja.po: Update from translation team.
49362
c658d255
RM
493632011-10-08 Roland McGrath <roland@hack.frob.com>
49364
110946e4
RM
49365 * locale/programs/locarchive.c (prepare_address_space): New function.
49366 (create_archive, enlarge_archive, open_archive): Use it.
49367
50604220
RM
49368 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49369 inside [SHARED], where it is used.
49370
c658d255
RM
49371 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49372
49373 * nss/getent.c (netgroup_keys): Remove unused variable.
49374 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49375
6a621eb7
UD
493762011-10-08 Ulrich Drepper <drepper@gmail.com>
49377
7edb55ce
UD
49378 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49379 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49381 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49382 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49383 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49384 * math/Makefile (libm-calls): Add s_isinf_ns.
49385 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49386 * math/multc3.c: Likewise.
49387 * math/s_casin.c: Likewise.
49388 * math/s_casinf.c: Likewise.
49389 * math/s_casinl.c: Likewise.
49390 * math/s_ccos.c: Likewise.
49391 * math/s_ccosf.c: Likewise.
49392 * math/s_ccosl.c: Likewise.
49393 * math/s_ctan.c: Likewise.
49394 * math/s_ctanf.c: Likewise.
49395 * math/s_ctanh.c: Likewise.
49396 * math/s_ctanhf.c: Likewise.
49397 * math/s_ctanhl.c: Likewise.
49398 * math/s_ctanl.c: Likewise.
49399 * math/w_fmod.c: Likewise.
49400 * math/w_fmodf.c: Likewise.
49401 * math/w_fmodl.c: Likewise.
49402 * math/w_remainder.c: Likewise.
49403 * math/w_remainderf.c: Likewise.
49404 * math/w_remainderl.c: Likewise.
49405 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49406 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49407 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49409 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49410 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49411 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49412 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49413
187da0ae
UD
49414 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49415 of the number.
49416 * stdio-common/printf_fphex.c: Likewise.
49417 * stdio-common/printf_size.c: Likewise.
49418
9277c064
UD
49419 * math/e_exp10.c: Include math_private.h using <...> not "...".
49420 * math/e_exp10f.c: Likewise.
49421 * math/e_exp10l.c: Likewise.
49422 * math/e_exp2l.c: Likewise.
49423 * math/e_j0l.c: Likewise.
49424 * math/e_j1l.c: Likewise.
49425 * math/e_jnl.c: Likewise.
49426 * math/e_lgammal_r.c: Likewise.
49427 * math/e_rem_pio2l.c: Likewise.
49428 * math/e_scalb.c: Likewise.
49429 * math/e_scalbf.c: Likewise.
49430 * math/e_scalbl.c: Likewise.
49431 * math/k_cosl.c: Likewise.
49432 * math/k_sinl.c: Likewise.
49433 * math/k_tanl.c: Likewise.
49434 * math/s_cacoshf.c: Likewise.
49435 * math/s_catan.c: Likewise.
49436 * math/s_catanf.c: Likewise.
49437 * math/s_catanh.c: Likewise.
49438 * math/s_catanhf.c: Likewise.
49439 * math/s_catanhl.c: Likewise.
49440 * math/s_catanl.c: Likewise.
49441 * math/s_ccosh.c: Likewise.
49442 * math/s_ccoshf.c: Likewise.
49443 * math/s_ccoshl.c: Likewise.
49444 * math/s_cexp.c: Likewise.
49445 * math/s_cexpf.c: Likewise.
49446 * math/s_cexpl.c: Likewise.
49447 * math/s_clog.c: Likewise.
49448 * math/s_clog10.c: Likewise.
49449 * math/s_clog10f.c: Likewise.
49450 * math/s_clog10l.c: Likewise.
49451 * math/s_clogf.c: Likewise.
49452 * math/s_clogl.c: Likewise.
49453 * math/s_csin.c: Likewise.
49454 * math/s_csinf.c: Likewise.
49455 * math/s_csinh.c: Likewise.
49456 * math/s_csinhf.c: Likewise.
49457 * math/s_csinhl.c: Likewise.
49458 * math/s_csinl.c: Likewise.
49459 * math/s_csqrt.c: Likewise.
49460 * math/s_csqrtf.c: Likewise.
49461 * math/s_csqrtl.c: Likewise.
49462 * math/s_ctan.c: Likewise.
49463 * math/s_ctanf.c: Likewise.
49464 * math/s_ctanh.c: Likewise.
49465 * math/s_ctanhf.c: Likewise.
49466 * math/s_ctanhl.c: Likewise.
49467 * math/s_ctanl.c: Likewise.
49468 * math/s_ldexp.c: Likewise.
49469 * math/s_ldexpf.c: Likewise.
49470 * math/s_ldexpl.c: Likewise.
49471 * math/s_significand.c: Likewise.
49472 * math/s_significandf.c: Likewise.
49473 * math/s_significandl.c: Likewise.
49474 * math/w_acos.c: Likewise.
49475 * math/w_acosf.c: Likewise.
49476 * math/w_acosh.c: Likewise.
49477 * math/w_acoshf.c: Likewise.
49478 * math/w_acoshl.c: Likewise.
49479 * math/w_acosl.c: Likewise.
49480 * math/w_asin.c: Likewise.
49481 * math/w_asinf.c: Likewise.
49482 * math/w_asinl.c: Likewise.
49483 * math/w_atan2.c: Likewise.
49484 * math/w_atan2f.c: Likewise.
49485 * math/w_atan2l.c: Likewise.
49486 * math/w_atanh.c: Likewise.
49487 * math/w_atanhf.c: Likewise.
49488 * math/w_atanhl.c: Likewise.
49489 * math/w_cosh.c: Likewise.
49490 * math/w_coshf.c: Likewise.
49491 * math/w_coshl.c: Likewise.
49492 * math/w_dremf.c: Likewise.
49493 * math/w_exp10.c: Likewise.
49494 * math/w_exp10f.c: Likewise.
49495 * math/w_exp10l.c: Likewise.
49496 * math/w_exp2.c: Likewise.
49497 * math/w_exp2f.c: Likewise.
49498 * math/w_fmod.c: Likewise.
49499 * math/w_fmodf.c: Likewise.
49500 * math/w_fmodl.c: Likewise.
49501 * math/w_hypot.c: Likewise.
49502 * math/w_hypotf.c: Likewise.
49503 * math/w_hypotl.c: Likewise.
49504 * math/w_j0.c: Likewise.
49505 * math/w_j0f.c: Likewise.
49506 * math/w_j0l.c: Likewise.
49507 * math/w_j1.c: Likewise.
49508 * math/w_j1f.c: Likewise.
49509 * math/w_j1l.c: Likewise.
49510 * math/w_jn.c: Likewise.
49511 * math/w_jnf.c: Likewise.
49512 * math/w_jnl.c: Likewise.
49513 * math/w_lgamma.c: Likewise.
49514 * math/w_lgamma_r.c: Likewise.
49515 * math/w_lgammaf.c: Likewise.
49516 * math/w_lgammaf_r.c: Likewise.
49517 * math/w_lgammal.c: Likewise.
49518 * math/w_lgammal_r.c: Likewise.
49519 * math/w_log.c: Likewise.
49520 * math/w_log10.c: Likewise.
49521 * math/w_log10f.c: Likewise.
49522 * math/w_log10l.c: Likewise.
49523 * math/w_log2.c: Likewise.
49524 * math/w_log2f.c: Likewise.
49525 * math/w_log2l.c: Likewise.
49526 * math/w_logf.c: Likewise.
49527 * math/w_logl.c: Likewise.
49528 * math/w_pow.c: Likewise.
49529 * math/w_powf.c: Likewise.
49530 * math/w_powl.c: Likewise.
49531 * math/w_remainder.c: Likewise.
49532 * math/w_remainderf.c: Likewise.
49533 * math/w_remainderl.c: Likewise.
49534 * math/w_scalb.c: Likewise.
49535 * math/w_scalbf.c: Likewise.
49536 * math/w_scalbl.c: Likewise.
49537 * math/w_sinh.c: Likewise.
49538 * math/w_sinhf.c: Likewise.
49539 * math/w_sinhl.c: Likewise.
49540 * math/w_sqrt.c: Likewise.
49541 * math/w_sqrtf.c: Likewise.
49542 * math/w_sqrtl.c: Likewise.
49543 * math/w_tgamma.c: Likewise.
49544 * math/w_tgammaf.c: Likewise.
49545 * math/w_tgammal.c: Likewise.
49546
6a621eb7
UD
49547 * po/ja.po: Update from translation team.
49548
bf582445
AJ
495492011-09-29 Andreas Jaeger <aj@suse.de>
49550
f9efbf3a
AJ
49551 [BZ #13179]
49552 * sunrpc/netname.c (netname2host): Fix logic.
49553
bf582445
AJ
49554 [BZ #6779]
49555 [BZ #6783]
49556 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49557 correctly.
49558 * math/w_remainder.c (__remainder): Likewise.
49559 * math/w_remainderf.c (__remainderf): Likewise.
49560 * math/libm-test.inc (remainder_test): Add test cases.
49561
48693bea
AK
495622011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49563
49564 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49565 sdiv_qrnnd.
49566
42622229
LD
495672011-10-07 Ulrich Drepper <drepper@gmail.com>
49568
49569 * string/test-memcmp.c: Avoid unncessary #defines.
49570 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49571
093ecf92
LD
495722011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49573
49574 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49575 Use new sse2 version for core i3 - i7 as it's faster
49576 than sse42 version.
49577 (bit_Prefer_PMINUB_for_stringop): New.
49578 * sysdeps/x86_64/rawmemchr.S: Update.
49579 Replace with faster SSE2 version.
49580 * sysdeps/x86_64/memrchr.S: New file.
49581 * sysdeps/x86_64/memchr.S: Update.
49582 Replace with faster SSE2 version.
49583
fde56e5c
MP
495842011-09-12 Marek Polacek <mpolacek@redhat.com>
49585
49586 * elf/dl-load.c (lose): Add cast to avoid warning.
49587
21fd49a9
UD
495882011-10-07 Ulrich Drepper <drepper@gmail.com>
49589
5a06e643
UD
49590 * po/ca.po: Update from translation team.
49591
684ae515
UD
49592 * inet/getnetgrent_r.c: Hook up nscd.
49593 * nscd/Makefile (routines): Add nscd_netgroup.
49594 (nscd-modules): Add netgroupcache.
49595 (CFLAGS-netgroupcache.c): Define.
49596 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49597 (cache_search): Add const to second parameter.
49598 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49599 INNETGR.
49600 (dbs): Add netgrdb entry.
49601 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49602 (verify_persistent_db): Handle netgrdb.
49603 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49604 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49605 GETFDNETGR.
49606 (netgroup_response_header): Define.
49607 (innetgroup_response_header): Define.
49608 (datahead): Add netgroup_response_header and innetgroup_response_header
49609 elements.
49610 * nscd/nscd.conf: Add entries for netgroup cache.
49611 * nscd/nscd.h (dbtype): Add netgrdb.
49612 (_PATH_NSCD_NETGROUP_DB): Define.
49613 (netgroup_iov_disabled): Declare.
49614 (xmalloc, xcalloc, xrealloc): Move declarations here.
49615 (cache_search): Adjust prototype.
49616 Add netgroup-related prototypes.
49617 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49618 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49619 (__nscd_innetgr): Declare.
49620 * nscd/selinux.c (perms): Use access_vector_t as element type and
49621 add netgroup-related initializers.
49622 * nscd/netgroupcache.c: New file.
49623 * nscd/nscd_netgroup.c: New file.
49624 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49625 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49626 For four parameters use innetgr.
49627 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49628 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49629 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49630 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49631
21fd49a9
UD
49632 * nscd/connections.c (register_traced_file): Don't register file
49633 for disabled databases.
49634
054c0457
UD
496352011-10-06 Ulrich Drepper <drepper@gmail.com>
49636
32b63198
UD
49637 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49638
054c0457
UD
49639 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49640 from tree and freeing node.
49641
64031225
JO
496422011-09-25 Jiri Olsa <jolsa@redhat.com>
49643
49644 * nss/nsswitch.c (__nss_database_lookup): Handle
49645 nss_parse_service_list out of memory case.
49646
0490345c
JO
496472011-09-15 Jiri Olsa <jolsa@redhat.com>
49648
49649 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49650 out of memory case.
49651
3a62d00d
AS
496522011-10-04 Andreas Schwab <schwab@redhat.com>
49653
49654 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49655 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49656 pass it down.
49657 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49658 elf_machine_rela, elf_machine_lazy_rel.
49659 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49660 (ELF_DYNAMIC_DO_REL): Likewise.
49661 (ELF_DYNAMIC_DO_RELA): Likewise.
49662 (ELF_DYNAMIC_RELOCATE): Likewise.
49663 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49664 to ELF_DYNAMIC_DO_REL.
49665 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49666 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49667 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49668 elf_machine_rela.
49669 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49670 skip_ifunc, don't call ifunc function if non-zero.
49671 (elf_machine_rela): Likewise.
49672 (elf_machine_lazy_rel): Likewise.
49673 (elf_machine_lazy_rela): Likewise.
49674 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49675 (elf_machine_lazy_rel): Likewise.
49676 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49677 Likewise.
49678 (elf_machine_lazy_rel): Likewise.
49679 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49680 Likewise.
49681 (elf_machine_lazy_rel): Likewise.
49682 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49683 (elf_machine_lazy_rel): Likewise.
49684 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49685 (elf_machine_lazy_rel): Likewise.
49686 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49687 (elf_machine_lazy_rel): Likewise.
49688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49689 (elf_machine_lazy_rel): Likewise.
49690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49691 (elf_machine_lazy_rel): Likewise.
49692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49693 (elf_machine_lazy_rel): Likewise.
49694
68577918
UD
496952011-09-28 Ulrich Drepper <drepper@gmail.com>
49696
49697 * nss/nss_files/files-init.c (_nss_files_init): Use static
49698 initialization for all the *_traced_file variables.
49699
68822d74
AS
497002011-09-28 Andreas Schwab <schwab@redhat.com>
49701
49702 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49703
2056100b
RM
497042011-09-27 Roland McGrath <roland@hack.frob.com>
49705
49706 [BZ #13226]
49707 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49708
32c76b63
AS
497092011-09-27 Andreas Schwab <schwab@redhat.com>
49710
49711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49712 Reread the line before reparsing it.
49713
bf972c9d
AS
497142011-09-26 Andreas Schwab <schwab@redhat.com>
49715
49716 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49717
e057a1b5
JM
497182011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49719 Maxim Kuvyrkov <maxim@codesourcery.com>
49720 Joseph Myers <joseph@codesourcery.com>
49721
49722 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49723 if needed for __stack_chk_guard.
49724
bc7e1c36
RM
497252011-09-19 Roland McGrath <roland@hack.frob.com>
49726
ecb1482f
RM
49727 * sysdeps/posix/spawni.c (script_execute): Always define it.
49728 It will be optimized away if unused.
49729 (maybe_script_execute): New function.
49730 (__spawni): Call it.
49731
bc7e1c36
RM
49732 * Makerules: Don't include tls.make.
49733 (config-tls): Always set to thread.
49734 * tls.make.c: File removed.
49735
1c3b002b
MF
497362011-09-19 Mike Frysinger <vapier@gentoo.org>
49737
49738 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49739 * config.make.in (CPPFLAGS-config): New substituted variable.
49740
2840865d
UD
497412011-09-15 Ulrich Drepper <drepper@gmail.com>
49742
88738eb6
UD
49743 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49744
cbf645a6 49745 [BZ #13192]
2840865d
UD
49746 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49747 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49748
b402e91a
RM
497492011-09-15 Roland McGrath <roland@hack.frob.com>
49750
49751 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49752 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49754 (CALL_FAIL): Likewise.
49755 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49756 (CALL_FAIL): Macro removed.
49757 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49758
4c1a1f71
UD
497592011-09-15 Ulrich Drepper <drepper@gmail.com>
49760
49761 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49762 for __FINITE_MATH_ONLY__ == 1.
49763
edc121be
AS
497642011-09-15 Andreas Schwab <schwab@redhat.com>
49765
49766 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49767 __ieee754_sqrt instead of sqrt.
49768 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49769 __ieee754_sqrtf instead of sqrtf.
49770 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49771 __floorf instead of floorf.
49772 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49773 __floorf, __truncf instead of floorf, truncf.
49774
cd205654
UD
497752011-09-14 Ulrich Drepper <drepper@gmail.com>
49776
ee4d0315
UD
49777 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49778
cd205654
UD
49779 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49780 __extern_always_inline.
49781 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49782 32-bit.
49783
48b67d71
AS
497842011-09-14 Andreas Schwab <schwab@redhat.com>
49785
49786 * elf/rtld.c (dl_main): Also relocate in dependency order when
49787 doing symbol dependency testing.
49788
1ae12c75
AS
497892011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49790
49791 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49792 Always define `refsym'.
49793
995a80df
AS
497942011-09-13 Andreas Schwab <schwab@redhat.com>
49795
e529793b
AS
49796 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49797 (__FD_ELT): Renamed from __FDELT.
49798 * misc/bits/select2.h (__FD_ELT): Likewise.
49799 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49800 __FD_MASK instead of __FDELT, __FDMASK.
49801 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49802 Likewise.
49803 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49804 Likewise.
49805
52d4fef8
AS
49806 * elf/Makefile (gen-ldd): Fix pattern.
49807
995a80df
AS
49808 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49809 (init_tls): Likewise.
49810
8682f8b0
UD
498112011-09-12 Ulrich Drepper <drepper@gmail.com>
49812
49813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49814
de82006d
AS
498152011-09-12 Andreas Schwab <schwab@redhat.com>
49816
a7c8e6a1
AS
49817 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49818 `struct cmsghdr *' instead of `void *'.
49819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49820 Likewise.
49821
0f31fe77
AS
498222011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49823
49824 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49825 if non-absolute.
49826 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49827 ldd_rewrite_script.
0f31fe77 49828
32b4c839
UD
498292011-09-11 Ulrich Drepper <drepper@gmail.com>
49830
83cd1420
UD
49831 * configure.in: Remove --with-tls option.
49832 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49833 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49834 out in case it is missing.
49835 * sysdeps/ia64/elf/configure.in: Likewise.
49836 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49837 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49838 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49839 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49840 * sysdeps/sh/elf/configure.in: Likewise.
49841 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49842 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49843 * sysdeps/x86_64/elf/configure.in: Likewise.
49844 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49845 * sysdeps/mach/hurd/tls.h: Likewise.
49846
633f745d
UD
49847 [BZ #13067]
49848 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49849
f318beb8
UD
49850 [BZ #13090]
49851 * configure.in: Fix use of AC_INIT.
49852
32b4c839
UD
49853 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49854
3ce1f295
UD
498552011-09-10 Ulrich Drepper <drepper@gmail.com>
49856
bb016596
UD
49857 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49858 __set_errno.
8e58439c
UD
49859 * malloc/hooks.c: Likewise.
49860
aebae053 49861 [BZ #11929]
02d46fc4
UD
49862 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49863 variables statically.
49864 (narenas): Initialize.
49865 (list_lock): Initialize.
bb016596
UD
49866 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49867 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49868 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49869 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49870 Add initializers to main_arena and mp_.
49871 (malloc_state): Remove pagesize member. Change all users to use
49872 GLRO(dl_pagesize).
49873
49874 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49875 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49876 is always initialized.
49877
22a89187
UD
49878 * malloc/malloc.c: Removed unused configurations and dead code.
49879 * malloc/arena.c: Likewise.
49880 * malloc/hooks.c: Likewise.
02d46fc4 49881 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49882
d063d164
UD
49883 * include/tls.h: Removed. USE___THREAD must always be defined.
49884 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49885 * elf/dl-libc.c: Likewise.
49886 * elf/dl-tsd.c: Likewise.
49887 * include/errno.h: Likewise.
49888 * include/netdb.h: Likewise.
49889 * include/resolv.h: Likewise.
49890 * inet/herrno-loc.c: Likewise.
49891 * inet/herrno.c: Likewise.
49892 * malloc/arena.c: Likewise.
49893 * malloc/hooks.c: Likewise.
49894 * malloc/malloc.c: Likewise.
49895 * resolv/res-state.c: Likewise.
49896 * resolv/res_libc.c: Likewise.
49897 * sysdeps/i386/dl-machine.h: Likewise.
49898 * sysdeps/ia64/dl-machine.h: Likewise.
49899 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49900 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49901 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49902 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49903 * sysdeps/sh/dl-machine.h: Likewise.
49904 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49905 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49906 * sysdeps/unix/i386/sysdep.S: Likewise.
49907 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49908 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49909 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49910 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49911 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49912 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49913 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49917 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49918 * sysdeps/x86_64/dl-machine.h: Likewise.
49919 * tls.make.c: Likewise.
49920
3ce1f295
UD
49921 * configure.in: Remove --with-__thread option. Make tests for
49922 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49923 tls_model attribute fail if no support is available. Remove
49924 USE_IN_LIBIO.
49925 * Makeconfig: Adjust for dropped configure option. All features are
49926 now mandatory.
49927 * Makerules: Likewise.
49928 * Versions.def: Likewise.
49929 * argp/argp-fmtstream.c: Likewise.
49930 * argp/argp-fmtstream.h: Likewise.
49931 * argp/argp-help.c: Likewise.
49932 * assert/assert.c: Likewise.
49933 * config.h.in: Likewise.
49934 * config.make.in: Likewise.
49935 * configure: Likewise.
49936 * configure.in: Likewise.
49937 * csu/Versions: Likewise.
49938 * csu/init.c: Likewise.
49939 * elf/tst-audit2.c: Likewise.
49940 * elf/tst-tls10.c: Likewise.
49941 * elf/tst-tls10.h: Likewise.
49942 * elf/tst-tls11.c: Likewise.
49943 * elf/tst-tls12.c: Likewise.
49944 * elf/tst-tls14.c: Likewise.
49945 * elf/tst-tlsmod11.c: Likewise.
49946 * elf/tst-tlsmod12.c: Likewise.
49947 * elf/tst-tlsmod13.c: Likewise.
49948 * elf/tst-tlsmod13a.c: Likewise.
49949 * elf/tst-tlsmod14a.c: Likewise.
49950 * elf/tst-tlsmod15b.c: Likewise.
49951 * elf/tst-tlsmod16a.c: Likewise.
49952 * elf/tst-tlsmod16b.c: Likewise.
49953 * elf/tst-tlsmod7.c: Likewise.
49954 * elf/tst-tlsmod8.c: Likewise.
49955 * elf/tst-tlsmod9.c: Likewise.
49956 * gmon/gmon.c: Likewise.
49957 * grp/fgetgrent_r.c: Likewise.
49958 * grp/putgrent.c: Likewise.
49959 * hurd/fopenport.c: Likewise.
49960 * include/libc-symbols.h: Likewise.
49961 * include/tls.h: Likewise.
49962 * intl/gettextP.h: Likewise.
49963 * intl/loadinfo.h: Likewise.
49964 * locale/global-locale.c: Likewise.
49965 * locale/localeinfo.h: Likewise.
49966 * mach/devstream.c: Likewise.
49967 * malloc/arena.c: Likewise.
49968 * malloc/set-freeres.c: Likewise.
49969 * misc/err.c: Likewise.
49970 * misc/getttyent.c: Likewise.
49971 * misc/mntent_r.c: Likewise.
49972 * posix/getopt.c: Likewise.
49973 * posix/wordexp.c: Likewise.
49974 * pwd/fgetpwent_r.c: Likewise.
49975 * resolv/Versions: Likewise.
49976 * resolv/res_hconf.c: Likewise.
49977 * shadow/fgetspent_r.c: Likewise.
49978 * shadow/putspent.c: Likewise.
49979 * stdio-common/printf_fphex.c: Likewise.
49980 * stdio-common/tmpfile.c: Likewise.
49981 * stdlib/abort.c: Likewise.
49982 * stdlib/fmtmsg.c: Likewise.
49983 * sunrpc/auth_unix.c: Likewise.
49984 * sunrpc/clnt_perr.c: Likewise.
49985 * sunrpc/clnt_tcp.c: Likewise.
49986 * sunrpc/clnt_udp.c: Likewise.
49987 * sunrpc/clnt_unix.c: Likewise.
49988 * sunrpc/openchild.c: Likewise.
49989 * sunrpc/svc_simple.c: Likewise.
49990 * sunrpc/svc_tcp.c: Likewise.
49991 * sunrpc/svc_udp.c: Likewise.
49992 * sunrpc/svc_unix.c: Likewise.
49993 * sunrpc/xdr.c: Likewise.
49994 * sunrpc/xdr_array.c: Likewise.
49995 * sunrpc/xdr_rec.c: Likewise.
49996 * sunrpc/xdr_ref.c: Likewise.
49997 * sunrpc/xdr_stdio.c: Likewise.
49998
1248c1c4
PB
499992011-09-09 Ulrich Drepper <drepper@gmail.com>
50000
50001 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50002
500032011-07-03 Andreas Jaeger <aj@suse.de>
50004
50005 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50006 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50007 regenerate with gen-libm-tests.pl.
50008
500092010-05-12 Petr Baudis <pasky@suse.cz>
50010
50011 [BZ #11589]
50012 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50013 around j0() zero points by switching to j1().
50014 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50015 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50017 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50018
f22e1074
UD
500192011-09-09 Ulrich Drepper <drepper@gmail.com>
50020
f19009c1
UD
50021 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50022 instead of 0.
50023 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 50024 instead of 0.
f19009c1
UD
50025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50026 Patch in part by Pavel Roskin <proski@gnu.org>.
50027
3f8cc204
UD
50028 [BZ #13138]
50029 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50030 realloc.
50031 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50032 Free memory block if necessary.
50033
f22e1074
UD
50034 [BZ #12847]
50035 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50036 be NULL. Don't lock in this case.
50037
0a2349f9
RM
500382011-09-09 Roland McGrath <roland@hack.frob.com>
50039
50040 * elf/elf.h (ELFOSABI_GNU): New macro.
50041 (ELFOSABI_LINUX): Define to that.
50042
f3cdd467
DZ
500432011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50044
50045 * string/strncat.c (strncat): Undef the symbol in case it has been
50046 defined in bits/string.h.
50047
74718d13
UD
500482011-09-09 Ulrich Drepper <drepper@gmail.com>
50049
633e9e0f
UD
50050 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50051
0a2349f9 50052 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
50053 link map.
50054
f9924780
AJ
500552011-08-17 Andreas Jaeger <aj@suse.de>
50056
50057 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50058
7f5517aa
PP
500592011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50060 Ian Lance Taylor <iant@google.com>
50061
50062 * math/libm-test.inc (lround_test): New testcase.
50063 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50064
762011fe
UD
500652011-09-08 Ulrich Drepper <drepper@gmail.com>
50066
92963737
UD
50067 * Makefile: Remove support for automatic cvs check-ins.
50068 * Makerules: Likewise.
50069 * config.make.in: Likewise.
50070 * configure.in: Likewise.
50071 * intl/Makefile: Likewise.
50072 * locale/Makefile: Likewise.
50073 * po/Makefile: Likewise.
50074 * posix/Makefile: Likewise.
50075 * sysdeps/gnu/Makefile: Likewise.
50076 * sysdeps/mach/hurd/Makefile: Likewise.
50077 * sysdeps/sparc/sparc32/Makefile: Likewise.
50078
b0727fd8
JS
50079 [BZ #13118]
50080 * posix/Makefile (bug-regex32-ENV): Define.
50081 Patch by John Stanley <jpsinthemix@verizon.net>.
50082
a0f33f99
UD
50083 * misc/Makefile (headers): Add bits/select2.h.
50084 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50085 * misc/bits/select2.h: New file.
50086 * include/bits/select2.h: New file.
50087 * debug/Makefile (routines): Add fdelt_chk.
50088 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50089 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50090 FD_ISSET.
50091 * debug/fdelt_chk.c: New file.
50092
762011fe
UD
50093 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50094 * wcsmbs/test-wmemcmp.c: Likewise.
50095 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 50096 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
50097
500982011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50099
50100 * string/Makefile (strop-tests): Add memcmp.
50101 * string/test-wmemcmp.c: New file.
50102 * string/test-memcmp.c: Add wmemcmp support.
50103
7f513ec8
RM
501042011-09-08 Roland McGrath <roland@hack.frob.com>
50105
0442afb4
RM
50106 [BZ #13153]
50107 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50108 2011-07-19 change.
50109
7f513ec8
RM
50110 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50111 garbage value in a __mach_port_mod_refs call in the cases of the
50112 task-self and thread-self ports.
50113
a12b2239
ST
501142011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50115
50116 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50117
610f9ab4
AS
501182011-09-08 Andreas Schwab <schwab@redhat.com>
50119
7f513ec8 50120 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 50121
48882a1a
LD
501222011-09-07 Ulrich Drepper <drepper@gmail.com>
50123
b49865be
UD
50124 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50125
fdc86bc9
UD
50126 * elf/dl-libc.c (dlerror_run): Pass back error code from
50127 dl_catch_error.
50128
c966526a
UD
50129 [BZ #13123]
50130 * elf/dl-load.c (lose): Free l_origin if it is valid.
50131
48882a1a
LD
50132 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50133 names.
50134 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50135 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50136 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50137 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50138 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50139 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50140
77a2a8b4
AZ
501412011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50142
50143 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50144 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50145 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50146 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50147 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50148 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50149 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50150 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50151 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50152 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50153
24f579d8
AM
501542011-08-15 Alan Modra <amodra@gmail.com>
50155
50156 [BZ #13092]
50157 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50158 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50159 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50160 ppc_mcount to static-only-routines.
50161 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50162 __mcount_internal.
50163 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50164 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50165
3d4837df
UD
501662011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50167
50168 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50169 for finite and infinity parameters.
50170
22700377
WS
501712011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50172
50173 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50174 and add nop instructions for throughput optimization.
50175 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50176
5025581e
WS
501772011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50178
50179 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50180 aligned copy for power7 with vector-scalar instructions.
50181 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50182
08a300c9
L
501832011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50184
50185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50186 AVX check.
50187
59178ef9
AS
501882011-09-07 Andreas Schwab <schwab@redhat.com>
50189
50190 [BZ #13144]
50191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50192 last change.
50193
e38ba7ab
UD
501942011-09-07 Ulrich Drepper <drepper@gmail.com>
50195
50196 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50197 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50198 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50199 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50200 clock_gettime.
50201
d53a73ac
UD
502022011-09-06 Ulrich Drepper <drepper@gmail.com>
50203
fc8bffcc
UD
50204 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50205 Forgot to demangle the pointer.
50206
ceaa0c5d
UD
50207 * sysdeps/i386/sysdep.h: Define atom_text_section.
50208 * sysdeps/x86_64/sysdep.h: Likewise.
50209 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50210 section with atom_text_section.
50211 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50212 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50213 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50215 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50216
a77d3c17
UD
50217 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50218 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50219 already be defined. Change to take two parameters and don't assign
50220 result to variable. Adjust all users.
50221 Define INTERNAL_GETTIME if not already defined.
50222 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50223 call.
50224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50225 HAVE_CLOCK_GETTIME_VSYSCALL.
50226 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50227
d53a73ac
UD
50228 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50229 gettimeofday vsyscall, just use time.
50230
a8f84144
AS
502312011-09-06 Andreas Schwab <schwab@redhat.com>
50232
50233 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50234 <errno.h>.
50235
ef606249
UD
502362011-09-06 Ulrich Drepper <drepper@gmail.com>
50237
50238 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50239 syscall on x86-64.
50240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50241 syscall.
50242 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50243 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50244 syscall if possible.
50245
6585cb60
UD
502462011-09-05 Ulrich Drepper <drepper@gmail.com>
50247
50248 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50249 e_ident. Don't pass to find_mapsXX.
50250 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50251
a5f524e4
LD
502522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50253
50254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50255 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50256 * sysdeps/x86_64/multiarch/strchr.S: Update.
50257 Check bit_slow_BSF bit.
50258 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50259 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50260 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50261
554881ef
UD
502622011-09-05 Ulrich Drepper <drepper@gmail.com>
50263
d96de963
UD
50264 [BZ #13134]
50265 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50266 before glibc 2.15.
50267 (tryshell): Define.
50268 (__spawni): Change last parameter to be flag. Test
50269 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50270 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50271 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50272 * posix/spawni.c: Likewise.
50273 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50274 * posix/spawnp.c: Likewise. Change normal version to use
50275 SPAWN_XFLAGS_USE_PATH.
50276 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50277 SPAWN_XFLAGS_TRY_SHELL.
50278
d48e5868
UD
50279 [BZ #13150]
50280 * posix/glob.h: Remove gcc 1.x support.
50281
554881ef
UD
50282 [BZ #13068]
50283 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50284
693fb948
LD
502852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50286
50287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50288 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50289 strrchr-sse2-bsf
50290 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50291 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50292 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50293 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50294 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50295 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50296
1b48c537
UD
502972011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50298
49d42c37
UD
50299 * sysdeps/x86_64/wcscmp.S: New file.
50300
1b48c537
UD
50301 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50302 wcscmp-c wcscmp-sse2
50303 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50304 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50305 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50306 * wcsmbs/wcscmp.c: Allow renaming.
50307
15c95c5d
DM
503082011-09-05 David S. Miller <davem@davemloft.net>
50309
50310 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50311 stack slot, rather than the struct return pointer slot.
50312 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50313 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50315 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50316
2f0ad8f3
UD
503172011-09-05 Ulrich Drepper <drepper@gmail.com>
50318
d88ae418
UD
50319 * po/ja.po: Update from translation team.
50320
2f0ad8f3
UD
50321 [BZ #13144]
50322 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50323 kernel in 64-bit binaries.
50324
5f4318d1
DM
503252011-09-01 David S. Miller <davem@davemloft.net>
50326
50327 * elf/elf.h (HWCAP_SPARC_*): Move to..
50328 * sysdeps/sparc/sysdep.h: this new file and add new values.
50329 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50330 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50331 _DL_HWCAP_COUNT to 24.
50332 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50333 entries.
50334 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50335 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50336 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50337 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50338 instead of magic constants.
50339 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50340
3ba57516
DM
503412011-08-31 David S. Miller <davem@davemloft.net>
50342
50343 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50344 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50345 Reimplement to do errno handling inline.
50346 (SYSCALL_ERROR_HANDLER): New macro.
50347 (__SYSCALL_STRING): Do not do errno handling in asm.
50348 (__CLONE_SYSCALL_STRING): Delete.
50349 (__INTERNAL_SYSCALL_STRING): Delete.
50350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50351 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50352 (PSEUDO): Reimplement to do errno handling inline.
50353 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50354 (SYSCALL_ERROR_HANDLER): New macro.
50355 (__SYSCALL_STRING): Do not do errno handling in asm.
50356 (__CLONE_SYSCALL_STRING): Delete.
50357 (__INTERNAL_SYSCALL_STRING): Delete.
50358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50359 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50360 i386.
50361 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50362 (inline_syscall*): Add 'err' argument.
50363 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50364 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50365 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50366 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50367
50368 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50369 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50370
2bc17433
AS
503712011-08-30 Andreas Schwab <schwab@redhat.com>
50372
50373 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50374
fbeb5f4d
JO
503752011-08-29 Jiri Olsa <jolsa@redhat.com>
50376
50377 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50378 directive.
50379
ad69cc26
DM
503802011-08-24 David S. Miller <davem@davemloft.net>
50381
50382 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50383
39dd69df
AS
503842011-08-24 Andreas Schwab <schwab@redhat.com>
50385
50386 * elf/Makefile: Add rules to build and run unload8 test.
50387 * elf/unload8.c: New file.
50388 * elf/unload8mod1.c: New file.
50389 * elf/unload8mod1x.c: New file.
50390 * elf/unload8mod2.c: New file.
50391 * elf/unload8mod3.c: New file.
50392
50393 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50394 it wasn't used.
50395
2c0b250a
DM
503962011-08-23 David S. Miller <davem@davemloft.net>
50397
50398 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50399 subtract stack bias.
50400 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50401 %sp not %fp in calculations.
50402 (_JMPBUF_UNWINDS_ADJ): Likewise.
50403
22044b48
DM
50404 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50405 (aio_suspend): Call it to force an exception region around the
50406 AIO_MISC_WAIT() invocation.
50407
2cae4995
AS
504082011-08-23 Andreas Schwab <schwab@redhat.com>
50409
50410 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50411 backslash.
50412
873a772e
AJ
504132011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50414
50415 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50416 protection macro.
50417 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50418 and <dl-machine.h>.
50419 (Elf64_FuncDesc): Remove.
50420
25ad0df1
DM
504212011-08-22 David S. Miller <davem@davemloft.net>
50422
50423 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50424 sigaltstack check, add missing cfi directives.
50425 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50426 missing cfi directives, and sigaltstack handling.
50427
e888bcbe
AS
504282011-08-16 Andreas Schwab <schwab@redhat.com>
50429
50430 [BZ #11724]
50431 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50432 object is seen twice.
50433 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50434
50435 * elf/Makefile (distribute): Add tst-initorder2.c.
50436 (tests): Add tst-initorder2.
50437 (modules-names): Add tst-initorder2a tst-initorder2b
50438 tst-initorder2c tst-initorder2d. Add rules to build them.
50439 ($(objpfx)tst-initorder2.out): New rule.
50440 * elf/tst-initorder2.c: New file.
50441 * elf/tst-initorder2.exp: New file.
50442
87162f46
AS
504432011-08-22 Andreas Schwab <schwab@redhat.com>
50444
70538b7f
AS
50445 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50446
f55ffe58
AS
50447 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50448 dependencies back to end of function.
50449
87162f46
AS
50450 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50451 $(elfobjdir)/ld.so.
50452
91b392a4
UD
504532011-08-21 Ulrich Drepper <drepper@gmail.com>
50454
50455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50456 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50457 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50458 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50459 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50460 of __vdso_gettimeofday.
50461 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50462 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50463 attribute_hidden.
50464 (_libc_vdso_platform_setup): Remove initialization of
50465 __vdso_gettimeofday and __vdso_time.
50466
5c43483f
UD
504672011-08-20 Ulrich Drepper <drepper@gmail.com>
50468
775a77e7
UD
50469 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50470 and fgetc_unlocked.
50471 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50472 getc_unlocked.
89f447ed 50473
49c74ba9
UD
50474 * elf/dl-open.c (add_to_global): Report additions to the global scope
50475 for LD_DEBUG=scopes.
50476 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 50477 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 50478
5c43483f
UD
50479 [BZ #13114]
50480 * stdio-common/Makefile (tests): Add bug24.
50481 * stdio-common/bug24.c: New file.
50482
a101b025
AJ
504832011-08-19 Andreas Jaeger <aj@suse.de>
50484
50485 [BZ #13114]
50486 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50487 non-existant file when using close-on-exec mode.
50488
c88f1766
UD
504892011-08-20 Ulrich Drepper <drepper@gmail.com>
50490
0276a718
UD
50491 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50492 the very first instruction.
50493
c88f1766
UD
50494 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50495 the CFI state in the end.
50496 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50497 inclusion of dl-trampoline.h.
50498 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50499
51ccffa0
AS
505002011-08-19 Andreas Schwab <schwab@redhat.com>
50501
94d7165f
AS
50502 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50503 expectations for long double.
50504
51ccffa0
AS
50505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50506 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50507
fd708658 505082011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
50509
50510 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50511 artificual limit depends upon the system page size.
50512
44f0a71e
UD
505132011-08-17 Ulrich Drepper <drepper@gmail.com>
50514
50515 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50516 * resolv/Makefile: Define CFLAGS-libresolv.
50517
8de79a24
AS
505182011-08-17 Andreas Schwab <schwab@redhat.com>
50519
50520 * nss/makedb.c (compute_tables): Make variables used in nested
50521 function static.
50522
27724598
UD
505232011-08-17 Ulrich Drepper <drepper@gmail.com>
50524
c5305d88
UD
50525 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50526 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50527 if buffer was too small.
50528
27724598
UD
50529 * elf/pldd.c (main): Attach to all threads in the process.
50530 Rewrite /proc handling to use *at functions.
50531
076fe015
UD
505322011-08-16 Ulrich Drepper <drepper@gmail.com>
50533
174baab3
UD
50534 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50535 specifies first scope to show.
50536 (dl_open_worker): Update callers. Move printing scope of new
50537 object to before the relocation.
44f0a71e 50538 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
50539 * sysdeps/generic/ldsodefs.h: Update declaration.
50540
076fe015
UD
50541 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50542 string for the scope number.
50543
a60df2c3
UD
505442011-08-14 Ulrich Drepper <drepper@gmail.com>
50545
50546 * nscd/servicescache.c (cache_addserv): Make sure written is always
50547 initialized.
50548
5e4287d1
RM
505492011-08-14 Roland McGrath <roland@hack.frob.com>
50550
85ae0589
RM
50551 * sysdeps/i386/i486/bits/atomic.h
50552 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50553 statement expression, so as to suppress "set but not used" warning.
50554 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50555
69f63097
RM
50556 * string/strncat.c (STRNCAT): Use prototype definition.
50557
675456ef
RM
50558 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50559 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50560 -Iprograms here.
50561 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50562 (localedef-modules): Add localedef.
50563 (locale-modules): Add locale.
50564
5e4287d1
RM
50565 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50566 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50567 to avoid a warning.
50568
9c96ff23
DM
505692011-08-14 David S. Miller <davem@davemloft.net>
50570
50571 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50572 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50573
f9ddf089
UD
505742011-08-13 Ulrich Drepper <drepper@gmail.com>
50575
44f0a71e 50576 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
50577 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50578 * elf/rtld.c (dl_main): Set l_name of vDSO.
50579 Call _dl_show_scope when DL_DEBUG_SCOPES.
50580 (process_dl_debug): Recognize scopes flag and also set it for all.
50581 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50582 Declare _dl_show_scope.
50583
1dc27704
UD
50584 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50585 (do_dlopen): Pass caller_dlopen to dl_open.
50586 (__libc_dlopen_mode): Initialize caller_dlopen.
50587
f9ddf089
UD
50588 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50589 of libc. Make tolower call locale-independent. Optimize a bit by
50590 using isdigit instead of isalnum.
50591 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50592
9ac533d3
UD
505932011-08-12 Ulrich Drepper <drepper@gmail.com>
50594
50595 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50596 was a dependency or dynamically loaded.
50597
89edf2e9
UD
505982011-08-11 Ulrich Drepper <drepper@gmail.com>
50599
8e999d29
UD
50600 * intl/l10nflist.c: Allow architecture-specific pop function.
50601 * sysdeps/x86_64/l10nflist.c: New file.
50602
89edf2e9
UD
50603 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50604 classification.
50605
14d96785
AS
506062011-08-10 Andreas Schwab <schwab@redhat.com>
50607
50608 * include/dirent.h: Add libc_hidden_proto for scandirat and
50609 scandirat64. Don't declare __scandirat64.
50610 * dirent/scandirat.c: Add libc_hidden_def.
50611 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50612 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50613
6761ac04
DM
506142011-08-10 David S. Miller <davem@davemloft.net>
50615
50616 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50617 enum.
50618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50619 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50620 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50621
c55fbd1e
UD
506222011-08-09 Ulrich Drepper <drepper@gmail.com>
50623
50624 * Versions.def [libc]: Add GLIBC_2.15.
50625 * dirent/Makefile (routines): Add scandirat and scandirat64.
50626 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50627 GLIBC_2.15.
50628 * dirent/dirent.h: Declare scandirat and scandirat64.
50629 * dirent/scandirat.c: New file.
50630 * dirent/scandirat64.c: New file.
50631 * sysdeps/wordsize-64/scandirat.c: New file.
50632 * sysdeps/wordsize-64/scandirat64.c: New file.
50633 * dirent/opendir.c: Define opendirat.
50634 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50635 using scandirat.
50636 * dirent/scandir64.c: Adjust for scandir.c change.
50637 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50638 __scandirat64, and __scandir_cancel_handler.
50639 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50640 additional parameter and use openat instead of open (outside of ld.so).
50641 Add new __opendir as wrapper around __opendirat.
50642 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50643 here without requiring old scandirat implementation.
50644
879165f2
UD
506452011-08-08 Ulrich Drepper <drepper@gmail.com>
50646
50647 * dirent/scandir.c (cancel_handler): Renamed to
50648 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50649 defined. Adjust users.
50650 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50651 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50652
cb7e923b
UD
506532011-08-04 Ulrich Drepper <drepper@gmail.com>
50654
16292edd
UD
50655 * string/test-string.h (IMPL): Use __STRING to expand name and then
50656 stringify it.
50657
cb7e923b
UD
50658 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50659 of cleanups.
50660
cff82933
LD
506612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50662
50663 * string/Makefile: Update.
50664 (strop-tests): Append strncat.
50665 * string/test-wcscmp.c: New file.
50666 New comprehensive test for wcscmp.
50667 * string/test-strcmp.c: Update.
50668 (WIDE): New define.
50669
9be9bfcc
AS
506702011-07-22 Andreas Schwab <schwab@redhat.com>
50671
50672 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50673 line.
50674
2e96f1c7
AS
506752011-07-26 Andreas Schwab <schwab@redhat.com>
50676
50677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50678 encoding to ACE if AI_IDN.
50679
85188888
JJ
506802011-08-01 Jakub Jelinek <jakub@redhat.com>
50681
50682 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50683 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50684
5fa16e9b
LD
506852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50686
50687 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50688 Fix overflow bug in strncat.
50689 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50690
50691 * string/test-strncat.c: Update.
50692 Add new tests for checking overflow bugs.
50693
506942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50695
50696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50697 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50698 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50699 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50700 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50701 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50702 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50703 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50704 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50705
50706 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50707 (USE_AS_STRCAT): Define.
50708 Add strcat and strncat support.
50709 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50710
8c1a459f
AS
507112011-07-25 Andreas Schwab <schwab@redhat.com>
50712
50713 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50714 __n bigger than INT_MAX+1.
50715 (__strncmp_g): Likewise.
50716
bba33c28
UD
507172011-07-23 Ulrich Drepper <drepper@gmail.com>
50718
798be72d
UD
50719 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50720 * libio/stido.h: Likewise.
50721
8accd4dc
UD
50722 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50723 (AF_NFC): Define.
50724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50725 (AF_NFC): Define.
50726
cbff0d96
UD
50727 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50728 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50729 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50730 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50731 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50732
9191c04a
UD
50733 [BZ #13021]
50734 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50735 installed.
50736
bba33c28
UD
50737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50738 typo.
50739 (_dl_x86_64_save_sse): Likewise.
50740
90f139dd
UD
507412011-07-22 Ulrich Drepper <drepper@gmail.com>
50742
1aae088a
UD
50743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50744 OSXSAVE.
50745 (_dl_x86_64_save_sse): Likewise.
50746
8e2045f5
UD
50747 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50748
90f139dd
UD
50749 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50750
1d002f25
AS
507512011-07-21 Andreas Schwab <schwab@redhat.com>
50752
50753 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50754 change.
50755 (_dl_x86_64_save_sse): Use correct AVX check.
50756
21137f89
UD
507572011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50758
50759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50760 bug in strncpy/strncat.
50761 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50762
a65c0b7a
UD
507632011-07-21 Ulrich Drepper <drepper@gmail.com>
50764
50765 * string/tester.c (test_strcat): Add tests for different alignments
50766 of source and destination.
50767 (test_strncat): Likewise.
50768
6986b98a
UD
507692011-07-20 Ulrich Drepper <drepper@gmail.com>
50770
90bb2039
UD
50771 [BZ #12852]
50772 * posix/glob.c (glob): Check passed in values before using them in
50773 expressions to avoid some overflows.
50774 (glob_in_dir): Likewise.
50775
5644ef54
UD
50776 [BZ #13007]
50777 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50778 check for AVX enablement so that we don't crash with old kernels and
50779 new hardware.
50780 * elf/tst-audit4.c: Add same checks here.
50781 * elf/tst-audit6.c: Likewise.
50782
50783 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50784
bfc9dc9b
AS
507852011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50786
50787 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50788
702e64bb
UD
507892011-07-20 Ulrich Drepper <drepper@gmail.com>
50790
50791 * po/cs.po: Update from translation team.
50792 * po/bg.po: Likewise.
50793
295e904f
MP
507942011-07-12 Marek Polacek <mpolacek@redhat.com>
50795
50796 * misc/sys/cdefs.h: Add support for const attribute.
50797 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50798 to gnu_dev_{major,minor,makedev} functions.
50799
3ff94596
MP
508002011-07-20 Marek Polacek <mpolacek@redhat.com>
50801
50802 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50803
28b59fca
AS
508042011-07-20 Andreas Schwab <schwab@redhat.com>
50805
50806 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50807 strlen results.
50808
19df733e
AK
508092011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50810
50811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50812 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50813 register in order to avoid conflicts with the soft frame pointer
50814 being held in r11 when necessary.
50815 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50816 (INTERNAL_VSYSCALL_NCS): Likewise.
50817
c8835729
MP
508182011-07-14 Marek Polacek <mpolacek@redhat.com>
50819
50820 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50821 * elf/dl-fini.c (_dl_fini): Adjust caller.
50822 * elf/dl-close.c (_dl_close_worker): Likewise.
50823 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50824
b902330c
MP
508252011-07-15 Marek Polacek <mpolacek@redhat.com>
50826
8991e135
MP
50827 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50828 "aux_cache->nlibs < 0".
50829
b902330c
MP
50830 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50831 in the reload-count case.
50832
99710781
LD
508332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50834
50835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50836 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50837 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50838 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50839 * sysdeps/x86_64/multiarch/strcat.S: New file.
50840 * sysdeps/x86_64/multiarch/strncat.S: New file.
50841 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50842 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50843 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50844 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50845 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50846 (USE_AS_STRCAT): Define.
50847 Add strcat and strncat support.
50848 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50849 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50850 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50851 * string/strncat.c: Update.
50852 (USE_AS_STRNCAT): Define.
50853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50854 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50855 and i7.
50856 * sysdeps/x86_64/multiarch/init-arch.h
50857 (bit_Prefer_PMINUB_for_stringop): New.
50858 (index_Prefer_PMINUB_for_stringop): Likewise.
50859 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50860 bit_Prefer_PMINUB_for_stringop.
50861
7dc6bd90
UD
508622011-07-19 Ulrich Drepper <drepper@gmail.com>
50863
50864 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50865 buffer64.
50866 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50867 of casting of buffer.
50868 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50869 buffer32 and buffer64.
50870 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50871 writes instead of casting of buffer.
50872 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50873 buffer32.
50874 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50875 casting of buffer.
50876
e0e72284
AS
508772011-07-19 Andreas Schwab <schwab@redhat.com>
50878
50879 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50880
feb1eb0b
UD
508812011-07-19 Ulrich Drepper <drepper@gmail.com>
50882
50883 * nscd/nscd.c (termination_handler): Don't do anything for a database
50884 if it has not yet been initialized.
50885
298711ff
UD
508862011-07-18 Ulrich Drepper <drepper@gmail.com>
50887
50888 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50889
508902011-07-15 Marek Polacek <mpolacek@redhat.com>
50891
50892 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50893
f9d68389
UD
508942011-07-18 Ulrich Drepper <drepper@gmail.com>
50895
50896 * po/nl.po: Update from translation team.
50897 * po/sv.po: Likewise.
50898
db290cf5
RM
508992011-07-16 Roland McGrath <roland@hack.frob.com>
50900
50901 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50902 now disallowed by GCC.
5c550700 50903
fd5e21c7
RM
50904 * configure.in (use-default-link): Default to yes if a test -shared
50905 link meets our qualifications.
50906 * configure: Regenerated.
50907
5c550700
RM
50908 * config.make.in (output-format): New variable.
50909 * configure.in: Check for ld --print-output-format support.
50910 * configure: Regenerated.
50911 * Makerules ($(common-objpfx)format.lds)
50912 [$(output-format) != unknown]: Just use $(output-format),
50913 instead of the linker-script munging.
50914
9fa2c032
RM
509152011-07-14 Roland McGrath <roland@hack.frob.com>
50916
a6928d51
RM
50917 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50918 of $(common-objpfx)shlib.lds.
50919 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50920
661607b3
RM
50921 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50922 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50923
9fa2c032
RM
50924 * configure.in (-z relro check): Adjust test code to add a large
50925 writable data section after it.
50926 * configure: Regenerated.
50927
defe9061
RM
509282011-07-11 Roland McGrath <roland@hack.frob.com>
50929
50930 * configure.in (-z relro check): Fix test code to make the variable
50931 truly const.
50932 * configure: Regenerated.
50933
319b9ad4
UD
509342011-07-11 Ulrich Drepper <drepper@gmail.com>
50935
50936 * nscd/nscd.h (struct traced_file): Define.
50937 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50938 elements. Add traced_files.
50939 (inotify_fd): Declare.
50940 (register_traced_file): Declare.
50941 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50942 (inotify_fd): Export.
50943 (resolv_conf_descr): Remove.
50944 (nscd_init): Move inotify descriptor creation to main.
50945 Don't register files for notification here.
50946 (register_traced_file): New function.
50947 (invalidate_cache): Don't use reset_res to determine whether to call
50948 res_init, go through the list of registered files.
50949 (main_loop_poll): The inotify descriptors are now stored in the
50950 structures for the traced files.
50951 (main_loop_epoll): Likewise
50952 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50953 to __nss_disable_nscd.
50954 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50955 for a database anymore. Check the records for all the registered
50956 files instead.
50957 * nss/Makefile (libnss_files-routines): Add files-init.
50958 (libnss_db-routines): Add db-init.
50959 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50960 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50961 * nss/nss_db/db-init.c: New file.
50962 * nss/nss_files/files-init.c: New file.
50963 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50964 __nss_lookup_function.
50965 (__nss_lookup_function): Call nss_load_library.
50966 (nss_load_all_libraries): New function.
50967 (__nss_disable_nscd): Take parameter with callback function for files
50968 to register. Set is_nscd. Load all the DSOs for the NSS modules
50969 used for the cached services.
50970 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50971 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50972 options for features to all the files in nscd.
50973
50974 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50975
23bee3e8
RM
509762011-07-10 Roland McGrath <roland@hack.frob.com>
50977
50978 * csu/elf-init.c (__libc_csu_init): Comment typo.
50979
46a5b7f0
UD
509802011-07-09 Ulrich Drepper <drepper@gmail.com>
50981
50982 * po/pl.po: Update from translation team.
50983 * po/ja.po: Likewise.
50984 * po/ru.po: Likewise.
50985 * po/ko.po: Likewise.
50986 * po/fr.po: Likewise.
50987
d30cf5bb
RM
509882011-07-09 Roland McGrath <roland@hack.frob.com>
50989
113ddea4
RM
50990 * configure.in (.ctors/.dtors header and trailer check):
50991 Use an empirical test on a built program.
50992 * configure: Regenerated.
50993
574920b4
RM
50994 * configure.in (-z relro check): Use an empirical test on a built DSO.
50995 Detect, but do not require, on ia64.
50996 * configure: Regenerated.
50997
d30cf5bb
RM
50998 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50999 Update tests that use readelf to use $READELF instead.
51000 * configure: Regenerated.
51001
8538fdb3
UD
510022011-07-08 Ulrich Drepper <drepper@gmail.com>
51003
51004 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51005 if the result is not used.
51006
04d08991
AJ
510072011-07-05 Andreas Jaeger <aj@suse.de>
51008
51009 [BZ#9696]
51010 * stdlib/tst-strtod.c: Add testcase.
51011
de283087
AD
510122011-07-07 Ulrich Drepper <drepper@gmail.com>
51013
4e5f31c8 51014 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 51015 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
51016 The latter has a higher limit. Take additional parameter to pass to
51017 the new function.
51018 (__pathconf): Pass file to __statfs_link_max.
51019 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51020 __statfs_link_max.
51021 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51022 __statfs_link_max.
51023
de283087
AD
51024 [BZ #12868]
51025 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51026 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51027 Handle Lustre.
51028 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51029 (__statfs_filesize_max): Likewise.
51030 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51031
c75fa153
AJ
510322011-07-05 Andreas Jaeger <aj@suse.de>
51033
51034 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51035
1a544854
UD
510362011-07-06 Marek Polacek <mpolacek@redhat.com>
51037
51038 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51039 `status' variable.
51040 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51041 Likewise.
51042
6f0eec67
UD
510432011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51044
51045 * Makefile (strop-tests): Add strncat.
51046 * string/test-strncat.c: New file.
51047
aae30307
UD
510482011-06-30 Marek Polacek <mpolacek@redhat.com>
51049
51050 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51051
c0cfb5eb
UD
510522011-06-21 Andreas Jaeger <aj@suse.de>
51053
51054 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51055 Copy rule from iconvdata/Makefile.
51056
01636b21
UD
510572011-07-06 Ulrich Drepper <drepper@gmail.com>
51058
51059 [BZ #12922]
51060 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51061 but no long options are defined, just return 'W'.
51062
9895c8bc
UD
510632011-06-22 Marek Polacek <mpolacek@redhat.com>
51064
51065 [BZ #9696]
51066 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51067
5d4cf042
UD
510682011-07-06 Ulrich Drepper <drepper@gmail.com>
51069
51070 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51071 netgroups to read.
960e5535 51072 (innetgr): Likewise.
5d4cf042 51073
751eb97e
RM
510742011-07-05 Roland McGrath <roland@hack.frob.com>
51075
51076 * config.make.in (install_root): Default to $(DESTDIR).
51077
f15f1e45
UD
510782011-07-05 Ulrich Drepper <drepper@gmail.com>
51079
51080 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51081
4e34ac6a
RM
510822011-07-02 Roland McGrath <roland@hack.frob.com>
51083
5e9b6af4
RM
51084 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51085
84f9ea0f
RM
51086 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51087 containing directory rather than embedding absolute directory names.
51088
ea5ee9f7
RM
51089 * scripts/check-local-headers.sh: Rewritten using awk.
51090 Match by word, not by line. Print error messages for matches.
51091 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51092
1b74661a
RM
51093 * Makerules [shlib-lds-flags empty]:
51094 ($(common-objpfx)libc_pic.opts): New target.
51095 ($(common-objpfx)libc_pic.os.clean): New target.
51096 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51097
51098 * config.make.in (OBJCOPY): New variable.
51099 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51100 * configure: Regenerated.
51101
f781ef40
RM
51102 * config.make.in (use-default-link): New variable.
51103 * configure.in (use_default_link): Grok --with-default-link to set it.
51104 * configure: Regenerated.
51105 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51106 (shlib-lds, shlib-lds-flags): Define to empty.
51107
2d4fa81e
RM
51108 * Makerules (shlib-lds): New variable.
51109 (shlib-lds-flags): New variable.
51110 (build-shlib, build-moduile, build-module-asneeded): Use it.
51111 ($(common-objpfx)libc.so): Use $(shlib-lds).
51112 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51113 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51114
31fffa6b
RM
51115 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51116 DT_FLAGS/DT_FLAGS_1 with zero flags.
51117
4e34ac6a
RM
51118 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51119 linker script munging.
51120
fcfc776b
UD
511212011-07-02 Ulrich Drepper <drepper@gmail.com>
51122
51123 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51124 as 128-bit value.
51125 * crypt/sha512.c (sha512_process_block): Perform total addition using
51126 128-bit if possible.
51127 (__sha512_finish_ctx): Likewise.
51128 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51129 as 64-bit value.
51130 * crypt/sha256.c (SWAP64): Define.
51131 (sha256_process_block): Perform total addition using 64-bit if
51132 possible.
51133 (__sha256_finish_ctx): Likewise.
51134
99231d9a
UD
511352011-07-01 Ulrich Drepper <drepper@gmail.com>
51136
51137 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51138 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51139 * nscd/hstcache.c (cache_addhst): Likewise.
51140 * nscd/grpcache.c (cache_addgr): Likewise.
51141 * nscd/aicache.c (addhstaiX): Likewise
51142 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51143
445b4a53
TK
511442011-07-01 Thorsten Kukuk <kukuk@suse.de>
51145
51146 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51147 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51148 * nscd/hstcache.c (cache_addhst): Likewise.
51149 * nscd/grpcache.c (cache_addgr): Likewise.
51150 * nscd/aicache.c (addhstaiX): Likewise
51151
6d4d8e8e
AS
511522011-07-01 Andreas Schwab <schwab@redhat.com>
51153
51154 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51155 domain only when needed.
51156
89f654c5
AS
511572011-06-30 Andreas Schwab <schwab@redhat.com>
51158
51159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51160 is always restored.
51161
cf3b23ff
UD
511622011-06-29 Ulrich Drepper <drepper@gmail.com>
51163
51164 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51165 are re-adding the entry.
51166 * nscd/servicescache.c (cache_addserv): Likewise.
51167
751626f9
AJ
511682011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51169
51170 * sysdeps/generic/dl-irel.h: fix protection against multiple
51171 inclusions.
51172 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51173
9113ea1f
UD
511742011-06-28 Ulrich Drepper <drepper@gmail.com>
51175
5c0b8d90
UD
51176 [BZ #12935]
51177 * malloc/memusage.sh: Fix quoting in message.
51178 * debug/xtrace.sh: Likewise.
51179
9113ea1f
UD
51180 * configure.in: Remove support for --experimental-malloc option, make
51181 it the default.
51182 * config.make.in: Likewise.
51183 * malloc/Makefile: Likewise.
51184
a4172181
AS
511852011-06-27 Andreas Schwab <schwab@redhat.com>
51186
51187 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51188 two-byte characters.
51189
78a7eee7
RM
511902011-06-27 Roland McGrath <roland@hack.frob.com>
51191
62bede13
RM
51192 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51193 AC_CACHE_CHECK invocation.
51194 * configure: Regenerated.
51195
78a7eee7
RM
51196 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51197
5ce33a62
UD
511982011-06-27 Ulrich Drepper <drepper@gmail.com>
51199
034807a9
UD
51200 [BZ #12350]
51201 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51202 bit from old_res_options.
51203
4902da17
UD
51204 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51205
5ce33a62
UD
51206 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51207 value type for setfct.
51208
c2344f56
L
512092011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51210
51211 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51212 __gettimeofday instead of gettimeofday.
51213
68468076
UD
512142011-06-26 Ulrich Drepper <drepper@gmail.com>
51215
51216 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51217
acb0d739
L
512182011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51219
51220 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51221
51222 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51223 info.
51224
8912479f
L
512252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51226
51227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51228 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51229 strcpy-sse2-unaligned strncpy-sse2-unaligned
51230 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51231 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51232 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51233 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51234 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51235 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51236 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51237 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51238 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51239 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51240 (STRCPY): Support SSE2 and SSSE3 versions.
51241
d5495a11
UD
512422011-06-24 Ulrich Drepper <drepper@gmail.com>
51243
51244 [BZ #12874]
51245 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51246 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51247 kernels which artificially limit size of requests.
51248
0b1cbaae
L
512492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51250
51251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51252 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51253 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51254 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51255 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51256 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51257 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51258 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51259 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51260 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51261 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51262 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51263 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51264 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51265 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51267 Enable unaligned load optimization for Intel Core i3, i5 and i7
51268 processors.
51269 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51270 Define.
51271 (index_Fast_Unaligned_Load): Define.
51272 (HAS_FAST_UNALIGNED_LOAD): Define.
51273
07f494a0
MP
512742011-06-23 Marek Polacek <mpolacek@redhat.com>
51275
51276 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51277
fa3fc0fe
UD
512782011-06-22 Ulrich Drepper <drepper@gmail.com>
51279
51280 [BZ #12907]
51281 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51282 until it is clear that the information is realy needed.
51283 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51284
e12df166
AS
512852011-06-22 Andreas Schwab <schwab@redhat.com>
51286
51287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51288
852eb34d
UD
512892011-06-22 Ulrich Drepper <drepper@gmail.com>
51290
84e2a551
UD
51291 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51292 /sys/devices/system/cpu/online if it is usable.
51293
852eb34d
UD
51294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51295 reading the information from the /proc filesystem to once a second.
51296
6e502e19
UD
512972011-06-21 Andreas Jaeger <aj@suse.de>
51298
51299 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51300 NULL after inclusion of kernel headers.
51301
75d39ff2
UD
513022011-06-21 Ulrich Drepper <drepper@gmail.com>
51303
51f9aa6a
UD
51304 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51305 calls to internal_setent.
51306
c0244a9d
UD
51307 [BZ #12885]
51308 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51309 addresses using gethostbyname4_r ignore IPv4 addresses.
51310
c5e3c2ae
UD
51311 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51312 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51313
75d39ff2
UD
51314 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51315
42675c6f
DM
513162011-06-20 David S. Miller <davem@davemloft.net>
51317
51318 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51319 inclusions.
51320 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51321
51322 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51323 (elf_irel): Use it.
51324 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51325 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51326 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51327 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51328 * sysdeps/x86_64/dl-irel.h: Likewise.
51329
51330 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51331 * elf/dl-sym.c: Likewise.
51332
57912a71
UD
513332011-06-15 Ulrich Drepper <drepper@gmail.com>
51334
51335 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51336 need to dereference resplen2.
51337
ee22793d
AS
513382011-06-14 Andreas Schwab <schwab@redhat.com>
51339
51340 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51341
a9e836b0
UD
513422011-06-15 Ulrich Drepper <drepper@gmail.com>
51343
77fb9117
UD
51344 * Makeconfig: Define vardbdir and inst_vardbdir.
51345 * nss/Makefile: Add rules to install db-Makefile.
51346
40c1b22c
UD
51347 * nss/nss_db/db-XXX.c: Cleanup.
51348
9f2da732
UD
51349 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51350 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51351 GLIBC_PRIVATE.
51352 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51353 * nss/makedb.c: Implement -g option to specify that value strings
51354 are generated and should not be added to table iterated over for
51355 get*ent calls.
51356 * nss/nss_db/db-initgroups.c: New file.
51357
82e9a1f7
UD
51358 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51359 interface.
51360
c41af17e
UD
51361 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51362 (internal_getgrouplist): Adjust to name change.
51363 Update use_initgroups_entry if this is not the first call.
51364 * nss/databases.def: Add initgroups entry.
51365
a9e836b0
UD
51366 * nss/makedb.c (compute_tables): Check result of multiple hash table
51367 sizes to minimize maximum chain length.
51368
2666d441
UD
513692011-06-14 Ulrich Drepper <drepper@gmail.com>
51370
51371 * Versions.def: Add entry for libnss_db.
51372 * shlib-versions: Likewise.
51373 * nss/Makefile: Add rules to build libnss_db.
51374 * nss/Versions: Add libnss_db information. Organize libnss_files
51375 entries better.
51376 * nss/db-Makefile: Add gshadow support. Change rules for the new
51377 makedb progra. Some minor improvements to generate smaller files.
51378 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51379 here from...
51380 * nss/makedb.c: ...here.
51381 Improve database format to be smaller and require less memory at
51382 runtime.
51383 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51384 db anymore.
51385 * nss/nss_db/db-netgrp.c: Likewise.
51386 * nss/nss_db/db-open.c: Likewise.
51387 * nss/nss_files/flies-XXX.x: Adjust comments.
51388 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51389 * nss/nss_files/files-grp.c: Likewise.
51390 * nss/nss_files/files-hosts.c: Likewise.
51391 * nss/nss_files/files-network.c: Likewise.
51392 * nss/nss_files/files-proto.c: Likewise.
51393 * nss/nss_files/files-pwd.c: Likewise.
51394 * nss/nss_files/files-rpc.c: Likewise.
51395 * nss/nss_files/files-service.c: Likewise.
51396 * nss/nss_files/files-sgrp.c: Likewise.
51397 * nss/nss_files/files-spwd.c: Likewise.
51398 * nss/nss_db/db-alias.c: Removed.
51399 * nss/nss_db/dummy-db.h: Removed.
51400
9ee76b5a
UD
514012011-06-02 Ulrich Drepper <drepper@gmail.com>
51402
51403 * nss/makedb.c: Rewritten to not use database library.
51404 * nss/Makefile: Update to build new makedb program.
51405
c71ca1f8
AJ
514062011-06-14 Andreas Jaeger <aj@suse.de>
51407
51408 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51409 memset declaration.
51410
3154bfb8
UD
514112011-06-10 Andreas Schwab <schwab@redhat.com>
51412
51413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51414 tmpbuf.
51415
b350afab
RM
514162011-06-10 Roland McGrath <roland@hack.frob.com>
51417
decd4e50
RM
51418 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51419 * elf/Makefile ($(objpfx)ld.so): Likewise.
51420
5615eaf2
RM
51421 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51422 Don't list ld.so twice in dependencies.
51423
51424 * posix/bug-regex31.c: Include <stdlib.h>.
51425
51426 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51427
51428 * nis/nss_compat/compat-spwd.c
51429 (getspent_next_nss_netgr): Remove unused variable.
51430 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51431
51432 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51433 nonmembers" output to use the right array.
51434
51435 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51436
51437 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51438
51439 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51440 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51441 * catgets/gencat.c (read_input_file): Likewise.
51442 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51443
51444 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51445 variable definition inside #if's controlling its use.
51446
51447 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51448
51449 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51450
51451 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51452
51453 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51454 unreachable code.
51455
51456 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51457
b68e08db
RM
51458 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51459 * configure: Regenerated.
51460
b350afab
RM
51461 * Makerules: Revert last change.
51462 * elf/Makefile: Likewise.
51463
28368601
RM
514642011-06-09 Roland McGrath <roland@hack.frob.com>
51465
51466 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51467 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51468 (reloc-link): Likewise.
51469
11988f8f
UD
514702011-06-09 Ulrich Drepper <drepper@gmail.com>
51471
51472 * elf/Makefile: Add rules to build pldd.
51473 * elf/pldd.c: New file.
51474 * elf/pldd-xx.c: New file.
51475
e80fab37
UD
514762011-06-07 Ulrich Drepper <drepper@gmail.com>
51477
51478 * version.h: Update for 2.15 development version.
51479
9b849836
DM
514802011-06-07 David S. Miller <davem@davemloft.net>
51481
51482 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51483 ifuncs.
51484 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51485 elf_machine_lazy_rel): Likewise.
51486 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51487 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51488 elf_machine_lazy_rel): Likewise.
51489 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51490 dl_hwcap via passed in argument.
51491 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51492 Likewise.
51493
5a31b283
AK
514942011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51495
51496 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51497
069e52f8
RM
514982011-06-06 Roland McGrath <roland@hack.frob.com>
51499
51500 [BZ #12849]
51501 * manual/fdl-1.1.texi: New file, verbatim from:
51502 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51503 * manual/lgpl-2.1.texi: New file, verbatim from:
51504 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51505 * manual/Makefile (licenses): New variable, list those new file names.
51506 (texis): Use it.
51507 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51508
51509 * manual/fdl.texi: File removed.
51510 * manual/lesser.texi: File removed.
51511 * manual/libc.texinfo (Copying, Documentation License):
51512 Use new @include file names, put @appendix directive before @include.
51513
f16846a5
JJ
515142011-06-04 Jakub Jelinek <jakub@redhat.com>
51515
51516 [BZ #12841]
51517 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51518 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51519 (mq_open): Add __NTH.
51520
3d29045b
L
515212011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51522
51523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51524 Assume Intel Core i3/i5/i7 processor if AVX is available.
51525
8c297311
UD
515262011-05-31 Ulrich Drepper <drepper@gmail.com>
51527
51528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51529 typo.
51530
c8fc0c91
UD
515312011-05-31 Andreas Schwab <schwab@redhat.com>
51532
51533 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51534 memory. Use alloca_account. Fix memory leak when retrying.
51535
5b27a807
UD
515362011-05-31 Ulrich Drepper <drepper@gmail.com>
51537
356f8bc6
UD
51538 * version.h (RELEASE): Bump for 2.14 release.
51539 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51540
5b27a807
UD
51541 * config.make.in (RANLIB): Remove entry.
51542
01f16ab0
UD
515432011-05-30 Ulrich Drepper <drepper@gmail.com>
51544
41fce8bd
UD
51545 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51546 (libc.pot): Work around missing support for .ksh extension in xgettext.
51547
4769ae77
UD
51548 [BZ #12684]
51549 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51550 if both request failed.
51551 (send_dg): In case of server errors clear resplen or *resplen2.
51552
6b1e7d19
UD
51553 [BZ #12454]
51554 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51555 when there are multiple maps.
51556 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51557 (_dl_fini): Remove test here.
51558
01f16ab0
UD
51559 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51560
b1ebd700
UD
515612011-05-29 Ulrich Drepper <drepper@gmail.com>
51562
7ae22829
UD
51563 [BZ #12350]
51564 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51565 bit from old_res_options.
51566 (gaih_inet): Likewise.
51567
553149f6 51568 [BZ #11099]
18a84741 51569 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
51570 as signed.
51571
652ffab1
UD
51572 * resolv/res_init.c (res_setoptions): Make the code more compact.
51573
16985fd0
UD
51574 [BZ #11558]
51575 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51576 set RES_USEVC.
51577
0464f746
UD
51578 [BZ #11634]
51579 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51580
7d17596c
UD
51581 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51582
cf6bbbd7
UD
51583 [BZ #11781]
51584 * malloc/malloc.h: Declare malloc hook variables as volatile.
51585
13f1ab36
UD
51586 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51587 in last patch.
51588
b1ebd700
UD
51589 [BZ #11799]
51590 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 51591 raise in the comment.
80e2212d
UD
51592 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51593 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51594 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 51595
ce67228d
UD
515962011-05-28 Ulrich Drepper <drepper@gmail.com>
51597
8887a920
UD
51598 [BZ #12811]
51599 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51600 grow the buffers more if it already has to be sufficient.
51601 (build_wcs_upper_buffer): Likewise.
51602 * posix/regexec.c (check_matching): Likewise.
51603 (clean_state_log_if_needed): Likewise.
51604 (extend_buffers): Don't enlarge buffers beyond size of the input
51605 buffer.
51606 Patches mostly by Emil Wojak <emil@wojak.eu>.
51607 * posix/bug-regex32.c: New file.
51608 * posix/Makefile (tests): Add bug-regex32.
51609
4f031072
UD
51610 * locale/findlocale.c (_nl_find_locale): Return right away if
51611 _nl_explode_name failed.
51612 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51613
d0478f0c
UD
51614 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51615
de81b246
UD
51616 * debug/xtrace.sh: Unify messages.
51617 * malloc/memusage.sh: Likewise.
51618
c738465a
UD
51619 [BZ #12813]
51620 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51621 time symbol from vDSO. Substitute with vsyscall if not available.
51622 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51623 __vdso_time.
51624
f1f929d7
UD
51625 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51626 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51627 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51628 Add sendmmsg and internal_sendmmsg.
51629 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51631 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51632
ce67228d
UD
51633 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51634 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51635 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51636
e57420c6
UD
516372011-05-27 Ulrich Drepper <drepper@gmail.com>
51638
a8509ca5
UD
51639 [BZ #12813]
51640 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51641 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51642 available.
51643 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51644 __vdso_getcpu.
51645
e57420c6
UD
51646 [BZ #12814]
51647 * iconvdata/Makefile (tests): Add bug-iconv9.
51648 * iconvdata/bug-iconv9.c: New file.
51649
4d07db15
AS
516502011-05-27 Andreas Schwab <schwab@redhat.com>
51651
51652 [BZ #12814]
51653 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51654
ea486f69
JJ
516552011-05-25 Jakub Jelinek <jakub@redhat.com>
51656
51657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51658 (struct user_regs_struct): Change intcs field back to cs.
51659
6f038433
UD
516602011-05-25 Ulrich Drepper <drepper@gmail.com>
51661
51662 * po/ja.po: Update from translation team.
51663
67f86a25
UD
516642011-05-23 Ulrich Drepper <drepper@gmail.com>
51665
51666 [BZ #12795]
51667 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51668 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51669
def7fbd6
AS
516702011-05-20 Andreas Schwab <schwab@redhat.com>
51671
51672 * stdlib/longlong.h: Update from GCC.
51673
f50ef8f1
AS
516742011-05-23 Andreas Schwab <schwab@redhat.com>
51675
51676 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51677 parameter name.
51678 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51679 Add parameter name.
51680 (__sysconf): Pass it down.
51681
de7ce8f1
UD
516822011-05-22 Ulrich Drepper <drepper@gmail.com>
51683
f2962a71
UD
51684 [BZ #12671]
51685 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51686 some situations.
51687 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51688 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51689 add in in __libc_use_alloca calls. Adjust callers.
51690 (glob): Use malloc in some situations.
51691
de7ce8f1
UD
51692 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51693 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51694 pltexit.
51695
aec84f53
UD
516962011-05-21 Ulrich Drepper <drepper@gmail.com>
51697
05bb4a68
UD
51698 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51699 and CLOCK_BOOTTIME_ALARM.
51700
7ea72f99
UD
51701 [BZ #12782]
51702 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51703 is returned.
51704
7e4afad5
UD
51705 * string/_strerror.c (__strerror_r): Print negative errors as signed
51706 numbers.
51707
8e211fec
UD
51708 [BZ #12777]
51709 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51710 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51711 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51712
f7d82dc9
UD
51713 * configure.in: Fix typo in redirection and correct removal of test
51714 files in two cases.
51715
cc9e536d
UD
51716 [BZ #12788]
51717 * locale/setlocale.c (new_composite_name): Fix test to check for
51718 identical name of all categories.
51719
aec84f53
UD
51720 [BZ #12792]
51721 * libio/filedoalloc.c (local_isatty): New function.
51722 (_IO_file_doallocate): Use local_isatty.
51723 * stdio-common/perror.c (perror): In case a new stream is used
51724 forward the stream error.
51725 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51726 error flag.
51727
78e64fdc
RT
517282011-05-20 Ulrich Drepper <drepper@gmail.com>
51729
34a9094f
UD
51730 [BZ #11869]
51731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51732 alloca.
51733 * include/alloca.h (extend_alloca_account): Define.
51734
78e64fdc
RT
51735 [BZ #11857]
51736 * posix/regex.h: Fix comments with documentation of user-accessible
51737 fields after compilation and describe correct free'ing of pattern
51738 after re_compile_pattern.
51739 Patch by Reuben Thomas <rrt@sc3d.org>.
51740
457bddfc
RA
517412011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51742
51743 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51744 and -mno-altivec to prevent the compiler from using Altivec and/or
51745 VSX instructions when the corresponding registers are not available.
51746
a4527b51
AS
517472011-05-19 Andreas Schwab <schwab@redhat.com>
51748
51749 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51750
ed690b2f
UD
517512011-05-19 Ulrich Drepper <drepper@gmail.com>
51752
51753 * libio/freopen.c (freopen): Use __dup2, not dup2.
51754 * libio/freopen64.c (freopen64): Likewise.
51755
8db73634
L
517562011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51757
51758 [BZ #12775]
51759 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51760 * math/Makefile (tests): Add test-powl.
51761 (CFLAGS-test-powl.c): Define.
51762 * math/test-powl.c: New file.
51763
0a197a9d
L
517642011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51765
51766 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51767
ee30c380
UD
517682011-05-17 Ulrich Drepper <drepper@gmail.com>
51769
51770 [BZ #11837]
51771 * iconvdata/gb18030.c: Update to GB18020-2005.
51772
6ce75379
UD
517732011-05-16 Ulrich Drepper <drepper@gmail.com>
51774
a4b89fd8
AR
51775 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51776 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51777 Patch by Aharon Robbins <arnold@skeeve.com>.
51778
ea389b12
UD
51779 [BZ #11892]
51780 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51781 on the stack.
51782
68a3f91f
UD
51783 [BZ #11895]
51784 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51785 through underflows.
51786
15cc7dd1
UD
51787 [BZ #12766]
51788 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51789 point to strings before performing equality test for error_one_per_line
51790 mode.
51791
f3799213
UD
51792 [BZ #11697]
51793 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51794
d79a9c94
UD
51795 [BZ #11820]
51796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51797 (struct user_fpregs_struct): Avoid __uint*_t types.
51798
56e5eb46
UD
51799 [BZ #6420]
51800 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51801 symbol info. Use it instead of calling _dl_addr locally.
51802 (lock_and_info): New function.
51803 (tr_freehook): Call lock_and_info and pass symbol info as additional
51804 parameter to tr_where.
51805 (tr_mallochook): Likewise.
51806 (tr_reallochook): Likewise.
51807 (tr_memalignhook): Likewise.
51808
6ce75379
UD
51809 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51810 used and couldn't be at all thread-safe.
51811
f8a3b5bf
UD
518122011-05-15 Ulrich Drepper <drepper@gmail.com>
51813
94b7cc37
UD
51814 * libio/freopen.c (freopen): Don't close old file descriptor
51815 before the new one is opened. Instead dup the new file descriptor
51816 to the old one after the new stream is created.
51817 * libio/freopen64.c (freopen64): Likewise.
51818 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51819 * libio/fileops.c (_IO_new_file_close_it): Handle new
51820 _IO_FLAGS2_NOCLOSE flag.
51821 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51822 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51823 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51824 _IO_FLAGS2_NOCLOSE flag.
51825 * include/unistd.h: Add hidden_proto for dup3.
51826 Define __have_dup3.
51827 * io/dup3.c: Define hidden symbol.
51828 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51829
bd25564e
UD
51830 [BZ #7101]
51831 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51832 when an incomplete long option is used.
51833 * posix/tst-getopt_long1.c: New file.
51834 * posix/Makefile (tests): Add tst-getopt_long1.
51835
c84cfef4
UD
51836 [BZ #10138]
51837 * scripts/config.guess: Update from autoconf-2.68.
51838 * scripts/config.sub: Likewise.
51839
3b85df27
UD
51840 [BZ #10157]
51841 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51842 tests into ...
51843 (has_cpuclock): ...this. New function.
51844 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51845 macro here based on has_cpuclock code.
51846
15a856b1
UD
51847 [BZ #10149]
51848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51849 First byte (not low byte) is now always NUL.
51850 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51851
05f399e6
UD
51852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51853 Use non-cancelable interfaces.
51854
10a52685 51855 [BZ #9809]
94ecc67d
UD
51856 * locale/iso-639.def: Add entry for Sorani.
51857
f8a3b5bf
UD
51858 [BZ #11901]
51859 * include/stdlib.h: Move include protection to the right place.
51860 Define abort_msg_s. Declare __abort_msg with it.
51861 * stdlib/abort.c (__abort_msg): Adjust type.
51862 * assert/assert.c (__assert_fail_base): New function. Majority
51863 of code from __assert_fail. Allocate memory for __abort_msg with
51864 mmap.
51865 (__assert_fail): Now call __assert_fail_base.
51866 * assert/assert-perr.c: Remove bulk of implementation. Use
51867 __assert_fail_base.
51868 * include/assert.hL Declare __assert_fail_base.
51869 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51870 mmap.
51871 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51872
1af4e298
UD
518732011-05-14 Ulrich Drepper <drepper@gmail.com>
51874
f8a3b5bf 51875 [BZ #11952]
d26dfc60
MG
51876 [BZ #12453]
51877 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51878 until all modules are registered in the DTV.
51879 * elf/Makefile: Add rules to build and run tst-tls19.
51880 * elf/tst-tls19.c: New file.
51881 * elf/tst-tls19mod1.c: New file.
51882 * elf/tst-tls19mod2.c: New file.
51883 * elf/tst-tls19mod3.c: New file.
51884 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51885
2fc54d6f
UD
51886 [BZ #12083]
51887 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51888 correctly.
51889
98d76b46
UD
51890 [BZ #12601]
51891 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51892 two-byte sequence errors.
51893 * iconvdata/Makefile (tests): Add bug-iconv8.
51894 * iconvdata/bug-iconv8.c: New file.
51895
da3c19ef
UD
51896 [BZ #12626]
51897 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51898 buf2 definition.
51899
ca408c15
UD
51900 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51901
d6f67f7d
UD
51902 [BZ #12432]
51903 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51904 (dummy_getcfa): New function.
51905 (init): Get _Unwind_GetCFA address, use dummy if not found.
51906 (backtrace_helper): In recursion check, also check whether CFA changes.
51907 (__backtrace): Completely initialize arg.
51908
1af4e298 51909 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51910 storing incomplete byte sequence in state object. Avoid testing for
51911 guaranteed too small input if we know there is enough data available.
1af4e298 51912
da62f81b
AS
519132011-05-11 Andreas Schwab <schwab@redhat.com>
51914
51915 * Makeconfig (+link-pie): Indent.
51916 * Rules (binaries-pie): Define if $(have-fpie) and
51917 $(build-shared).
51918 (binaries-shared): Also filter out $(binaries-pie).
51919 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51920 * nscd/Makefile (others-pie): Add nscd.
51921 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51922 ($(objpfx)nscd): Remove command override.
51923 * login/Makefile (others-pie): Add pt_chown.
51924 ($(objpfx)pt_chown): Remove command override.
51925 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51926 remove command overrides.
51927
fcabc0f8
UD
519282011-05-13 Ulrich Drepper <drepper@gmail.com>
51929
20030ae6
UD
51930 * libio/tst_putwc.c: Fix error messages.
51931
fcabc0f8
UD
51932 [BZ #12724]
51933 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51934 currently writing and seek to current position when not.
51935 * libio/Makefile (tests): Add bug-fclose1.
51936 * libio/bug-fclose1.c: New file.
51937
320a5dc0
PB
519382011-05-12 Ulrich Drepper <drepper@gmail.com>
51939
51940 [BZ #12511]
51941 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51942 don't set DF_1_NODELETE here.
51943 (do_lookup_x): When entering new entry test for copy relocation
51944 and if necessary set DF_1_NODELETE flag.
51945 * elf/tst-unique4.cc: New file.
51946 * elf/tst-unique4.h: New file.
51947 * elf/tst-unique4lib.cc: New file.
51948 * elf/Makefile: Add rules to build and run tst-unique4.
51949 Patch by Piotr Bury <pbury@goahead.com>.
51950
22836f52
UD
519512011-05-11 Ulrich Drepper <drepper@gmail.com>
51952
f574184a
UD
51953 [BZ #12052]
51954 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51955
e1fb097f
UD
51956 [BZ #12625]
51957 * misc/mntent_r.c (addmntent): Flush the stream after the output
51958
22836f52
UD
51959 [BZ #12393]
51960 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51961 (is_trusted_path_normalize): Skip initial colon. Append slash
51962 to empty buffer. Duplicate is_trusted_path code but allow
51963 constructed patch to be prefix.
51964 (is_dst): Allow $ORIGIN followed by /.
51965 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51966 Correct testing of result of is_trusted_path_normalize
51967 (decompose_rpath): Fix warning.
51968
7b3b0b2a
UD
519692011-05-10 Ulrich Drepper <drepper@gmail.com>
51970
51971 [BZ #11257]
51972 * grp/initgroups.c (internal_getgrouplist): When we found the service
51973 list through the initgroups entry in nsswitch.conf do not always
51974 continue on a successful lookup. Don't always use the
eac80ce2 51975 __nss_group_database value if it is set.
7b3b0b2a
UD
51976 * nss/nsswitch.conf (initgroups): Change action for successful db
51977 lookup to continue for compatibility.
51978
2a81eaa5
UD
519792011-05-09 Ulrich Drepper <drepper@gmail.com>
51980
be97a69e
UD
51981 [BZ #11532]
51982 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51983 and CP774 modules.
51984 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51985 and CP774 modules.
51986 * iconvdata/tst-tables.sh: Likewise.
51987 * iconvdata/cp770.c: New file.
51988 * iconvdata/cp771.c: New file.
51989 * iconvdata/cp772.c: New file.
51990 * iconvdata/cp773.c: New file.
51991 * iconvdata/cp774.c: New file.
51992 * iconvdata/testdata/CP770: New file.
51993 * iconvdata/testdata/CP770..UTF8: New file.
51994 * iconvdata/testdata/CP771: New file.
51995 * iconvdata/testdata/CP771..UTF8: New file.
51996 * iconvdata/testdata/CP772: New file.
51997 * iconvdata/testdata/CP772..UTF8: New file.
51998 * iconvdata/testdata/CP773: New file.
51999 * iconvdata/testdata/CP773..UTF8: New file.
52000 * iconvdata/testdata/CP774: New file.
52001 * iconvdata/testdata/CP774..UTF8: New file.
52002
52003 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52004 END CHARMAP line.
52005 * iconvdata/gen-8bit-gap.sh: Likewise.
52006 * iconvdata/gen-8bit.sh: Likewise.
52007
c1e9e399
UD
52008 * locale/iso-639.def: Add ary entry.
52009
24c55fb3 52010 [BZ #11258]
96b4b1b0
UD
52011 * locale/C-translit.h.in: Add U20A1 transliteration.
52012
bdc2f971
KB
52013 [BZ #12178]
52014 * locale/iso-639.def: Add wae entry.
52015 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52016
2952b117
UD
52017 [BZ #12545]
52018 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52019 for n.
52020
2a81eaa5
UD
52021 [BZ #12711]
52022 * locale/C-translit.h.in: Add entry for U20B9.
52023 Patch by pravin.d.s@gmail.com.
52024
28377d1b
UD
520252011-05-08 Ulrich Drepper <drepper@gmail.com>
52026
7fb90fb8
UD
52027 [BZ #12713]
52028 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52029 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
52030 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52031 in rtld. Use *stat64.
7fb90fb8 52032 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 52033 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 52034 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
52035 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52036 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52037 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52038 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52039 __fstatat64 macros.
7fb90fb8
UD
52040 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52041 * dirent/rewinddir.c: Add libc_hidden_def.
52042 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 52043 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 52044
28377d1b
UD
52045 * include/dirent.h (__alloc_dir): Add flags parameter.
52046 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52047 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52048 __alloc_dir.
52049 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52050 from fdopendir if O_CLOEXEC is already set.
52051
66bdbaa4
AM
520522011-03-15 Alan Modra <amodra@gmail.com>
52053
52054 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52055 l_tls_firstbyte_offset non-zero. Save padding offset in
52056 l_tls_firstbyte_offset for later use.
52057 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52058 freeing static tls block.
52059
95721191
JN
520602011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52061
52062 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52063 where #ifdef was intended. The intent is to prevent ARG_MAX from
52064 being defined by the kernel headers.
52065
f87dfb1f
UD
520662011-05-07 Ulrich Drepper <drepper@gmail.com>
52067
52068 [BZ #12734]
52069 * resolv/resolv.h: Define RES_NOTLDQUERY.
52070 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52071 no-tld-query and set RES_NOTLDQUERY.
52072 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52073 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52074 modern BIND to search name as TLD unless forbidden.
52075
47c3cd7a
UD
520762011-05-07 Petr Baudis <pasky@suse.cz>
52077 Ulrich Drepper <drepper@gmail.com>
52078
52079 [BZ #12393]
52080 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52081 (is_trusted_path): ...to here.
c1e9ea35 52082 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 52083 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 52084 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 52085
8a35c912
PP
520862011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52087
52088 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52089 __BEGIN/__END_DECLS.
52090
acd41f47
UD
520912011-05-06 Ulrich Drepper <drepper@gmail.com>
52092
52093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52094 NSS_STATUS_NOTFOUND if no record was found.
52095
597df647
AS
520962011-05-05 Andreas Schwab <schwab@redhat.com>
52097
52098 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52099 (headers-not-in-tirpc): Remove rpc/netdb.h
52100 * resolv/netdb.h: Revert last change.
52101
b9af1301
PP
521022011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52103
52104 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52105 circular dependency between libgcc.a and libc.a.
52106
4e34d5f5
AS
521072011-05-05 Andreas Schwab <schwab@redhat.com>
52108
52109 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52110 * nis/Makefile: Don't install rpcsvc/*.
52111 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52112 instead of <rpc/types.h>.
52113 (MAXHOSTNAMELEN): Define.
52114
00ee369c
AS
521152011-05-03 Andreas Schwab <schwab@redhat.com>
52116
52117 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52118
0b592a30
MB
521192011-04-28 Maciej Babinski <mbabinski@google.com>
52120
52121 [BZ #12714]
52122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52123 gethostbyname4_r when IPv6 results are possible.
52124
6e04cbbe
UD
521252011-05-02 Ulrich Drepper <drepper@gmail.com>
52126
52127 [BZ #12723]
52128 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52129 _PC_PIPE_BUF handling.
52130
e4ecafe0
BH
521312011-04-30 Bruno Haible <bruno@clisp.org>
52132
52133 [BZ #12717]
52134 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52135 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52136 to 'int'.
52137 * inet/getnameinfo.c (getnameinfo): Likewise.
52138
125ee683
UD
521392011-04-29 Ulrich Drepper <drepper@gmail.com>
52140
52141 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52142 to groups setting in database lookup.
52143 * nss/nsswitch.conf: Add initgroups entry.
52144
b722481a
EB
521452011-04-22 Ulrich Drepper <drepper@gmail.com>
52146
52147 [BZ #12685]
52148 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52149 mode string.
52150 Patch by Eric Blake <eblake@redhat.com>.
52151
4df46dbd
L
521522011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52153
52154 * sunrpc/Makefile (need-export-routines): Add svc_run.
52155 (routines): Remove svc_run.
52156 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52157 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52158 * sunrpc/svc_run.c (svc_run): Likewise.
52159 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52160
e84142d2
UD
521612011-04-21 Ulrich Drepper <drepper@gmail.com>
52162
52163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52164 problem in reallocation in last patch.
52165
877175d8
UD
521662011-04-20 Ulrich Drepper <drepper@gmail.com>
52167
52168 * sunrpc/Makefile: Move inclusion of Rules.
52169
ab8eed78
UD
521702011-04-19 Ulrich Drepper <drepper@gmail.com>
52171
52172 * nss/nss_files/files-initgroups.c: New file.
52173 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52174 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52175 _nss_files_initgroups_dyn.
52176
e3d8f584
RS
521772011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52178
52179 * elf/elf.h (R_ARM_IRELATIVE): Define.
52180
af190f45
UD
521812011-04-19 Ulrich Drepper <drepper@gmail.com>
52182
52183 * po/ru.po: Update from translation team.
52184
53cf59ef
UD
521852011-04-17 Ulrich Drepper <drepper@gmail.com>
52186
52187 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52188 dependencies.
52189
4c559bcd
MF
521902011-02-06 Mike Frysinger <vapier@gentoo.org>
52191
52192 [BZ #12653]
52193 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52194 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52195 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52196 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52198
4420675c
AS
521992011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52200
52201 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52202 differing bytes.
52203 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52204 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52205 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52206
75ea32ab
UD
522072011-04-17 Ulrich Drepper <drepper@gmail.com>
52208
52209 [BZ #12420]
52210 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52211 storing it.
52212 * stdlib/bug-getcontext.c: New file.
52213 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52214
27390476
AK
522152011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52216
52217 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52218 instructions into .machine "z9-109".
52219 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52220 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52221
10442705
AK
522222011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52223
52224 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52225 between environment variables and auxiliary vector.
52226
7b57bfe5
UD
522272011-04-16 Ulrich Drepper <drepper@gmail.com>
52228
52229 * Makefile: Add rules to build linkobj/libc.so.
52230 * include/libc-symbols.h: Define libc_hidden_nolink.
52231 * include/rpc/auth.h: Mark functions which are to be hidden.
52232 * include/rpc/auth_des.h: Likewise.
52233 * include/rpc/auth_unix.h: Likewise.
52234 * include/rpc/clnt.h: Likewise.
52235 * include/rpc/des_crypt.h: Likewise.
52236 * include/rpc/key_prot.h: Likewise.
52237 * include/rpc/pmap_clnt.h: Likewise.
52238 * include/rpc/pmap_prot.h: Likewise.
52239 * include/rpc/pmap_rmt.h: Likewise.
52240 * include/rpc/rpc_msg.h: Likewise.
52241 * include/rpc/svc.h: Likewise.
52242 * include/rpc/svc_auth.h: Likewise.
52243 * include/rpc/xdr.h: Likewise.
52244 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52245 * nss/Makefile: Likewise.
52246 * sunrpc/Makefile: Don't install headers. Build library with normal
52247 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52248 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52249 for the compat linking library. Remove use of INTDEF/INTUSE.
52250 * sunrpc/auth_none.c: Likewise.
52251 * sunrpc/auth_unix.c: Likewise.
52252 * sunrpc/authdes_prot.c: Likewise.
52253 * sunrpc/authuxprot.c: Likewise.
52254 * sunrpc/clnt_gen.c: Likewise.
52255 * sunrpc/clnt_perr.c: Likewise.
52256 * sunrpc/clnt_raw.c: Likewise.
52257 * sunrpc/clnt_simp.c: Likewise.
52258 * sunrpc/clnt_tcp.c: Likewise.
52259 * sunrpc/clnt_udp.c: Likewise.
52260 * sunrpc/clnt_unix.c: Likewise.
52261 * sunrpc/des_crypt.c: Likewise.
52262 * sunrpc/des_soft.c: Likewise.
52263 * sunrpc/get_myaddr.c: Likewise.
52264 * sunrpc/key_call.c: Likewise.
52265 * sunrpc/key_prot.c: Likewise.
52266 * sunrpc/netname.c: Likewise.
52267 * sunrpc/pm_getmaps.c: Likewise.
52268 * sunrpc/pm_getport.c: Likewise.
52269 * sunrpc/pmap_clnt.c: Likewise.
52270 * sunrpc/pmap_prot.c: Likewise.
52271 * sunrpc/pmap_prot2.c: Likewise.
52272 * sunrpc/pmap_rmt.c: Likewise.
52273 * sunrpc/publickey.c: Likewise.
52274 * sunrpc/rpc_cmsg.c: Likewise.
52275 * sunrpc/rpc_common.c: Likewise.
52276 * sunrpc/rpc_dtable.c: Likewise.
52277 * sunrpc/rpc_prot.c: Likewise.
52278 * sunrpc/rpc_thread.c: Likewise.
52279 * sunrpc/rtime.c: Likewise.
52280 * sunrpc/svc.c: Likewise.
52281 * sunrpc/svc_auth.c: Likewise.
52282 * sunrpc/svc_authux.c: Likewise.
52283 * sunrpc/svc_raw.c: Likewise.
52284 * sunrpc/svc_run.c: Likewise.
52285 * sunrpc/svc_simple.c: Likewise.
52286 * sunrpc/svc_tcp.c: Likewise.
52287 * sunrpc/svc_udp.c: Likewise.
52288 * sunrpc/svc_unix.c: Likewise.
52289 * sunrpc/svcauth_des.c: Likewise.
52290 * sunrpc/xcrypt.c: Likewise.
52291 * sunrpc/xdr.c: Likewise.
52292 * sunrpc/xdr_array.c: Likewise.
52293 * sunrpc/xdr_float.c: Likewise.
52294 * sunrpc/xdr_intXX_t.c: Likewise.
52295 * sunrpc/xdr_mem.c: Likewise.
52296 * sunrpc/xdr_rec.c: Likewise.
52297 * sunrpc/xdr_ref.c: Likewise.
52298 * sunrpc/xdr_sizeof.c: Likewise.
52299 * sunrpc/xdr_stdio.c: Likewise.
52300
e6c61494
UD
523012011-04-10 Ulrich Drepper <drepper@gmail.com>
52302
52303 [BZ #12650]
52304 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52305 * sysdeps/ia64/dl-tls.h: Likewise.
52306 * sysdeps/powerpc/dl-tls.h: Likewise.
52307 * sysdeps/s390/dl-tls.h: Likewise.
52308 * sysdeps/sh/dl-tls.h: Likewise.
52309 * sysdeps/sparc/dl-tls.h: Likewise.
52310 * sysdeps/x86_64/dl-tls.h: Likewise.
52311 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52312
34fe483e
AS
523132011-03-14 Andreas Schwab <schwab@redhat.com>
52314
52315 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52316 rpath element also skip the following colon.
52317 (expand_dynamic_string_token): Add is_path parameter and pass
52318 down to DL_DST_REQUIRED and _dl_dst_substitute.
52319 (decompose_rpath): Call expand_dynamic_string_token with
52320 non-zero is_path. Ignore empty rpaths.
52321 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52322 with zero is_path.
52323
f12a32e6
AS
523242011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52325
52326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52327 Make cancelable.
52328
38a7d692
UD
523292011-04-09 Ulrich Drepper <drepper@gmail.com>
52330
52331 [BZ #12655]
52332 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52333 Patch by Filipe David Manana <fdmanana@apache.org>.
52334
e451d22b
AS
523352011-04-07 Andreas Schwab <schwab@redhat.com>
52336
52337 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52338 Maintain aligned stack.
52339 (CHECK_RSP): Remove unused macro.
52340
dedc7c7b
UD
523412011-04-03 Ulrich Drepper <drepper@gmail.com>
52342
52343 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52344 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52345
94521213
UD
523462011-04-02 Ulrich Drepper <drepper@gmail.com>
52347
52348 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52349
8cb700c0 52350 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 52351
0354e355
L
523522011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52353
52354 [BZ #12518]
52355 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52356 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52357 * sysdeps/x86_64/memmove.c: New file.
52358 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52359 (memcpy): Renamed to ...
52360 (__new_memcpy): This.
52361 (memcpy): Provide GLIBC_2_14 memcpy.
52362 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52363 (memcpy): Provide GLIBC_2_2_5 memcpy.
52364
8593482f
UD
523652011-04-01 Ulrich Drepper <drepper@gmail.com>
52366
52367 [BZ #12631]
52368 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52369
81a5726b
AS
523702011-03-30 Andreas Schwab <schwab@redhat.com>
52371
52372 * misc/syncfs.c: New file.
52373 * misc/Makefile (routines): Add syncfs.
52374 * posix/unistd.h: Declare syncfs.
52375 * sysdeps/unix/syscalls.list: Add syncfs.
52376
00e5419f
AS
523772011-04-01 Andreas Schwab <schwab@redhat.com>
52378
52379 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52380 open_by_handle_at.
52381 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52382 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52384 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52386 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52388
748876bf
UD
523892011-04-01 Ulrich Drepper <drepper@gmail.com>
52390
658e451d
UD
52391 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52392 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52393 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52397 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52398
748876bf
UD
52399 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52400 sync_file_range.c with -fexceptions.
52401 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52402 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52403 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52404 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52405 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52406 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52407 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
52408 sync_file_range as cancellation point
52409 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52410 now a wrapper around __call_sync_file_range with cancellation handling.
52411 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52412 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52413 function name to __call_sync_file_range.
52414 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52415 Add call_sync_file_range.
748876bf 52416
6e63d5e1
AS
524172011-04-01 Andreas Schwab <schwab@redhat.com>
52418
52419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 52420 bits/timex.h.
6e63d5e1 52421
46998f74
UD
524222011-04-01 Ulrich Drepper <drepper@gmail.com>
52423
4c1423ed
UD
52424 * iconv/iconv.h: Fix typo in comment.
52425 * io/fcntl.h: Likewise.
52426 * libio/stdio.h: Likewise.
52427 * posix/spawn.h: Likewise.
52428 * posix/unistd.h: Likewise.
52429 * stdlib/stdlib.h: Likewise.
52430 * time/time.h: Likewise.
52431 * wcsmbs/wchar.h: Likewise.
52432
158648c0
UD
52433 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52434 open_by_handle): Add.
52435 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52436 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52437 Augment a few comments.
52438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52443 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52444 open_by_handle.
52445
46998f74
UD
52446 * io/fcntl.h (AT_EMPTY_PATH): Define.
52447
83fe108b
UD
524482011-03-30 Ulrich Drepper <drepper@gmail.com>
52449
52450 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52451 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52452 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52453 to...
52454 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
52455 * Versions.def: Add GLIBC_2.14.
52456 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52457 Export.
83fe108b 52458
bb242059
UD
524592011-03-22 Ulrich Drepper <drepper@gmail.com>
52460
52461 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52462 round counter.
52463 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52464
c97a1282
L
524652011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52466
52467 [BZ #12597]
52468 * string/test-strncmp.c (do_page_test): New function.
52469 (check2): Likewise.
52470 (test_main): Call check2.
52471 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52472
2a115601
UD
524732011-03-20 Ulrich Drepper <drepper@gmail.com>
52474
52475 [BZ #12587]
52476 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52477 Handle cache information in CPU leaf 4.
52478 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52479
8126d904
UD
524802011-03-18 Ulrich Drepper <drepper@gmail.com>
52481
042c49c6 52482 [BZ #12583]
8126d904
UD
52483 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52484 character representation.
52485 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52486
ccfe366e
RA
524872011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52488
52489 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52490 END(__isnan) to END(__isnanf) to match function entry point/label
52491 EALIGN(__isnanf,...).
52492
c6e13027
JJ
524932011-03-10 Jakub Jelinek <jakub@redhat.com>
52494
52495 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52496
33f85a3f
UD
524972011-03-10 Ulrich Drepper <drepper@gmail.com>
52498
028478fa
UD
52499 [BZ #12510]
52500 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52501 copy from the symbol referenced in the relocation to initialize the
52502 used variable.
52503 Patch by Piotr Bury <pbury@goahead.com>.
52504 * elf/Makefile: Add rules to build and tst-unique3.
52505 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52506 * elf/tst-unique3.cc: New file.
52507 * elf/tst-unique3.h: New file.
52508 * elf/tst-unique3lib.cc: New file.
52509 * elf/tst-unique3lib2.cc: New file.
52510
33f85a3f
UD
52511 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52512
03592fc7
MF
525132011-03-10 Mike Frysinger <vapier@gentoo.org>
52514
52515 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52516 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52517 to _start.
03592fc7 52518
6a5ee102
UD
525192011-03-06 Ulrich Drepper <drepper@gmail.com>
52520
52521 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52522 to-be-loaded object along a path to loader is ld.so.
52523
7e4ba49c
HJ
525242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52525 Ulrich Drepper <drepper@gmail.com>
52526
52527 * sysdeps/x86_64/memset.S: After aligning destination, code
52528 branches to different locations depending on the value of
52529 misalignment, when multiarch is enabled. Fix this.
52530
525312011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52532
52533 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52534 Set _x86_64_preferred_memory_instruction for AMD processsors.
52535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52536 Set bit_Prefer_SSE_for_memop for AMD processors.
52537
13a804de
UD
525382011-03-04 Ulrich Drepper <drepper@gmail.com>
52539
52540 * libio/fmemopen.c (fmemopen): Optimize a bit.
52541
9d25c392
AS
525422011-03-03 Andreas Schwab <schwab@redhat.com>
52543
52544 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52545
a5543c6a
RM
525462011-03-03 Roland McGrath <roland@redhat.com>
52547
52548 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52549
012d35f7
DM
525502011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52551
7e4ba49c 52552 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
52553 __bzero_ultra1 instead of __memset_ultra1.
52554
4bff6e01
AS
525552011-02-23 Andreas Schwab <schwab@redhat.com>
52556 Ulrich Drepper <drepper@gmail.com>
52557
52558 [BZ #12509]
52559 * include/link.h (struct link_map): Add l_orig_initfini.
52560 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52561 returning unsuccessfully.
52562 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52563 close of a file loaded at startup, restore the original l_initfini
52564 list.
52565 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52566 list, store the pointer.
52567 * elf/Makefile ($(objpfx)noload-mem): New rule.
52568 (noload-ENV): Define.
52569 (tests): Add $(objpfx)noload-mem.
52570 * elf/noload.c: Include <memcheck.h>.
52571 (main): Call mtrace. Close all opened handles.
52572
f2092faf
AS
525732011-02-17 Andreas Schwab <schwab@redhat.com>
52574
52575 [BZ #12454]
52576 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52577 dependencies are missing.
52578
6c8a2e88
ST
525792011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52580
f2092faf 52581 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
52582 Hurd needs munmap.
52583 * sysdeps/mach/hurd/ifreq.h: New file.
52584
84a42118
PB
525852011-01-27 Petr Baudis <pasky@suse.cz>
52586 Ulrich Drepper <drepper@gmail.com>
52587
071f805e 52588 [BZ 12445]#
84a42118
PB
52589 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52590 to extend_alloca().
52591 * stdio-common/bug23.c: New file.
52592 * stdio-common/Makefile (tests): Add bug23.
52593
e23fe25b
AS
525942010-09-28 Andreas Schwab <schwab@redhat.com>
52595 Ulrich Drepper <drepper@gmail.com>
52596
52597 [BZ #12489]
52598 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52599 before performing relro protection. At old place add assertion
52600 to make sure nothing changed.
52601
d3f02e10
NS
526022011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52603 Glauber de Oliveira Costa <glommer@gmail.com>
52604
52605 * elf/elf.h: Add new ARM TLS relocs.
52606
d55fd7a5
RA
526072011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52608
52609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52610 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52611 cast from r3.
52612 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52613 'tests' variable.
52614 * sysdeps/wordsize-64/tst-writev.c: New file.
52615
2206397e
RA
526162011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52617
52618 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52619 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52620 insns in _dl_start to prevent a TOC reference before relocs are
52621 resolved.
52622
e9433893
UD
526232011-02-15 Ulrich Drepper <drepper@gmail.com>
52624
52625 [BZ #12469]
52626 * Makeconfig: Remove RANLIB definition.
52627 * Makerules: Don't use RANLIB.
52628 * aclocal.m4: Remove ranlib test.
52629 * configure.in: No need to check for ranlib.
52630 * elf/rtld-Rules: Don't use RANLIB.
52631
f75286c6
ST
526322011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52633
8e31c82d
ST
52634 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52635 protection macro.
52636 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52637 inclusion protection macro.
52638
f75286c6
ST
52639 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52640 SIGRTMIN and SIGRTMAX and print information in that case only when
52641 SIGRTMIN is defined.
52642
c1d0e639
JJ
526432011-02-11 Jakub Jelinek <jakub@redhat.com>
52644
52645 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52646 arginfo fn returning -1.
52647
52648 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52649 and thousands string is zero terminated.
52650
edf9294e
AS
526512011-02-03 Andreas Schwab <schwab@redhat.com>
52652
52653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52654 sysdeps/unix/sysv/linux/bits/socket.h.
52655
2b7e92df
ST
526562011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52657
edf9294e
AS
52658 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52659 (__CPU_COUNT): Remove old macros.
52660 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52661 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52662 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
52663 (__sched_cpualloc, __sched_cpufree): Add declarations.
52664
a4c7ea7b
UD
526652011-02-05 Ulrich Drepper <drepper@gmail.com>
52666
52667 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52668 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52669 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52670 (readdhstai): Return value of addhstaiX call.
52671 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52672 (addgrbyX): Return value returned by cache_addgr.
52673 (readdgrbyname): Return value returned by addgrbyX.
52674 (readdgrbygid): Likewise.
52675 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52676 (addpwbyX): Return value returned by cache_addpw.
52677 (readdpwbyname): Return value returned by addhstbyX.
52678 (readdpwbyuid): Likewise.
52679 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52680 (addservbyX): Return value returned by cache_addserv.
52681 (readdservbyname): Return value returned by addservbyX:
52682 (readdservbyport): Likewise.
52683 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52684 (addhstbyX): Return value returned by cache_addhst.
52685 (readdhstbyname): Return value returned by addhstbyX.
52686 (readdhstbyaddr): Likewise.
52687 (readdhstbynamev6): Likewise.
52688 (readdhstbyaddrv6): Likewise.
52689 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52690 (readdinitgroups): Return value returned by addinitgroupsX.
52691 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52692 (prune_cache): Keep track of timeout value of re-added entries.
52693 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52694 * nscd/nscd.h: Adjust prototypes of readd* functions.
52695
a0bf67cc
RM
526962011-02-04 Roland McGrath <roland@redhat.com>
52697
52698 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52699 (nis_stats): Likewise.
52700 * nis/nis_modify.c (nis_modify): Likewise.
52701 * nis/nis_remove.c (nis_remove): Likewise.
52702 * nis/nis_add.c (nis_add): Likewise.
52703
52704 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52705
52706 * posix/fnmatch_loop.c: Add some consts.
52707
52708 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52709
435b95eb
L
527102011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52711
52712 [BZ #12460]
52713 * config.make.in (config-cflags-novzeroupper): Define.
52714 * configure.in: Substitute libc_cv_cc_novzeroupper.
52715 * elf/Makefile (AVX-CFLAGS): Define.
52716 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52717 (CFLAGS-tst-auditmod4a.c): Likewise.
52718 (CFLAGS-tst-auditmod4b.c): Likewise.
52719 (CFLAGS-tst-auditmod6b.c): Likewise.
52720 (CFLAGS-tst-auditmod6c.c): Likewise.
52721 (CFLAGS-tst-auditmod7b.c): Likewise.
52722 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52723
8517b15e
UD
527242011-02-02 Ulrich Drepper <drepper@gmail.com>
52725
52726 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52727 function to the callback.
52728 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52729
10a656fe
AS
527302011-02-02 Andreas Schwab <schwab@redhat.com>
52731
52732 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52733 of errno.
52734
968dad0a
UD
527352011-01-19 Ulrich Drepper <drepper@gmail.com>
52736
9f94d2ea 52737 [BZ #11724]
968dad0a
UD
52738 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52739 of constructors.
52740 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52741 of destructors.
52742 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52743
52744 [BZ #11724]
52745 * elf/Makefile: Add rules to build and run new test.
52746 * elf/tst-initorder.c: New file.
52747 * elf/tst-initorder.exp: New file.
52748 * elf/tst-initordera1.c: New file.
52749 * elf/tst-initordera2.c: New file.
52750 * elf/tst-initordera3.c: New file.
52751 * elf/tst-initordera4.c: New file.
52752 * elf/tst-initorderb1.c: New file.
52753 * elf/tst-initorderb2.c: New file.
52754 * elf/tst-order-a1.c: New file.
52755 * elf/tst-order-a2.c: New file.
52756 * elf/tst-order-a3.c: New file.
52757 * elf/tst-order-a4.c: New file.
52758 * elf/tst-order-b1.c: New file.
52759 * elf/tst-order-b2.c: New file.
52760 * elf/tst-order-main.c: New file.
52761 New test case by George Gensure <werkt0@gmail.com>.
52762
86e92359
UD
527632010-10-01 Andreas Schwab <schwab@redhat.com>
52764
52765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52766 decoding ACE if AI_CANONIDN.
52767
5d5732b0
UD
527682011-01-18 Ulrich Drepper <drepper@gmail.com>
52769
52770 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52771
a77e8cbc
UD
527722011-01-17 Ulrich Drepper <drepper@gmail.com>
52773
6392473f
UD
52774 * version.h (RELEASE): Bump for 2.13 release.
52775 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52776
620a0529
UD
52777 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52778
18ba70a5
UD
52779 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52780 MADV_NOHUGEPAGE.
32465c3e
UD
52781 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52782 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52783 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52784 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52785 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52786 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52787
c0dafcf1
UD
52788 * posix/getconf.c: Update copyright year.
52789 * catgets/gencat.c: Likewise.
52790 * csu/version.c: Likewise.
52791 * debug/catchsegv.sh: Likewise.
52792 * debug/xtrace.sh: Likewise.
52793 * elf/ldconfig.c: Likewise.
52794 * elf/ldd.bash.in: Likewise.
52795 * elf/sprof.c (print_version): Likewise.
52796 * iconv/iconv_prog.c: Likewise.
52797 * iconv/iconvconfig.c: Likewise.
52798 * locale/programs/locale.c: Likewise.
52799 * locale/programs/localedef.c: Likewise.
52800 * malloc/memusage.sh: Likewise.
52801 * malloc/mtrace.pl: Likewise.
52802 * nscd/nscd.c (print_version): Likewise.
52803 * nss/getent.c: Likewise.
52804
a77e8cbc
UD
52805 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52806 PF_CAIF, and PF_ALG.
52807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52808
77e8bddf
AS
528092011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52810
1f20b93a
AS
52811 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52812 (modules-names): Use them.
52813 (ifunc-test-modules, ifunc-pie-tests): Define.
52814 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52815 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52816 (test-extras): Likewise.
52817 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52818 $(compile-command.c).
52819 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52820 (all-built-dso): Define.
52821 (check-textrel.out, check-execstack.out): Depend on it.
52822
77e8bddf
AS
52823 * configure.in: Don't override --enable-multi-arch.
52824
bc425b33
UD
528252011-01-15 Ulrich Drepper <drepper@gmail.com>
52826
52827 [BZ #6812]
52828 * nscd/hstcache.c (tryagain): Define.
52829 (cache_addhst): Return tryagain not notfound for temporary errors.
52830 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52831 failed.
52832
794c3ad3
UD
528332011-01-14 Ulrich Drepper <drepper@gmail.com>
52834
70181fdd
UD
52835 [BZ #10563]
52836 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52837 to make the syscall.
52838 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52839
794c3ad3
UD
52840 [BZ #12378]
52841 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52842 and fall back to matching as normal character if the string ends before
52843 the matching ']' is found. This is what POSIX requires.
52844 * posix/testfnm.c: Adjust test result.
52845 * posix/globtest.sh: Adjust test result. Add new test.
52846 * posix/tst-fnmatch.input: Likewise.
52847 * posix/tst-fnmatch2.c: Add new test.
52848
68dc9497
AS
528492010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52850
52851 * elf/Makefile (check-execstack): Revert last change. Depend on
52852 check-execstack.h.
52853 (check-execstack.h): New target.
52854 (generated): Add check-execstack.h.
52855 * elf/check-execstack.c: Include "check-execstack.h".
52856 (main): Revert last change.
52857 (handle_file): Return zero if GNU_STACK is absent and
52858 DEFAULT_STACK_PERMS doesn't include PF_X.
52859
451f001b
UD
528602011-01-13 Ulrich Drepper <drepper@gmail.com>
52861
cfa28e56
UD
52862 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52863 in child fails because the descriptor is already closed.
8cf8ce17
UD
52864 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52865 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52866 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52867
1086d70d
UD
52868 [BZ #12397]
52869 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52870 syscall.
52871
451f001b
UD
52872 [BZ #10484]
52873 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52874 temporary buffer used to handle multi lookups locally.
a85b5cb4 52875 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52876
08769175
UD
528772011-01-12 Ulrich Drepper <drepper@gmail.com>
52878
52879 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52880 loader is ld.so.
52881
5e49c52e
UD
528822011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52883
52884 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52885 alignment for SSE2.
52886
60522a5f
UD
528872011-01-12 Ulrich Drepper <drepper@gmail.com>
52888
52889 [BZ #12394]
52890 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52891 characters. When rounding increased number of integer digits recompute
52892 number of groups.
52893 * stdio-common/tst-grouping.c: New file.
52894 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52895
f257bbd7
UD
528962011-01-09 Ulrich Drepper <drepper@gmail.com>
52897
52898 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52899 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52900
52901 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52902 void.
52903 * bits/select.h: Likewise.
52904
fa9c15cb
UD
529052011-01-08 Ulrich Drepper <drepper@gmail.com>
52906
52907 * po/ja.po: Update from translation team.
52908
16c2895f
DM
529092011-01-04 David S. Miller <davem@sunset.davemloft.net>
52910
52911 [BZ #11155]
52912 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52913 implementation just like for lxstat, fxstatat, et al.
52914
2543fef2
JM
529152010-12-27 Jim Meyering <meyering@redhat.com>
52916
52917 [BZ #12348]
52918 * posix/regexec.c (build_trtable): Return failure indication upon
52919 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52920
98727dbe
UD
529212010-12-25 Ulrich Drepper <drepper@gmail.com>
52922
5bd6dc5c
UD
52923 [BZ #12201]
52924 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52925 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52926 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52927 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52928
97983464
UD
52929 [BZ #12207]
52930 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52931
98727dbe
UD
52932 [BZ #12204]
52933 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52934 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52935
4a531bb0
L
529362010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52937
52938 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52939 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52940 script has SORT_BY_INIT_PRIORITY.
52941 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52942 NO_CTORS_DTORS_SECTIONS is defined.
52943 * elf/soinit.c: Likewise.
52944 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52945 NO_CTORS_DTORS_SECTIONS is defined.
52946 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52947 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52948 * sysdeps/sh/init-first.c: Likewise.
52949 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52950
07eb4b71
UD
529512010-12-24 Ulrich Drepper <drepper@gmail.com>
52952
52953 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52954 always use the slow path.
52955
30950a5f
RA
529562010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52957
52958 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52959 similar rule which adds the sysdep directories to the header search in
52960 order to pick up the correct platform stackinfo.h.
52961 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52962 perform test if it is, otherwise return successfully without testing.
52963 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52964 DEFAULT_STACK_PERMS define in stackinfo.h.
52965 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52966 defined in stackinfo.h.
52967 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52968 DEFAULT_STACK_PERMS defined in stackinfo.h.
52969 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52970 * sysdeps/ia64/stackinfo.h: Likewise.
52971 * sysdeps/s390/stackinfo.h: Likewise.
52972 * sysdeps/sh/stackinfo.h: Likewise.
52973 * sysdeps/sparc/stackinfo.h: Likewise.
52974 * sysdeps/x86_64/stackinfo.h: Likewise.
52975 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52976 PF_X for powerpc64. Retain PF_X for powerpc32.
52977
db753e2c
UD
529782010-12-19 Ulrich Drepper <drepper@gmail.com>
52979
14b697f7
UD
52980 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52981 accurately.
db753e2c
UD
52982 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52983 GETDENTS_64BIT_ALIGNED.
52984
28300719
UD
529852010-12-14 Ulrich Drepper <dreper@gmail.com>
52986
14b697f7 52987 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52988
4f197237
AS
529892010-12-10 Andreas Schwab <schwab@redhat.com>
52990
dbb0472f
AS
52991 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52992 _GNU_SOURCE.
52993
4f197237
AS
52994 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52995 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52996 Remove __restrict.
52997 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52998 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52999
fb88ac72
UD
530002010-12-09 Ulrich Drepper <drepper@gmail.com>
53001
53002 [BZ #11655]
53003 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53004 are initialized.
53005
42acbb92
JJ
530062010-12-09 Jakub Jelinek <jakub@redhat.com>
53007
53008 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53009
c038d98d
UD
530102010-12-03 Ulrich Drepper <drepper@gmail.com>
53011
53012 * po/it.po: Update from translation team.
53013
3a4a2499
L
530142010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53015
53016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53017 unused codes.
53018
1e24cf6e
UD
530192010-11-30 Ulrich Drepper <drepper@gmail.com>
53020
53021 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53022
a7690819
AS
530232010-11-24 Andreas Schwab <schwab@redhat.com>
53024
53025 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53026 specially.
53027 (gaih_getanswer_slice): Likewise.
53028
3bf8d1b1
JJ
530292010-10-20 Jakub Jelinek <jakub@redhat.com>
53030
53031 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53032
6db52fbb
PB
530332010-05-31 Petr Baudis <pasky@suse.cz>
53034
53035 [BZ #11149]
53036 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53037 silently even in the chroot mode.
53038
eaca7569
UD
530392010-11-22 Ulrich Drepper <drepper@gmail.com>
53040
53041 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53042 last patch a bit. Pretty printing
53043
3056dcdb
UD
530442010-05-31 Petr Baudis <pasky@suse.cz>
53045
53046 [BZ #10085]
53047 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53048 initialization of skip_initgroups_dyn.
53049
cf7c9078
UD
530502010-11-19 Ulrich Drepper <drepper@gmail.com>
53051
53052 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53053 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53054
a1fb5e3e
UD
530552010-11-16 Ulrich Drepper <drepper@gmail.com>
53056
53057 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53058
3540d66b
AS
530592010-11-11 Andreas Schwab <schwab@redhat.com>
53060
53061 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53062 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53063 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53064 ($(objpfx)tst-fnmatch-mem): New rule.
53065 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53066 * posix/tst-fnmatch.c (main): Call mtrace.
53067
13b69574
L
530682010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53069
53070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53071 Support Intel processor model 6 and model 0x2c.
53072
da93d214
LM
530732010-11-10 Luis Machado <luisgpm@br.ibm.com>
53074
53075 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53076 signed comparison.
53077
8ca52c6e
L
530782010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53079
53080 [BZ #12205]
53081 * string/test-strncasecmp.c (check_result): New function.
53082 (do_one_test): Use it.
53083 (check1): New function.
53084 (test_main): Use it.
53085 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53086 Support strcasecmp and strncasecmp.
53087
69da074d
UD
530882010-11-08 Ulrich Drepper <drepper@gmail.com>
53089
53090 [BZ #12194]
53091 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53093
ff02d528
L
530942010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53095
53096 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53097 IFUNC support.
53098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53099 memset-x86-64.
53100 * sysdeps/x86_64/multiarch/bzero.S: New file.
53101 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53102 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53103 * sysdeps/x86_64/multiarch/memset.S: New file.
53104 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53106 Set bit_Prefer_SSE_for_memop for Intel processors.
53107 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53108 Define.
53109 (index_Prefer_SSE_for_memop): Define.
53110 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53111
344d0b54
LM
531122010-11-04 Luis Machado <luisgpm@br.ibm.com>
53113
53114 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53115 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53116
c0dde15b
UD
531172010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53118
53119 [BZ #12191]
53120 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53121 (__x86_64_raw_data_cache_size_half): Likewise.
53122 (__x86_64_raw_shared_cache_size): Likewise.
53123 (__x86_64_raw_shared_cache_size_half): Likewise.
53124
53125 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53126 (__x86_64_raw_data_cache_size_half): Likewise.
53127 (__x86_64_raw_shared_cache_size): Likewise.
53128 (__x86_64_raw_shared_cache_size_half): Likewise.
53129 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53130 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53131 and __x86_64_raw_shared_cache_size_half. Round
53132 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53133 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53134 to multiple of 256 bytes.
53135
0e516e0e
MS
531362010-11-03 Ulrich Drepper <drepper@gmail.com>
53137
53138 [BZ #12167]
53139 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53140 of inacessible symlinks. Verify result of symlink before returning it.
53141 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53142 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53143
0e012e87
ER
531442010-10-28 Erich Ritz <erichritz@gmail.com>
53145
53146 * math/math.h (isinf): Fix typo in comment.
53147
de0ff7bc
UD
531482010-11-01 Ulrich Drepper <drepper@gmail.com>
53149
53150 * po/da.po: Update from translation team.
53151
fa41c84d
UD
531522010-10-26 Ulrich Drepper <drepper@gmail.com>
53153
53154 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53155 is added to the list.
53156
f0967738
AK
531572010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53158 Ulrich Drepper <drepper@gmail.com>
53159
53160 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53161 the global list here. Move code to...
53162 (_dl_add_to_namespace_list): ...here. New function.
53163 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53164 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53165 * elf/dl-load.c (lose): Don't remove the element from the list.
53166 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53167 (_dl_map_object): Likewise.
53168
531692010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
53170
53171 [BZ #12159]
53172 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53173 into all bytes of SSE register.
53174 Patch by Richard Li <richardpku@gmail.com>.
53175
f0967738 531762010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
53177
53178 [BZ #12140]
53179 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53180 perturbing.
53181
d0b9e94f
MB
531822010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53183
53184 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53185 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53186 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53187 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53189 submachine.
53190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53191
8e9f92e9
AS
531922010-10-22 Andreas Schwab <schwab@redhat.com>
53193
53194 * include/dlfcn.h (__RTLD_SECURE): Define.
53195 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53196 mode & __RTLD_SECURE instead.
53197 (open_path): Rename preloaded parameter to secure.
53198 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53199 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53200 * elf/dl-deps.c (openaux): Likewise.
53201 * elf/rtld.c (struct map_args): Remove is_preloaded.
53202 (map_doit): Don't use it.
53203 (dl_main): Likewise.
53204 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53205 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53206
bc96fbda
AS
532072010-09-09 Andreas Schwab <schwab@redhat.com>
53208
53209 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53210 (sysd-rules-targets): Remove duplicates.
53211 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53212 rtld-%.$o dependency.
53213
22cd1c9b
AS
532142010-10-18 Andreas Schwab <schwab@redhat.com>
53215
53216 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53217 _dl_map_object do it.
53218
18edac48
UD
532192010-10-19 Ulrich Drepper <drepper@gmail.com>
53220
53221 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53222 fast fma builtins, define the macros in the C99 standard.
53223 (FP_FAST_FMAF): Likewise.
53224 (FP_FAST_FMAL): Likewise.
53225 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53226
53227 * bits/mathdef.h: Update copyright year.
53228 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53229
d2050124
MM
532302010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53231
53232 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53233 builtins, define the macros in the C99 standard.
53234 (FP_FAST_FMAF): Likewise.
53235 (FP_FAST_FMAL): Likewise.
53236 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53237 multiply/add.
53238 (FP_FAST_FMAF): Likewise.
53239
475facd1
JJ
532402010-10-15 Jakub Jelinek <jakub@redhat.com>
53241
53242 [BZ #3268]
53243 * math/libm-test.inc (fma_test): Some new testcases.
53244 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53245 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53246 y and infinite z. Do multiplication by C already in long double.
53247 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53249 y and infinite z. Do bitwise or of inexact bit into u.d.
53250 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53251 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53252 * sysdeps/i386/fpu/s_fma.S: Removed.
53253 * sysdeps/i386/fpu/s_fmal.S: Removed.
53254
7c08a05c
JJ
532552010-10-16 Jakub Jelinek <jakub@redhat.com>
53256
53257 [BZ #3268]
53258 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53260 computation is not scheduled after fetestexcept. Fix value
53261 of minimum denormal long double.
53262
f3f7372d
JJ
532632010-10-14 Jakub Jelinek <jakub@redhat.com>
53264
53265 [BZ #3268]
53266 * math/libm-test.inc (fma_test): Add some more tests.
53267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53268 correctly.
53269
14d43591
AS
532702010-10-15 Andreas Schwab <schwab@redhat.com>
53271
53272 * scripts/data/localplt-s390-linux-gnu.data: New file.
53273 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53274
5e908464
JJ
532752010-10-13 Jakub Jelinek <jakub@redhat.com>
53276
53277 [BZ #3268]
53278 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53279 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53280 instead of dbl-64.
53281 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53282 inlines.
53283 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53285 if one of x and y is very large and the other is subnormal.
53286 * sysdeps/s390/fpu/s_fmaf.c: New file.
53287 * sysdeps/s390/fpu/s_fma.c: New file.
53288 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53289 * sysdeps/powerpc/fpu/s_fma.S: New file.
53290 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53291 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53292 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53293
532942010-10-12 Jakub Jelinek <jakub@redhat.com>
53295
53296 [BZ #3268]
53297 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53298 fma tests.
53299 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53300 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53301 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53302 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53303 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53304 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53305 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53306
b833d51f
UD
533072010-10-12 Ulrich Drepper <drepper@redhat.com>
53308
53309 [BZ #12078]
53310 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53311 * posix/bug-regex31.input: Add test case.
53312
1751705d
UD
533132010-10-11 Ulrich Drepper <drepper@gmail.com>
53314
e9b9cbf5
UD
53315 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53316 * posix/bug-regex31.input: New file.
53317
53318 [BZ #12078]
53319 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53320 (parse_sub_exp): Fix last change, use postorder.
53321
ef06edbe
UD
53322 * posix/bug-regex31.c: New file.
53323 * posix/Makefile: Add rules to build and run bug-regex31.
53324
a129c80d
UD
53325 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53326
53327 [BZ #12078]
53328 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53329
b76b818e
UD
53330 [BZ #12108]
53331 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53332 to have entries in sys_siglist.
53333
1751705d
UD
53334 [BZ #12093]
53335 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53336 be NULL.
53337
9ff8d36f
JJ
533382010-10-07 Jakub Jelinek <jakub@redhat.com>
53339
53340 [BZ #3268]
53341 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53342 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53343 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53344 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53345 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53346 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53347 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53348 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53349 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53350 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53351 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53352 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53353 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53354 * math/ftestexcept.c (fetestexcept): Likewise.
53355 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53356 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53357 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53358 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53359 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53360 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53361 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53362
af325969
UD
533632010-10-11 Ulrich Drepper <drepper@gmail.com>
53364
c579b202 53365 [BZ #12107]
af325969
UD
53366 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53367 newline.
53368
67a67b95
UD
533692010-10-06 Ulrich Drepper <drepper@gmail.com>
53370
53371 * string/bug-strstr1.c: New file.
53372 * string/Makefile: Add rules to build and run bug-strstr1.
53373
5fb308bc
EB
533742010-10-05 Eric Blake <eblake@redhat.com>
53375
53376 [BZ #12092]
53377 * string/str-two-way.h (two_way_long_needle): Always clear memory
53378 when skipping input due to the shift table.
53379
45db99c7
UD
533802010-10-03 Ulrich Drepper <drepper@gmail.com>
53381
3b111893
UD
53382 [BZ #12005]
53383 * malloc/mcheck.c: Handle large requests.
53384
45db99c7
UD
53385 [BZ #12077]
53386 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53387 for strncmp and strncasecmp.
53388 * string/stratcliff.c: Add tests for strcmp and strncmp.
53389 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53390
cf7a1eb8
NI
533912010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53392
53393 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53394 __set_fpscr.
53395
6484ba5e
AJ
533962010-09-30 Andreas Jaeger <aj@suse.de>
53397
53398 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53399 (CGROUP_SUPER_MAGIC): Define.
53400 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53401 Handle btrfs and cgroup file systems.
53402 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53403 Likewise.
53404
91c42559
LM
534052010-09-27 Luis Machado <luisgpm@br.ibm.com>
53406
53407 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53408 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53409
87a97932
AK
534102010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53411
53412 [BZ #12067]
53413 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53414 trying to locate the ELF header.
53415
c21cc9bc
AS
534162010-09-27 Andreas Schwab <schwab@redhat.com>
53417
53418 [BZ #11611]
53419 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53420 Mask out sign-bit copies when constructing f_fsid.
53421
315970f6
PB
534222010-09-24 Petr Baudis <pasky@suse.cz>
53423
53424 * debug/stack_chk_fail_local.c: Add missing licence exception.
53425 * debug/warning-nop.c: Likewise.
53426
1ac7a2c7
JM
534272010-09-15 Joseph Myers <joseph@codesourcery.com>
53428
53429 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53430 implementing getdents64 using getdents syscall, set d_type if
53431 __ASSUME_GETDENTS32_D_TYPE.
53432
56801c50
AS
534332010-09-16 Andreas Schwab <schwab@redhat.com>
53434
53435 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53436 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53437
dda51327
UD
534382010-09-21 Ulrich Drepper <drepper@redhat.com>
53439
53440 [BZ #12037]
53441 * posix/unistd.h: Undo change of feature selection for ftruncate from
53442 2010-01-11.
53443
8ffcee4a
UD
534442010-09-20 Ulrich Drepper <drepper@redhat.com>
53445
a545ecd9 53446 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
53447 detection.
53448
e24f0a8b
AS
534492010-09-20 Andreas Schwab <schwab@redhat.com>
53450
53451 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53452 fanotify_mark.
53453 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53454
7291c56f
AS
534552010-09-14 Andreas Schwab <schwab@redhat.com>
53456
53457 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53458 variables after CHECK_SP call.
53459 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53460
bc5fb037
AS
534612010-09-13 Andreas Schwab <schwab@redhat.com>
53462 Ulrich Drepper <drepper@redhat.com>
53463
53464 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53465 re-relocationg ld.so.
53466 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53467 _dl_init_paths call.
53468 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53469 here anymore.
53470
e66e7419
UD
534712010-09-14 Ulrich Drepper <drepper@redhat.com>
53472
53473 * resolv/res_init.c (__res_vinit): Count the default server we added.
53474
c044aa75
CLT
534752010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53476 Ulrich Drepper <drepper@redhat.com>
53477
53478 [BZ #11968]
53479 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53480 (____longjmp_chk): Use %ebx for saving value across system call.
53481 Add unwind info.
53482
32cf4069
AS
534832010-09-06 Andreas Schwab <schwab@redhat.com>
53484
53485 * manual/Makefile: Don't mix pattern rules with normal rules.
53486
817328ee
AS
534872010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53488
53489 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53490 operation.
53491 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53492 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53493 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53494 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53495 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53496 Likewise.
53497
29fddf61
UD
534982010-09-04 Ulrich Drepper <drepper@redhat.com>
53499
53500 [BZ #11979]
53501 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53502 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53503
0959ffc9
UD
535042010-09-02 Ulrich Drepper <drepper@redhat.com>
53505
53506 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53507 * sysdeps/x86_64/addmul_1.S: Likewise.
53508 * sysdeps/x86_64/lshift.S: Likewise.
53509 * sysdeps/x86_64/mul_1.S: Likewise.
53510 * sysdeps/x86_64/rshift.S: Likewise.
53511 * sysdeps/x86_64/sub_n.S: Likewise.
53512 * sysdeps/x86_64/submul_1.S: Likewise.
53513
ece29840
ST
535142010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53515
0959ffc9
UD
53516 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53517 Define __sched_param instead of SCHED_* and sched_param when
ece29840 53518 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 53519 * bits/sched.h [__need_schedparam]
ece29840 53520 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
53521 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53522 (__defined_schedparam): Define to 1.
ece29840
ST
53523 (__sched_param): New structure, identical to sched_param.
53524 (__need_schedparam): Undefine.
53525
e53a31fe
MF
535262010-08-31 Mike Frysinger <vapier@gentoo.org>
53527
fdc0c10d
MF
53528 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53529 (epoll_create1): Declare.
53530
e53a31fe
MF
53531 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53532
a726d796
AS
535332010-08-31 Andreas Schwab <schwab@redhat.com>
53534
53535 [BZ #7066]
53536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53537 shifting retval into place.
53538
2f3e3dc7
UD
535392010-09-01 Ulrich Drepper <drepper@redhat.com>
53540
f2933da9
UD
53541 * nis/rpcsvc/nis.h: Update copyright notice.
53542 * nis/rpcsvc/nis.x: Likewise.
53543 * nis/rpcsvc/nis_callback.h: Likewise.
53544 * nis/rpcsvc/nis_callback.x: Likewise.
53545 * nis/rpcsvc/nis_object.x: Likewise.
53546 * nis/rpcsvc/nis_tags.h: Likewise.
53547 * nis/rpcsvc/yp.h: Likewise.
53548 * nis/rpcsvc/yp.x: Likewise.
53549 * nis/rpcsvc/ypupd.h: Likewise.
53550 * nis/yp_xdr.c: Likewise.
53551 * nis/ypupdate_xdr.c: Likewise.
53552
2f3e3dc7
UD
53553 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53554 mainly the body of pmap_getport. Add parameters to specify timeouts.
53555 (pmap_getport): Use __libc_rpc_getport.
53556 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53557 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53558 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53559
f3dcc2f9
AS
535602010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53561
53562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53563 fanotify_mark.
53564
6d34eb5b
RM
535652010-08-27 Roland McGrath <roland@redhat.com>
53566
53567 * sysdeps/i386/i686/multiarch/Makefile
53568 (CFLAGS-varshift.c): New variable.
53569
9ea3de11
UD
535702010-08-27 Ulrich Drepper <drepper@redhat.com>
53571
c96d23fc
UD
53572 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53573 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53574
9ea3de11
UD
53575 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53576
53577 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53578
623aac7f
L
535792010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53580
53581 * sysdeps/x86_64/strlen.S: Unroll the loop.
53582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53583 strlen-sse2 strlen-sse2-bsf.
53584 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53585 __strlen_no_bsf if bit_Slow_BSF is set.
53586 (__strlen_sse42): Removed.
53587 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53588 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53589
8b2b7715
RM
535902010-08-25 Roland McGrath <roland@redhat.com>
53591
53592 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53593 * sysdeps/x86_64/multiarch/varshift.c: New file.
53594 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53595 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53596 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53597 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53598
e73015f2
L
535992010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53600
53601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53602 strlen-sse2 strlen-sse2-bsf.
53603 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53604 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53605 (__strlen_sse2): Removed.
53606 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53607 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53609 bit_Slow_BSF for Atom.
53610 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53611 (index_Slow_BSF): Define.
53612 (HAS_SLOW_BSF): Define.
53613
df24a73e
UD
536142010-08-25 Ulrich Drepper <drepper@redhat.com>
53615
53616 [BZ #10851]
53617 * resolv/res_init.c (__res_vinit): When no server address at all
53618 is given default to loopback.
53619
f2ac4868
RM
536202010-08-24 Roland McGrath <roland@redhat.com>
53621
09055553
RM
53622 * configure.in: Remove config-name.h generation.
53623 * configure: Regenerated.
53624 * config-name.in: File removed.
53625 * scripts/config-uname.sh: New file.
53626 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53627 ($(objdir)config-name.h): New target.
53628
f2ac4868
RM
53629 * sunrpc/rpc_parse.h: Avoid nested comment.
53630
73f27d5e
RH
536312010-08-24 Richard Henderson <rth@redhat.com>
53632 Ulrich Drepper <drepper@redhat.com>
53633 H.J. Lu <hongjiu.lu@intel.com>
53634
53635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53637 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53638 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53639 _mm_alignr_epi8 with _mm_loadu_si128.
53640 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53641 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53642 (__m128i_shift_right): Removed.
53643 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53644 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53645 * sysdeps/x86_64/multiarch/varshift.h: New file.
53646 * sysdeps/x86_64/multiarch/varshift.S: New file.
53647
84b9230c
MF
536482010-08-21 Mike Frysinger <vapier@gentoo.org>
53649
53650 * configure.in: Move assembler checks to before sysdep dir checking.
53651
9bbd0ddc
PB
536522010-08-20 Petr Baudis <pasky@suse.cz>
53653
53654 * LICENSES: Sync the sunrpc license.
53655
9da4bb31
UD
536562010-08-19 Ulrich Drepper <drepper@redhat.com>
53657
a7ab6ec8
UD
53658 * sunrpc/auth_des.c: Update copyright notice once again.
53659 * sunrpc/auth_none.c: Likewise.
53660 * sunrpc/auth_unix.c: Likewise.
53661 * sunrpc/authdes_prot.c: Likewise.
53662 * sunrpc/authuxprot.c: Likewise.
53663 * sunrpc/bindrsvprt.c: Likewise.
53664 * sunrpc/clnt_gen.c: Likewise.
53665 * sunrpc/clnt_perr.c: Likewise.
53666 * sunrpc/clnt_raw.c: Likewise.
53667 * sunrpc/clnt_simp.c: Likewise.
53668 * sunrpc/clnt_tcp.c: Likewise.
53669 * sunrpc/clnt_udp.c: Likewise.
53670 * sunrpc/clnt_unix.c: Likewise.
53671 * sunrpc/des_crypt.c: Likewise.
53672 * sunrpc/des_soft.c: Likewise.
53673 * sunrpc/get_myaddr.c: Likewise.
53674 * sunrpc/getrpcport.c: Likewise.
53675 * sunrpc/key_call.c: Likewise.
53676 * sunrpc/key_prot.c: Likewise.
53677 * sunrpc/openchild.c: Likewise.
53678 * sunrpc/pm_getmaps.c: Likewise.
53679 * sunrpc/pm_getport.c: Likewise.
53680 * sunrpc/pmap_clnt.c: Likewise.
53681 * sunrpc/pmap_prot.c: Likewise.
53682 * sunrpc/pmap_prot2.c: Likewise.
53683 * sunrpc/pmap_rmt.c: Likewise.
53684 * sunrpc/rpc/auth.h: Likewise.
53685 * sunrpc/rpc/auth_unix.h: Likewise.
53686 * sunrpc/rpc/clnt.h: Likewise.
53687 * sunrpc/rpc/des_crypt.h: Likewise.
53688 * sunrpc/rpc/key_prot.h: Likewise.
53689 * sunrpc/rpc/netdb.h: Likewise.
53690 * sunrpc/rpc/pmap_clnt.h: Likewise.
53691 * sunrpc/rpc/pmap_prot.h: Likewise.
53692 * sunrpc/rpc/pmap_rmt.h: Likewise.
53693 * sunrpc/rpc/rpc.h: Likewise.
53694 * sunrpc/rpc/rpc_des.h: Likewise.
53695 * sunrpc/rpc/rpc_msg.h: Likewise.
53696 * sunrpc/rpc/svc.h: Likewise.
53697 * sunrpc/rpc/svc_auth.h: Likewise.
53698 * sunrpc/rpc/types.h: Likewise.
53699 * sunrpc/rpc/xdr.h: Likewise.
53700 * sunrpc/rpc_clntout.c: Likewise.
53701 * sunrpc/rpc_cmsg.c: Likewise.
53702 * sunrpc/rpc_common.c: Likewise.
53703 * sunrpc/rpc_cout.c: Likewise.
53704 * sunrpc/rpc_dtable.c: Likewise.
53705 * sunrpc/rpc_hout.c: Likewise.
53706 * sunrpc/rpc_main.c: Likewise.
53707 * sunrpc/rpc_parse.c: Likewise.
53708 * sunrpc/rpc_parse.h: Likewise.
53709 * sunrpc/rpc_prot.c: Likewise.
53710 * sunrpc/rpc_sample.c: Likewise.
53711 * sunrpc/rpc_scan.c: Likewise.
53712 * sunrpc/rpc_scan.h: Likewise.
53713 * sunrpc/rpc_svcout.c: Likewise.
53714 * sunrpc/rpc_tblout.c: Likewise.
53715 * sunrpc/rpc_util.c: Likewise.
53716 * sunrpc/rpc_util.h: Likewise.
53717 * sunrpc/rpcinfo.c: Likewise.
53718 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53719 * sunrpc/rpcsvc/key_prot.x: Likewise.
53720 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53721 * sunrpc/rpcsvc/mount.x: Likewise.
53722 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53723 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53724 * sunrpc/rpcsvc/rex.x: Likewise.
53725 * sunrpc/rpcsvc/rstat.x: Likewise.
53726 * sunrpc/rpcsvc/rusers.x: Likewise.
53727 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53728 * sunrpc/rpcsvc/spray.x: Likewise.
53729 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53730 * sunrpc/rtime.c: Likewise.
53731 * sunrpc/svc.c: Likewise.
53732 * sunrpc/svc_auth.c: Likewise.
53733 * sunrpc/svc_authux.c: Likewise.
53734 * sunrpc/svc_raw.c: Likewise.
53735 * sunrpc/svc_run.c: Likewise.
53736 * sunrpc/svc_simple.c: Likewise.
53737 * sunrpc/svc_tcp.c: Likewise.
53738 * sunrpc/svc_udp.c: Likewise.
53739 * sunrpc/svc_unix.c: Likewise.
53740 * sunrpc/svcauth_des.c: Likewise.
53741 * sunrpc/xcrypt.c: Likewise.
53742 * sunrpc/xdr.c: Likewise.
53743 * sunrpc/xdr_array.c: Likewise.
53744 * sunrpc/xdr_float.c: Likewise.
53745 * sunrpc/xdr_mem.c: Likewise.
53746 * sunrpc/xdr_rec.c: Likewise.
53747 * sunrpc/xdr_ref.c: Likewise.
53748 * sunrpc/xdr_sizeof.c: Likewise.
53749 * sunrpc/xdr_stdio.c: Likewise.
53750
9da4bb31
UD
53751 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53752 handling.
53753
bdaa77bc
AS
537542010-08-19 Andreas Schwab <schwab@redhat.com>
53755
53756 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53757
fe2f79db
LM
537582010-08-19 Luis Machado <luisgpm@br.ibm.com>
53759
53760 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53761 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53762 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53763 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53764 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53765 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53766 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53767 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53768 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53769 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53770 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53771 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53772 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53773 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53774
b9b42ee0
AB
537752010-07-26 Anton Blanchard <anton@samba.org>
53776
53777 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53778 * malloc/arena.c (heap_trim): Likewise.
53779
1c06ba31
UD
537802010-08-16 Ulrich Drepper <drepper@redhat.com>
53781
53782 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53783 here. Not...
53784 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53785 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53786
f8392f40
L
537872010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53788
53789 * sysdeps/i386/elf/Makefile: New file.
53790
3162f12e
AS
537912010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53792
53793 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53794 from fanotify_init.
53795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53797
28c90b2c
UD
537982010-08-15 Ulrich Drepper <drepper@redhat.com>
53799
53800 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53801 of strncasecmp_l.
1feccb6c 53802 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53803
ca6bb004
UD
538042010-08-14 Ulrich Drepper <drepper@redhat.com>
53805
e9f82e0d
UD
53806 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53807 strncase_l-nonascii.
53808 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53809 Add strncase_l-ssse3.
53810 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53811 * sysdeps/x86_64/strcmp.S: Likewise.
53812 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53813 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53814 * sysdeps/x86_64/strncase.S: New file.
53815 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53816 * sysdeps/x86_64/strncase_l.S: New file.
53817 * string/Makefile (strop-tests): Add strncasecmp.
53818 * string/test-strncasecmp.c: New file.
53819
53820 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53821 warning.
53822
ca6bb004
UD
53823 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53824 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53825
052fa7b3
AS
538262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53827
53828 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53829
962dba78
UD
538302010-08-12 Ulrich Drepper <drepper@redhat.com>
53831
53832 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53833 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53834 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53835
bebff237
AM
538362010-05-01 Alan Modra <amodra@gmail.com>
53837
53838 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53839 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53840 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53841 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53842 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53843 tidying. Don't tail-call __sigjmp_save for static lib.
53844 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53845 save location.
53846 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53847 (CALL_MCOUNT): Add eh info, and nop after bl.
53848 (TAIL_CALL_SYSCALL_ERROR): New macro.
53849 (PSEUDO_RET): Use it.
53850 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53851 Correct save location of integer regs and cr.
53852 (_dl_profile_resolve): Correct cr save location. Delete nops
53853 after bl when SHARED. Reduce cfi size a little by better
53854 placement of cfi directives.
53855 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53856 make a stack frame. Instead use parm save area as a temp.
53857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53858 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53860 Don't make a stack frame for parent, use parm save area.
53861 Increase child stack frame to 112 bytes. Don't save unused reg,
53862 and adjust reg usage. Set up cfi on error recovery and
53863 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53865 (__makecontext): Add dummy nop after jump to exit.
53866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53867 Use correct parm save area and cr save, reduce stack frame.
53868 Correct cfi for possible PSEUDO_RET frame setup.
53869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53870 Branch to local label emitted by PSEUDO_RET rather than
53871 __syscall_error.
53872
02637374
AS
538732010-08-12 Andreas Schwab <schwab@redhat.com>
53874
53875 [BZ #11904]
53876 * locale/programs/locale.c (print_assignment): New function.
53877 (show_locale_vars): Use it.
53878
c3e2f19b
UD
538792010-08-11 Ulrich Drepper <drepper@redhat.com>
53880
3cdaa6ad
UD
53881 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53882 field.
53883 (struct statfs64): Likewise.
53884 (_STATFS_F_FLAGS): Define.
53885 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53886 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53887 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53888 (ST_VALID): Define locally.
53889 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53890 __statvfs_getflags, use the provided value.
53891 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53892 __ASSUME_STATFS_F_FLAGS.
53893
754f7da3
UD
53894 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53895
10b3bedc
UD
53896 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53897 Add sys/fanotify.h.
53898 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53899 fanotify_mask for GLIBC_2.13.
53900 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53901 fanotify_init and fanotify_mark.
53902 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53903 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53904
c08fb0d7
UD
53905 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53906 Add prlimit.
53907 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53908 prlimit64 for GLIBC_2.13.
53909 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53910 prlimit64.
53911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53912 syscall.
53913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53914 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53915 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53916 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53918 add prlimit alias.
53919 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53920
15bac72b
UD
53921 [BZ #11903]
53922 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53923 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53924
c3e2f19b
UD
53925 * nss/Makefile: Add rules to build and run tst-nss-test1.
53926 * shlib-versions: Add entry for libnss_test1.
53927 * nss/nss_test1.c: New file.
53928 * nss/tst-nss-test1.c: New file.
53929
53930 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53931 (__nss_configure_lookup): Set appropriate entry in
53932 __nss_configure_lookup to true.
53933 * nss/nsswitch.h: Define enum with indeces of databases in
53934 databases and __nss_database_custom arrays. Declare
53935 __nss_database_custom.
53936 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53937 to avoid using nscd when custom rules are installed.
53938 * nss/getXXbyYY_r.c: Likewise.
53939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53940
53941 * nss/nss_files/files-parse.c: Whitespace fixes.
53942
f15ce4d8
UD
539432010-08-09 Ulrich Drepper <drepper@redhat.com>
53944
53945 [BZ #11883]
53946 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53947 * posix/fnmatch_loop.c: Likewise.
53948
d22e4cc9
AK
539492010-07-17 Andi Kleen <ak@linux.intel.com>
53950
53951 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53952 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53953 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53954 * Versions.def [GLIBC_2.13]: Add.
53955
805bc17d
UD
539562010-08-06 Ulrich Drepper <drepper@redhat.com>
53957
53958 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53959 Also fail if tpwd after pwuid call is NULL.
53960
5a42321d
ST
539612010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53962
53963 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53964 when converting to ms.
53965
fd3ebeda
ST
539662010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53967
53968 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53969 EOPNOTSUPP errors with ENOTTY.
53970 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53971 EOPNOTSUPP errors with ENOTTY.
53972
73507d3a
UD
539732010-07-31 Ulrich Drepper <drepper@redhat.com>
53974
53975 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53976 Add strcasecmp_l-ssse3.
53977 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53978 strcasecmp.
53979 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53980 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53981 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53982
fe36dd02
UD
539832010-07-30 Ulrich Drepper <drepper@redhat.com>
53984
66f6765a
UD
53985 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53986
42e08a54
UD
53987 * string/Makefile (strop-tests): Add strcasecmp.
53988 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53989 strcasecmp_l-nonascii.
53990 (gen-as-const-headers): Add locale-defines.sym.
53991 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53992 * sysdeps/x86_64/strcasecmp.S: New file.
53993 * sysdeps/x86_64/strcasecmp_l.S: New file.
53994 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53995 * sysdeps/x86_64/locale-defines.sym: New file.
53996 * string/test-strcasecmp.c: New file.
53997
fe36dd02
UD
53998 * string/test-strcasestr.c: Test both ends of the range of characters.
53999 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54000
48cbc0d6
RM
540012010-07-29 Roland McGrath <roland@redhat.com>
54002
76e6d6bc 54003 [BZ #11856]
48cbc0d6
RM
54004 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54005
880113d9
UD
540062010-07-27 Ulrich Drepper <drepper@redhat.com>
54007
54008 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54009 for ld.so.
54010
deb9cabb
AS
540112010-07-27 Andreas Schwab <schwab@redhat.com>
54012
54013 * manual/memory.texi (Malloc Tunable Parameters): Document
54014 M_PERTURB.
54015
1c7570ff
RM
540162010-07-26 Roland McGrath <roland@redhat.com>
54017
54018 [BZ #11840]
54019 * configure.in (-fgnu89-inline check): Set and substitute
54020 gnu89_inline, not libc_cv_gnu89_inline.
54021 * configure: Regenerated.
54022 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54023
24fb0f88
UD
540242010-07-26 Ulrich Drepper <drepper@redhat.com>
54025
54026 * string/test-strnlen.c: New file.
54027 * string/Makefile (strop-tests): Add strnlen.
54028 * string/tester.c (test_strnlen): Add a few more test cases.
54029 * string/tst-strlen.c: Better error reporting.
54030
54031 * sysdeps/x86_64/strnlen.S: New file.
54032
8e96b93a
UD
540332010-07-24 Ulrich Drepper <drepper@redhat.com>
54034
54035 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54036 lower-latency instructions.
54037
dbc676d4
UD
540382010-07-23 Ulrich Drepper <drepper@redhat.com>
54039
54040 * string/test-strcasestr.c: New file.
54041 * string/test-strstr.c: New file.
54042 * string/Makefile (strop-tests): Add strstr and strcasestr.
54043 * string/str-two-way.h: Don't undefine MAX.
54044 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54045
f6a31e0e
AS
540462010-07-21 Andreas Schwab <schwab@redhat.com>
54047
54048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54049 strcasestr-nonascii.
54050 (CFLAGS-strcasestr-nonascii.c): Define.
54051 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54052 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54053 Remove unused attribute.
54054
5dbc3b6c
RM
540552010-07-20 Roland McGrath <roland@redhat.com>
54056
54057 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54058 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54059 ld.so.cache was broken. With it, there is no way to disable dsocaps
54060 like LD_HWCAP_MASK can disable hwcaps.
54061
23d101d8
EPM
540622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54063
54064 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54065
cc9f2e47
UD
540662010-07-16 Ulrich Drepper <drepper@redhat.com>
54067
54068 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54069 call in strcasestr.
54070 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54071 __strcasestr_sse42_nonascii.
54072 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54073 strcasestr-nonascii.c.
54074 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54075
77c1b069
LM
540762010-06-15 Luis Machado <luisgpm@br.ibm.com>
54077
54078 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54079 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54080 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54081 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54082
440566c3
UD
540832010-07-09 Ulrich Drepper <drepper@redhat.com>
54084
54085 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54086 fcntl.
54087
5be9d05d
AS
540882010-07-06 Andreas Schwab <schwab@redhat.com>
54089
c30b7ee2 54090 [BZ #11577]
5be9d05d
AS
54091 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54092 dl_signal_cerror.
54093
8a492a67
UD
540942010-07-06 Ulrich Drepper <drepper@redhat.com>
54095
54096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54097 _PC_PIPE_BUF using F_GETPIPE_SZ.
54098
713df3d5
RM
540992010-07-05 Roland McGrath <roland@redhat.com>
54100
54101 * manual/arith.texi (Rounding Functions): Fix rint description
54102 implicit in round description.
54103
702e8f14
UD
541042010-07-02 Ulrich Drepper <drepper@redhat.com>
54105
54106 * elf/Makefile: Fix linking for a few tests to make recent linker
54107 happy.
54108
52ed8be9
AS
541092010-06-30 Andreas Schwab <schwab@redhat.com>
54110
54111 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54112 $(common-objpfx)libc_nonshared.a.
54113
f47c9a11
LM
541142010-06-21 Luis Machado <luisgpm@br.ibm.com>
54115
54116 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54117 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54118 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54119 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54120 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54121 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54122 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54123 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54138 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54139 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54140 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54141 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54142 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54143 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54144 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54145 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54146 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54147 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54148 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54149 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54164
6fb8cbcb
L
541652010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54166
54167 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54168 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54169 * string/memmove.c (memmove): Renamed to ...
54170 (MEMMOVE): ...this. Default to memmove.
54171 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54172 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54173 (END_CHK): Define.
54174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54175 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54176 mempcpy-ssse3-back memmove-ssse3-back.
54177 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54178 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54179 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54180 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54181 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54182 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54183 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54184 * sysdeps/x86_64/multiarch/memmove.c: New file.
54185 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54186 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54187 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54188 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54189 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54190 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54191 Define.
54192 (index_Fast_Copy_Backward): Define.
54193 (HAS_ARCH_FEATURE): Define.
54194 (HAS_FAST_REP_STRING): Define.
54195 (HAS_FAST_COPY_BACKWARD): Define.
54196
4e733bac 541972010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
54198
54199 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54200 Restore proper fallback handling.
54201
63c4ed22
UD
542022010-06-19 Ulrich Drepper <drepper@redhat.com>
54203
ac2b484c
UD
54204 [BZ #11701]
54205 * posix/group_member.c (__group_member): Correct checking loop.
54206
63c4ed22
UD
54207 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54208 OOM in getpwuid_r correctly. Return error number when the caller
54209 should return, otherwise -1.
54210 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54211 call returning > 0 value.
54212 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54213
765ade4b
AS
542142010-06-07 Andreas Schwab <schwab@redhat.com>
54215
54216 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54217 libc_nonshared.a from targets in modules-names.
54218
80da2e09
KS
542192010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54220
54221 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54222 requires it.
54223
158db122
LM
542242010-06-10 Luis Machado <luisgpm@br.ibm.com>
54225
54226 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54227 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54228 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54229 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54230
caa78cf8
AS
542312010-06-02 Andreas Schwab <schwab@redhat.com>
54232
54233 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54234
b2ef2c01
UD
542352010-06-14 Ulrich Drepper <drepper@redhat.com>
54236
54237 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54238 and F_GETPIPE_SZ.
54239 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54243 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54245
fbd643b6
RM
542462010-06-14 Roland McGrath <roland@redhat.com>
54247
54248 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54249
f32f2869
JJ
542502010-06-07 Jakub Jelinek <jakub@redhat.com>
54251
54252 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54253 __REDIRECT followed by __THROW.
54254 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54255 * posix/getopt.h (getopt): Likewise.
54256
2a50c078
EPM
542572010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54258
54259 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54260 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54261 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54262 in AT_FLAGS.
54263 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54264 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54265
eb5ad2eb
LM
542662010-05-28 Luis Machado <luisgpm@br.ibm.com>
54267
54268 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54269
3c88fe1e
L
542702010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54271
54272 [BZ #11640]
54273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54274 Properly check family and model.
54275
d2f73151
TY
542762010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54277
54278 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54279
ebd2e13d
LM
542802010-05-24 Luis Machado <luisgpm@br.ibm.com>
54281
54282 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54283
b32b8b45
UD
542842010-05-21 Ulrich Drepper <drepper@redhat.com>
54285
54286 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54287 symbol reference.
54288
9acbe24d
AS
542892010-05-19 Andreas Schwab <schwab@redhat.com>
54290
54291 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54292 symbol reference.
54293
f0ccf6ea
AS
542942010-05-21 Andreas Schwab <schwab@redhat.com>
54295
3d04ff3a
AS
54296 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54297 and internal_recvmmsg.
54298 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54299 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54300 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54301 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54302
f0ccf6ea
AS
54303 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54304 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54305 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54306
5b08ac57
AS
543072010-05-20 Andreas Schwab <schwab@redhat.com>
54308
54309 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54310
4828935d
LM
543112010-05-17 Luis Machado <luisgpm@br.ibm.com>
54312
54313 POWER7 optimizations.
54314 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54315 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54316
373d545e
UD
543172010-05-19 Ulrich Drepper <drepper@redhat.com>
54318
54319 * version.h: Update for 2.13 development version.
54320
21a2b1ae
AS
543212010-05-12 Andrew Stubbs <ams@codesourcery.com>
54322
54323 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54324 exceptions. Return 0.
54325
3f7dcb2b
RM
543262010-05-07 Roland McGrath <roland@redhat.com>
54327
54328 * elf/ldconfig.c (main): Add a const.
54329
5f24d53a 543302010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 54331
a160f8d8
UD
54332 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54333 (args_options): Add no-idn option.
54334 (ahosts_keys_int): Add idn_flags to ai_flags.
54335 (parse_option): Handle 'i' option to clear idn_flags.
54336
5f24d53a
UD
54337 * malloc/malloc.c (_int_free): Possible race in the most recently
54338 added check. Only act on the data if no current modification
54339 happened.
265bb1ce
UD
54340
54341See ChangeLog.17 for earlier changes.
This page took 7.689383 seconds and 5 git commands to generate.