]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix ldbl-128ibm coshl spurious overflows (bug 16407).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b821f414
JM
12014-01-07 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16407]
4 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5 Increase overflow threshold.
6
94c8a4bc
OB
72014-01-07 Ondřej Bílka <neleai@seznam.cz>
8
9 [BZ #14286]
10 * stdio-common/vfprintf.c: Check for integer overflow.
11
87ded0c3
AK
122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13
14 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15 the first argument and return value of __tls_get_addr_internal.
16
c5eebdd0
AK
172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18
19 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21
05d138ef
AK
222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23
24 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25 * sysdeps/s390/rtld-global-offsets.sym: New file.
26 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27 GLIBC_2.19 symbol.
28 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
29 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
30 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31 ... this.
32 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
34 ... this.
35 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36 Regenerate.
37 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38 Regenerate.
39 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40 halfs of GPRs for high_gprs contexts.
41 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
43 field.
44 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45 uc_flags field.
46 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47 64 bit versions:
48 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
49 for high GPRs (uc_high_gprs) and for future extensions
50 (__reserved).
51 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52 for future extensions (__reserved).
53 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54 64 bit versions:
55 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56 SC_HIGHGPRS offset definition.
57 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
59
93a45ff1
AK
602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61
62 * Versions.def: Add GLIBC_2.19 for libpthread.
63 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
64 siglongjmp for libpthread with GLIBC_2.19 symver.
65 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
66 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
67 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
68 * sysdeps/s390/__longjmp.c: New file.
69 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
70 * sysdeps/s390/longjmp.c: New file.
71 * sysdeps/s390/setjmp.S: New file.
72 * sysdeps/s390/sigjmp.S: New file.
73 * sysdeps/s390/v1-longjmp.c: New file.
74 * sysdeps/s390/v1-setjmp.h: New file.
75 * sysdeps/s390/v1-sigjmp.c: New file.
76 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
77 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
78 GLIBC_2.19 version.
79 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
80 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
81 versioned symbols for ____longjmp_chk.
82 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
83 Likewise.
84 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
85 Regenerate.
86 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
87 Regenerate.
88 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
89 Regenerate.
90 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
91 Regenerate.
92 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
93 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
94 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
95 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
96 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
97 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
98 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
99 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
100 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
101 * sysdeps/s390/rtld-__longjmp.c: New file.
102 * sysdeps/s390/rtld-setjmp.S: New file.
103
eb3fc44b
JM
1042014-01-06 Joseph Myers <joseph@codesourcery.com>
105
106 [BZ #16400]
107 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
108 Return -__logl (x) for small positive arguments without evaluating
109 a polynomial.
110
9341dde4
MF
1112014-01-06 Mike Frysinger <vapier@gentoo.org>
112
113 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
114 Rename to ...
115 (__ptrace_peeksiginfo_args): ... this.
116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
118 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
119
4cff0293
AM
1202014-01-06 Allan McRae <allan@archlinux.org>
121
122 * inet/netinet/in.h: Fix typo in comment.
123
75595dcf
AJ
1242014-01-05 Andreas Jaeger <aj@suse.de>
125
126 * sysdeps/i386/fpu/libm-test-ulps: Update.
127
79c1e109
AM
1282014-01-05 Allan McRae <allan@archlinux.org>
129
dd804818
AM
130 * po/libc.pot: Regenerated.
131
79c1e109
AM
132 * malloc/memusagestat.c: Fix gettext call formatting.
133
0c813d1f
SK
1342014-01-04 Sami Kerola <kerolasa@iki.fi>
135
136 * nscd/nscd.c: Improve usage() output.
137
20f4a8d9
MF
1382014-01-04 Mike Frysinger <vapier@gentoo.org>
139
140 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
141 * sysdeps/unix/sysv/linux/configure: Regenerated.
142 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
143 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
144
22562bb2
JM
1452014-01-03 Joseph Myers <joseph@codesourcery.com>
146
147 [BZ #16390]
148 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
149 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
150
d7ad2d9b
AZ
1512014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152
153 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
154 extra tokens at end of #undef directive.
155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
156 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
157 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
158
7f507ee1
AH
1592014-01-03 Andrew Hunter <ahh@google.com>
160
0da43124 161 * elf/dl-open.c (dl_open_worker): New comment.
7f507ee1
AH
162 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
163 atomic_compare_and_exchange_bool_acq
164 (_dl_allocate_static_tls): Block signals.
165 * elf/dl-tls.c (allocate_and_init): Return void.
166 (_dl_update_slotinfo): Block signals, use atomic update.
167
7dd009d8
JM
1682014-01-03 Joseph Myers <joseph@codesourcery.com>
169
24db925a
JM
170 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
171
7dd009d8
JM
172 * math/auto-libm-test-in: Mark various tests with
173 xfail-rounding:ldbl-128ibm.
174 * math/auto-libm-test-out: Regenerated.
175
396e3ecf
JM
1762014-01-02 Joseph Myers <joseph@codesourcery.com>
177
819e5d50
JM
178 [BZ #16386]
179 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
180 numbers with subnormal high part when calculating exponent.
181
90b6a1e5
JM
182 [BZ #16385]
183 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
184 fabs.
185
396e3ecf
JM
186 [BZ #16384]
187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
188 M_LN2l.
189 (__ieee754_acoshl): Use __log1pl not __log1p.
190
6c8dbf00
OB
1912013-01-02 Ondřej Bílka <neleai@seznam.cz>
192
193 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
194 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
195 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
196 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
197 Convert to GNU style.
198 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
199 mem2mem_check, mem2chunk_check, top_check, realloc_check,
200 memalign_check, __malloc_set_state): Likewise.
201 * malloc/mallocbug.c (main): Likewise.
202 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
203 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
204 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
205 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
206 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
207 * malloc/malloc.h: Likewise.
208 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
209 memalignhook, reallochook, mabort): Likewise.
210 * malloc/mcheck.h: Likewise.
211 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
212 mmap64, mremap, munmap, dest): Likewise.
213 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
214 * malloc/morecore.c (__default_morecore): Likewise.
215 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
216 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
217 _obstack_allocated_p, obstack_free, _obstack_memory_used,
218 print_and_abort): Likewise.
219 * malloc/obstack.h: Likewise.
220 * malloc/set-freeres.c (__libc_freeres): Likewise.
221 * malloc/tst-mallocstate.c (main): Likewise.
222 * malloc/tst-mtrace.c (main): Likewise.
223 * malloc/tst-realloc.c (do_test): Likewise.
224
d4124212
SP
2252013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
226
9a3c6a6f
SP
227 [BZ #16366]
228 * nscd/netgroupcache.c (do_notfound): New function.
229 (addgetnetgrentX): Use it.
230
d4124212
SP
231 [BZ # 16365]
232 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
233 NSS_STATUS_NOTFOUND.
234
97b9a009
JM
2352014-01-01 Joseph Myers <joseph@codesourcery.com>
236
237 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
239
d4697bc9
AM
2402014-01-01 Allan McRae <allan@archlinux.org>
241
ddb3687f
AM
242 * scripts/update-copyrights: Update configure input file suffix.
243
88726d48
AM
244 * NEWS: Update copyright year.
245 * catgets/gencat.c: Likewise.
246 * csu/version.c: Likewise.
247 * debug/catchsegv.sh: Likewise.
248 * debug/pcprofiledump.c: Likewise.
249 * debug/xtrace.sh: Likewise.
250 * elf/ldconfig.c: Likewise.
251 * elf/ldd.bash.in: Likewise.
252 * elf/pldd.c: Likewise.
253 * elf/sotruss.ksh: Likewise.
254 * elf/sprof.c: Likewise.
255 * iconv/iconv_prog.c: Likewise.
256 * iconv/iconvconfig.c: Likewise.
257 * locale/programs/locale.c: Likewise.
258 * locale/programs/localedef.c: Likewise.
259 * login/programs/pt_chown.c: Likewise.
260 * malloc/memusage.sh: Likewise.
261 * malloc/memusagestat.c: Likewise.
262 * malloc/mtrace.pl: Likewise.
263 * manual/libc.texinfo: Likewise.
264 * nscd/nscd.c: Likewise.
265 * nss/getent.c: Likewise.
266 * nss/makedb.c: Likewise.
267 * posix/getconf.c: Likewise.
268 * scripts/test-installation.pl: Likewise.
269
d4697bc9
AM
270 * All files with FSF copyright notices: Update copyright dates
271 using scripts/update-copyrights.
272 * intl/plural.c: Regenerated.
273 * locale/programs/charmap-kw.h: Likewise.
274 * locale/programs/locfile-kw.h: Likewise.
275
c8590f9d
MF
2762013-12-31 Mike Frysinger <vapier@gentoo.org>
277
278 * sysdeps/unix/sysv/linux/configure: Regenerated.
279 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
280 the linux/fanotify.h header.
281 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
282 HAVE_LINUX_FANOTIFY_H is defined.
283
b19221b9
SP
2842013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
285
dd1d85e5
SP
286 * benchtests/cos-inputs: New inputs.
287 * benchtests/sin-inputs: Likewise.
288
1acbb90f
SP
289 * benchtests/atan-inputs: New inputs. Fix name of multiple
290 precision fallback inputs.
291
4c012ed3
SP
292 * benchtests/atanh-inputs: New inputs.
293 * benchtests/tanh-inputs: Likewise.
294
eff98324
SP
295 * benchtests/acosh-inputs: New inputs.
296 * benchtests/asinh-inputs: Likewise.
297
ce641152
SP
298 * benchtests/cosh-inputs: New inputs.
299 * benchtests/sinh-inputs: Likewise.
300
b19221b9
SP
301 * benchtests/acos-inputs: Add more inputs.
302 * benchtests/asin-inputs: Likewise.
303
030a4976 3042013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 305
030a4976 306 [BZ #16375]
9dcc8f11
VS
307 * manual/arith.texi: Fix spelling.
308 * manual/charset.texi: Likewise.
309 * manual/errno.texi: Likewise.
310 * manual/filesys.texi: Likewise.
311 * manual/lang.texi: Likewise.
312 * manual/llio.texi: Likewise.
313 * manual/locale.texi: Likewise.
314 * manual/message.texi: Likewise.
315 * manual/resource.texi: Likewise.
316 * manual/search.texi: Likewise.
317 * manual/setjmp.texi: Likewise.
318 * manual/stdio.texi: Likewise.
319 * manual/string.texi: Likewise.
320 * manual/sysinfo.texi: Likewise.
321 * manual/time.texi: Likewise.
322
11520a57
CD
3232013-12-27 Carlos O'Donell <carlos@redhat.com>
324
325 * po/sl.po: New file.
326
471103ae
MF
3272013-12-27 Mike Frysinger <vapier@gentoo.org>
328
329 * .gitignore: Add core/.gdbinit/.gdb_history.
330
6c9642ed
AM
3312013-12-27 Allan McRae <allan@archlinux.org>
332
333 [BZ #16369]
334 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
335 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
336
3f637079
BM
3372013-12-24 Brooks Moses <bmoses@google.com>
338
339 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
340 all compilers that claim C++98 compliance, not just GCC.
341 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
342 Likewise.
343
abc26e99
MK
3442013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
345
346 * NEWS: Restore accidentally deleted bug-fix entries.
347
362b47fe
MK
3482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
349 Ondřej Bílka <neleai@seznam.cz>
350
351 [BZ #15073]
352 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 353 have_lock.
362b47fe 354
b9bcbbcb
OB
3552013-12-23 Ondřej Bílka <neleai@seznam.cz>
356
357 [BZ #12986]
358 * manual/stdio.texi (String Input Conversions): Clarify that character
359 classes are not supported.
360
fb55fcd2
AZ
3612013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362
363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
364
ef7344f0
JM
3652013-12-22 Joseph Myers <joseph@codesourcery.com>
366
4f40e4b3
JM
367 [BZ #16337]
368 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
369 Calculate results for small negative arguments directly rather
370 than using reflection formula with special underflow handling.
371
ef7344f0
JM
372 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
373 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
374 sysdeps/unix/bsd/bsd4.4/syscalls.list.
375 (fchflags): Likewise.
376 (revoke): Likewise.
377 (setlogin): Likewise.
378 (sigaltstack): Likewise.
379 (wait4): Likewise.
380 (sigblock): Remove.
381 (sigsetmask): Likewise.
382 (wait3): Likewise.
383 (waitpid): Likewise.
384 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
385 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
386 file.
387 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
388 * sysdeps/unix/bsd/Makefile: ... here.
389 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
390 * sysdeps/unix/bsd/Versions: ... here.
391 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
392 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
393 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
394 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
395 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
396 * sysdeps/unix/bsd/sigblock.c: ... here.
397 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
398 * sysdeps/unix/bsd/sigsetmask.c: ... here.
399 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
400 * sysdeps/unix/bsd/sigvec.c: ... here.
401 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
402 * sysdeps/unix/bsd/tcdrain.c: ... here.
403 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
404 * sysdeps/unix/bsd/tcgetattr.c: ... here.
405 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
406 * sysdeps/unix/bsd/tcsetattr.c: ... here.
407 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
408 * sysdeps/unix/bsd/wait.c: ... here.
409 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
410 * sysdeps/unix/bsd/wait3.c: ... here.
411 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
412 * sysdeps/unix/bsd/waitpid.c: ... here.
413
5b0626b9
JM
4142013-12-21 Joseph Myers <joseph@codesourcery.com>
415
416 [BZ #16356]
417 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
418 round-to-nearest for [!USE_AS_EXPM1L].
419 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
420 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
421 more tests of exp and exp10. Expect some exp10 tests to miss
422 exceptions or fail in directed rounding modes.
423 * math/auto-libm-test-out: Regenerated.
424 * math/libm-test.inc (exp10_tonearest_test_data): New array.
425 (exp10_test_tonearest): New function.
426 (exp10_towardzero_test_data): New array.
427 (exp10_test_towardzero): New function.
428 (exp10_downward_test_data): New array.
429 (exp10_test_downward): New function.
430 (exp10_upward_test_data): New array.
431 (exp10_test_upward): New function.
432 (main): Call the new functions.
433 * sysdeps/i386/fpu/libm-test-ulps: Update.
434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
435
7fda5682
JM
4362013-12-20 Joseph Myers <joseph@codesourcery.com>
437
31e3a405
JM
438 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
439 asinh, atan, atan2, atanh, cbrt, cos and cosh.
440 * math/auto-libm-test-out: Regenerated.
441 * math/libm-test.inc (acosh_test_data): Add more tests.
442 (atanh_test_data): Likewise.
443 (ceil_test_data): Likewise.
444 (copysign_test_data): Likewise.
445 * sysdeps/i386/fpu/libm-test-ulps: Update.
446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
447
85bff96a
JM
448 * timezone/checktab.awk: Update from tzcode 2013i.
449 * timezone/private.h: Likewise.
450 * timezone/scheck.c: Likewise.
451 * timezone/tzfile.h: Likewise.
452 * timezone/tzselect.ksh: Likewise.
453 * timezone/zdump.c: Likewise.
454 * timezone/zic.c: Likewise.
455
b7867a3b
JM
456 * math/auto-libm-test-in: Add tests of cpow.
457 * math/auto-libm-test-out: Regenerated.
458 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
459 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
460 mpc_cc_c.
461 (func_calc_desc): Add mpc_cc_c union field.
462 (test_functions): Add cpow.
463 (special_fill_2pi): New function.
464 (special_real_inputs): Add 2pi.
465 (calc_generic_results): Handle mpc_cc_c.
466 * sysdeps/i386/fpu/libm-test-ulps: Update.
467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
468
7fda5682
JM
469 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
470 csqrt, ctan and ctanh.
471 * math/auto-libm-test-out: Regenerated.
472 * math/libm-test.inc (TEST_COND_x86_64): New macro.
473 (TEST_COND_x86): Likewise.
474 (ccos_test_data): Use AUTO_TESTS_c_c.
475 (ccosh_test_data): Likewise.
476 (cexp_test_data): Likewise.
477 (clog_test_data): Likewise.
478 (csqrt_test_data): Likewise.
479 (ctan_test_data): Likewise.
480 (ctan_tonearest_test_data): Likewise.
481 (ctan_towardzero_test_data): Likewise.
482 (ctan_downward_test_data): Likewise.
483 (ctan_upward_test_data): Likewise.
484 (ctanh_test_data): Likewise.
485 (ctanh_tonearest_test_data): Likewise.
486 (ctanh_towardzero_test_data): Likewise.
487 (ctanh_downward_test_data): Likewise.
488 (ctanh_upward_test_data): Likewise.
489 * math/gen-auto-libm-tests.c (func_calc_method): Add value
490 mpc_c_c.
491 (func_calc_desc): Add mpc_c_c union field.
492 (FUNC_mpc_c_c): New macro.
493 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
494 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
495 ctanh.
496 (special_fill_min_subnorm_p120): New function.
497 (special_real_inputs): Add min_subnorm_p120.
498 (calc_generic_results): Handle mpc_c_c.
499 * sysdeps/i386/fpu/libm-test-ulps: Update.
500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
501
5ff8d60e
SP
5022013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
503
392dd2de
SP
504 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
505 do_sin_slow): New functions.
506 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
507 cslow2, csloww1, csloww2): Use the new functions.
508
84ba214c
SP
509 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
510 Use M to change sign of result instead of X. Assume X is
511 positive.
512 (csloww1): Likewise.
513 (__sin): Adjust.
514 (__cos): Adjust.
515
975195e4
SP
516 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
517 arguments A and DA.
518 (__sin): Adjust.
519 (__cos): Likewise.
520
5ff8d60e
SP
521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
522 (__cos): Likewise.
523 (sloww1): Don't adjust sign of DX.
524 (csloww1): Likewise.
525 (sloww2): Use X directly and don't adjust sign of DX.
526 (csloww2): Likewise.
527
eb983568
JM
5282013-12-19 Joseph Myers <joseph@codesourcery.com>
529
64a17f1a
JM
530 * math/auto-libm-test-in: Add tests of cabs and carg.
531 * math/auto-libm-test-out: Regenerated.
532 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
533 (carg_test_data): Likewise.
534 * math/gen-auto-libm-tests.c (func_calc_method): Add value
535 mpc_c_f.
536 (func_calc_desc): Add mpc_c_f union field.
537 (test_functions): Add cabs and carg.
538 (calc_generic_results): Handle mpc_c_f.
539
eb983568
JM
540 * sysdeps/powerpc/powerpc32/libgcc-compat.S
541 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
542 as a macro and a compat symbol.
543 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
544 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
545 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
546 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
547 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
548 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
549 not use .hidden.
550 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
551 Likewise.
552 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
553 Likewise.
554 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
555 Likewise.
556 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
557 Likewise.
558 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
559 Likewise.
560 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
561 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
562 from GLIBC_2.3.2.
563
6eeb678a
AZ
5642013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
565
566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
567
063b2acb
PP
5682013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
569
570 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
571 (__signal_safe_memalign, __signal_safe_free): Use it.
572 (__signal_safe_realloc): Likewise.
573
6f6fc482
JM
5742013-12-19 Joseph Myers <joseph@codesourcery.com>
575
21fea2e2
JM
576 * manual/texinfo.tex: Update to version 2013-11-26.10 with
577 trailing whitespace removed.
578 * scripts/config.guess: Update to version 2013-11-29.
579 * scripts/config.sub: Update to version 2013-10-01.
580
6f6fc482
JM
581 * math/auto-libm-test-in: Add tests of sincos.
582 * math/auto-libm-test-out: Regenerated.
583 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
584 * math/gen-auto-libm-tests.c (func_calc_method): Add value
585 mpfr_f_11.
586 (func_calc_desc): Add mpfr_f_11 union field.
587 (test_functions): Add sincos.
588 (calc_generic_results): Handle mpfr_f_11.
589 * sysdeps/i386/fpu/libm-test-ulps: Update.
590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
591
83f5c32d
AS
5922013-12-19 Andreas Schwab <schwab@suse.de>
593
594 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
595 CALL_MCOUNT.
596 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
597 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
598 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
599
c688b419
JM
6002013-12-19 Joseph Myers <joseph@codesourcery.com>
601
335ee092
JM
602 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
603 * sysdeps/i386/fpu/libm-test-ulps: Update.
604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
605
f88acd39
JM
606 [BZ #16293]
607 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
608 round-to-nearest mode when using frndint.
609 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
610 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
611 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
612 Likewise.
613 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
614 sinh test to fail.
615 * math/auto-libm-test-out: Regenerated.
616 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
617 (TEST_COND_x86): Likewise.
618 (expm1_tonearest_test_data): New array.
619 (expm1_test_tonearest): New function.
620 (expm1_towardzero_test_data): New array.
621 (expm1_test_towardzero): New function.
622 (expm1_downward_test_data): New array.
623 (expm1_test_downward): New function.
624 (expm1_upward_test_data): New array.
625 (expm1_test_upward): New function.
626 (main): Run the new test functions.
627 * sysdeps/i386/fpu/libm-test-ulps: Update.
628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
629
c688b419
JM
630 * include/features.h: Update comment documenting feature test
631 macros. Mention _DEFAULT_SOURCE in comment.
632 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
633 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
634 _BSD_SOURCE and _SVID_SOURCE.
635 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
636 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
637 !_SVID_SOURCE]: Likewise.
638 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
639 (__USE_POSIX_IMPLICITLY): Define.
640 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
641 (_POSIX_SOURCE): Undefine and redefine.
642 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
643 (_POSIX_C_SOURCE): Likewise.
644 * manual/creature.texi (_DEFAULT_SOURCE): Document.
645 (Feature Test Macros): Update documentation of default features.
646
9f6e964c
RS
6472013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
648
649 * benchtests/Makefile: Add bench-strtok.
650 * benchtests/bench-strtok.c: New file: strtok benchtest.
651
ee0a148a
AM
6522013-12-19 Allan McRae <allan@archlinux.org>
653
654 * manual/install.texi: Suppress menu for plain text output.
655 * INSTALL: Regenerated.
656
1f33d36a
PP
6572013-12-18 Andrew Hunter <ahh@google.com>
658
659 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
660 (__signal_safe_malloc, __signal_safe_free): Likewise.
661 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
662 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
663 (__signal_safe_memalign, __signal_safe_malloc): New function.
664 (__signal_safe_free, __signal_safe_realloc): Likewise.
665 (__signal_safe_calloc): Likewise.
666 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
667 functions.
668 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
669
35e8f7ab
PP
6702013-12-18 Andrew Hunter <ahh@google.com>
671
672 * elf/Versions (ld): Add _dl_clear_dtv.
673 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
674 * elf/dl-tls.c (_dl_clear_dtv): New function.
675 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
676
69a17d9d
PP
6772013-12-18 Andrew Hunter <ahh@google.com>
678
679 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
680 (_dl_unmask_signals): Likewise.
681 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
682 (_dl_unmask_all_signals): Likewise.
683 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
684 (_dl_unmask_all_signals): Likewise.
685 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
686 (_dl_unmask_signals): Likewise.
687
b9ab448f
BM
6882013-12-18 Brooks Moses <bmoses@google.com>
689
690 [BZ #15846]
691 * misc/getauxval.c: Include errno.h.
692 (__getauxval): Set errno to ENOENT if the requested type is not
693 found.
694 * misc/sys/auxv.h (getauxval): Document that it may set errno;
695 don't declare with __attribute_const__.
696 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
697 * manual/startup.texi: Document that getauxval sets errno.
698
23776487
JM
6992013-12-18 Joseph Myers <joseph@codesourcery.com>
700
f889953b
JM
701 * math/auto-libm-test-in: Add tests of jn and yn.
702 * math/auto-libm-test-out: Regenerated.
703 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
704 (yn_test_data): Likewise.
705 * math/gen-auto-libm-tests.c (func_calc_method): Add value
706 mpfr_if_f.
707 (func_calc_desc): Add mpfr_if_f union field.
708 (FUNC_mpfr_if_f): New macro.
709 (test_functions): Add jn and yn.
710 (calc_generic_results): Assert type of second input for
711 mpfr_ff_f. Handle mpfr_if_f.
712 (output_for_one_input_case): Disable all checking for arguments
713 fitting floating-point types in case of an integer argument.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
716
23776487
JM
717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
718 Don't expect fegetround reference in libm.so.
719
cb756c6d
MS
7202013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
721
722 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
723 $(config-cflags-nofma).
724
2dec468f
JM
7252013-12-18 Joseph Myers <joseph@codesourcery.com>
726
5953eb3a
JM
727 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
728 * math/auto-libm-test-out: Regenerated.
729
2dec468f
JM
730 [BZ #16338]
731 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
732 to determine exponent and adjust argument to have exponent of -1.
733 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
734 log2.
735 * math/auto-libm-test-out: Regenerated.
736 * sysdeps/i386/fpu/libm-test-ulps: Update.
737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
738
4d84e6ad
OB
7392013-12-18 Ondřej Bílka <neleai@seznam.cz>
740
741 * manual/probes.texi: Remove cases when per-thread arenas are
742 disabled.
743
1818483b
AS
7442013-12-18 Andreas Schwab <schwab@suse.de>
745
746 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
747 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
748 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
749 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
750 * sysdeps/i386/i686/multiarch/Makefile: Update.
751 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
752
25de95bf
JM
7532013-12-17 Joseph Myers <joseph@codesourcery.com>
754
755 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
756 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
757
674762d9
PE
7582013-12-17 Paul Eggert <eggert@cs.ucla.edu>
759
0748546f
PE
760 Support TZ transition times < 00:00:00.
761 This is needed for version-3 tz-format files; it supports time
762 stamps past 2037 for America/Godthab (the only entry in the tz
763 database for which this change is relevant).
764 * manual/time.texi (TZ Variable): Document transition times
765 from -167:59:59 through -00:00:01.
766 * time/tzset.c (tz_rule): Time of day is now signed.
767 (__tzset_parse_tz): Parse negative time of day.
768
4480e934
PE
769 Document TZ transition times >= 25:00:00.
770 * manual/time.texi (TZ Variable): Document transition times from
771 25:00:00 through 167:59:59. These are already supported, and this
772 support will help with version-3 tz-format files.
773
69947401
PE
774 * manual/time.texi (TZ Variable): Modernize North America example
775 to reflect current (i.e., 2007-and-later) daylight saving rules.
776
674762d9
PE
777 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
778
7011c262
JM
7792013-12-17 Joseph Myers <joseph@codesourcery.com>
780
2fc6557e
JM
781 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
782 * sysdeps/unix/bsd/bits/stat.h: Likewise.
783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
785 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
786 * sysdeps/unix/bsd/bsdstat.h: Likewise.
787 * sysdeps/unix/bsd/clock.c: Likewise.
788 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
789 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
790 * sysdeps/unix/bsd/init-posix.c: Likewise.
791 * sysdeps/unix/bsd/poll.c: Likewise.
792 * sysdeps/unix/bsd/ptsname.c: Likewise.
793 * sysdeps/unix/bsd/seekdir.c: Likewise.
794 * sysdeps/unix/bsd/setegid.c: Likewise.
795 * sysdeps/unix/bsd/seteuid.c: Likewise.
796 * sysdeps/unix/bsd/setgid.c: Likewise.
797 * sysdeps/unix/bsd/setrgid.c: Likewise.
798 * sysdeps/unix/bsd/setruid.c: Likewise.
799 * sysdeps/unix/bsd/setsid.c: Likewise.
800 * sysdeps/unix/bsd/setuid.c: Likewise.
801 * sysdeps/unix/bsd/sigaction.c: Likewise.
802 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
803 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
804 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
805 * sysdeps/unix/bsd/telldir.c: Likewise.
806 * sysdeps/unix/bsd/times.c: Likewise.
807 * sysdeps/unix/bsd/usleep.c: Likewise.
808
029c7b25
JM
809 * misc/Makefile (install-lib): Remove libbsd-compat.a.
810 ($(objpfx)libbsd-compat.a): Remove rule.
811
7011c262
JM
812 * include/features.h (__FAVOR_BSD): Do not define.
813 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
814 features conflicting with POSIX.
815 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
816 (_BSD_SOURCE): Remove description of not being a subset of other
817 feature test macros.
818 * manual/job.texi (getpgrp): Do not document BSD version.
819 (getpgid): Do not document by reference to BSD getpgrp.
820 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
821 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
822 * signal/signal.h [__FAVOR_BSD]: Likewise.
823 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
824 instead of making contents conditional on [__FAVOR_BSD].
825 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
826
affb6f78
AZ
8272013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
828
829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
830
c88769dd
JM
8312013-12-17 Joseph Myers <joseph@codesourcery.com>
832
6432a540
JM
833 [BZ #16314]
834 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
835 values below 2**-450, not 2**-500.
836 * math/auto-libm-test-in: Don't allow spurious underflow from
837 hypot.
838 * math/auto-libm-test-out: Regenerated.
839
c88769dd
JM
840 [BZ #16316]
841 [BZ #16330]
842 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
843 values of ha and hb and sort them after adjusting subnormal
844 arguments.
845 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
846 Likewise.
847 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
848 values of ea and eb and sort them after adjusting subnormal
849 arguments.
850 * math/auto-libm-test-in: Do not expect some hypot tests of
851 subnormals to fail. Add more hypot tests.
852 * math/auto-libm-test-out: Regenerated.
853
29618f6b
KK
8542013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
855
856 [BZ #13304]
857 * sysdeps/sh/s_fma.c: New file.
858 * sysdeps/sh/s_fmaf.c: New file.
859 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
860 version.
861 * sysdeps/sh/Implies: Add sh/soft-fp.
862
eacfdfbf
RM
8632013-12-16 Roland McGrath <roland@hack.frob.com>
864
865 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
866 level of indirection to members `objname', `errstring', `malloced'.
867 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
868 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
869 it as the __longjmp argument (just pass 1 instead).
870 (_dl_catch_error): Initialize C with argument pointers and address of
871 volatile local ERRCODE rather than copying values out of C at return.
872
ff362e5b
JM
8732013-12-16 Joseph Myers <joseph@codesourcery.com>
874
875 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
876 * math/auto-libm-test-out: Regenerated.
877 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
878 (hypot_test_data): Likewise.
879 (pow_test_data): Likewise.
880 (pow_tonearest_test_data): Likewise.
881 * math/gen-auto-libm-tests.c (func_calc_method): Add value
882 mpfr_ff_f.
883 (func_calc_desc): Add mpfr_ff_f union field.
884 (FUNC_mpfr_ff_f): New macro.
885 (test_functions): Add atan2, hypot and pow.
886 (special_fill_min): New function.
887 (special_fill_minus_min): Likewise.
888 (special_fill_min_subnorm): Likewise.
889 (special_fill_minus_min_subnorm): Likewise.
890 (special_real_inputs): Add min, -min, min_subnorm and
891 -min_subnorm.
892 (calc_generic_results): Handle mpfr_ff_f.
893 * sysdeps/i386/fpu/libm-test-ulps: Update.
894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
895
5764c27f
WN
8962013-12-16 Will Newton <will.newton@linaro.org>
897
898 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
899 (Aligned Memory Blocks): Add documentation for aligned_alloc
900 and suggest it as an alternative to posix_memalign.
901 (Hooks for Malloc): Document __memalign_hook is also called
902 for aligned_alloc. (Summary of Malloc): Add summary for
903 aligned alloc. Document __memalign_hook is also called
904 for aligned_alloc.
905
0a096e44
WN
9062013-12-16 Will Newton <will.newton@linaro.org>
907
908 * manual/memory.texi (Malloc Examples): Clarify default
909 alignment documentation. Suggest posix_memalign rather
910 than memalign or valloc.
911 (Aligned Memory Blocks): Remove suggestion to use memalign
912 or valloc. Remove obsolete comment about BSD.
913 Document memalign errno values and mark the function obsolete.
914 Document posix_memalign returned error codes. Mark valloc
915 as obsolete. (Hooks for Malloc): __memalign_hook is also
916 called for posix_memalign and valloc.
917 (Summary of Malloc): Add posix_memalign to function summary.
918 __memalign_hook is also called for posix_memalign and valloc.
919
8d561986
SP
9202013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
921
922 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
923 TAYLOR_SIN.
924 (__sin): Adjust.
925 (__cos): Likewise.
926 (sloww): Use mynumber union. Expand ternary operator into
927 if-else statements.
928 (cslow): use mynumber union.
929
73616a74
AM
9302013-12-16 Allan McRae <allan@archlinux.org>
931
9e8ac24b
AM
932 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
933 * configure: Regenerated.
934
6f8e37eb
AM
935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
936
8894bad3
AM
937 [BZ #14120]
938 * configure.ac: Added --enable-maintainer-mode. Check for
939 autoconf when enabled.
940 * configure: Regenerated.
941
73616a74
AM
942 * nscd/nscd.service: New file.
943 * nscd/nscd.tmpfiles: New file.
944
584b18eb
OB
9452013-12-14 Ondřej Bílka <neleai@seznam.cz>
946
947 [BZ #12100]
948 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
949 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
950 * sysdeps/x86_64/multiarch/strstr.c: ... here.
951 (strstr): Add __strstr_sse2_unaligned ifunc.
952 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
953 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
954 (strcasestr): Remove __strcasestr_sse42 ifunc.
955 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
958
8a5c7897
KK
9592013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
960
961 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
962 * sysdeps/sh/bits/fenv.h: ... here.
963 * sysdeps/sh/sh4/fpu/bits: Remove directory.
964
fd712ef3
AZ
9652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
966
967 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
968
42fcb46c
AZ
9692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
970
971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
972 hypotf multiarch implementations.
973 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
974 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
975 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
976 multiarch hypot for PPC64.
977 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
980 multiarch hypotf for PPC64.
981
83efded4
AZ
9822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983
984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
985 modff multiarch implementations.
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
989 multiarch modf for PPC64.
990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
993 multiarch modff for PPC64.
994
43e246d2
AZ
9952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
996
997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
998 and logl multiarch implementations.
999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1002 multiarch logb for PPC64.
1003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1006 multiarch logb for PPC64.
1007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1010 multiarch logb for PPC64.
1011
8fdad123
AZ
10122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1013
1014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1015 isinff multiarch implementation.
1016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1017 file.
1018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1020 multiarch isinf for PPC64.
1021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1022 file.
1023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1024 multiarch isinff for PPC64.
1025
1481d706
AZ
10262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1027
1028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1029 finitef multiarch implementation.
1030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1031 file.
1032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1034 multiarch finite for PPC64.
1035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1036 file.
1037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1038 multiarch finitef for PPC64.
1039
5ccd5fc8
AZ
10402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1041
1042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1043 lrint multiarch implementation.
1044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1045 file.
1046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1048 multiarch llrint for PPC64.
1049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1050 multiarch lrint for PPC64.
1051
2568f3fa
AZ
10522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1053
1054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1055 copysignf multiarch implementation.
1056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1057 file.
1058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1059 file.
1060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1061 multiarch copysign for PPC64.
1062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1063 multiarch copysignf for PPC64.
1064
1cb341fd
AZ
10652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1066
1067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1068 multiarch implementation.
1069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1070 file.
1071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1072 file.
1073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1074 file.
1075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1076 file.
1077 multiarch llround for PPC64.
1078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1079 multiarch trunc for PPC64.
1080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1081 multiarch truncf for PPC64.
1082
59a3e194
AZ
10832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1084
1085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1086 multiarch implementation.
1087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1088 file.
1089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1090 file.
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1092 file.
1093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1094 file.
1095 multiarch llround for PPC64.
1096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1097 multiarch round for PPC64.
1098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1099 multiarch roundf for PPC64.
1100
357fd3b4
AZ
11012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1102
1103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1104 multiarch implementation.
1105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1106 file.
1107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1108 file.
1109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1110 file.
1111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1112 file.
1113 multiarch llround for PPC64.
1114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1115 multiarch floor for PPC64.
1116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1117 multiarch floorf for PPC64.
1118
96770f12
AZ
11192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120
1121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1122 multiarch implementation.
1123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1124 file.
1125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1126 file.
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1128 file.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1130 file.
1131 multiarch llround for PPC64.
1132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1133 multiarch ceil for PPC64.
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1135 multiarch ceilf for PPC64.
1136
c3627f6e
AZ
11372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1140 multiarch implementation.
1141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1142 file.
1143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1144 file.
1145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1146 file.
1147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1148 multiarch llround for PPC64.
1149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1150 multiarch lround for PPC64.
1151
b2284ad7
AZ
11522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1153
1154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1155 multiarch implementation.
1156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1159 file.
1160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1163 multiarch isnan for PPC64.
1164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1165 multiarch isnanf for PPC64.
1166
69bbc63d
AZ
11672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168
1169 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1170 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1171 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1172 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1173 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1175
c24517c9
AZ
11762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177
1178 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1179 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1182
a52374e8
AZ
11832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1184
1185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1186 multiarch implementations.
1187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1188 (__libc_ifunc_impl_list): Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1190 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1191 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1192 multiarch stpcpy for PPC64.
1193
7f5ec113
AZ
11942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1195
1196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1197 multiarch implementations.
1198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1199 (__libc_ifunc_impl_list): Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1201 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1202 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1203 multiarch strcpy for PPC64.
1204
e28bcd42
AZ
12052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1206
1207 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1208 redefine function name.
1209 (_wordcopy_fwd_dest_aligned): Likewise.
1210 (_wordcopy_bwd_aligned): Likewise.
1211 (_wordcopy_bwd_dest_aligned): Likewise.
1212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1213 multiarch implementations.
1214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1215 (__libc_ifunc_impl_list): Likewise.
1216 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1217 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1218 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1219 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1220 multiarch wcscpy for PPC64.
1221
92cacfce
AZ
12222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1223
1224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1225 multiarch implementations.
1226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1227 (__libc_ifunc_impl_list): Likewise.
1228 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1229 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1230 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1231 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1232 multiarch wcscpy for PPC64.
1233
7b714620
AZ
12342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1235
1236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1237 multiarch implementations.
1238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1239 (__libc_ifunc_impl_list): Likewise.
1240 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1241 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1242 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1243 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1244 multiarch wcsrchr for PPC64.
1245
16fd2ae3
AZ
12462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1247
1248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1249 multiarch implementations.
1250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1251 (__libc_ifunc_impl_list): Likewise.
1252 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1253 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1254 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1255 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1256 multiarch wcschr for PPC64.
1257
9ee2969b
AZ
12582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1259
1260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1261 multiarch implementations.
1262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1263 (__libc_ifunc_impl_list): Likewise.
1264 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1265 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1267 multiarch strchrnul for PPC64.
1268
372dc060
AZ
12692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1270
1271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1272 implementations.
1273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1274 (__libc_ifunc_impl_list): Likewise.
1275 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1276 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1277 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1278 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1279 strchr for PPC64.
1280
24c2c3b9
AZ
12812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1282
1283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1284 implementations.
1285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1286 (__libc_ifunc_impl_list): Likewise.
1287 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1288 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1289 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1290 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1291 strncmp for PPC64.
1292
1c92d9a0
AZ
12932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1294
1295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1296 multiarch implementations.
1297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1298 (__libc_ifunc_impl_list): Likewise.
1299 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1300 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1301 strncasecmp for PPC64.
1302 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1303 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1304 multiarch strncasecmp_l for PPC64.
1305
17de3ee3
AZ
13062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1307
1308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1309 multiarch implementations.
1310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1311 (__libc_ifunc_impl_list): Likewise.
1312 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1313 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1314 multiarch strcasecmp for PPC64.
1315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1316 file.
1317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1318 multiarch strcasecmp_l for PPC64.
1319
62982bf9
AZ
13202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1321
1322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1323 implementations.
1324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1325 (__libc_ifunc_impl_list): Likewise.
1326 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1327 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1328 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1329 strnlen for PPC64.
1330
a65f4904
AZ
13312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1332
1333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1334 implementations.
1335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1336 (__libc_ifunc_impl_list): Likewise.
1337 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1338 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1339 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1340 strlen for PPC64.
1341
1fd005ad
AZ
13422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1343
1344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1345 implementations.
1346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1347 (__libc_ifunc_impl_list): Likewise.
1348 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1349 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1350 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1351 rawmemrchr for PPC64.
1352
cd05ba91
AZ
13532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1354
1355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1356 implementation.
1357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1358 (__libc_ifunc_impl_list): Likewise.
1359 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1360 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1361 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1362 memrchr for PPC64.
1363
870f8676
AZ
13642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1365
1366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1367 implementation.
1368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1369 (__libc_ifunc_impl_list): Likewise.
1370 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1371 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1372 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1373 memchr for PPC64.
1374
f00be62b
AZ
13752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376
1377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1378 implementation.
1379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1380 (__libc_ifunc_impl_list): Likewise.
1381 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1382 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1383 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1384 mempcpy for PPC64.
1385
8a29a3d0
AZ
13862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387
1388 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1389 avoid cretion of __bzero symbol.
1390 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1391 Likewise.
1392 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1393 Likewise.
1394 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1395 Likewise.
1396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1397 multiarch implementations.
1398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1399 (__libc_ifunc_impl_list): Likewise.
1400 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1401 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1402 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1403 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1404 bzero for PPC32.
1405 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1406 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1407 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1408 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1409 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1410 memset for PPC64.
1411 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1412
07253fcf
AZ
14132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1414
1415 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1417 implementations.
1418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1419 (__libc_ifunc_impl_list): Likewise.
1420 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1421 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1422 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1423 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1424 memcmp for PPC64.
1425
b5beafbc
AZ
14262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1427
1428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1429 multiarch for POWER/PPC64.
1430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1431 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1432 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1438 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1439 memcpy for PPC64.
1440
5e6a4d4b
AZ
14412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1442
1443 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1444 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1445 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1446 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1447 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1448 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1449 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1450 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1451 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1452 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1453 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1454 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1455 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1456 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1457 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1465
ddfab6dc
KK
14662013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1467
1468 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1469
19b5525e
SP
14702013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1471
1472 * benchtests/Makefile (bench): Add exp2 and log2.
1473 (LDLIBS-bench-exp2): Add -lm.
1474 (LDLIBS-bench-log2): Likewise.
1475 * benchtests/exp2-inputs: New inputs file.
1476 * benchtests/log2-inputs: New inputs file.
1477 * benchtests/log-inputs: Add new inputs.
1478 * benchtests/tan-inputs: Likewise.
1479
196f7f5d
SP
14802013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1481
7a74607f
SP
1482 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1483 definition...
1484 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1485 csloww1, csloww2): ... from here.
1486
196f7f5d
SP
1487 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1488 instead of structures.
1489 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1490 (POLYNOMIAL): Likewise.
1491 (TAYLOR_SLOW): Likewise.
1492 (__sin): Likewise.
1493 (__cos): Likewise.
1494 (slow1): Likewise.
1495 (slow2): Likewise.
1496 (sloww): Likewise.
1497 (sloww1); Likewise.
1498 (sloww2): Likewise.
1499 (bsloww1): Likewise.
1500 (bsloww2): Likewise.
1501 (cslow2): Likewise.
1502 (csloww): Likewise.
1503 (csloww1): Likewise.
1504 (csloww2): Likewise.
1505
0dfa665c
OB
15062013-12-10 Ondřej Bílka <neleai@seznam.cz>
1507
1508 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1509 (__malloc_assert, __libc_realloc, __libc_calloc,
1510 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1511 memcpy and memset.
1512 * malloc/hooks.c (realloc_check): Likewise.
1513
5782a80f
OB
15142013-12-10 Ondřej Bílka <neleai@seznam.cz>
1515
1516 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1517 * malloc/arena.c: Remove PER_THREAD conditional.
1518 [!PER_THREAD]: Remove code.
1519 (ptmalloc_unlock_all2): Likewise.
1520 (ptmalloc_init): Likewise.
1521 (_int_new_arena): Likewise.
1522 (arena_get2): Likewise.
1523 * malloc/hooks.c (__malloc_get_state): Likewise.
1524 (__malloc_set_state): Likewise.
1525 * malloc/malloc.c: Likewise.
1526 (struct malloc_state): Likewise.
1527 (struct malloc_par): Likewise.
1528 (__libc_realloc): Likewise.
1529 (__libc_mallopt): Likewise.
1530
aeb95445
AZ
15312013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532
1533 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1534
e8349efd
OB
15352013-12-09 Ondřej Bílka <neleai@seznam.cz>
1536
1537 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1538 macro to a function. Check for zero perturb_byte.
1539 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1540
f3eeb3fc
OB
15412013-12-09 Ondřej Bílka <neleai@seznam.cz>
1542
1543 * malloc/malloc.c: (force_reg): Remove.
1544 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1545 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1546 force_reg by atomic_forced_read.
1547 * malloc/arena.c (ptmalloc_init): Likewise.
1548 * malloc/hooks.c (top_check): Likewise.
1549
be2f9009
AZ
15502013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551
1552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1553
e7b914bd
MT
15542013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1555
1556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1557
9f0be4f8
JM
15582013-12-08 Joseph Myers <joseph@codesourcery.com>
1559
1560 * math/auto-libm-test-in: Add tests of lgamma.
1561 * math/auto-libm-test-out: Regenerated.
1562 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1563 (M_LOG_2_SQRT_PIl): Likewise.
1564 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1565 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1566 mpfr_f_f1.
1567 (func_calc_desc): Add mpfr_f_f1 union field.
1568 (ARGS1): New macro.
1569 (ARGS2): Likewise.
1570 (ARGS3): Likewise.
1571 (ARGS4): Likewise.
1572 (RET1): Likewise.
1573 (RET2): Likewise.
1574 (CALC): Likewise.
1575 (FUNC): Likewise.
1576 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1577 (test_functions): Add lgamma.
1578 (calc_generic_results): Handle mpfr_f_f1.
1579 * sysdeps/i386/fpu/libm-test-ulps: Update.
1580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1581
24eeafdb
AZ
15822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1583
1584 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1585 __mpn_add_n for PowerPC64/POWER7.
1586 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1587 __mpn_sub_n for PowerPC64/POWER7.
1588
4a2c0fd4
AZ
15892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1590
1591 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1592 __mpn_addmul_1 for PowerPC64.
1593 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1594 __mpn_submul_1 for PowerPC64.
1595 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1596 for PowerPC64.
1597 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1598 for PowerPC64.
1599
4b5b548c
FS
16002013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1601
1602 [BZ #15089]
1603 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1604
0a3ac0aa
AZ
16052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1606
1607 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1608
ccdc8438
AZ
16092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1610
1611 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1612 add multiarch folders.
1613 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1614 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1615 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1616 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1617 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1618 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1619 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1620 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1621 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1622 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1623 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1630
2e973d99
AZ
16312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632
1633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1634 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1636 New file.
1637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1638 New file.
1639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1640 multiarch __ieee754_hypot for PowerPC32.
1641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1642 New file.
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1644 New file.
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1646 multiarch __ieee754_hypotf for PowerPC32.
1647
2d9470b2
AZ
16482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1649
1650 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1651 long_double_symbol only if __logbl is defined.
1652 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1653 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1655 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1657 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1658 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1659 path for implementation.
1660 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1661 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1663 logb, and logbl multiarch implementations for PowerPC32.
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1665 file.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1667 file.
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1669 multiarch logb for PowerPC32.
1670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1671 file.
1672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1673 file.
1674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1675 multiarch logbf for PowerPC32.
1676 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1678 file.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1680 multiarch logbl implementation for PowerPC32.
1681
5212ffce
AZ
16822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1683
1684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1685 and modff multiarch implementations.
1686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1687 New file.
1688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1689 New file.
1690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1691 multiarch modf for PowerPC32.
1692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1693 New file.
1694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1695 New file.
1696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1697 multiarch modff for PowerPC32.
1698
79dccf31
AZ
16992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700
1701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1702 and lrintf multiarch implementations.
1703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1704 New file.
1705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1706 New file.
1707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1708 multiarch lrint for PowerPC32.
1709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1710 file: multiarch lrintf for PowerPC32.
1711
deb66480
AZ
17122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1713
1714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1715 and lroundf multiarch implementations.
1716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1717 New file.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1719 New file.
1720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1721 New file.
1722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1723 multiarch lround for PowerPC32.
1724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1725 file: multiarch lroundf for PowerPC32.
1726
264b036b
AZ
17272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1728
1729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1730 copysign and copysignf multiarch implementations.
1731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1732 New file.
1733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1734 New file.
1735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1736 file: multiarch copysign for PowerPC32.
1737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1738 file: multiarch copysignf for PowerPC32.
1739
d47db6c9
AZ
17402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741
1742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1743 and truncf multiarch implementations.
1744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1745 New file.
1746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1747 file.
1748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1749 multiarch trunc for PowerPC32.
1750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1751 New file.
1752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1753 New file.
1754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1755 multiarch truncf for PowerPC32.
1756
ddb60b5a
AZ
17572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1758
1759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1760 and roundf multiarch implementations.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1762 New file.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1764 file.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1766 multiarch round for PowerPC32.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1768 New file.
1769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1770 New file.
1771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1772 multiarch roundf for PowerPC32.
1773
bedcf49b
AZ
17742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1775
1776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1777 and floorf multiarch implementations.
1778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1779 New file.
1780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1781 file.
1782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1783 multiarch floor for PowerPC32.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1785 New file.
1786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1787 New file.
1788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1789 multiarch floorf for PowerPC32.
1790
35ae5b40
AZ
17912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1792
1793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1794 and ceilf multiarch implementations.
1795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1796 New file.
1797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1798 file.
1799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1800 multiarch ceil for PowerPC32.
1801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1802 New file.
1803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1804 file.
1805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1806 multiarch ceilf for PowerPC32.
1807
ae1a4cd9
AZ
18082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1809
1810 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1811 is defined.
1812 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1813 FINITEF is defined.
1814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1815 and finitef multiarch implementations.
1816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1817 New file.
1818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1819 file.
1820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1821 multiarch finite for PowerPC32.
1822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1823 New file.
1824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1825 file: multiarch finitef for PowerPC32.
1826
64fffd65
AZ
18272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828
1829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1830 and isinff multiarch implementations.
1831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1832 file.
1833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1834 file.
1835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1836 multiarch isinf for PowerPC32.
1837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1838 New file.
1839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1840 multiarch isinff for PowerPC32.
1841
8e4e7ba2
AZ
18422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1843
1844 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1845 alias when __isnan is defined.
1846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1847 and isnanf multiarch implementations.
1848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1849 file.
1850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1851 file.
1852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1853 file.
1854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1855 file.
1856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1857 multiarch isnan for PowerPC32.
1858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1859 New file.
1860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1861 New file.
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1863 multiarch isnanf for PowerPC32.
1864
ddba588e
AZ
18652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1866
1867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1868 and sqrtf multiarch implementations.
1869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1870 file.
1871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1872 file.
1873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1874 multiarch sqrt for PowerPC32.
1875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1876 file.
1877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1878 file.
1879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1880 multiarch sqrtf for PowerPC32.
1881
0f96a2f0
AZ
18822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1883
1884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1885 and llroundf multiarch implementations.
1886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1887 New file.
1888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1889 New file.
1890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1891 New file.
1892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1893 file: multiarch llround for PowerPC32.
1894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1895 file: multiarch llroundf for PowerPC32.
1896
c9b5d79e
AZ
18972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898
1899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1900 multiarch PowerPC32 fpu implementations.
1901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1902 New file.
1903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1904 New file.
1905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1906 multiarch llrint for PowerPC32.
1907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1908 New file.
1909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1910 New file.
1911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1912 file.
1913
9cbb3aab
AZ
19142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1915
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1917
ea5a72f8
AZ
19182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1919
1920 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1921 file.
1922 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1923 file.
1924 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1925 file.
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1927 multiarch wordcopy for PPC32.
1928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1929 wordcopy objects.
1930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1931 (__libc_ifunc_impl_list): Likewise.
1932 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1933 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1934 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1935 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1936 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1937 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1938
93be09e7
AZ
19392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1940
1941 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1943 file.
1944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1945 file.
1946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1947 file.
1948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1949 multiarch wcscpy for PPC32.
1950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1951 multiarch objects.
1952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1953 (__libc_ifunc_impl_list): Likewise.
1954 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1955 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1956 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1957 sysdeps/powerpc/power6/wcscpy.c.
1958
bb04e529
AZ
19592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1960
1961 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1963 file.
1964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1965 file.
1966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1967 file.
1968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1969 multiarch wcsrchr for PPC32.
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1971 multiarch objects.
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1973 (__libc_ifunc_impl_list): Likewise.
1974 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1975 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1976 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1977 sysdeps/powerpc/power6/wcsrchr.c.
1978
05b5cd1c
AZ
19792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980
1981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1982 file.
1983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1984 file.
1985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1987 multiarch wcschr for PPc32.
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1989 multiarch objects.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1991 (__libc_ifunc_impl_list): Likewise.
1992 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1993 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1994 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1995 sysdeps/powerpc/power6/wcschr.c.
1996
ba964147
AZ
19972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998
1999 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2001 file.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2003 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2004 file: multiarch strchr for PPC32.
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2006 multiarch objects.
2007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2008 (__libc_ifunc_impl_list): Likewise.
2009
31c81aaa
AZ
20102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2011
2012 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2013 name.
2014 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2015 file.
2016 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2017 file.
2018 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2019 multiarch strchrnul for PPC32.
2020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2021 multiarch objects.
2022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2023 (__libc_ifunc_impl_list): Likewise.
2024
0d0607d9
AZ
20252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2026
2027 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2028 file.
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2030 multiarch strncasecmp for PPC32.
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2032 file.
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2034 multiarch strncasecmp_l for PPC32.
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2036 strncasecmp multiarch objects.
2037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2038 (__libc_ifunc_impl_list): Likewise.
2039
4dfd5c86
AZ
20402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2041
2042 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2043 file.
2044 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2045 multiarch strncasecmp for PPC32.
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2047 New file.
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2049 multiarch strcasecmp_l for PPC32.
2050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2051 multiarch objects.
2052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2053 (__libc_ifunc_impl_list): Likewise.
2054
a19e01a3
AZ
20552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2056
2057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2058 file.
2059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2060 file.
2061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2062 multiarch strncmp for PPC32.
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2064 multiarch objects.
2065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2066 (__libc_ifunc_impl_list): Likewise.
2067
ae9cf7a2
AZ
20682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2069
2070 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2071 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2072 file.
2073 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2074 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2076 multiarch objects.
2077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2078 (__libc_ifunc_impl_list): Likewise.
2079
3148bb7d
AZ
20802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081
2082 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2083 file.
2084 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2085 file.
2086 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2088 multiarch objects.
2089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2090 (__libc_ifunc_impl_list): Likewise.
2091
7af8b946
AZ
20922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093
2094 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2095 file.
2096 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2097 file.
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2099 multiarch rawmemchr for PPC32.
2100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2101 multiarch objects.
2102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2103 (__libc_ifunc_impl_list): Likewise.
2104
03a6aa6a
AZ
21052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2106
2107 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2108 file.
2109 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2110 file.
2111 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2112 file: memrchr multiarch for PPC32.
2113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2114 multiarch objects.
2115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2116 (__libc_ifunc_impl_list): Likewise.
2117
1c62e6d9
AZ
21182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119
2120 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2121 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2122 file.
2123 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2124 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2125 multiarch memchr for PPC32.
2126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2127 multiarch objects.
2128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2129 (__libc_ifunc_impl_list): Likewise.
2130
87da8bdb
AZ
21312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2132
2133 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2134 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2135 file.
2136 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2137 file.
2138 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2139 file: multiarch mempcpy for PPC32.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2141 multiarch objects.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2143 (__libc_ifunc_impl_list): Likewise.
2144
20ed4714
AZ
21452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146
2147 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2148 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2149 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2150 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2151 multiarch bzero for PPC32.
2152 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2153 file.
2154 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2155 file.
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2157 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2158 file: multiarch memset for PPC32.
2159 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2161 memset multiarch objects.
2162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2163 (__libc_ifunc_impl_list): Likewise.
2164
ab3e3a46
AZ
21652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2166
2167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2168 file.
2169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2171 memcmp for PPC32.
2172 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2174 multiarch objects.
2175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2176 (__libc_ifunc_impl_list): Likewise.
2177
930de6f0
AZ
21782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2179
2180 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2181 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2182 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2183 file.
2184 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2185 file.
2186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2187 file.
2188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2189 multiarch memcpy for PPC32.
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2191 multiarch objects.
2192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2193 (__libc_ifunc_impl_list): Likewise.
2194
4c628e00
AZ
21952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2196
2197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2198 support multiarch for POWER/PPC32.
2199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2200 Likewise.
2201 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2203 Implies file to make multiarch folder appers before the fpu and
2204 default folder for power4 configuration.
2205
f4479220
SP
22062013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2207
2208 * scripts/bench.pl: Append volatile keyword to type.
2209
8517800f
KK
22102013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2211
2212 * sysdeps/sh/sotruss-lib.c: New file.
2213 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2214
180138f1
AZ
22152013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2216
2217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2218
bbf37bdc
JM
22192013-12-05 Joseph Myers <joseph@codesourcery.com>
2220
e47cc4e0
JM
2221 [BZ #6810]
2222 * math/w_tgamma.c: Include <errno.h>.
2223 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2224 * math/w_tgammaf.c: Include <errno.h>.
2225 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2226 * math/w_tgammal.c: Include <errno.h>.
2227 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2228 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2229 underflow. Add more tgamma tests.
2230 * math/auto-libm-test-out: Regenerated.
2231 * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2233
bbf37bdc
JM
2234 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2235 sin, sinh, tan, tanh, tgamma, y0 and y1.
2236 * math/auto-libm-test-out: Regenerated.
2237 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2238 (TEST_COND_x86): Likewise.
2239 (M_E2l): Remove macro.
2240 (M_E3l): Likewise.
2241 (M_2_SQRT_PIl): Likewise.
2242 (M_SQRT_PIl): Likewise.
2243 (M_1_DIV_El): Likewise.
2244 (log_test_data): Use AUTO_TESTS_f_f.
2245 (log10_test_data): Likewise.
2246 (log1p_test_data): Likewise.
2247 (log2_test_data): Likewise.
2248 (sin_test_data): Likewise.
2249 (sin_tonearest_test_data): Likewise.
2250 (sin_towardzero_test_data): Likewise.
2251 (sin_downward_test_data): Likewise.
2252 (sin_upward_test_data): Likewise.
2253 (sinh_test_data): Likewise.
2254 (sinh_tonearest_test_data): Likewise.
2255 (sinh_towardzero_test_data): Likewise.
2256 (sinh_downward_test_data): Likewise.
2257 (sinh_upward_test_data): Likewise.
2258 (tan_test_data): Likewise.
2259 (tan_tonearest_test_data): Likewise.
2260 (tan_towardzero_test_data): Likewise.
2261 (tan_downward_test_data): Likewise.
2262 (tan_upward_test_data): Likewise.
2263 (tanh_test_data): Likewise.
2264 (tgamma_test_data): Likewise.
2265 (y0_test_data): Likewise.
2266 (y1_test_data): Likewise.
2267 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2268 (special_real_inputs): Add pi/4.
2269 * sysdeps/i386/fpu/libm-test-ulps: Update.
2270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2271
eb5ad6b9
AZ
22722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273
2274 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2275 "longjmp_target" static probes.
2276 (__longjmp): Rename to __longjmp_symbol.
2277 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2278 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2279 on which longjmp to generate.
2280 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2281 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2282 probe.
2283 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2284 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2285 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2286 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2287 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2288 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2290 __longjmp_symbol based on which __longjmp to generate.
2291 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2292 probe.
2293 (setjmp): Rename to setjmp_symbol.
2294 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2295 (_setjmp): Rename to _setjmp_symbol.
2296 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2297 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2298 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2299 which setjmp to generate.
2300 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2301 "longjmp_target" static probes.
2302
d136c6dc
SP
23032013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2304
9298ecba
SP
2305 * benchtests/README: Add note about output arguments.
2306 * benchtests/bench-sincos.c: Remove file.
2307 * benchtests/sincos-inputs: New file.
2308 * scripts/bench.pl: Identify output arguments and define
2309 static variables for them.
2310
232983e9
SP
2311 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2312
d136c6dc
SP
2313 [BZ #15941]
2314 * Makefile (INSTALL): Add install-plain.texi as the primary
2315 dependency.
2316 * manual/install-plain.texi: New file.
2317 * manual/install.texi: Include node directive only for
2318 non-plaintext output.
2319
699ff837
JM
23202013-12-04 Joseph Myers <joseph@codesourcery.com>
2321
ab07cea8
JM
2322 * stdlib/longlong.h: Update from GCC.
2323
699ff837
JM
2324 [BZ #6807]
2325 [BZ #15901]
2326 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2327 * math/w_j0f.c (y0f): Likewise.
2328 * math/w_j0l.c (__y0l): Likewise.
2329 * math/w_j1.c (y1): Likewise.
2330 * math/w_j1f.c (y1f): Likewise.
2331 * math/w_j1l.c (__y1l): Likewise
2332 * math/w_jn.c (yn): Likewise.
2333 * math/w_jnf.c (ynf): Likewise.
2334 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2335 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2336 value for Bessel function domain errors outside _SVID_ mode.
2337 Adjust sign of return value for yn (negative integer, 0).
2338 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2339 by zero in return for negative x and set sign appropriately for
2340 negative n.
2341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2342 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2343 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2344 expectations in error cases.
2345 (y1_test_data): Likewise.
2346 (yn_test_data): Likewise.
2347 * sysdeps/i386/fpu/libm-test-ulps: Update.
2348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2349
5b118558
UW
23502013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2351
2352 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2353 "64" to "64-v1". Add "64-v2".
2354 (abi-64-options): Rename to ...
2355 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2356 (abi-64-condition): Rename to ...
2357 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2358 (abi-64-ld-soname): Rename to ...
2359 (abi-64-v1-ld-soname): ... this.
2360 (abi-64-v2-options): Define.
2361 (abi-64-v2-condition): Likewise.
2362 (abi-64-v2-ld-soname): Likewise.
2363 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2364 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2368
61cd8fe4
UW
23692013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2370 Alan Modra <amodra@gmail.com>
2371
2372 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2373 New versions for use with the ELFv2 ABI.
2374 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2375 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2376 declaration.
2377 (struct La_ppc64v2_retval): Likewise.
2378 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2379 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2380 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2381 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2382 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2383 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2384 Do not save or restore CR.
2385 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2386 (_dl_profile_resolve): Do no save or restore CR. Support extended
2387 return values for ELFv2 ABI. Fix location of FPR return registers.
2388 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2389 updated values for _CALL_ELF == 2.
2390 (La_regs, La_retval, int_retval): Likewise.
2391
8b8a692c
UW
23922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2393
2394 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2395 (FRAME_MIN_SIZE_PARM): Likewise.
2396 (FRAME_BACKCHAIN): Likewise.
2397 (FRAME_CR_SAVE): Likewise.
2398 (FRAME_LR_SAVE): Likewise.
2399 (FRAME_TOC_SAVE): Likewise.
2400 (FRAME_PARM_SAVE): Likewise.
2401 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2402 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2403 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2404 (call_mcount_parm_offset): New macro.
2405 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2406 (PROF): Use symbolic stack frame offsets.
2407 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2408 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2409 Redefine in terms of FRAME_MIN_SIZE.
2410 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2411 (_dl_profile_resolve): Likewise. Update comment.
2412 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2413 symbols stack frame offsets.
2414 (__sigsetjmp): Likewise.
2415 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2416 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2417 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2418 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2419
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2421 (FRAME_BACKCHAIN): Remove.
2422 (FRAME_CR_SAVE): Likewise.
2423 (FRAME_LR_SAVE): Likewise.
2424 (FRAME_COMPILER_DW): Likewise.
2425 (FRAME_LINKER_DW): Likewise.
2426 (FRAME_TOC_SAVE): Likewise.
2427 (FRAME_PARM_SAVE): Likewise.
2428 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2429 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2430 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2432 (CHECK_SP): Use symbolic stack frame offsets.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2434 zone" instead of caller's parameter save area for temp storage.
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2436 Likewise. Also, use symbolic stack frame offsets.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2438 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2439 our own stack frame instead of the caller's.
2440 (__socket): Use symbolic stack frame offsets.
2441
122b66de
UW
24422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2443 Alan Modra <amodra@gmail.com>
2444
2445 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2446 Define.
2447 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2448 PPC64_LOCAL_ENTRY_OFFSET): Define.
2449 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2450 New function.
2451 (elf_machine_fixup_plt): Call it.
2452 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2453 reloc arguments.
2454 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2455 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2456 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2457 r2 before calling target.
2458
696caf1d
UW
24592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2460 Alan Modra <amodra@gmail.com>
2461
2462 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2463 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2464 versions of macros to support ELFv2 ABI.
2465 (LOCALENTRY): New macro.
2466 (ENTRY, EALIGN): Use it.
2467 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2468 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2469 fall through into ENTRY entry point.
2470 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2471 Only define if _CALL_ELF != 2.
2472
2473 (elf_machine_matches_host): Verify ABI version matches.
2474 (RTLD_START): Use LOCALENTRY.
2475 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2476 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2477 (PLT_ENTRY_WORDS): New macro.
2478 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2479 (elf_machine_runtime_setup): Support ELFv2 ABI.
2480 (elf_machine_fixup_plt): Likewise.
2481 (elf_machine_plt_conflict): Likewise.
2482 (resolve_ifunc): Likewise.
2483 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2484 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2485 Likewise.
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2487 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2489 (makecontext): Support ELFv2 ABI.
2490 * elf/elf.h (EF_PPC64_ABI): Define.
2491
d31beafa
UW
24922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2493
2494 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2495 New assembler macro.
2496 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2497 [ASSEMBLER] (ENTRY): ... but instead here ...
2498 [ASSEMBLER] (EALIGN): ... and here.
2499 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2500 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2501 [!ASSEMBLER] (ENTRY_2): Use it.
2502 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2503 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2504 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2505 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2506 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2508 Use PPC64_LOAD_FUNCPTR.
2509
b525166b
UW
25102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2511
2512 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2513
7ec07d9a
AM
25142013-12-04 Alan Modra <amodra@gmail.com>
2515
2516 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2517 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2518 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2519 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2520
2521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2522 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2523 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2524 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2525 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2526 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2527
5162e7dd
UW
25282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2529
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2531 (__makecontext): Fix incorrect CFI when backtracing out of
2532 context created via makecontext.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2534 (__setcontext): Fix incorrect CFI during switch to new context.
2535 (__novec_setcontext): Likewise.
2536
19e3372b
OB
25372013-12-04 Ondřej Bílka <neleai@seznam.cz>
2538
2539 [BZ #4772]
2540 * time/strptime_l.c (__strptime_internal): Allow modifiers
2541 in strptime.
2542 * time/tst-strptime.c (day_tests): Add testcase.
2543
2544
ecaf142d
SP
25452013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2546
2547 * scripts/bench.pl: Skip over blank lines.
2548
fbf964ae
PE
25492013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2550
2551 [BZ #926]
2552 * manual/time.texi (Calendar Time): Clarify what timezone functions
2553 use.
2554
fa60a674
AZ
25552013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556
2557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2558
d674f0ef
OB
25592013-12-04 Ondřej Bílka <neleai@seznam.cz>
2560
2561 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2562 implementation.
2563 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2564 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2565 * debug/memset_chk.c (__memset_chk): Likewise.
2566 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2567 * debug/strncpy_chk.c: Likewise.
2568
17dea188
JM
25692013-12-03 Joseph Myers <joseph@codesourcery.com>
2570
749008ff
JM
2571 [BZ #15268]
2572 [BZ #15425]
2573 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2574 (__ieee754_exp): For possibly underflowing results, check size of
2575 result and force underflow exception if required.
2576 * math/auto-libm-test-in: Add more tests of exp.
2577 * math/auto-libm-test-out: Regenerated.
2578 * sysdeps/i386/fpu/libm-test-ulps: Update.
2579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2580
17dea188
JM
2581 [BZ #16283]
2582 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2583 * math/w_exp2f.c (__exp2f): Likewise.
2584 * math/w_exp2l.c (__exp2l): Likewise.
2585 * math/auto-libm-test-in: Do not allow missing errno on exp2
2586 underflow.
2587 * math/auto-libm-test-out: Regenerated.
2588
b20de2c3
OB
25892013-12-03 Ondřej Bílka <neleai@seznam.cz>
2590
2591 [BZ #16274]
2592 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2593 handle filename validation.
2594 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2595 (do_open): Delete.
2596
d8e2dbe3
JM
25972013-12-03 Joseph Myers <joseph@codesourcery.com>
2598
34e16df5
JM
2599 [BZ #6786]
2600 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2601 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2602 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2603 <float.h>.
2604 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2605 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2606 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2607 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2608 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2609 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2610 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2611 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2612 Add more erfc tests.
2613 * math/auto-libm-test-out: Regenerated.
2614 * sysdeps/i386/fpu/libm-test-ulps: Update.
2615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2616
d8e2dbe3
JM
2617 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2618 exp2, expm1, j0 and j1.
2619 * math/auto-libm-test-out: Regenerated.
2620 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2621 (erfc_test_data): Likewise.
2622 (exp_test_data): Likewise.
2623 (exp_tonearest_test_data): Likewise.
2624 (exp_towardzero_test_data): Likewise.
2625 (exp_downward_test_data): Likewise.
2626 (exp_upward_test_data): Likewise.
2627 (exp10_test_data): Likewise.
2628 (exp2_test_data): Likewise.
2629 (expm1_test_data): Likewise.
2630 (j0_test_data): Likewise.
2631 (j1_test_data): Likewise.
2632 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2633 (input_flag_type): Add flag_xfail_rounding.
2634 (input_flags): Add xfail-rounding.
2635 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2636 (output_for_one_input_case): Handle flag_xfail_rounding.
2637 * sysdeps/i386/fpu/libm-test-ulps: Update.
2638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2639
18d14251
AJ
26402013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2641
3d2e6075 2642 [BZ #16289]
18d14251
AJ
2643 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2644 division by 0.
2645
520d437b
SP
26462013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2647
2648 [BZ #16195]
2649 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2650 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2651 (STAP_PROBE0): New macro.
2652 (STAP_PROBE1): Likewise.
2653 (STAP_PROBE2): Likewise.
2654 (STAP_PROBE3): Likewise.
2655 (STAP_PROBE4): Likewise.
2656
416e0145
OB
26572013-12-02 Ondřej Bílka <neleai@seznam.cz>
2658
2659 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2660
9d17796a
SE
26612013-12-02 Steve Ellcey <sellcey@mips.com>
2662
2663 * benchtests/Makefile (bench): Add sqrt.
2664 (LDLIBS-bench-sqrt): New.
2665 * benchtests/sqrt-input: New.
2666
f524d6a8
PS
26672013-12-02 Pavel Simerda <psimerda@redhat.com>
2668
639a0ef8
PS
2669 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2670 (GAIH_EAI): Likewise.
2671 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2672 (gaih_inet): Likewise.
2673 (getaddrinfo): Don't use GAIH_EAI.
2674
f524d6a8
PS
2675 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2676 (struct gaih): Remove definition.
2677
df3aedaf
SP
26782013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2679
2680 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2681 Use HERRNOP directly.
2682
1ab19dec
AZ
26832013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2684
b42ad38d 2685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2686
176b0c79
JM
26872013-11-30 Joseph Myers <joseph@codesourcery.com>
2688
2689 * math/gen-auto-libm-tests.c (test_functions): Add more
2690 single-argument functions.
2691 (special_fill_pi_2): New function.
2692 (special_fill_minus_pi_2): Likewise.
2693 (special_fill_pi_6): Likewise.
2694 (special_fill_minus_pi_6): Likewise.
2695 (special_fill_pi_3): Likewise.
2696 (special_fill_2pi_3): Likewise.
2697 (special_fill_e): Likewise.
2698 (special_fill_1_e): Likewise.
2699 (special_fill_e_minus_1): Likewise.
2700 (special_real_inputs): Add more special inputs.
2701 (output_for_one_input_case): Do not require ERANGE on underflow to
2702 zero if round-to-nearest result does not underflow to zero, unless
2703 exact results required.
2704 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2705 atan, atanh, cbrt, cos and cosh.
2706 * math/auto-libm-test-out: Regenerated.
2707 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2708 (acos_tonearest_test_data): Likewise.
2709 (acos_towardzero_test_data): Likewise.
2710 (acos_downward_test_data): Likewise.
2711 (acos_upward_test_data): Likewise.
2712 (acosh_test_data): Likewise.
2713 (asin_test_data): Likewise.
2714 (asin_tonearest_test_data): Likewise.
2715 (asin_towardzero_test_data): Likewise.
2716 (asin_upward_test_data): Likewise.
2717 (asinh_test_data): Likewise.
2718 (atan_test_data): Likewise.
2719 (atanh_test_data): Likewise.
2720 (cbrt_test_data): Likewise.
2721 (cos_test_data): Likewise.
2722 (cos_tonearest_test_data): Likewise.
2723 (cos_towardzero_test_data): Likewise.
2724 (cos_downward_test_data): Likewise.
2725 (cos_upward_test_data): Likewise.
2726 (cosh_test_data): Likewise.
2727 (cosh_tonearest_test_data): Likewise.
2728 (cosh_towardzero_test_data): Likewise.
2729 (cosh_downward_test_data): Likewise.
2730 (cosh_upward_test_data): Likewise.
2731 * sysdeps/i386/fpu/libm-test-ulps: Update.
2732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2733
ffb536d0
JM
27342013-11-29 Joseph Myers <joseph@codesourcery.com>
2735
2a77a467
JM
2736 [BZ #6787]
2737 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2738 * math/w_exp10f.c (__exp10f): Likewise.
2739 * math/w_exp10l.c (__exp10l): Likewise.
2740 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2741 errno settings in existing tests.
2742
ea3bc4e8
JM
2743 [BZ #14032]
2744 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2745 precision control set to double precision.
2746 * sysdeps/i386/fpu/w_sqrt.c: New file.
2747 * math/auto-libm-test-in: Add more tests.
2748 * math/auto-libm-test-out: Update.
2749
0712c9d8
JM
2750 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2751 (sqrt_test_tonearest): New function.
2752 (sqrt_towardzero_test_data): New variable.
2753 (sqrt_test_towardzero): New function.
2754 (sqrt_downward_test_data): New variable.
2755 (sqrt_test_downward): New function.
2756 (sqrt_upward_test_data): New variable.
2757 (sqrt_test_upward): New function.
2758 (main): Call the new functions.
2759
ffb536d0
JM
2760 * math/gen-auto-libm-tests.c: New file.
2761 * math/auto-libm-test-in: Likewise.
2762 * math/auto-libm-test-out: New generated file.
2763 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2764 variables.
2765 (%beautify): Add generated representations of zero.
2766 (top level): Set $auto_input and call parse_auto_input.
2767 (beautify): Remove trailing "f" from hex float constants.
2768 (parse_args): Handle XFAIL_TEST.
2769 (convert_condition): New function.
2770 (or_value): Likewise.
2771 (or_cond_value): Likewise.
2772 (generate_testfile): Handle AUTO_TESTS_* lines.
2773 (parse_auto_input): New function.
2774 * math/libm-test.inc (XFAIL_TEST): New macro.
2775 (ERRNO_UNCHANGED): Update value.
2776 (ERRNO_EDOM): Likewise.
2777 (ERRNO_ERANGE): Likewise.
2778 (IGNORE_RESULT): Likewise.
2779 (TEST_COND_flt_32): New macro.
2780 (TEST_COND_dbl_64): Likewise.
2781 (TEST_COND_ldbl_96_intel): Likewise.
2782 (TEST_COND_ldbl_96_m68k): Likewise.
2783 (TEST_COND_ldbl_128): Likewise.
2784 (TEST_COND_ldbl_128ibm): Likewise.
2785 (TEST_COND_long32): Likewise.
2786 (TEST_COND_long64): Likewise.
2787 (TEST_COND_before_rounding): Likewise.
2788 (TEST_COND_after_rounding): Likewise.
2789 (enable_test): Handle XFAIL_TEST flag.
2790 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2791 with finite results.
2792 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2793 auto-libm-test-out.
2794
acd98a8e
AK
27952013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2796 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2797
2798 [BZ #16214]
2799 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2800 __tls_get_addr_internal instead of __tls_get_offset in order to
2801 avoid GOT pointer dependency. Make rtld export
2802 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2803 __tls_get_addr since we are a __tls_get_offset platform.
2804 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2805 GOT pointer being set up before.
2806 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2807
3c1c46a6
JM
28082013-11-28 Joseph Myers <joseph@codesourcery.com>
2809
7475aef5
JM
2810 * manual/math.texi (Errors in Math Functions): Document accuracy
2811 goals.
2812
8bca7cd8
JM
2813 [BZ #15004]
2814 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2815 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2816 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2818 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2820 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2822 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2823 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2824 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2826 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2830
91a1f3fe
JM
2831 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2832 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2833 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2834 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2835 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2836 Likewise.
2837 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2838 Likewise.
2839 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2840 Likewise.
2841 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2842 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2843 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2844 atomic-feupdateenv and flt-rounds.
2845 * sysdeps/powerpc/nofpu/Versions (libc): Add
2846 __atomic_feholdexcept, __atomic_feclearexcept,
2847 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2848 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2849 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2850 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2851 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2852 here.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2854 Update.
2855
c5df7609
JM
2856 * manual/arith.texi (FP Exceptions): Document that exceptions may
2857 not be raised when matherr is used.
2858 (Math Error Reporting): Document overflow in directed rounding
2859 modes. Document that errno may not be set when finite values are
2860 returned on overflow. Document intent to set errno on underflow
2861 only for underflow to zero.
2862
3c1c46a6
JM
2863 [BZ #16271]
2864 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2865 round-to-nearest then adjust result for other rounding modes.
2866 * include/fenv.h (fegetround): Use libm_hidden_proto.
2867 * math/fegetround.c (fegetround): Use libm_hidden_def.
2868 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2869 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2870 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2871 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2872 Likewise.
2873 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2874 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2875 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2876 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2877
5a4c6d53
SP
28782013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2879
2880 [BZ #16077]
2881 * nss/Versions (libnss_files): Add
2882 _nss_files_gethostbyname3_r.
2883 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2884 New function.
2885 (HOST_DB_LOOKUP): Remove macro.
2886 (_nss_files_gethostbyname_r): Implement function without the
2887 HOST_DB_LOOKUP macro.
2888 (_nss_files_gethostbyname2_r): Likewise.
2889
897b98ba
OB
28902013-11-28 Ondřej Bílka <neleai@seznam.cz>
2891
2892 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2893
6f476861
UB
28942013-11-26 Uros Bizjak <ubizjak@gmail.com>
2895
2896 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2897 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2898 warning.
2899
bd12ab55
AZ
29002013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2901
2902 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2903 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2904 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2905 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2906 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2907 __fe_nomask_env_priv and attribute_hidden.
2908 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2909 (libc_feupdateenv_test_ppc): Likewise.
2910 (libc_feresetround_ppc): Likewise.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2912 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2913 compat_symbol macro.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2915 (__fe_nomask_env): Likewise.
2916 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2917
52bb6543
OB
29182013-11-26 Ondřej Bílka <neleai@seznam.cz>
2919
2920 * string/Makefile: Remove ifunc tests.
2921 * string/test-string.h: Define TEST_IFUNC.
2922 * string/test-bcopy-ifunc.c: Remove.
2923 * string/test-bzero-ifunc.c: Likewise.
2924 * string/test-memccpy-ifunc.c: Likewise.
2925 * string/test-memchr-ifunc.c: Likewise.
2926 * string/test-memcmp-ifunc.c: Likewise.
2927 * string/test-memcpy-ifunc.c: Likewise.
2928 * string/test-memmem-ifunc.c: Likewise.
2929 * string/test-memmove-ifunc.c: Likewise.
2930 * string/test-mempcpy-ifunc.c: Likewise.
2931 * string/test-memrchr-ifunc.c: Likewise.
2932 * string/test-memset-ifunc.c: Likewise.
2933 * string/test-rawmemchr-ifunc.c: Likewise.
2934 * string/test-stpcpy-ifunc.c: Likewise.
2935 * string/test-stpncpy-ifunc.c: Likewise.
2936 * string/test-strcasecmp-ifunc.c: Likewise.
2937 * string/test-strcasestr-ifunc.c: Likewise.
2938 * string/test-strcat-ifunc.c: Likewise.
2939 * string/test-strchr-ifunc.c: Likewise.
2940 * string/test-strchrnul-ifunc.c: Likewise.
2941 * string/test-strcmp-ifunc.c: Likewise.
2942 * string/test-strcpy-ifunc.c: Likewise.
2943 * string/test-strcspn-ifunc.c: Likewise.
2944 * string/test-strlen-ifunc.c: Likewise.
2945 * string/test-strncasecmp-ifunc.c: Likewise.
2946 * string/test-strncat-ifunc.c: Likewise.
2947 * string/test-strncmp-ifunc.c: Likewise.
2948 * string/test-strncpy-ifunc.c: Likewise.
2949 * string/test-strnlen-ifunc.c: Likewise.
2950 * string/test-strpbrk-ifunc.c: Likewise.
2951 * string/test-strrchr-ifunc.c: Likewise.
2952 * string/test-strspn-ifunc.c: Likewise.
2953 * string/test-strstr-ifunc.c: Likewise.
2954
ab260039 29552013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2956
2957 * benchtests/Makefile: Remove ifunc tests.
2958 * benchtests/bench-string.h: Define TEST_IFUNC.
2959 * benchtests/bench-bcopy-ifunc.c: Remove.
2960 * benchtests/bench-bzero-ifunc.c: Likewise.
2961 * benchtests/bench-memccpy-ifunc.c: Likewise.
2962 * benchtests/bench-memchr-ifunc.c: Likewise.
2963 * benchtests/bench-memcmp-ifunc.c: Likewise.
2964 * benchtests/bench-memcpy-ifunc.c: Likewise.
2965 * benchtests/bench-memmem-ifunc.c: Likewise.
2966 * benchtests/bench-memmove-ifunc.c: Likewise.
2967 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2968 * benchtests/bench-memrchr-ifunc.c: Likewise.
2969 * benchtests/bench-memset-ifunc.c: Likewise.
2970 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2971 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2972 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2973 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2974 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2975 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2976 * benchtests/bench-strcat-ifunc.c: Likewise.
2977 * benchtests/bench-strchr-ifunc.c: Likewise.
2978 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2979 * benchtests/bench-strcmp-ifunc.c: Likewise.
2980 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2981 * benchtests/bench-strcpy-ifunc.c: Likewise.
2982 * benchtests/bench-strcspn-ifunc.c: Likewise.
2983 * benchtests/bench-strlen-ifunc.c: Likewise.
2984 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2985 * benchtests/bench-strncat-ifunc.c: Likewise.
2986 * benchtests/bench-strncmp-ifunc.c: Likewise.
2987 * benchtests/bench-strncpy-ifunc.c: Likewise.
2988 * benchtests/bench-strnlen-ifunc.c: Likewise.
2989 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2990 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2991 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2992 * benchtests/bench-strspn-ifunc.c: Likewise.
2993 * benchtests/bench-strstr-ifunc.c: Likewise.
2994
29952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2996
ab260039
OB
2997 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2998
d1d9eaf4 29992013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 3000
d1d9eaf4
OB
3001 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3002 * rt/aio.h: Likewise.
3003 * sysdeps/gnu/bits/utmp.h: Likewise.
3004 * sysdeps/gnu/bits/utmpx.h: Likewise.
3005 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3006 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3007 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3008 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3009 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3010 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3011 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3012 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3013 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3014 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3015 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3016 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3017 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3019 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3020 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3021 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3022 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3023 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3024 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3025 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3026 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3027 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3028 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3029 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3031 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3032 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3033 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3034 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3035 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3036 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3038 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3039 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3040 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3041 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3042 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3043 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3044 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3045 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3046 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3047
a7624ed9
CD
30482013-11-25 Carlos O'Donell <carlos@redhat.com>
3049
3050 [BZ #16245]
3051 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3052 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3053
63cfe52b
JM
30542013-11-25 Joseph Myers <joseph@codesourcery.com>
3055
3056 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3057 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3058 Likewise.
3059
41e8926a
AZ
30602013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3061
3062 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3063 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3064 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3065 (__fesetround): Remove define.
3066 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3067 rounding and exceptions handling.
3068 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3069 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3070 (__fe_nomask_env): Likewise.
3071 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3072 __fegetround instead of fegetround.
3073 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3074 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3075
6851bd4d
RM
30762013-11-21 Roland McGrath <roland@hack.frob.com>
3077
070906ff
RM
3078 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3079 it's there.
3080
6851bd4d
RM
3081 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3082
84ae135d
MI
30832013-11-21 Meador Inge <meadori@codesourcery.com>
3084
3085 [BZ #11157]
3086 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3087 (encrypt_r): Likewise.
3088 * malloc/obstack.h (obstack_free): Likewise.
3089 * posix/unistd.h (encrypt): Likewise.
3090
daf75146
GM
30912013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3092
3093 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3094 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3095 DL_CALL_DT_FINI() that call the functions directly.
3096 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3097 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3098 * elf/dl-fini.c: Likewise.
3099
10ad46bc
OB
31002013-11-20 Ondřej Bílka <neleai@seznam.cz>
3101
3102 * malloc/hooks.c (memalign_check): Add alignment rounding.
3103 * malloc/malloc.c (_mid_memalign): New function.
3104 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3105 Implement by calling _mid_memalign.
3106 * manual/probes.texi (Memory Allocation Probes): Remove
3107 memory_valloc_retry and memory_pvalloc_retry.
3108
f3fd2628
SP
31092013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3110
4712799f
SP
3111 * locale/programs/locarchive.c (open_archive): Add const
3112 qualifier to ARCHIVEFNAME and copy default fname to
3113 DEFAULT_FNAME.
3114
0417b20f
SP
3115 [BZ #15601]
3116 * libio/tst-widetext.input: Rename Oriya to Odia.
3117 * locale/iso-639.def: Likewise.
3118
f3fd2628
SP
3119 * manual/probes.texi (Mathematical Function Probes): Add
3120 documentation for sin, cos, asin and acos probes.
3121 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3122 (__sin32): Add slowasin probe.
3123 (__cos32): Add slowacos probe.
3124 (__mpsin): Add slowsin probe.
3125 (__mpcos): Add slowcos probe.
3126
73c1ce4f
JM
31272013-11-19 Joseph Myers <joseph@codesourcery.com>
3128
3129 [BZ #15483]
3130 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3131 thread-local __sim_exceptions_thread and global
3132 __sim_exceptions_global.
3133 (__sim_disabled_exceptions): Change to thread-local
3134 __sim_disabled_exceptions_thread and global
3135 __sim_disabled_exceptions_global.
3136 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3137 and global __sim_round_mode_global.
3138 (__simulate_exceptions): Use thread-local floating-point state and
3139 set global state from it as needed.
3140 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3141 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3142 __sim_round_mode_thread.
3143 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3144 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3145 and global __sim_exceptions_global.
3146 (__sim_disabled_exceptions): Change to thread-local
3147 __sim_disabled_exceptions_thread and global
3148 __sim_disabled_exceptions_global.
3149 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3150 and global __sim_round_mode_global.
3151 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3152 (SIM_SET_GLOBAL): Likewise.
3153 * sysdeps/powerpc/soft-fp/sfp-machine.h
3154 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3155 __sim_round_mode_thread.
3156 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3157 __sim_disabled_exceptions_thread.
3158 (__sim_exceptions): Change to __sim_exceptions_thread.
3159 (__sim_disabled_exceptions): Change to
3160 __sim_disabled_exceptions_thread.
3161 (__sim_round_mode): Change to __sim_round_mode_thread.
3162 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3163 thread-local floating-point state and set global state from it as
3164 needed.
3165 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3166 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3167 (__sim_disabled_exceptions): Remove extern declaration.
3168 (feenableexcept): Use thread-local floating-point state and set
3169 global state from it as needed.
3170 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3171 extern declaration.
3172 (__sim_disabled_exceptions): Likewise.
3173 (__sim_round_mode): Likewise.
3174 (__fegetenv): Use thread-local floating-point state.
3175 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3176 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3177 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3178 floating-point state and set global state from it as needed.
3179 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3180 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3181 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3182 Likewise.
3183 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3184 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3185 Likewise.
3186 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3187 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3188 Use __sim_round_mode_thread.
3189 * math/test-fenv-tls.c: New file.
3190 * math/Makefile (tests): Add test-fenv-tls.
3191 ($(objpfx)test-fenv-tls): Depend on
3192 $(common-objpfx)nptl/libpthread.so.
3193
b5449b12
AS
31942013-11-19 Andreas Schwab <schwab@suse.de>
3195
3196 * locale/programs/locale.c (show_info): Decode wordarray elements.
3197 * locale/categories.def (LC_MONETARY): Add element for
3198 _NL_MONETARY_CRNCYSTR.
3199 * locale/C-monetary.c (conversion_rate): New variable.
3200 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3201 element.
3202
e186536b
CM
32032013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3204
3205 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3206 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3207
5c349950
PP
32082013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3209
3210 * elf/Makefile (tst-auxv): New test.
3211 * elf/tst-auxv.c: New
3212 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3213
699df45b
JM
32142013-11-18 Joseph Myers <joseph@codesourcery.com>
3215
3216 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3217 (hidden_proto): Caller changed.
3218 (hidden_tls_proto): New macro.
3219 (libc_hidden_tls_proto): Likewise.
3220 (rtld_hidden_tls_proto): Likewise.
3221 (libm_hidden_tls_proto): Likewise.
3222 (libresolv_hidden_tls_proto): Likewise.
3223 (librt_hidden_tls_proto): Likewise.
3224 (libdl_hidden_tls_proto): Likewise.
3225 (libnss_files_hidden_tls_proto): Likewise.
3226 (libnsl_hidden_tls_proto): Likewise.
3227 (libnss_nisplus_hidden_tls_proto): Likewise.
3228 (libutil_hidden_tls_proto): Likewise.
3229
b7589107
OB
32302013-11-18 Ondřej Bílka <neleai@seznam.cz>
3231
3232 [BZ #10253]
3233 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3234 (decompose_rpath): Defer expansion to fillin_rpath.
3235 (_dl_init_paths): Pass linkmap to fillin_rpath.
3236
250c23bd
RS
32372013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3238
3239 * benchtests/Makefile: Add strsep.
3240 * benchtests/bench-strsep.c: New file: strsep benchtest.
3241 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3242
a7931fcf
AS
32432013-11-18 Andreas Schwab <schwab@suse.de>
3244
3245 * locale/programs/locale.c (show_info) [case byte]: Check for
3246 '\377' instead of '\177'.
3247 * locale/C-monetary.c (not_available): Always use "\377".
3248 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3249 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3250 detect unavailable sign_posn locale elements.
3251 * locale/localeconv.c (__localeconv): For grouping and
3252 mon_grouping handle "\177" and "\377" like no grouping.
3253 (INT_ELEM): New macro. Use it to set all numeric members.
3254 * locale/programs/ld-monetary.c (monetary_read)
3255 <tok_mon_grouping>: Normalize single -1 to the empty string.
3256 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3257 Likewise.
3258
728dab0e
OB
32592013-11-07 Ondřej Bílka <neleai@seznam.cz>
3260
3261 [BZ #16055]
3262 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3263 when we match (nil).
3264 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3265
66294491
JM
32662013-11-16 Joseph Myers <joseph@codesourcery.com>
3267
ce665817
JM
3268 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3269 (NO_TEST_INLINE): Update value.
3270 (ERRNO_UNCHANGED): Likewise.
3271 (ERRNO_EDOM): Likewise.
3272 (ERRNO_ERANGE): Likewise.
3273 (IGNORE_RESULT): Likewise.
3274 (check_float_internal): Check signs of NaN results if
3275 TEST_NAN_SIGN used.
3276 (check_complex): Pass TEST_NAN_SIGN flag through to second
3277 check_float_internal call.
3278 (copysign_test_data): Add tests with quiet NaNs as second
3279 argument. Use TEST_NAN_SIGN.
3280 (fabs_test_data): Add test of negative quiet NaN argument. Use
3281 TEST_NAN_SIGN.
3282 (signbit_test_data): Add tests of quiet NaN argument.
3283 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3284
ee1466a9
JM
3285 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3286 $ignore_result.
3287 (parse_args): Handle function results specified as IGNORE.
3288 * math/libm-test.inc (IGNORE_RESULT): New macro.
3289 (check_float_internal): Do not check numerical result if flag
3290 IGNORE_RESULT set.
3291 (check_complex): Pass through IGNORE_RESULT to second
3292 check_float_internal call.
3293 (check_int): Do not check numerical result if flag IGNORE_RESULT
3294 set.
3295 (check_long): Likewise.
3296 (check_bool): Likewise.
3297 (check_longlong): Likewise.
3298 (lrint_test_data): Add tests of infinite and NaN arguments.
3299 (lrint_tonearest_test_data): Likewise.
3300 (lrint_towardzero_test_data): Likewise.
3301 (lrint_downward_test_data): Likewise.
3302 (lrint_upward_test_data): Likewise.
3303 (llrint_test_data): Likewise.
3304 (llrint_tonearest_test_data): Likewise.
3305 (llrint_towardzero_test_data): Likewise.
3306 (llrint_downward_test_data): Likewise.
3307 (llrint_upward_test_data): Likewise.
3308 (lround_test_data): Likewise.
3309 (llround_test_data): Likewise.
3310
14407b7e
JM
3311 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3312 (ERRNO_UNCHANGED): Update value.
3313 (ERRNO_EDOM): Likewise.
3314 (ERRNO_ERANGE): Likewise.
3315 (NO_TEST_INLINE_FLOAT): New macro.
3316 (NO_TEST_INLINE_DOUBLE): Likewise.
3317 (enable_test): New function.
3318 (RUN_TEST_f_f): Check enable_test before running test.
3319 (RUN_TEST_2_f): Likewise.
3320 (RUN_TEST_fff_f): Likewise.
3321 (RUN_TEST_c_f): Likewise.
3322 (RUN_TEST_f_f1): Likewise.
3323 (RUN_TEST_fF_f1): Likewise.
3324 (RUN_TEST_fI_f1): Likewise.
3325 (RUN_TEST_ffI_f1): Likewise.
3326 (RUN_TEST_c_c): Likewise.
3327 (RUN_TEST_cc_c): Likewise.
3328 (RUN_TEST_f_i): Likewise.
3329 (RUN_TEST_f_i_tg): Likewise.
3330 (RUN_TEST_ff_i_tg): Likewise.
3331 (RUN_TEST_f_b): Likewise.
3332 (RUN_TEST_f_b_tg): Likewise.
3333 (RUN_TEST_f_l): Likewise.
3334 (RUN_TEST_f_L): Likewise.
3335 (RUN_TEST_fFF_11): Likewise.
3336 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3337 conditionals.
3338 (cosh_test_data): Likewise.
3339 (exp_test_data): Likewise.
3340 (expm1_test_data): Likewise.
3341 (hypot_test_data): Likewise.
3342 (pow_test_data): Likewise.
3343 (sinh_test_data): Likewise.
3344 (tanh_test_data): Likewise.
3345 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3346 flags argument.
3347
ca07f197
JM
3348 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3349 tests with quiet NaN input and output.
3350 (acosh_test_data): Likewise.
3351 (asin_test_data): Likewise.
3352 (asinh_test_data): Likewise.
3353 (atan_test_data): Likewise.
3354 (atanh_test_data): Likewise.
3355 (atan2_test_data): Likewise.
3356 (cbrt_test_data): Likewise.
3357 (cos_test_data): Likewise.
3358 (cosh_test_data): Likewise.
3359 (erf_test_data): Likewise.
3360 (erfc_test_data): Likewise.
3361 (exp_test_data): Likewise.
3362 (exp10_test_data): Likewise.
3363 (exp2_test_data): Likewise.
3364 (expm1_test_data): Likewise.
3365 (hypot_test_data): Likewise.
3366 (j0_test_data): Likewise.
3367 (j1_test_data): Likewise.
3368 (jn_test_data): Likewise.
3369 (lgamma_test_data): Likewise.
3370 (log_test_data): Likewise.
3371 (log10_test_data): Likewise.
3372 (log1p_test_data): Likewise.
3373 (log2_test_data): Likewise.
3374 (pow_test_data): Likewise.
3375 (scalb_test_data): Likewise.
3376 (sin_test_data): Likewise.
3377 (sincos_test_data): Likewise.
3378 (sinh_test_data): Likewise.
3379 (tan_test_data): Likewise.
3380 (tanh_test_data): Likewise.
3381 (tgamma_test_data): Likewise.
3382 (y0_test_data): Likewise.
3383 (y1_test_data): Likewise.
3384 (yn_test_data): Likewise.
3385
66294491
JM
3386 [BZ #16167]
3387 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3388 argument being NaN and avoid computations with second argument in
3389 that case.
3390 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3391 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3392 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3393
1820b143
CL
33942013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3395
3396 * locale/iso-639.def: Add Chitwani Tharu (the).
3397
714bd261
AS
33982013-11-14 Andreas Schwab <schwab@suse.de>
3399
3400 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3401 word instead of empty string.
3402
7ab44563
AZ
34032013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3406 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3408 (__fe_nomask_env): Likewise.
3409
e8470ea2
SE
34102013-11-13 Steve Ellcey <sellcey@mips.com>
3411
3412 * benchtests/bench-timing.h: Include time.h.
3413
17c1d9f0
L
34142013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 [BZ #15997]
3417 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3418 to 3.4.0 for x32.
3419 * sysdeps/unix/sysv/linux/configure: Regenerated.
3420
9310c284
JM
34212013-11-13 Joseph Myers <joseph@codesourcery.com>
3422
3423 [BZ #16151]
3424 * stdlib/strtod_l.c (round_and_return): Do not consider
3425 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3426 exponent one less than half the least subnormal exponent.
3427 * stdlib/test-strtod-round-data: Add more tests.
3428 * stdlib/tst-strtod-round.c (tests): Regenerated.
3429
7a2ad8cf
AZ
34302013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3431
3432 [BZ #14143]
3433 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3434 (__fe_mask_env): Likewise.
3435 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3436 libm_hidden_proto and add function prototype.
3437 (__fe_mask_env): Add function prototype.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3439 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3441 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3443 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3444
50727aa7
MS
34452013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3446
b2f386c1 3447 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3448 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3449
a615be46
MS
34502013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3451
3452 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3453 of htab_find_slot().
3454
7ddace62
DM
34552013-11-11 David S. Miller <davem@davemloft.net>
3456
3457 [BZ #16150]
3458 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3459 symbol in the non-vis3 case in static builds.
3460 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3461 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3462 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3463 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3464
9182aa67
JK
34652013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3466
3467 [BZ #387]
3468 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3469 it is empty.
3470
450a2e2d
AZ
34712013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3472
b2f386c1
SP
3473 * benchtests/Makefile: Add bench-strtod.
3474 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3475
8ec3f656
AS
34762013-11-11 Andreas Schwab <schwab@suse.de>
3477
3478 [BZ #16153]
3479 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3480 terminating NUL in key length.
3481
76a9b998
AZ
34822013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3483
3484 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3485 Add artificial ODP entry for vDSO symbol for PPC64.
3486 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3487 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3488
e4368156
OB
34892013-11-07 Ondřej Bílka <neleai@seznam.cz>
3490
3491 [BZ #15374]
3492 * nss/getent.c (services_keys): Recognize services starting with digit.
3493
8d6bb57c
DM
34942013-11-06 David S. Miller <davem@davemloft.net>
3495
3496 [BZ #15985]
3497 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3498 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3499
e256c421
WN
35002013-11-06 Will Newton <will.newton@linaro.org>
3501
3502 * manual/memory.texi (Malloc Examples): Remove register
3503 keyword from examples.
3504
f6e12daa 35052013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3506
f6e12daa 3507 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3508
9d880655
AS
35092013-11-04 Joseph Myers <joseph@codesourcery.com>
3510
3511 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3512 depending on [__GCC_IEC_559 > 0].
3513 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3514 depending on [__GCC_IEC_559_COMPLEX > 0].
3515
ae129d3c
CL
35162013-11-03 Chris Leonard <cjl@sugarlabs.org>
3517
3518 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3519 to iso-639.def.
3520
4a15c2a4 35212013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3522
3523 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3524
8b35e35d
OB
35252013-11-01 Ondřej Bílka <neleai@seznam.cz>
3526
3527 [BZ #16112]
3528 * malloc/malloc (malloc_info): Do not handle first bin as
3529 special case.
3530
1d70fd6c
CL
35312013-11-01 Chris Leonard <cjl@sugarlabs.org>
3532
3533 * locale/iso-639.def: Add Central Nahuatl (nhn).
3534
8c5c2600
BH
35352013-11-01 Bruno Haible <bruno@clisp.org>
3536
3537 [BZ #7003]
3538 * manual/math.texi (BSD Random): Specify range upper bound as
3539 in POSIX.
3540
da5579c2
CL
35412013-10-31 Chris Leonard <cjl@sugarlabs.org>
3542
3543 * locale/iso-639.def: Add Meadow Mari (mhr).
3544
5d30d853
OB
35452013-10-31 Ondřej Bílka <neleai@seznam.cz>
3546
3547 [BZ #14752], [BZ #15763]
3548 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3549 Validate name.
3550 * rt/tst_shm.c: Add test for escaping directory.
3551
a4966c61
AS
35522013-10-31 Andreas Schwab <schwab@suse.de>
3553
8a43e768 3554 [BZ #15917]
a4966c61
AS
3555 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3556 followed by 'x' as part of digit sequence.
3557 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3558
28d708c4
MAP
35592013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3560
3561 [BZ #16037]
3562 * configure.ac: allow GNU Make 4.0 and greater.
3563 * configure: Regenerated.
3564
a56ee40b
WN
35652013-10-30 Will Newton <will.newton@linaro.org>
3566
3567 [BZ #16038]
3568 * malloc/hooks.c (memalign_check): Limit alignment to the
3569 maximum representable power of two.
3570 * malloc/malloc.c (__libc_memalign): Likewise.
3571 * malloc/tst-memalign.c (do_test): Add test for very
3572 large alignment values.
3573 * malloc/tst-posix_memalign.c (do_test): Likewise.
3574
c6e4925d
OB
35752013-10-30 Ondřej Bílka <neleai@seznam.cz>
3576
3577 [BZ #11087]
3578 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3579 (munmap_chunk): Likewise.
3580 (mremap_chunk): Likewise.
3581
35822013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3583
8a43e768 3584 [BZ #15799]
bbea82f7
OB
3585 * stdlib/div.c (div): Remove obsolete code.
3586 * stdlib/ldiv.c (ldiv): Likewise.
3587 * stdlib/lldiv.c (lldiv): Likewise.
3588
977f4b31
SP
35892013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3590
3591 [BZ #16071]
3592 * nss/nss_files/files-XXX.c (get_contents_ret): New
3593 enumerator.
3594 (get_contents): New function.
3595 (internal_getent): Use it. Expand size of LINEBUFLEN.
3596
cb8a6dbd
MF
35972013-10-30 Mike Frysinger <vapier@gentoo.org>
3598
3599 * configure.in: Moved to ...
3600 * configure.ac: ... here. Change reference to configure.in
3601 to configure.ac.
3602 * sysdeps/arm/preconfigure.ac: ... here.
3603 configure.in to configure.ac.
3604 * sysdeps/gnu/configure.in: Moved to ...
3605 * sysdeps/gnu/configure.ac: ... here.
3606 * sysdeps/i386/configure.in: Moved to ...
3607 * sysdeps/i386/configure.ac: ... here.
3608 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3609 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3610 * sysdeps/mach/configure.in: Moved to ...
3611 * sysdeps/mach/configure.ac: ... here.
3612 * sysdeps/mach/hurd/configure.in: Moved to ...
3613 * sysdeps/mach/hurd/configure.ac: ... here.
3614 * sysdeps/powerpc/configure.in: Moved to ...
3615 * sysdeps/powerpc/configure.ac: ... here.
3616 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3617 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3618 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3619 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3620 * sysdeps/s390/s390-32/configure.in: Moved to ...
3621 * sysdeps/s390/s390-32/configure.ac: ... here.
3622 * sysdeps/s390/s390-64/configure.in: Moved to ...
3623 * sysdeps/s390/s390-64/configure.ac: ... here.
3624 * sysdeps/sh/configure.in: Moved to ...
3625 * sysdeps/sh/configure.ac: ... here.
3626 * sysdeps/sparc/configure.in: Moved to ...
3627 * sysdeps/sparc/configure.ac: ... here.
3628 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3629 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3630 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3631 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3632 * sysdeps/x86_64/configure.in: Moved to ...
3633 * sysdeps/x86_64/configure.ac: ... here.
3634 * sysdeps/x86_64/preconfigure.in: Moved to ...
3635 * sysdeps/x86_64/preconfigure.ac: ... here.
3636 * aclocal.m4: Change reference to configure.in to configure.ac.
3637 * config.h.in: Likewise.
3638 * manual/install.texi: Likewise.
3639 * manual/maint.texi: Likewise.
3640 * Makefile: Likewise.
3641 * malloc/Makefile: Likewise.
3642 * nscd/Makefile: Likewise.
3643 * Makeconfig: Change reference to configure.in and
3644 preconfigure.in to configure.ac and preconfigure.ac
3645 respectively.
3646 * INSTALL: Regenerated.
3647 * configure: Likewise.
3648 * sysdeps/gnu/configure: Likewise.
3649 * sysdeps/i386/configure: Likewise.
3650 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3651 * sysdeps/mach/configure: Likewise.
3652 * sysdeps/mach/hurd/configure: Likewise.
3653 * sysdeps/powerpc/configure: Likewise.
3654 * sysdeps/powerpc/powerpc32/configure: Likewise.
3655 * sysdeps/powerpc/powerpc64/configure: Likewise.
3656 * sysdeps/s390/s390-32/configure: Likewise.
3657 * sysdeps/s390/s390-64/configure: Likewise.
3658 * sysdeps/sh/configure: Likewise.
3659 * sysdeps/sparc/configure: Likewise.
3660 * sysdeps/unix/sysv/linux/configure: Likewise.
3661 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3662 * sysdeps/x86_64/configure: Likewise.
3663 * sysdeps/x86_64/preconfigure: Likewise.
3664
36a4953a
AS
36652013-10-29 Andreas Schwab <schwab@suse.de>
3666
3667 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3668
c79a1204
SP
36692013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3670
dfa1b402
SP
3671 * benchtests/pow-inputs: Add new inputs.
3672
54f73d9c
SP
3673 * benchtests/exp-inputs: Add new inputs.
3674
c79a1204
SP
3675 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3676 conditional check for return value.
3677 (__cos32): Likewise.
3678
67beb545 36792013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3680
3681 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3682 to provide a boost for large inputs with word alignment.
3683 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3684 implementation based on optimized PPC64 strcpy.
3685 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3686 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3687 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3688 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3689
151659f6
OB
36902013-10-25 Ondřej Bílka <neleai@seznam.cz>
3691
482a077e 3692 [BZ #2801]
151659f6
OB
3693 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3694
10b0f26b
OB
36952013-10-25 Ondřej Bílka <neleai@seznam.cz>
3696
3697 [BZ #14876]
3698 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3699 * time/tst-strptime.c (day_tests): Add testcase.
3700
ca42d35e
OB
37012013-10-25 Ondřej Bílka <neleai@seznam.cz>
3702
482a077e 3703 [BZ #14029]
ca42d35e
OB
3704 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3705
52e6d801
FB
37062013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3707
3708 [BZ #16074]
3709 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3710 MAP_FAILED on error.
3711
7cbcdb36
SP
37122013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 [BZ #16072]
3715 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3716 heap for large requests.
3717
894f3f10
AM
37182013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3719
3720 [BZ #9954]
3721 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3722 result if the result has no associated interface.
3723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3724 interface for all 127.X.Y.Z addresses.
3725
b85545a6
CL
37262013-10-24 Chris Leonard <cjl@sugarlabs.org>
3727
3728 * locale/iso-639.def: Add Ligurian (lij)
3729
d1f23d46
OB
37302013-10-21 Ondřej Bílka <neleai@seznam.cz>
3731
3732 [BZ #15825]
3733 * sunrpc/rpc_main.c: Document rpcgen -5.
3734
4db5b08f
MS
37352013-10-19 Michael Stahl <mstahl@redhat.com>
3736
3737 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3738
a471e96a
OB
37392013-10-19 Ondřej Bílka <neleai@seznam.cz>
3740
d1f23d46 3741 [BZ #10278]
a471e96a
OB
3742 * posix/glob.c: Match only directories when trailing slash is present.
3743 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3744 (main): Add testcase.
3745
45c30c61
OB
37462013-10-19 Ondřej Bílka <neleai@seznam.cz>
3747
3748 [BZ #15670]
3749 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3750
484c12fb
CD
37512013-10-18 Carlos O'Donell <carlos@redhat.com>
3752
3d7dc513
CD
3753 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3754 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3755 AUTH_DES and cindex for FIPS 140-2.
3756 (DES Encryption): Add cindex FIPS 46-3.
3757
484c12fb
CD
3758 * locale/locarchive.h (struct locarhandle): Add fname.
3759 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3760 if an optional argument was specified to --list-archive,
3761 otherwise NULL.
3762 * locale/programs/locarchive.c (show_archive_content): Take new
3763 argument fname and pass it via ah.fname to open_archive.
3764 * locale/programs/localedef.h: Update decl.
3765 (open_archive): If AH->fname is non-null, open that file
3766 rather than the default file name, and don't ignore ENOENT.
3767 (create_archive): Set AH.fname to NULL.
3768 (delete_locales_from_archive): Likewise.
3769 (add_locales_to_archive): Likewise.
3770 * locale/programs/locfile.c (write_all_categories): Likewise.
3771
3c8325fb
JM
37722013-10-18 Joseph Myers <joseph@codesourcery.com>
3773 Aldy Hernandez <aldyh@redhat.com>
3774
3775 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3776 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3777 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3778 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3779 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3780 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3781 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3782 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3783 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3784 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3785 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3786 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3787 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3788 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3789 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3790 Likewise.
3791 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3792 Likewise.
3793 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3794 Likewise.
3795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3796 Likewise.
3797 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3798 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3799 Likewise.
3800 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3801 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3802 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3803 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3804 Likewise.
3805 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3806 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3807 * sysdeps/powerpc/preconfigure: Likewise.
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3809 Likewise.
3810 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3811 Replace contents of file by #include of <fenv_libc.h>.
3812 * sysdeps/powerpc/soft-fp/sfp-machine.h
3813 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3814 and <sys/prctl.h>.
3815 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3816 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3817 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3818 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3819 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3820 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3825 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3828 Allow copysignl PLT reference to be missing.
3829
5abe0682
RS
38302013-10-18 Richard Sandiford <richard@codesourcery.com>
3831 Joseph Myers <joseph@codesourcery.com
3832
3833 [BZ #15948]
3834 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3835 single character.
3836 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3837
c7738d08
SP
38382013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3839
3840 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3841 * elf/tst-tls1.c: Likewise.
3842 * elf/tst-tls10.h: Likewise.
3843 * elf/tst-tls14.c: Likewise.
3844 * elf/tst-tls2.c: Likewise.
3845 * elf/tst-tls3.c: Likewise.
3846 * elf/tst-tls4.c: Likewise.
3847 * elf/tst-tls5.c: Likewise.
3848 * elf/tst-tls6.c: Likewise.
3849 * elf/tst-tls7.c: Likewise.
3850 * elf/tst-tls8.c: Likewise.
3851 * elf/tst-tls9.c: Likewise.
3852 * elf/tst-tlsmod1.c: Likewise.
3853 * elf/tst-tlsmod13.c: Likewise.
3854 * elf/tst-tlsmod13a.c: Likewise.
3855 * elf/tst-tlsmod14a.c: Likewise.
3856 * elf/tst-tlsmod16a.c: Likewise.
3857 * elf/tst-tlsmod16b.c: Likewise.
3858 * elf/tst-tlsmod2.c: Likewise.
3859 * elf/tst-tlsmod3.c: Likewise.
3860 * elf/tst-tlsmod4.c: Likewise.
3861 * elf/tst-tlsmod5.c: Likewise.
3862 * elf/tst-tlsmod6.c: Likewise.
3863
0bfcf2c7
OB
38642013-10-18 Ondřej Bílka <neleai@seznam.cz>
3865
3866 [BZ #12486]
3867 * malloc/malloc.c: remove checks for statistics.
3868
264aad1e
OB
38692013-10-17 Ondřej Bílka <neleai@seznam.cz>
3870
3871 [BZ #15277]
3872 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3873 * inet/tst-network.c: Add testcase.
3874
b957ced8
AS
38752013-10-17 Andreas Schwab <schwab@suse.de>
3876
3877 [BZ #15218]
3878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3879 to determine canonical name.
3880
c5d5d574
OB
38812013-10-17 Ondřej Bílka <neleai@seznam.cz>
3882
3883 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3884 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3889 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3895 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3896 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3900 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3902 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3903 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3906 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3907 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3908 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3911 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3912 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3913 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3914 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3915 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3916 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3917 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3918 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3941
e5c2c2d0
JM
39422013-10-17 Joseph Myers <joseph@codesourcery.com>
3943
3944 [BZ #16041]
3945 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3946 make result into a quiet NaN.
3947
51ca9e29
JM
39482013-10-16 Joseph Myers <joseph@codesourcery.com>
3949
3950 * soft-fp/adddf3.c: Fix horizontal whitespace.
3951 * soft-fp/addsf3.c: Likewise.
3952 * soft-fp/addtf3.c: Likewise.
3953 * soft-fp/divdf3.c: Likewise.
3954 * soft-fp/divsf3.c: Likewise.
3955 * soft-fp/divtf3.c: Likewise.
3956 * soft-fp/double.h: Likewise.
3957 * soft-fp/eqdf2.c: Likewise.
3958 * soft-fp/eqsf2.c: Likewise.
3959 * soft-fp/eqtf2.c: Likewise.
3960 * soft-fp/extenddftf2.c: Likewise.
3961 * soft-fp/extended.h: Likewise.
3962 * soft-fp/extendsfdf2.c: Likewise.
3963 * soft-fp/extendsftf2.c: Likewise.
3964 * soft-fp/extendxftf2.c: Likewise.
3965 * soft-fp/fixdfdi.c: Likewise.
3966 * soft-fp/fixdfsi.c: Likewise.
3967 * soft-fp/fixdfti.c: Likewise.
3968 * soft-fp/fixsfdi.c: Likewise.
3969 * soft-fp/fixsfsi.c: Likewise.
3970 * soft-fp/fixsfti.c: Likewise.
3971 * soft-fp/fixtfdi.c: Likewise.
3972 * soft-fp/fixtfsi.c: Likewise.
3973 * soft-fp/fixtfti.c: Likewise.
3974 * soft-fp/fixunsdfdi.c: Likewise.
3975 * soft-fp/fixunsdfsi.c: Likewise.
3976 * soft-fp/fixunsdfti.c: Likewise.
3977 * soft-fp/fixunssfdi.c: Likewise.
3978 * soft-fp/fixunssfsi.c: Likewise.
3979 * soft-fp/fixunssfti.c: Likewise.
3980 * soft-fp/fixunstfdi.c: Likewise.
3981 * soft-fp/fixunstfsi.c: Likewise.
3982 * soft-fp/fixunstfti.c: Likewise.
3983 * soft-fp/floatdidf.c: Likewise.
3984 * soft-fp/floatdisf.c: Likewise.
3985 * soft-fp/floatditf.c: Likewise.
3986 * soft-fp/floatsidf.c: Likewise.
3987 * soft-fp/floatsisf.c: Likewise.
3988 * soft-fp/floatsitf.c: Likewise.
3989 * soft-fp/floattidf.c: Likewise.
3990 * soft-fp/floattisf.c: Likewise.
3991 * soft-fp/floattitf.c: Likewise.
3992 * soft-fp/floatundidf.c: Likewise.
3993 * soft-fp/floatundisf.c: Likewise.
3994 * soft-fp/floatunditf.c: Likewise.
3995 * soft-fp/floatunsidf.c: Likewise.
3996 * soft-fp/floatunsisf.c: Likewise.
3997 * soft-fp/floatunsitf.c: Likewise.
3998 * soft-fp/floatuntidf.c: Likewise.
3999 * soft-fp/floatuntisf.c: Likewise.
4000 * soft-fp/floatuntitf.c: Likewise.
4001 * soft-fp/fmadf4.c: Likewise.
4002 * soft-fp/fmasf4.c: Likewise.
4003 * soft-fp/fmatf4.c: Likewise.
4004 * soft-fp/gedf2.c: Likewise.
4005 * soft-fp/gesf2.c: Likewise.
4006 * soft-fp/getf2.c: Likewise.
4007 * soft-fp/ledf2.c: Likewise.
4008 * soft-fp/lesf2.c: Likewise.
4009 * soft-fp/letf2.c: Likewise.
4010 * soft-fp/muldf3.c: Likewise.
4011 * soft-fp/mulsf3.c: Likewise.
4012 * soft-fp/multf3.c: Likewise.
4013 * soft-fp/negdf2.c: Likewise.
4014 * soft-fp/negsf2.c: Likewise.
4015 * soft-fp/negtf2.c: Likewise.
4016 * soft-fp/op-1.h: Likewise.
4017 * soft-fp/op-2.h: Likewise.
4018 * soft-fp/op-4.h: Likewise.
4019 * soft-fp/op-8.h: Likewise.
4020 * soft-fp/op-common.h: Likewise.
4021 * soft-fp/quad.h: Likewise.
4022 * soft-fp/single.h: Likewise.
4023 * soft-fp/soft-fp.h: Likewise.
4024 * soft-fp/sqrtdf2.c: Likewise.
4025 * soft-fp/sqrtsf2.c: Likewise.
4026 * soft-fp/sqrttf2.c: Likewise.
4027 * soft-fp/subdf3.c: Likewise.
4028 * soft-fp/subsf3.c: Likewise.
4029 * soft-fp/subtf3.c: Likewise.
4030 * soft-fp/truncdfsf2.c: Likewise.
4031 * soft-fp/trunctfdf2.c: Likewise.
4032 * soft-fp/trunctfsf2.c: Likewise.
4033 * soft-fp/trunctfxf2.c: Likewise.
4034 * soft-fp/unorddf2.c: Likewise.
4035 * soft-fp/unordsf2.c: Likewise.
4036 * soft-fp/unordtf2.c: Likewise.
4037
9ebb0332
JM
40382013-10-15 Joseph Myers <joseph@codesourcery.com>
4039
4040 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4041 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4042
4b1a6d8b
OB
40432013-10-15 Ondřej Bílka <neleai@seznam.cz>
4044
4045 * elf/dl-libc.c: Clear initfini list after freeing.
4046
1e145589
JM
40472013-10-14 Joseph Myers <joseph@codesourcery.com>
4048
4049 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4050 * soft-fp/addsf3.c: Likewise.
4051 * soft-fp/addtf3.c: Likewise.
4052 * soft-fp/divdf3.c: Likewise.
4053 * soft-fp/divsf3.c: Likewise.
4054 * soft-fp/divtf3.c: Likewise.
4055 * soft-fp/double.h: Likewise.
4056 * soft-fp/eqdf2.c: Likewise.
4057 * soft-fp/eqsf2.c: Likewise.
4058 * soft-fp/eqtf2.c: Likewise.
4059 * soft-fp/extenddftf2.c: Likewise.
4060 * soft-fp/extended.h: Likewise.
4061 * soft-fp/extendsfdf2.c: Likewise.
4062 * soft-fp/extendsftf2.c: Likewise.
4063 * soft-fp/extendxftf2.c: Likewise.
4064 * soft-fp/fixdfdi.c: Likewise.
4065 * soft-fp/fixdfsi.c: Likewise.
4066 * soft-fp/fixdfti.c: Likewise.
4067 * soft-fp/fixsfdi.c: Likewise.
4068 * soft-fp/fixsfsi.c: Likewise.
4069 * soft-fp/fixsfti.c: Likewise.
4070 * soft-fp/fixtfdi.c: Likewise.
4071 * soft-fp/fixtfsi.c: Likewise.
4072 * soft-fp/fixtfti.c: Likewise.
4073 * soft-fp/fixunsdfdi.c: Likewise.
4074 * soft-fp/fixunsdfsi.c: Likewise.
4075 * soft-fp/fixunsdfti.c: Likewise.
4076 * soft-fp/fixunssfdi.c: Likewise.
4077 * soft-fp/fixunssfsi.c: Likewise.
4078 * soft-fp/fixunssfti.c: Likewise.
4079 * soft-fp/fixunstfdi.c: Likewise.
4080 * soft-fp/fixunstfsi.c: Likewise.
4081 * soft-fp/fixunstfti.c: Likewise.
4082 * soft-fp/floatdidf.c: Likewise.
4083 * soft-fp/floatdisf.c: Likewise.
4084 * soft-fp/floatditf.c: Likewise.
4085 * soft-fp/floatsidf.c: Likewise.
4086 * soft-fp/floatsisf.c: Likewise.
4087 * soft-fp/floatsitf.c: Likewise.
4088 * soft-fp/floattidf.c: Likewise.
4089 * soft-fp/floattisf.c: Likewise.
4090 * soft-fp/floattitf.c: Likewise.
4091 * soft-fp/floatundidf.c: Likewise.
4092 * soft-fp/floatundisf.c: Likewise.
4093 * soft-fp/floatunsidf.c: Likewise.
4094 * soft-fp/floatunsisf.c: Likewise.
4095 * soft-fp/floatuntidf.c: Likewise.
4096 * soft-fp/floatuntisf.c: Likewise.
4097 * soft-fp/floatuntitf.c: Likewise.
4098 * soft-fp/fmadf4.c: Likewise.
4099 * soft-fp/fmasf4.c: Likewise.
4100 * soft-fp/fmatf4.c: Likewise.
4101 * soft-fp/gedf2.c: Likewise.
4102 * soft-fp/gesf2.c: Likewise.
4103 * soft-fp/getf2.c: Likewise.
4104 * soft-fp/ledf2.c: Likewise.
4105 * soft-fp/lesf2.c: Likewise.
4106 * soft-fp/letf2.c: Likewise.
4107 * soft-fp/muldf3.c: Likewise.
4108 * soft-fp/mulsf3.c: Likewise.
4109 * soft-fp/multf3.c: Likewise.
4110 * soft-fp/negdf2.c: Likewise.
4111 * soft-fp/negsf2.c: Likewise.
4112 * soft-fp/negtf2.c: Likewise.
4113 * soft-fp/op-1.h: Likewise.
4114 * soft-fp/op-2.h: Likewise.
4115 * soft-fp/op-4.h: Likewise.
4116 * soft-fp/op-8.h: Likewise.
4117 * soft-fp/op-common.h: Likewise.
4118 * soft-fp/quad.h: Likewise.
4119 * soft-fp/single.h: Likewise.
4120 * soft-fp/soft-fp.h: Likewise.
4121 * soft-fp/sqrtdf2.c: Likewise.
4122 * soft-fp/sqrtsf2.c: Likewise.
4123 * soft-fp/sqrttf2.c: Likewise.
4124 * soft-fp/subdf3.c: Likewise.
4125 * soft-fp/subsf3.c: Likewise.
4126 * soft-fp/subtf3.c: Likewise.
4127 * soft-fp/truncdfsf2.c: Likewise.
4128 * soft-fp/trunctfdf2.c: Likewise.
4129 * soft-fp/trunctfsf2.c: Likewise.
4130 * soft-fp/trunctfxf2.c: Likewise.
4131 * soft-fp/unorddf2.c: Likewise.
4132 * soft-fp/unordsf2.c: Likewise.
4133 * soft-fp/unordtf2.c: Likewise.
4134
17c48a60
OB
41352013-10-14 Ondřej Bílka <neleai@seznam.cz>
4136
4137 [BZ #15672]
4138 * misc/error.c (error_tail): Fix possible buffer overflow.
4139
cabba934
OB
41402013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4141
4142 [BZ #13028]
4143 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4144 address.
4145
94bf958a
PM
41462013-10-14 P. J. McDermott <pj@pehjota.net>
4147
4148 [BZ #832]
4149 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4150 testing pipefail option.
4151
71b4dea7
JM
41522013-10-12 Joseph Myers <joseph@codesourcery.com>
4153
4154 * soft-fp/double.h: Indent preprocessor directives inside #if.
4155 * soft-fp/extended.h: Likewise.
4156 * soft-fp/op-2.h: Likewise.
4157 * soft-fp/op-4.h: Likewise.
4158 * soft-fp/op-common.h: Likewise.
4159 * soft-fp/quad.h: Likewise.
4160 * soft-fp/single.h: Likewise.
4161 * soft-fp/soft-fp.h: Likewise.
4162
55602758
YC
41632013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4164
4165 * iconv/iconv_prog.c: Fix typos.
4166 * stdio-common/psiginfo-data.h: Likewise.
4167
9cd83302
RT
41682013-10-12 Reuben Thomas <rrt@sc3d.org>
4169
4170 [BZ #15764]
4171 * locale/setlocale.c: Fix typo.
4172
99fd9f47
JM
41732013-10-12 Joseph Myers <joseph@codesourcery.com>
4174
b7ea74f0
JM
4175 [BZ #16036]
4176 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4177 signaling NaN arguments.
4178 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4179 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4180
8a509447
JM
4181 [BZ #14910]
4182 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4183 unordered operands.
4184 * soft-fp/gesf2.c (__gesf2): Likewise.
4185 * soft-fp/getf2.c (__getf2): Likewise.
4186 * soft-fp/ledf2.c (__ledf2): Likewise.
4187 * soft-fp/lesf2.c (__lesf2): Likewise.
4188 * soft-fp/letf2.c (__letf2): Likewise.
4189
98998e9f
JM
4190 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4191 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4192 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4193 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4194 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4195 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4196 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4197 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4198 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4199 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4200 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4201 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4202 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4203 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4204 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4205 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4206 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4207 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4208 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4209 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4210 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4211 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4212 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4213 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4214 * soft-fp/floattidf.c (__floattidf): Likewise.
4215 * soft-fp/floattisf.c (__floattisf): Likewise.
4216 * soft-fp/floattitf.c (__floattitf): Likewise.
4217 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4218 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4219 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4220 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4221 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4222 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4223 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4224 * soft-fp/gesf2.c (__gesf2): Likewise.
4225 * soft-fp/getf2.c (__getf2): Likewise.
4226 * soft-fp/ledf2.c (__ledf2): Likewise.
4227 * soft-fp/lesf2.c (__lesf2): Likewise.
4228 * soft-fp/letf2.c (__letf2): Likewise.
4229
8edc4a11
JM
4230 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4231 Undefine and redefine.
4232 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4233 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4234 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4235 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4236 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4237 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4238 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4239 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4240 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4241 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4242 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4243 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4244 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4245 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4246 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4247
8399acaf
JM
4248 [BZ #16032]
4249 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4250 without decrementing exponent if mantissa >= that for the
4251 denominator, not >.
4252 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4253 denominator, not >. Decrement exponent in < case instead of
4254 incrementing in >= case.
4255 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4256 without decrementing exponent if mantissa >= that for the
4257 denominator, not >.
4258
99fd9f47
JM
4259 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4260 computing saturated result for unsigned overflow.
4261
10e1cf6b
SP
42622013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 Jeff Law <law@redhat.com>
4264
4265 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4266 (atan2Mp): Add systemtap probe marker.
4267 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4268 (__ieee754_log): Add systemtap probe marker.
4269 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4270 (atanMp): Add systemtap probe marker.
4271 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4272 (tanMp): Add systemtap probe marker.
4273 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4274 (__slowexp): Add systemtap probe marker.
4275 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4276 (__slowpow): Add systemtap probe marker.
4277 * manual/probes.texi: Document probes.
4278
3d110c7c
EB
42792013-10-11 Eric Biggers <ebiggers3@gmail.com>
4280
4281 [BZ #15362]
4282 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4283 written.
4284 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4285 written.
4286 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4287 written to buffer but not flushed.
4288 * libio/iofwrite_u.c: Likewise.
4289 * libio/iopadn.c: Return bytes returned even if EOF was
4290 encountered.
4291 * libio/iowpadn.c: Likewise.
4292 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4293 if _IO_padn does not write the whole buffer.
4294 [!COMPILE_WPRINTF] (PAD): Likewise.
4295
75b4202a
DM
42962013-10-10 David S. Miller <davem@davemloft.net>
4297
4298 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4299 directory block.
4300
6c6352e6
JM
43012013-10-10 Joseph Myers <joseph@codesourcery.com>
4302
33b853c3
JM
4303 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4304 instead of FSF address.
4305 * soft-fp/fixdfti.c: Likewise.
4306 * soft-fp/fixsfti.c: Likewise.
4307 * soft-fp/fixtfti.c: Likewise.
4308 * soft-fp/fixunsdfti.c: Likewise.
4309 * soft-fp/fixunssfti.c: Likewise.
4310 * soft-fp/fixunstfti.c: Likewise.
4311 * soft-fp/floattidf.c: Likewise.
4312 * soft-fp/floattisf.c: Likewise.
4313 * soft-fp/floattitf.c: Likewise.
4314 * soft-fp/floatuntidf.c: Likewise.
4315 * soft-fp/floatuntisf.c: Likewise.
4316 * soft-fp/floatuntitf.c: Likewise.
4317 * soft-fp/trunctfxf2.c: Likewise.
4318
6c6352e6
JM
4319 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4320 * soft-fp/fixdfti.c: Likewise.
4321 * soft-fp/fixsfti.c: Likewise.
4322 * soft-fp/fixtfti.c: Likewise.
4323 * soft-fp/fixunsdfti.c: Likewise.
4324 * soft-fp/fixunssfti.c: Likewise.
4325 * soft-fp/fixunstfti.c: Likewise.
4326 * soft-fp/floattidf.c: Likewise.
4327 * soft-fp/floattisf.c: Likewise.
4328 * soft-fp/floattitf.c: Likewise.
4329 * soft-fp/floatuntidf.c: Likewise.
4330 * soft-fp/floatuntisf.c: Likewise.
4331 * soft-fp/floatuntitf.c: Likewise.
4332 * soft-fp/trunctfxf2.c: Likewise.
4333
3bf78b71
DM
43342013-10-10 David S. Miller <davem@davemloft.net>
4335
4336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4337
6f10289e
JM
43382013-10-10 Joseph Myers <joseph@codsourcery.com>
4339
bd878fc0
JM
4340 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4341 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4342 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4343 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4344 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4345 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4346 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4347
6f10289e
JM
4348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4349 for NaNs before doing comparisons on argument.
4350 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4351 Likewise.
4352
321e2684
WN
43532013-10-10 Will Newton <will.newton@linaro.org>
4354
4355 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4356 passed to _int_memalign does not overflow.
4357
40fefba1
TR
43582013-10-10 Torvald Riegel <triegel@redhat.com>
4359
4360 * scripts/bench.pl: Add include-sources directive.
4361 * benchtests/README: Update documentation.
4362
2ae21ed2
JM
43632013-10-10 Joseph Myers <joseph@codesourcery.com>
4364
dcc2dd3f
JM
4365 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4366 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4367 instead of FP_INIT_ROUNDMODE.
4368 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4369 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4370
2ae21ed2
JM
4371 [BZ #16034]
4372 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4373 copy class of input value.
4374 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4375 not handle exceptions.
4376 * soft-fp/negsf2.c (__negsf2): Likewise.
4377 * soft-fp/negtf2.c (__negtf2): Likewise.
4378 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4379
cb8f9562
JM
43802013-10-09 Joseph Myers <joseph@codesourcery.com>
4381
4382 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4383 semicolon. From Linux kernel.
4384
5b60c59d
AB
43852013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4386
4387 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4388
b86835ca
YC
43892013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4390
4391 [BZ #156]
4392 * manual/socket.texi: Added statement about buffer
4393 for gethostbyname2_r.
4394
e7044ea7
OB
43952013-10-08 Ondřej Bílka <neleai@seznam.cz>
4396
4397 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4398 Use .p2align directive instead, throughout.
4399 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4400 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4401 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4402 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4403 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4404 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4405 * sysdeps/x86_64/strchr.S: Likewise.
4406 * sysdeps/x86_64/strrchr.S: Likewise.
4407
09544cbc
SP
44082013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4409
88576635
SP
4410 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4411
e7b2d1dd
SP
4412 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4413
09544cbc
SP
4414 * sysdeps/generic/math_private.h (__mpsin1): Remove
4415 declaration.
4416 (__mpcos1): Likewise.
4417 (__mpsin): New argument __range_reduce.
4418 (__mpcos): Likewise.
4419 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4420 (slow): Use __mpsin and __mpcos.
4421 (slow1): Likewise.
4422 (slow2): Likewise.
4423 (sloww): Likewise.
4424 (sloww1): Likewise.
4425 (sloww2): Likewise.
4426 (bsloww): Likewise.
4427 (bsloww1): Likewise.
4428 (bsloww2): Likewise.
4429 (cslow2): Likewise.
4430 (csloww): Likewise.
4431 (csloww1): Likewise.
4432 (csloww2): Likewise.
4433 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4434 range_reduce. Merge in __mpsin1.
4435 (__mpcos): Likewise.
4436 (__mpsin1): Remove.
4437 (__mpcos1): Likewise.
4438
7602d070
JM
44392013-10-07 Joseph Myers <joseph@codesourcery.com>
4440
4441 * locale/loadlocale.c (_nl_intern_locale_data): Use
4442 LOCFILE_ALIGNED_P.
4443 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4444 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4445 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4446 obstack data is appropriately aligned.
4447 (obstack_int32_grow_fast): Likewise.
4448 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4449 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4450 (add_locale_uint32_array): Likewise.
4451
a357259b
SP
44522013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4453
4454 * benchtests/Makefile: Remove ARGLIST and RET variables.
4455 ($(objpfx)bench-%.c): Pass only function name to the script.
4456 * benchtests/README: Update documentation.
4457 * benchtests/acos-inputs: Add new directives.
4458 * benchtests/acosh-inputs: Likewise.
4459 * benchtests/asin-inputs: Likewise.
4460 * benchtests/asinh-inputs: Likewise.
4461 * benchtests/atan-inputs: Likewise.
4462 * benchtests/atanh-inputs: Likewise.
4463 * benchtests/cos-inputs: Likewise.
4464 * benchtests/cosh-inputs: Likewise.
4465 * benchtests/exp-inputs: Likewise.
4466 * benchtests/log-inputs: Likewise.
4467 * benchtests/pow-inputs: Likewise.
4468 * benchtests/rint-inputs: Likewise.
4469 * benchtests/sin-inputs: Likewise.
4470 * benchtests/sinh-inputs: Likewise.
4471 * benchtests/tan-inputs: Likewise.
4472 * benchtests/tanh-inputs: Likewise.
4473 * scripts/bench.pl: Add support for new directives.
4474
9ec1b13d
AM
44752013-10-07 Alan Modra <amodra@gmail.com>
4476
4477 * README: Fix careless merge.
4478
8b7d57cd
AM
44792013-10-05 Alan Modra <amodra@gmail.com>
4480
4481 * NEWS: Mention powerpc64le support and bugs fixed.
4482 * README: Both big-endian and little-endian powerpc64 supported.
4483
7b7bab13
ST
44842013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4485
4486 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4487 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4488 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4489 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4490
d39baad1
RA
44912013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4492
4493 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4494 match prototype.
4495
cd78f7e7
JM
44962013-10-04 Joseph Myers <joseph@codesourcery.com>
4497
29d73d86
JM
4498 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4499 Move -mhard-float appending from
4500 ports/sysdeps/powerpc/powerpc32/Makefile.
4501 [$(with-fp) = yes] (ASFLAGS): Likewise.
4502 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4503 * sysdeps/powerpc/nofpu: Move directory from
4504 ports/sysdeps/powerpc/nofpu.
4505 * sysdeps/powerpc/soft-fp: Move directory from
4506 ports/sysdeps/powerpc/soft-fp.
4507 * sysdeps/powerpc/powerpc32/405: Move directory from
4508 ports/sysdeps/powerpc/powerpc32/405.
4509 * sysdeps/powerpc/powerpc32/440: Move directory from
4510 ports/sysdeps/powerpc/powerpc32/440.
4511 * sysdeps/powerpc/powerpc32/464: Move directory from
4512 ports/sysdeps/powerpc/powerpc32/464.
4513 * sysdeps/powerpc/powerpc32/476: Move directory from
4514 ports/sysdeps/powerpc/powerpc32/476.
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4516 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4518 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4520 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4525 * README: Update for powerpc-*-linux-gnu software floating point
4526 support in libc.
4527
e246b347
JM
4528 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4529 case to powerpc/powerpc32*.
4530 * sysdeps/unix/sysv/linux/configure: Regenerated.
4531
89c2003e
JM
4532 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4533 (_FPU_MASK_OM): Define as 0x04.
4534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4536 0x00c10080.
4537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4538 0x0000003c.
4539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4540
cd78f7e7
JM
4541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4542 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4543 getcontext_e500.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4545 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4546 setcontext_e500.
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4548 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4549 and setcontext_e500.
4550
c755294d
CL
45512013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4552
4553 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4554
e16d221c
SP
45552013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4556
4557 * manual/threads.texi (Default Thread Attributes): Fix typo.
4558
215c7d43
WN
45592013-10-04 Will Newton <will.newton@linaro.org>
4560
4561 * malloc/Makefile: Add tst-memalign.
4562 * malloc/tst-memalign.c: New file.
4563
27d0461b
WN
4564 * malloc/tst-posix_memalign.c: Add comments.
4565 (do_test): Add comments and call free on all potentially
4566 allocated pointers. Add space after cast.
4567
1bc92709
WN
4568 * malloc/tst-pvalloc.c: Add comments.
4569 (do_test): Add comments and call free on all potentially
4570 allocated pointers. Remove duplicate check for NULL pointer.
4571 Add space after cast.
4572
66a9be9d
WN
4573 * malloc/tst-valloc.c: Add comments.
4574 (do_test): Add comments and call free on all potentially
4575 allocated pointers. Remove duplicate check for NULL pointer.
4576 Add space after cast.
4577
4cb81307
AM
45782013-10-04 Alan Modra <amodra@gmail.com>
4579
4580 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4581 Use stdint types in rather than __attribute__((mode())).
4582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4583
f8e3e9f3
AM
45842013-10-04 Alan Modra <amodra@gmail.com>
4585
4586 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4587 Correct handling of unaligned relocs for little-endian.
4588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4589
8f9ebb08
AM
45902013-10-04 Alan Modra <amodra@gmail.com>
4591
4592 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4593 * configure: Regenerate.
4594 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4595 * shlib-versions: Likewise.
4596
0edf96c2
AM
45972013-10-04 Alan Modra <amodra@gmail.com>
4598
4599 * string/tester.c (test_memrchr): Increment reported test cycle.
4600
e0f7a380
AM
46012013-10-04 Alan Modra <amodra@gmail.com>
4602
4603 * string/test-memcpy.c (do_one_test): When reporting errors, print
4604 string address and don't overrun end of string.
4605
466b0393
AM
46062013-10-04 Alan Modra <amodra@gmail.com>
4607
4608 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4609 insrdi. Make better use of reg selection to speed exit slightly.
4610 Schedule entry path a little better. Remove useless "are we done"
4611 checks on entry to main loop. Handle wrapping around zero address.
4612 Correct main loop count. Handle single left-over word from main
4613 loop inline rather than by using loop_small. Remove extra word
4614 case in loop_small caused by wrong loop count. Add little-endian
4615 support.
4616 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4617 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4618 cache hint.
4619 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4620 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4621 support. Avoid rlwimi.
4622 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4623
3be87c77
AM
46242013-10-04 Alan Modra <amodra@gmail.com>
4625
4626 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4627 insrdi. Formatting.
3be87c77
AM
4628 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4629 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4630 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4631 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4633 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4634
759cfef3
AM
46352013-10-04 Alan Modra <amodra@gmail.com>
4636
4637 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4638 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4639 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4640 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4641 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4642 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4643 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4645 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4646 use of regs. Use power7 mtocrf. Tidy function tails.
4647
fe6e95d7
AM
46482013-10-04 Alan Modra <amodra@gmail.com>
4649
4650 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4651 Formatting. Consistently use rXXX register defines or rN defines.
4652 Use early exit labels that avoid restoring unused non-volatile regs.
4653 Make cr field use more consistent with rWORDn compares. Rename
4654 regs used as shift registers for unaligned loop, using rN defines
4655 for short lifetime/multiple use regs.
4656 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4657 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4658 addi 1,1,64 to pop stack frame. Simplify return value code.
4659 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4660
664318c3
AM
46612013-10-04 Alan Modra <amodra@gmail.com>
4662
4663 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4664 support. Correct typos, formatting. Optimize tail. Use insrdi
4665 rather than rlwimi.
4666 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4667 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4668 little-endian support. Correct typos.
4669 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4670 rather than rlwimi.
4671 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4672 in loop and entry code to keep "and." results.
4673 (strchr): Add little-endian support. Comment. Move cntlzd
4674 earlier in tail.
4675 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4676
43b84013
AM
46772013-10-04 Alan Modra <amodra@gmail.com>
4678
4679 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4680 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4681 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4682 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4683
8a7413f9
AM
46842013-10-04 Alan Modra <amodra@gmail.com>
4685
4686 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4687 (rTMP): Define as r11.
4688 (strcmp): Add little-endian support. Optimise tail.
4689 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4690 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4691 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4692 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4693 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4694 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4696
33ee81de
AM
46972013-10-04 Alan Modra <amodra@gmail.com>
4698
4699 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4700 little-endian support. Remove unnecessary "are we done" tests.
4701 Handle "s" wrapping around zero and extremely large "size".
4702 Correct main loop count. Handle single left-over word from main
4703 loop inline rather than by using small_loop. Correct comments.
4704 Delete "zero" tail, use "end_max" instead.
4705 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4706
db9b4570
AM
47072013-10-04 Alan Modra <amodra@gmail.com>
4708
4709 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4710 support. Don't branch over align.
4711 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4712 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4713 support. Rearrange tmp reg use to suit. Comment.
4714 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4715
f7c399cf
AM
47162013-10-04 Alan Modra <amodra@gmail.com>
4717
4718 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4719
0b2c2ace
AM
47202013-10-04 Alan Modra <amodra@gmail.com>
4721
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4723 conditional form of branch and link when obtaining pc.
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4725
02f04a6c
AM
47262013-10-04 Alan Modra <amodra@gmail.com>
4727
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4729 HIWORD/LOWORD.
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4732
9b874b2f
AM
47332013-10-04 Alan Modra <amodra@gmail.com>
4734
4735 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4736 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4737 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4738 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4739 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4740 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4741 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4742 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4743 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4744 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4745
be1e5d31
AB
47462013-10-04 Anton Blanchard <anton@au1.ibm.com>
4747 Alistair Popple <alistair@ozlabs.au.ibm.com>
4748 Alan Modra <amodra@gmail.com>
4749
4750 [BZ #15723]
4751 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4752 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4753 _dl_hwcap access for little-endian.
4754 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4755 destroy vmx regs when saving unaligned.
4756 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4757 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4758 destroy vmx regs when saving unaligned.
4759
fef13a78
AM
47602013-10-04 Alan Modra <amodra@gmail.com>
4761
4762 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4763 Don't use a union to pack hi/low value.
4764
76a66d51
AB
47652013-10-04 Anton Blanchard <anton@au1.ibm.com>
4766
4767 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4768 for little-endian.
4769 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4771 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4772 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4773 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4774
6a31fe7f
AM
47752013-10-04 Alan Modra <amodra@gmail.com>
4776
4777 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4778 constants to usual value for .cst8 section, and remove redundant
4779 high address load.
4780 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4781 constant for 0x1p52. Load little-endian words of double from
4782 correct stack offsets.
4783
7b88401f
AM
47842013-10-04 Alan Modra <amodra@gmail.com>
4785
4786 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4787 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4788 words of double from correct stack offsets.
4789 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4790 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4791 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4792 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4793 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4794 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4795 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4796 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4797 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4798 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4799 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4801 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4802 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4803 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4804 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4805 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4806
9c008155
AM
48072013-10-04 Alan Modra <amodra@gmail.com>
4808
4809 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4810 64-bit int/double union.
4811 (_FPU_SETCW): Likewise.
4812 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4813 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4814
da13146d
AM
48152013-10-04 Alan Modra <amodra@gmail.com>
4816
4817 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4818 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4819
603e8410
AM
48202013-10-04 Alan Modra <amodra@gmail.com>
4821
4822 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4823 use vector int constants.
4824 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4825
4a28b3ca
AB
48262013-10-04 Anton Blanchard <anton@au1.ibm.com>
4827
4828 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4829 array with long long.
4830 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4831 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4832 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4833 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4834 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4835 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4836 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4837 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4838 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4839 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4840 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4841 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4842 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4843
2ca85d2b
AB
48442013-10-04 Anton Blanchard <anton@au1.ibm.com>
4845
4846 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4847 (__signbit): Likewise. Correct for little-endian.
4848 (__signbitl): Call __signbit.
4849 (lrint): Correct for little-endian.
4850 (lrintf): Call lrint.
4851
62a728ae
AM
48522013-10-04 Alan Modra <amodra@gmail.com>
4853
4854 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4855 union 32-bit int array member with 64-bit int array.
4856 (t515, tm256): Double rather than long double.
4857 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4858
32c301df
AM
48592013-10-04 Alan Modra <amodra@gmail.com>
4860
4861 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4862 Delete.
4863 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4864 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4865 version of math_ldbl.h.
4866
650ef4bd
AM
48672013-10-04 Alan Modra <amodra@gmail.com>
4868
4869 [BZ #15734], [BZ #15735]
4870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4871 all uses of ieee875 long double macros and unions. Simplify test
4872 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4873 ldbl_extract_mantissa value for ix,iy exponents. Properly
4874 normalize after ldbl_extract_mantissa, and don't add hidden bit
4875 already handled. Don't treat low word of ieee854 mantissa like
4876 low word of IBM long double and mask off bit when testing for
4877 zero.
4878 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4879 all uses of ieee875 long double macros and unions. Simplify tests
4880 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4881 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4882 two1022, instead use their values. Recognise that tests for large
4883 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4884 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4885 Rewrite all uses of ieee875 long double macros and unions. Simplify
4886 test for 0.0L and nan. Correct negation.
4887 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4888 ieee875 long double macros and unions. Correct output for large
4889 magnitude x. Correct absolute value calculation.
4890 (__erfcl): Likewise.
4891 * math/libm-test.inc: Add tests for errors discovered in IBM long
4892 double versions of fmodl, remainderl, erfl and erfcl.
4893
765714ca
AM
48942013-10-04 Alan Modra <amodra@gmail.com>
4895
4896 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4897 all uses of ieee854 long double macros and unions. Simplify tests
4898 for long doubles that are fully specified by the high double.
4899 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4900 Likewise.
4901 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4902 Remove dead code too.
4903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4904 (__ieee754_ynl): Likewise.
4905 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4908 Remove dead code too.
4909 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4910 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4911 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4912 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4913 Simplify.
4914 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4915 Simplify.
4916 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4918 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4919 Comment on variable precision.
4920 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4921 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4922 Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4925 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4927 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4928
4ebd120c
AM
49292013-10-04 Alan Modra <amodra@gmail.com>
4930
4931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4932 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4933 all uses of ieee854 long double macros and unions.
4934 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4937 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4939 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4940 Likewise.
4941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4942 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4943 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4944 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4946 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4947 Simplify sign and nan test too.
4948 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4949 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4950 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4951 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4952 Likewise.
4953 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4954 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4955 Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4958 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4962
1b6adf88
AM
49632013-10-04 Alan Modra <amodra@gmail.com>
4964
4965 * stdio-common/printf_size.c (__printf_size): Don't use
4966 union ieee854_long_double in fpnum union.
4967 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4968 signbit macro to retrieve sign from long double.
4969 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4970 retrieve sign from long double.
4971 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4972 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4973 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4974 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4975 * math/test-misc.c (main): Don't use union ieee854_long_double.
4976
4cf69995
AM
49772013-10-04 Alan Modra <amodra@gmail.com>
4978
4979 [BZ #15680]
4980 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4981 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4982 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4983 calculation. Remove unnecessary test for denormal exponent.
4984 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4985 Correct handling of denormals. Avoid undefined shift behaviour.
4986 Correct normalisation of low mantissa when low double is denormal.
4987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4988 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4989 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4990 Correct normalisation of low mantissa. Test for overflow of high
4991 mantissa and normalise.
4992 (ldbl_nearbyint): Use more readable constant for two52.
4993 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4994 (__mpn_construct_long_double): Fix test for overflow of high
4995 mantissa and correct normalisation. Avoid undefined shift.
4996
9605ca6c
AM
49972013-10-04 Alan Modra <amodra@gmail.com>
4998
4999 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5000 (union ibm_extended_long_double): Define as an array of ieee754_double.
5001 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5002 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5003 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5004 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5005 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5007 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5008 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5011 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5012
975569d0
JM
50132013-10-03 Joseph Myers <joseph@codesourcery.com>
5014
d3d23756
JM
5015 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5016 page size instead of calling getpagesize.
5017
975569d0
JM
5018 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5019 (LOCFILE_ALIGN_MASK): Likewise.
5020 (LOCFILE_ALIGN_UP): Likewise.
5021 (LOCFILE_ALIGNED_P): Likewise.
5022 * locale/programs/ld-collate.c (collate_output): Use the new
5023 macros instead of __alignof__ (int32_t).
5024 * locale/weight.h (findidx): Likewise.
5025
b1fe1f2b
OB
50262013-10-03 Ondřej Bílka <neleai@seznam.cz>
5027
5028 [BZ #431]
5029 * manual/string.texi: Fix strncat and wcsncat.
5030
5f855e35
BM
50312013-10-03 Brooks Moses <bmoses@google.com>
5032
5033 [BZ #15915]
5034 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5035 * Makerules: ...here, and adjust associated comments.
5036
3cef6009
WN
50372013-10-02 Will Newton <will.newton@linaro.org>
5038
5039 * malloc/Makefile: Add tst-pvalloc.
5040 * malloc/tst-pvalloc.c: New file.
5041
7815420b
WN
50422013-10-02 Will Newton <will.newton@linaro.org>
5043
5044 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5045 improve test coverage.
5046
4868b204
WN
50472013-10-02 Will Newton <will.newton@linaro.org>
5048
5049 * malloc/Makefile: Add tst-posix_memalign.
5050 * malloc/tst-posix_memalign.c: New file.
5051
29c793b3
EB
50522013-10-01 Eric Blake <eblake@redhat.com>
5053
5054 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5055 Use __THROWNL rather than __THROW on static functions.
5056
fd967522
PM
50572013-09-30 Petr Machata <pmachata@redhat.com>
5058
5059 * elf/elf.h (R_AARCH64_ABS16): New macro.
5060 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5061 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5062 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5063 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5064 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5065 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5066 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5067 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5068 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5069 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5070 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5071 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5072 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5073 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5074 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5075 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5076 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5077 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5078 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5079 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5080 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5081 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5082 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5083 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5084 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5085 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5086 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5087 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5088 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5089 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5090 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5091 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5092 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5093 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5094 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5095 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5096 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5097 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5098 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5099 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5100 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5101 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5102 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5103 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5104 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5105 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5106 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5107 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5108 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5109 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5110 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5111 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5112 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5113 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5114 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5115 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5116 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5117 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5118 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5119 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5120 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5121 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5122 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5123 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5124 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5125 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5126 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5127 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5128 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5129 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5130 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5131 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5132 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5133 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5134 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5135 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5136 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5137 (R_AARCH64_TLSDESC_LDR): Likewise.
5138 (R_AARCH64_TLSDESC_ADD): Likewise.
5139 (R_AARCH64_TLSDESC_CALL): Likewise.
5140
b2179107
AS
51412013-09-30 Andreas Schwab <schwab@suse.de>
5142
5143 [BZ #15048]
5144 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5145 the nss database lookup.
5146 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5148
47f28d0a
MF
51492013-09-28 Mike Frysinger <vapier@gentoo.org>
5150
5151 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5152
51532013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
5154
5155 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5156 ${Bash-specific parameter/pattern/string} parameter expansion.
5157 * sysdeps/unix/make-syscalls.sh: Likewise.
5158
f4518a17
KK
51592013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5160
5161 * sysdeps/sh/stackguard-macros.h: New file.
5162
dc1a95c7
OB
51632013-09-26 Ondřej Bílka <neleai@seznam.cz>
5164
5165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5167 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5168 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5169 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5170 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5171
5ebbff8f
AZ
51722013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5173
5174 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5175 Fix thread ID register.
5176
4fd2cf9f
JM
51772013-09-25 Joseph Myers <joseph@codesourcery.com>
5178
5179 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5180 [POSIX || UNIX98]: Require rather than permitting all symbols from
5181 <time.h>.
5182 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5183 element of struct sched_param.
5184 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5185 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5186 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5187 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5188 constant.
5189
12c22bc4
OL
51902013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5191
5192 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5193 argument calculation.
5194
a03d8ea7
JM
51952013-09-24 Joseph Myers <joseph@codesourcery.com>
5196
5197 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5198 Expect macro.
5199 [POSIX] (pthread_attr_t): Do not require type.
5200 [POSIX] (pthread_cond_t): Likewise.
5201 [POSIX] (pthread_condattr_t): Likewise.
5202 [POSIX] (pthread_key_t): Likewise.
5203 [POSIX] (pthread_mutex_t): Likewise.
5204 [POSIX] (pthread_mutexattr_t): Likewise.
5205 [POSIX] (pthread_once_t): Likewise.
5206 [POSIX] (pthread_t): Likewise.
5207 [POSIX-based standards] (pthread_atfork): Expect function.
5208
6055173a
JM
52092013-09-24 Joseph Myers <joseph@codesourcery.com>
5210 Richard Sandiford <richard@codesourcery.com>
5211
5212 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5213 (swap_endianness_p): New extern variable.
5214 (set_big_endian): New inline function.
5215 (maybe_swap_uint32): Likewise.
5216 (maybe_swap_uint32_array): Likewise.
5217 (maybe_swap_uint32_obstack): Likewise.
5218 * locale/programs/locfile.c: Include <stdbool.h>.
5219 (swap_endianness_p): New variable.
5220 (add_locale_uint32): Call maybe_swap_uint32.
5221 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5222 (write_locale_data): Call maybe_swap_uint32_array.
5223 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5224 maybe_swap_uint32.
5225 (obstack_int32_grow_fast): Likewise.
5226 (output_weightwc): Call maybe_swap_uint32_obstack.
5227 (collate_output): Likewise.
5228 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5229 (OPT_LITTLE_ENDIAN): Likewise.
5230 (options): Add --little-endian and --big-endian options.
5231 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5232 * locale/programs/locarchive.c: Include "locfile.h".
5233 (GET): New macro.
5234 (SET): Likewise.
5235 (INC): Likewise.
5236 (create_archive): Use the new macros to access fields of
5237 structures directly mapped from or written to locale archives.
5238 (oldlocrecentcmp): Likewise.
5239 (enlarge_archive): Likewise.
5240 (insert_name): Likewise.
5241 (add_alias): Likewise.
5242 (add_locale): Likewise.
5243 (delete_locales_from_archive): Likewise.
5244 (show_archive_content): Likewise.
5245 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5246 locale data.
5247
39bf0bb4
RM
52482013-09-24 Roland McGrath <roland@hack.frob.com>
5249
5250 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5251 http://www.gnu.org/doc/freemanuals.texi.
5252 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5253
f02eed10
WN
52542013-09-24 Will Newton <will.newton@linaro.org>
5255
5256 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5257 macro.
5258
a3a6c312
JM
52592013-09-23 Joseph Myers <joseph@codesourcery.com>
5260
5261 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5262 unsigned char.
5263
107375ac
MR
52642013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5265
5266 * manual/threads.texi (POSIX Threads): Fix a typo.
5267
141f3a77
SP
52682013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5269
303e567a
SP
5270 [BZ #14547]
5271 * string/tst-strcoll-overflow.c: New test case.
5272 * string/Makefile (xtests): Add tst-strcoll-overflow.
5273 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5274 cache if string sizes may cause integer overflow.
5275
141f3a77
SP
5276 [BZ #14547]
5277 * string/strcoll_l.c (coll_seq): New members rule, idx,
5278 save_idx and back_us.
5279 (get_next_seq_nocache): New function.
5280 (do_compare_nocache): New function.
5281 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5282 when malloc fails.
5283
c61b4d41
CD
52842013-09-23 Carlos O'Donell <carlos@redhat.com>
5285
0b1f8e35
CD
5286 [BZ #15754]
5287 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5288 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5289 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5290
c61b4d41
CD
5291 [BZ #15754]
5292 * elf/Makefile (tests): Add tst-ptrguard1.
5293 (tests-static): Add tst-ptrguard1-static.
5294 (tst-ptrguard1-ARGS): Define.
5295 (tst-ptrguard1-static-ARGS): Define.
5296 * elf/tst-ptrguard1.c: New file.
5297 * elf/tst-ptrguard1-static.c: New file.
5298 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5299 * sysdeps/i386/stackguard-macros.h: Likewise.
5300 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5301 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5302 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5303 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5304 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5305 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5306
53072013-09-23 Hector Marco <hecmargi@upv.es>
5308 Ismael Ripoll <iripoll@disca.upv.es>
5309 Carlos O'Donell <carlos@redhat.com>
5310
5311 [BZ #15754]
5312 * sysdeps/generic/stackguard-macros.h: Define
5313 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5314 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5315 Define __pointer_chk_guard_local.
5316 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5317 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5318
f5f4e7b4
VV
53192013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5320
5321 [BZ #15859]
5322 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5323
5bb43a43
AS
53242013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5325
5326 * include/string.h (__ffs): Declare as hidden.
5327 * string/ffs.c (__ffs): Define as hidden.
5328 * sysdeps/i386/ffs.c (__ffs): Likewise.
5329 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5330 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5331 * sysdeps/s390/ffs.c (__ffs): Likewise.
5332 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5333
3ea5be54
AO
53342013-09-20 Alexandre Oliva <aoliva@redhat.com>
5335
ffb89e53
AO
5336 * NEWS: Mention malloc probes.
5337
322dea08
AO
5338 * malloc/arena.c (new_heap): New memory_heap_new probe.
5339 (grow_heap): New memory_heap_more probe.
5340 (shrink_heap): New memory_heap_less probe.
5341 (heap_trim): New memory_heap_free probe.
5342 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5343 (systrim): New memory_sbrk_less probe.
5344 * manual/probes.texi: Document them.
5345
655673f3
AO
5346 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5347 * manual/probes.texi: Document it.
5348
35fed6f1
AO
5349 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5350 (__libc_realloc): Add memory_realloc_retry probe.
5351 (__libc_memalign): Add memory_memalign_retry probe.
5352 (__libc_valloc): Add memory_valloc_retry probe.
5353 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5354 (__libc_calloc): Add memory_calloc_retry probe.
5355 * manual/probes.texi: Document them.
5356
6999d38c
AO
5357 * malloc/arena.c (get_free_list): Add probe
5358 memory_arena_reuse_free_list.
5359 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5360 and memory_arena_reuse.
5361 (arena_get2) [!PER_THREAD]: Likewise.
5362 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5363 memory_arena_reuse_realloc.
5364 * manual/probes.texi: Document them.
5365
0653427f
AO
5366 * malloc/malloc.c (__libc_free): Add
5367 memory_mallopt_free_dyn_thresholds probe.
5368 (__libc_mallopt): Add multiple memory_mallopt probes.
5369 * manual/probes.texi: Document them.
5370
3ea5be54
AO
5371 * malloc/malloc.c: Include stap-probe.h.
5372 (__libc_mallopt): Add memory_mallopt probe.
5373 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5374 * manual/probes.texi: New.
5375 * manual/Makefile (chapters): Add probes.
5376 * manual/threads.texi: Set next node.
5377
e35696c3 53782013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5379
e35696c3
CL
5380 [BZ #15963, #13985]
5381 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5382 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5383 Add `Chinese' to `nan' entry name.
5384
4aafb73c
SP
53852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5386
5387 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5388 (POLYNOMIAL): Likewise.
5389 (TAYLOR_SINCOS): Likewise.
5390 (TAYLOR_SLOW): Likewise.
5391 (__sin): Use TAYLOR_SINCOS.
5392 (__cos): Likewise.
5393 (slow): Use TAYLOR_SLOW.
5394 (sloww): Likewise.
5395 (bsloww): Likewise.
5396 (csloww): Likewise.
5397
d84f25c7
LD
53982013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5399
5400 * stdlib/strtod_l.c: Fix buffer overrun.
5401
5eea0404
SP
54022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5403
7849ff93
SP
5404 * benchtests/Makefile (bench): Add sincos.
5405 * benchtests/bench-sincos.c: New file.
5406
cfa3c886
SP
5407 * math/libm-test.inc (cos_test_data): New test inputs.
5408 (sin_test_data): Likewise.
5409
b348e1e3
SP
5410 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5411 macro.
5412 (__sin): Use it.
5413 (__cos): Likewise.
5414 (slow1): Likewise.
5415 (slow2): Likewise.
5416 (sloww1): Likewise.
5417 (sloww2): Likewise.
5418 (bsloww1): Likewise.
5419 (bsloww2): Likewise.
5420 (cslow2): Likewise.
5421 (csloww1): Likewise.
5422 (csloww2): Likewise.
5423
6cce25f8
SP
5424 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5425 function.
5426 (__sin): Use it.
5427 (__cos): Likewise.
5428
5eea0404
SP
5429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5430 gotos.
5431 (__cos): Likewise.
5432
9c21573c
MR
54332013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5434
5435 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5436 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5437 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5438 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5439 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5440 * elf/cache.c (print_entry): Handle the new cache flags.
5441
24d22e65
JM
54422013-09-18 Joseph Myers <joseph@codesourcery.com>
5443 Aldy Hernandez <aldyh@redhat.com>
5444
5445 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5446 Change condition to [_SOFT_FLOAT].
5447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5459 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5462 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5463 declaration.
5464
d13ef066
JM
54652013-09-18 Joseph Myers <joseph@codesourcery.com>
5466
2e071de0
JM
5467 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5468 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5469 (__longjmp): Use LOAD_GP to load saved GPRs.
5470 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5471 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5472 (__sigsetjmp): Use SAVE_GP to save GPRs.
5473
d13ef066
JM
5474 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5475 Do not append -msoft-float.
5476 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5477
97a0650b
SP
54782013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5479
5480 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5481
11ca09e9
JM
54822013-09-17 Joseph Myers <joseph@codesourcery.com>
5483
5484 [BZ #15966]
5485 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5486 (_FPU_GETCW): Use initial "__" on variable and field names but not
5487 on macro parameter name.
5488 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5489 parentheses around reference to macro parameter.
5490
08ffcf34
RS
54912013-09-13 Richard Sandiford <richard@codesourcery.com>
5492
5493 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5494 prototype.
5495 (ctype_startup): Use uint32_t in cast and sizeof for
5496 ctype->charnames.
5497
ae7080d3
JL
54982013-09-11 Jia Liu <proljc@gmail.com>
5499
5500 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5501 __daddr_t_defined.
5502 [__FreeBSD__]: Likewise.
5503
5905e7b3
OB
55042013-09-11 Ondřej Bílka <neleai@seznam.cz>
5505
5506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5507 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5508 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5509 (strchr): Remove __strchr_sse42 ifunc selection.
5510 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5511 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5512
b987c776
WN
55132013-09-11 Will Newton <will.newton@linaro.org>
5514
5515 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5516 parameter to RES. Remove hardcoded 1000 value.
5517 * benchtests/bench-skeleton.c (main): Pass RES parameter
5518 to TIMING_INIT and multiply result by 1000.
5519
ddf985af
AZ
55202013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521
5522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5523
ffdd3181
AS
55242013-09-11 Andreas Schwab <schwab@suse.de>
5525
5526 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5527 if not defined.
5528 (O_TMPFILE) [__USE_GNU]: Define.
5529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5530 Define.
5531
b73ed247
WN
55322013-09-11 Will Newton <will.newton@linaro.org>
5533
5534 [BZ #15857]
5535 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5536 does not overflow.
5537
55e17aad
WN
55382013-09-11 Will Newton <will.newton@linaro.org>
5539
5540 [BZ #15856]
5541 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5542 does not overflow.
5543
1159a193
WN
55442013-09-11 Will Newton <will.newton@linaro.org>
5545
5546 [BZ #15855]
5547 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5548 does not overflow.
5549
5905e7b3 55502013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5551
5552 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5553 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5557
cdfc721b
AM
55582013-09-10 Allan McRae <allan@archlinux.org>
5559
aa04af00
AM
5560 [BZ #15748]
5561 * manual/arith.texi (Parsing of Floats): Clarify
5562 cross-reference.
5563
cdfc721b
AM
5564 [BZ #15849]
5565 * manual/install.texi (Running make install): Mention
5566 --enable-pt-chown.
5567 * INSTALL: Regenerated.
5568
95e7cf29
MR
55692013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5570
5571 * csu/init-first.c (_init): Remove the !SHARED condition around
5572 FPU control word initialization.
5573 * elf/dl-support.c (_dl_fpu_control): New variable.
5574 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5575 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5576 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5577 * math/test-fpucw-static.c: New file.
5578 * math/test-fpucw-ieee.c: New file.
5579 * math/test-fpucw-ieee-static.c: New file.
5580 * math/Makefile (tests): Add `test-fpucw-ieee' and
5581 `$(tests-static)'.
5582 (tests-static): New variable.
5583 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5584 dependency to...
5585 [($(build-shared),yes)]
5586 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5587 ... this.
5588 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5589 New dependency.
5590
83e43bf0
AM
55912013-09-09 Allan McRae <allan@archlinux.org>
5592
a9f5ce09
AM
5593 [BZ #15939]
5594 * manual/string.texi (Collation Functions): Fix typo in
5595 strcoll example.
5596 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5597
34829bc2
AM
5598 [BZ #15893]
5599 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5600
3932737d
AM
5601 [BZ #15892]
5602 * libio/memstream.c (open_memstream): Fix memory leak.
5603 * libio/wmemstream.c (open_wmemstream): Likewise.
5604
83e43bf0
AM
5605 [BZ #15895]
5606 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5607
0c66b8e9
WN
56082013-09-09 Will Newton <will.newton@linaro.org>
5609
5610 * malloc/Makefile: Add tst-realloc to tests.
5611 * malloc/tst-realloc.c: New file.
5612
f6b00fd1
AM
56132013-09-09 Allan McRae <allan@archlinux.org>
5614
5615 [BZ #15844]
5616 * COPYING: Update from GNU website to fix FSF address.
5617 * COPYING.LIB: Likewise.
5618
eec55e16
DM
56192013-09-06 David S. Miller <davem@davemloft.net>
5620
5621 * po/zh_TW.po: Update Chinese (traditional) translation from
5622 translation project.
5623
1ecbb381
RS
56242013-09-06 Richard Sandiford <richard@codesourcery.com>
5625 Joseph Myers <joseph@codesourcery.com>
5626
5627 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5628 "localeinfo.h".
5629 (obstack_chunk_alloc): New macro.
5630 (obstack_chunk_free): Likewise.
5631 (record_offset): New function.
5632 (init_locale_data): Likewise.
5633 (align_locale_data): Likewise.
5634 (add_locale_empty): Likewise.
5635 (add_locale_raw_data): Likewise.
5636 (add_locale_raw_obstack): Likewise.
5637 (add_locale_string): Likewise.
5638 (add_locale_wstring): Likewise.
5639 (add_locale_uint32): Likewise.
5640 (add_locale_uint32_array): Likewise.
5641 (add_locale_char): Likewise.
5642 (start_locale_structure): Likewise.
5643 (end_locale_structure): Likewise.
5644 (start_locale_prelude): Likewise.
5645 (end_locale_prelude): Likewise.
5646 (write_locale_data): Take locale_file structure rather than an
5647 iovec.
5648 * locale/programs/locfile.h: Include "obstack.h".
5649 (struct locale_file): Change to store locale file contents instead
5650 of header.
5651 (init_locale_data): New prototype.
5652 (align_locale_data): Likewise.
5653 (add_locale_empty): Likewise.
5654 (add_locale_raw_data): Likewise.
5655 (add_locale_raw_obstack): Likewise.
5656 (add_locale_string): Likewise.
5657 (add_locale_wstring): Likewise.
5658 (add_locale_uint32): Likewise.
5659 (add_locale_uint32_array): Likewise.
5660 (add_locale_char): Likewise.
5661 (start_locale_structure): Likewise.
5662 (end_locale_structure): Likewise.
5663 (start_locale_prelude): Likewise.
5664 (end_locale_prelude): Likewise.
5665 (write_locale_data): Update prototype.
5666 * locale/programs/3level.h (struct TABLE): Remove result field.
5667 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5668 Use new locale_file interface.
5669 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5670 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5671 * locale/programs/ld-address.c (address_output): Use new
5672 locale_file interface.
5673 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5674 NO_ADD_LOCALE.
5675 (collate_finish): Don't call collseq_table_finalize.
5676 (collate_output): Use new locale_file interface.
5677 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5678 in file.
5679 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5680 (TABLE): Move defines earlier in file.
5681 (ELEMENT): Likewise.
5682 (DEFAULT): Likewise.
5683 (wctrans_table_add): Move macro and inline function earlier in
5684 file.
5685 (struct wctype_table): Move type earlier in file.
5686 (add_locale_wctype_table): New static prototype.
5687 (struct locale_ctype_t): Use logical types instead of struct iovec
5688 pointers for members.
5689 (ctype_output): Use new locale_file interface.
5690 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5691 new locale_file interface.
5692 (allocate_arrays): Update for use of new locale_file interface.
5693 * locale/programs/ld-identification.c (identification_output): Use
5694 new locale_file interface.
5695 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5696 * locale/programs/ld-messages.c (messages_output): Likewise.
5697 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5698 * locale/programs/ld-name.c (name_output): Likewise.
5699 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5700 * locale/programs/ld-paper.c (paper_output): Likewise.
5701 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5702 * locale/programs/ld-time.c (time_output): Likewise.
5703
e029e2e5
AZ
57042013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5705
5706 * benchtests/Makefile: Add memrchr benchmark.
5707 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5708 benchmark as memrchr.
5709 * benchtests/bench-memrchr-ifunc.c: New file.
5710 * benchtests/bench-memrchr.c: New file.
5711
bbf6e8e4
WN
57122013-09-06 Will Newton <will.newton@linaro.org>
5713
5714 * benchtests/Makefile (string-bench): Add memcpy.
5715
6c82a2f8
CD
57162013-09-05 Carlos O'Donell <carlos@redhat.com>
5717 Cong Wang <amwang@redhat.com>
5718
5719 * sysdeps/unix/sysv/linux/bits/in.h
5720 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5721 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5722 before __USE_KERNEL_IPV6_DEFS uses.
5723 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5724 IPPROTO_BEETPH.
5725 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5726 sockaddr_in6, or ipv6_mreq.
5727
5430fc65
AZ
57282013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5729
5730 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5731 memory access for final bytes in some large inputs.
5732 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5733
4660856c
AZ
57342013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735
5736 * string/test-memrchr.c: New file.
5737 * string/test-memrchr-ifunc.c: New file.
5738 * string/Makefile: Add new memrchr testcase.
5739
bb8ea713
MF
57402013-09-05 Mike Frysinger <vapier@gentoo.org>
5741
5742 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5743 fanotify_init returns EPERM.
5744
b92a20b5
JM
57452013-09-04 Joseph Myers <joseph@codesourcery.com>
5746
5747 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5748 errors.
5749 (top level): Treat second token from macro or constant entries for
5750 allowed headers as allowed.
5751 * include/complex.h: Condition internal declarations on
5752 [!_ISOMAC].
5753 * include/fenv.h: Condition include of <stdbool.h> and internal
5754 declarations on [!_ISOMAC].
7447ccd9
CL
5755
57562013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5757
3e181dda 5758 [BZ #15923]
7447ccd9
CL
5759 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5760
3f2e46a4
JM
57612013-09-04 Joseph Myers <joseph@codesourcery.com>
5762
5763 * configure.in (--enable-versioning): Remove configure option.
5764 (libc_cv_asm_symver_directive): Remove configure test.
5765 (libc_cv_ld_version_script_option): Likewise.
5766 (VERSIONING): Remove variable and AC_SUBST.
5767 (DO_VERSIONING): Remove AC_DEFINE.
5768 * configure: Regenerated.
5769 * config.h.in (DO_VERSIONING): Remove macro.
5770 * Makerules [$(versioning) = yes]: Change conditionals to
5771 [$(build-shared) = yes].
5772 * config.make.in (versioning): Remove variable.
5773 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5774 [$(build-shared) = yes].
5775 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5776 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5777 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5778 [$(build-shared) = yes].
5779 * extra-lib.mk [$(versioning) = yes]: Likewise.
5780 * hurd/Makefile [$(versioning) = yes]: Likewise.
5781 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5782 [SHARED].
5783 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5784 [SHARED].
5785 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5786 [SHARED && !NO_HIDDEN].
5787 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5788 [SHARED].
5789 [SHARED && DO_VERSIONING]: Likewise..
5790 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5791 [$(build-shared) = yes].
5792 * manual/install.texi (--disable-versioning): Remove
5793 documentation.
5794 * INSTALL: Regenerated.
5795 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5796 to [SHARED].
5797 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5798 [$(build-shared) = yes].
5799 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5800 * sysdeps/i386/i686/multiarch/strstr-c.c
5801 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5802 [SHARED && !NO_HIDDEN].
5803 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5804 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5805 * sysdeps/powerpc/powerpc32/dl-machine.c
5806 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5807 * sysdeps/powerpc/powerpc32/sysdep.h
5808 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5809 to [SHARED && PIC && !NO_HIDDEN].
5810 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5811 conditional to [SHARED].
5812
44558701
WN
58132013-09-04 Will Newton <will.newton@linaro.org>
5814
5815 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5816 * benchtests/bench-string.h: Include bench-timing.h instead
5817 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5818 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5819 call to HP_TIMING_DIFF_INIT.
5820 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5821 instead of hp-timing.h macros.
5822 * benchtests/bench-memchr.c: Likewise.
5823 * benchtests/bench-memcmp.c: Likewise.
5824 * benchtests/bench-memcpy.c: Likewise.
5825 * benchtests/bench-memmem.c: Likewise.
5826 * benchtests/bench-memmove.c: Likewise.
5827 * benchtests/bench-memset.c: Likewise.
5828 * benchtests/bench-rawmemchr.c: Likewise.
5829 * benchtests/bench-strcasecmp.c: Likewise.
5830 * benchtests/bench-strcasestr.c: Likewise.
5831 * benchtests/bench-strcat.c: Likewise.
5832 * benchtests/bench-strchr.c: Likewise.
5833 * benchtests/bench-strcmp.c: Likewise.
5834 * benchtests/bench-strcpy.c: Likewise.
5835 * benchtests/bench-strcpy_chk.c: Likewise.
5836 * benchtests/bench-strlen.c: Likewise.
5837 * benchtests/bench-strncasecmp.c: Likewise.
5838 * benchtests/bench-strncat.c: Likewise.
5839 * benchtests/bench-strncmp.c: Likewise.
5840 * benchtests/bench-strncpy.c: Likewise.
5841 * benchtests/bench-strnlen.c: Likewise.
5842 * benchtests/bench-strpbrk.c: Likewise.
5843 * benchtests/bench-strrchr.c: Likewise.
5844 * benchtests/bench-strspn.c: Likewise.
5845 * benchtests/bench-strstr.c: Likewise.
5846
cae16d66
WN
58472013-09-04 Will Newton <will.newton@linaro.org>
5848
5849 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5850
ffa3cd7f
JM
58512013-09-03 Joseph Myers <joseph@codesourcery.com>
5852
5853 [BZ #15427]
5854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5855 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5856 * math/libm-test.inc (lgamma_test_data): Add more tests.
5857 * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5859
8f02859f
OB
58602013-09-03 Ondřej Bílka <neleai@seznam.cz>
5861
5862 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5864 Add ifunc.
5865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5866 Add strcmp-sse2-unaligned
5867 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5868
18d43716
MF
58692013-09-02 Mike Frysinger <vapier@gentoo.org>
5870
5871 * Versions.def (libc): Add GLIBC_2.19.
5872
ac444012
MF
58732013-09-02 Mike Frysinger <vapier@gentoo.org>
5874
5875 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5876 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5877
b7835e32
JM
58782013-09-02 Joseph Myers <joseph@codesourcery.com>
5879
5880 [BZ #14155]
5881 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5882 intermediate calculations in recurrence.
5883 (__ieee754_ynf): Likewise.
5884 * math/libm-test.inc (jn_test_data): Do not allow spurious
5885 underflow exception. Add more tests.
5886 (yn_test_data): Add more tests.
5887 * sysdeps/i386/fpu/libm-test-ulps: Update.
5888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5889
8220f4f0
OB
58902013-09-02 Ondřej Bílka <neleai@seznam.cz>
5891
5892 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5893
f24a6d08
OB
58942013-08-30 Ondřej Bílka <neleai@seznam.cz>
5895
5896 * csu/init-first.c: Fix then/than typos.
5897 * locale/programs/ld-collate.c: Likewise.
5898 * locale/programs/linereader.h: Likewise.
5899 * manual/charset.texi: Likewise.
5900 * manual/filesys.texi: Likewise.
5901 * manual/stdio.texi: Likewise.
5902 * manual/string.texi: Likewise.
5903 * stdlib/fmtmsg.c: Likewise.
5904 * sysdeps/i386/stpncpy.S: Likewise.
5905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5906 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5907 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5908 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5909
382466e0
OB
59102013-08-30 Ondřej Bílka <neleai@seznam.cz>
5911
5912 * elf/dl-open.c: Fix typos.
5913 * iconvdata/gbbig5.c: Likewise.
5914 * iconvdata/iso-2022-jp.c: Likewise.
5915 * iconv/gconv_int.h: Likewise.
5916 * iconv/loop.c: Likewise.
5917 * nis/rpcsvc/nis.h: Likewise.
5918 * resolv/ns_name.c: Likewise.
5919 * stdio-common/vfscanf.c: Likewise.
5920 * streams/stropts.h: Likewise.
5921 * sunrpc/rpc_thread.c: Likewise.
5922 * sysdeps/i386/strpbrk.S: Likewise.
5923 * sysdeps/ieee754/k_standard.c: Likewise.
5924 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5926 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5927 * sysdeps/mach/hurd/profil.c: Likewise.
5928 * sysdeps/s390/dl-procinfo.h: Likewise.
5929 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5931 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5932 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5933 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5934
0186c6e9
OB
59352013-08-30 Ondřej Bílka <neleai@seznam.cz>
5936
5937 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5939
d4e16af1
OB
59402013-08-29 Ondřej Bílka <neleai@seznam.cz>
5941
5942 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5943 aix specific files.
5944 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5945 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5946 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5947 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5948 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5949 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5950 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5951 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5952
88335980
TS
59532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5954 Roland McGrath <roland@hack.frob.com>
5955
5956 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5957 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5958
ed479b02
ST
59592013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5960
5961 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5962 __executable_start symbol instead of _start.
5963
f1cc4c86
TS
59642013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5965
d821f07c
TS
5966 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5967 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5968 Move macros to...
5969 * sysdeps/gnu/ldsodefs.h: ... this new file.
5970
c54290cf
TS
5971 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5972 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5973 instead of ELFOSABI_LINUX.
5974
0007fc9b 5975 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5976 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5977 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5978 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5979 Likewise.
5980 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5981 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5982 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5983 Likewise.
5984 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5985 (ibm_extended_long_double): Add ieee_nan member.
5986 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5987 (do_test): New function.
5988
f1cc4c86
TS
5989 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5990 TEST_TRUNC.
5991 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5992 functions, renamed from truncdfsf_test, trunctfsf_test,
5993 trunctfdf_test.
5994 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5995 functions.
5996 (do_test): Run all these.
5997
6f65e668
OB
59982013-08-29 Ondřej Bílka <neleai@seznam.cz>
5999
6000 * argp/argp-help.c: Fix typos.
6001 * argp/argp-parse.c: Likewise.
6002 * debug/backtracesyms.c: Likewise.
6003 * elf/elf.h: Likewise.
6004 * malloc/malloc.c: Likewise.
6005 * nis/nis_print.c: Likewise.
6006 * resolv/res_comp.c: Likewise.
6007 * stdlib/stdlib.h: Likewise.
6008 * sunrpc/clnt_tcp.c: Likewise.
6009 * sunrpc/clnt_udp.c: Likewise.
6010 * sunrpc/clnt_unix.c: Likewise.
6011 * sysdeps/unix/bsd/ptsname.c: Likewise.
6012 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6015 Likewise.
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6017 Likewise.
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6019 Likewise.
6f65e668
OB
6020 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6021
3a309239
SP
60222013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6023
6024 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6026
3b813b29
MF
60272013-08-27 Mike Frysinger <vapier@gentoo.org>
6028
6029 [BZ #15897]
6030 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6031 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6032 ($(objpfx)bug-dl-leaf): New rule.
6033 ($(objpfx)bug-dl-leaf.so): Likewise.
6034 ($(objpfx)bug-dl-leaf.out): Likewise.
6035 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6036 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6037 * dlfcn/bug-dl-leaf.c: New test.
6038 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6039 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6040 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6041 (dlclose): Likewise.
6042 (dlmopen): Likewise.
6043
8cc3269f
RM
60442013-08-27 Roland McGrath <roland@hack.frob.com>
6045
7f9d0034
RM
6046 * include/netdb.h [!_ISOMAC]:
6047 Don't include <tls.h>.
6048 (h_errno, __libc_h_errno): Move declaration and macros out of
6049 [_LIBC_REENTRANT].
6050
fb431262
RM
6051 * include/resolv.h [_RESOLV_H_]:
6052 Don't include <tls.h>.
6053 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6054 * resolv/res_libc.c: Don't include <tls.h>.
6055 (_res): Use __attribute__ ((nocommon)) in place of
6056 __attribute__ ((section (".bss"))).
6057
bd81123a
RM
6058 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6059 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6060
c4e42566
RM
6061 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6062
f890a59b
RM
6063 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6064 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6065
6066 * resolv/res_mkquery.c: Include <sys/time.h>.
6067
5d1f0a09
RM
6068 * inet/ifreq.c: Moved to ...
6069 * sysdeps/unix/ifreq.c: ... here.
6070 * inet/ifreq.c: New file, true stub version.
6071
6fcf28b3
RM
6072 * socket/sa_len.c: New file.
6073 * socket/Makefile (aux): Add it.
6074 * sysdeps/unix/sysv/linux/Makefile
6075 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6076 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6077 and #include <socket/sa_len.c>.
6078 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6079 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6080
e041fb8b
RM
6081 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6082 * bits/socket.h: ... here.
6083
8cc3269f
RM
6084 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6085 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6086 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6087
5d228a43
AS
60882013-08-27 Andreas Schwab <schwab@suse.de>
6089
45b8accc
AS
6090 [BZ #15736]
6091 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6092 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6093 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6094 * string/test-strcasecmp.c (test_main): Run tests in several
6095 locales.
6096 * string/test-strncasecmp.c (test_main): Likewise.
6097
5d228a43
AS
6098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6099 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6100 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6102 (__strncasecmp_ssse3) [PIC]: Likewise.
6103
59d112a4
RM
61042013-08-26 Roland McGrath <roland@hack.frob.com>
6105
53234cc3
RM
6106 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6107
59d112a4
RM
6108 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6109 instead of explicitly declaring xdecrypt.
6110 * nis/nss_nis/nis-publickey.c: Likewise.
6111
595aba70
SP
61122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6113
6114 [BZ #15890]
6115 * nscd/aicache.c: Include res_hconf.h.
6116 (addhstaiX): Initialize res_hconf.
6117
ffabd393
AS
61182013-08-26 Andreas Schwab <schwab@suse.de>
6119
6120 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6121 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6122
e0a69f5c
SP
61232013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6124
6125 * nscd/aicache.c (addhstaiX): Fix indentation.
6126
8c12f01d
MF
61272013-08-25 Mike Frysinger <vapier@gentoo.org>
6128
6129 * configure.ac: Quote $build_pt_chown test.
6130 * configure: Regenerated.
6131
8fe89494
JM
61322013-08-23 Joseph Myers <joseph@codesourcery.com>
6133
6134 [BZ #15532]
6135 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6136 * math/s_cexpf.c (__cexpf): Likewise.
6137 * math/s_cexpl.c (__cexpl): Likewise.
6138 * math/libm-test.inc (cexp_test_data): Correct expected return
6139 value for NaN + i0. Add another test.
6140
75b181d6
DM
61412013-08-22 David S. Miller <davem@davemloft.net>
6142
6143 * po/ca.po: Update Catalan translation from translation project.
936241e4 6144 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 6145
acd06bb1
JM
61462013-08-21 Joseph Myers <joseph@codesourcery.com>
6147
6148 [BZ #15797]
6149 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6150 is infinite, not alongside NaN test.
6151 * math/s_fdimf.c (__fdimf): Likewise.
6152 * math/s_fdiml.c (__fdiml): Likewise.
6153 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6154 errno is unchanged.
6155
c0c3f78a
OB
61562013-08-21 Ondřej Bílka <neleai@seznam.cz>
6157
6158 * argp/argp-help.c: Fix typos.
6159 * crypt/speeds.c: Likewise.
6160 * csu/check_fds.c: Likewise.
6161 * elf/dl-load.c: Likewise.
6162 * elf/dl-open.c: Likewise.
6163 * elf/reldep3.c: Likewise.
6164 * elf/reldep.c: Likewise.
6165 * elf/sprof.c: Likewise.
6166 * iconv/iconv_charmap.c: Likewise.
6167 * iconv/skeleton.c: Likewise.
6168 * iconv/strtab.c: Likewise.
6169 * io/lockf64.c: Likewise.
6170 * libio/libioP.h: Likewise.
6171 * resolv/gai_notify.c: Likewise.
6172 * resolv/ns_name.c: Likewise.
6173 * resolv/ns_samedomain.c: Likewise.
6174 * resolv/res_send.c: Likewise.
6175 * stdlib/random.c: Likewise.
6176 * sunrpc/rpc/xdr.h: Likewise.
6177 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6178 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6179 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6180 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6181 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6182 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6184 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6185 * sysdeps/mach/hurd/check_fds.c: Likewise.
6186 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6187 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6189 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6190 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6191 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6192 * sysdeps/pthread/aio_notify.c: Likewise.
6193 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6194 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6195 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6196 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6197 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6198
46ed1038
LD
61992013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6200
6201 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6202 version if bit_Slow_SSE4_2 is set.
6203 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6204 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6205
d400dcac
AZ
62062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6207
6208 [BZ #15867]
6209 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6210 trampoline stack frame information.
6211 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6212 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6213 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6214 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6215 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6216 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6217 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6218 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6219 sa_flags value.
6220 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6221 interrupting a syscall and set with option SA_SIGINFO.
6222
42c8fdd8
JM
62232013-08-20 Joseph Myers <joseph@codesourcery.com>
6224
c980f2f4
JM
6225 [BZ #15531]
6226 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6227 argument is infinite.
6228 * math/s_cprojf.c (__cprojf): Likewise.
6229 * math/s_cprojl.c (__cprojl): Likewise.
6230 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6231 * math/libm-test.inc (cproj_test_data): Add more tests.
6232
0716c4fc
JM
6233 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6234
42c8fdd8
JM
6235 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6236 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6237 size. Use __ffs to determine corresponding shift.
6238
b31469d0
JM
62392013-08-20 Joseph Myers <joseph@codesourcery.com>
6240 Roland McGrath <roland@hack.frob.com>
6241
6242 * Makefile (INSTALL): Remove trailing blank lines from output of
6243 makeinfo.
6244
4e39af6e
AK
62452013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6246
6247 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6248 Align 32 bit compat elf_greg to 8 bytes.
6249
f315524e
AA
62502013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6251
6252 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6253
1326ba1a
SP
62542013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6255
6256 * string/strcoll_l.c (coll_seq): New structure.
6257 (get_next_seq_cached): New function.
6258 (get_next_seq): New function.
6259 (do_compare): New function.
6260 (STRCOLL): Use GNU style definition. Simplify implementation
6261 by using get_next_seq, get_next_seq_cached and do_compare.
6262
91ce4085
FW
62632013-08-16 Florian Weimer <fweimer@redhat.com>
6264
6265 [BZ #14699]
6266 CVE-2013-4237
6267 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6268 member.
6269 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6270 member.
6271 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6272 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6273 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6274 conditional.
6275 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6276 GETDENTS_64BIT_ALIGNED.
6277 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6278 * manual/filesys.texi (Reading/Closing Directory): Document
6279 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6280 strongly.
6281 * manual/conf.texi (Limits for Files): Add portability note to
6282 NAME_MAX, PATH_MAX.
6283 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6284
ca0a6bc4
AS
62852013-08-13 Andreas Schwab <schwab@suse.de>
6286
6287 [BZ #15749]
6288 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6289 of fabs.
6290 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6291 LDBL_MAX_EXP >= 16384]: Add tests for it.
6292
6c1fd795
DM
62932013-08-12 David S. Miller <davem@davemloft.net>
6294
6295 * version.h (RELEASE): Set to "development".
6296 (VERSION): Set to "2.18.90".
6297 * NEWS: Add 2.19 section.
6298
31ad488d
DM
62992013-08-03 David S. Miller <davem@davemloft.net>
6300
6301 * po/ko.po: Update Korean translation from translation project.
6302
db24e684
DM
63032013-08-01 David S. Miller <davem@davemloft.net>
6304
6305 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6306 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6307 Bilka.
6308
f723285b
DM
63092013-07-30 David S. Miller <davem@davemloft.net>
6310
6311 * po/fr.po: Update French translation from translation project.
6312
3cbc52db
DM
63132013-07-28 David S. Miller <davem@davemloft.net>
6314
30bbc0cc
DM
6315 * po/cs.po: Update Czech translation from translation project.
6316
3cbc52db
DM
6317 * po/sv.po: Update Swedish translation from translation project.
6318
d492e6d0
DM
63192013-07-27 David S. Miller <davem@davemloft.net>
6320
f1a7f492
DM
6321 * po/eo.po: Update Esperanto translation from translation project.
6322
90e62a4a
DM
6323 * po/vi.po: Update Vietnamese translation from translation project.
6324
d492e6d0
DM
6325 * po/de.po: Update German translation from translation project.
6326
d4baa62d
DM
63272013-07-26 David S. Miller <davem@davemloft.net>
6328
641aa7b4
DM
6329 * po/bg.po: Update Bulgarian translation from translation project.
6330
d4baa62d
DM
6331 * po/nl.po: Update Dutch translation from translation project.
6332 * po/pl.po: Update Polish translation from translation project.
6333 * po/ru.po: Update Russian translation from translation project.
6334
61a9dcb9
DM
63352013-07-24 David S. Miller <davem@davemloft.net>
6336
6337 * po/libc.pot: Update.
6338
7b1f8b58
AZ
63392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6340
6341 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6342 variable page size.
6343 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6344 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6345 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6346
a8fc7a03
AK
63472013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6348
6349 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6350
e4608715
CD
63512013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6352 Andreas Schwab <schwab@suse.de>
6353 Roland McGrath <roland@hack.frob.com>
6354 Joseph Myers <joseph@codesourcery.com>
6355 Carlos O'Donell <carlos@redhat.com>
6356
6357 [BZ #15755]
6358 * config.h.in: Define HAVE_PT_CHOWN.
6359 * config.make.in (build-pt-chown): New variable.
6360 * configure.in (--enable-pt_chown): New configure option.
6361 * configure: Regenerate.
6362 * login/Makefile: Include Makeconfig. Build pt_chown only if
6363 build-pt-chown is enabled.
6364 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6365 pt_chown to fix pty ownership.
6366 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6367 CLOSE_ALL_FDS.
6368 * manual/install.texi (Configuring and compiling): Mention
6369 --enable-pt_chown. Add @findex for grantpt.
6370 * INSTALL: Regenerate.
6371
da2d62df
DM
63722013-07-20 David S. Miller <davem@davemloft.net>
6373
6374 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6375 difference between 32-bit and 64-bit.
6376
d7e06450
CD
63772013-07-15 Carlos O'Donell <carlos@redhat.com>
6378
6379 [BZ #15711]
6380 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6381 Avoid system header dependency with -ffreestanding.
6382 ($(objpfx)bits/syscall%d): Likewise.
6383
f959cfd7
DM
63842013-07-13 David S. Miller <davem@davemloft.net>
6385
6386 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6387 underflows from atanl/atan2l due to bug 15319.
6388 (casinh_test_data): Likewise.
6389
c61f8513
DM
63902013-07-07 David S. Miller <davem@davemloft.net>
6391
6392 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6393
72c90ed0
JA
63942013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6395
6396 * sysdeps/i386/fpu/libm-test-ulps: Update.
6397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6398
52dfbe13
SP
63992013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6400
6401 * configure.in (--enable-lock-elision): Fix message text.
6402 * INSTALL: Regenerate.
6403 * configure: Regenerate.
6404
3f169543
AZ
64052013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6406
6407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6408
521c6785
AJ
64092013-07-03 Andreas Jaeger <aj@suse.de>
6410
6411 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6412 define.
6413 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6414 (ptrace_peeksiginfo_args): Add.
6415 (__ptrace_peeksiginfo_flags): Add.
6416 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6418 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6419
d2cc15cb
AM
64202013-07-03 Allan McRae <allan@archlinux.org>
6421
6422 * sysdeps/i386/fpu/libm-test-ulps: Update.
6423
3aaeeca7
DM
64242013-07-02 David S. Miller <davem@davemloft.net>
6425
6426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6427
5314ed1a
MT
64282013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6429
6430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6431
67338156
JM
64322013-07-02 Joseph Myers <joseph@codesourcery.com>
6433
6434 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6436
1717da59
AK
64372013-07-02 Andi Kleen <ak@linux.intel.com>
6438
6439 * config.h.in (ENABLE_LOCK_ELISION): Add.
6440 * configure.in (--enable-lock-elision): Add option.
6441 * manual/install.texi: Document --enable lock elision.
6442 * configure: Regenerate
6443 * INSTALL: Regenerate.
6444
1c81621c
L
64452013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6446
6447 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6448 SSE4.2 strcasecmp for libc.a.
6449 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6450
77f01ab5
JM
64512013-07-02 Joseph Myers <joseph@codesourcery.com>
6452
6453 [BZ #13304]
6454 * soft-fp/op-common.h (_FP_FMA): New macro.
6455 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6456 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6457 (_FP_MUL_MEAT_1_imm): ... here.
6458 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6459 (_FP_MUL_MEAT_1_wide): ... here.
6460 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6461 (_FP_MUL_MEAT_1_hard): ... here.
6462 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6463 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6464 (_FP_MUL_MEAT_2_wide): ... here.
6465 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6466 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6467 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6468 (_FP_MUL_MEAT_2_gmp): ... here.
6469 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6470 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6471 (_FP_MUL_MEAT_4_wide): ... here.
6472 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6473 (_FP_MUL_MEAT_4_gmp): ... here.
6474 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6475 (_FP_WFRACBITS_DW_S): Likewise.
6476 (_FP_WFRACXBITS_DW_S): Likewise.
6477 (_FP_HIGHBIT_DW_S): Likewise.
6478 (FP_FMA_S): Likewise.
6479 (_FP_FRAC_HIGH_DW_S): Likewise.
6480 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6481 (_FP_WFRACBITS_DW_D): Likewise.
6482 (_FP_WFRACXBITS_DW_D): Likewise.
6483 (_FP_HIGHBIT_DW_D): Likewise.
6484 (FP_FMA_D): Likewise.
6485 (_FP_FRAC_HIGH_DW_D): Likewise.
6486 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6487 (_FP_WFRACBITS_DW_E): Likewise.
6488 (_FP_WFRACXBITS_DW_E): Likewise.
6489 (_FP_HIGHBIT_DW_E): Likewise.
6490 (FP_FMA_E): Likewise.
6491 (_FP_FRAC_HIGH_DW_E): Likewise.
6492 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6493 (_FP_WFRACBITS_DW_Q): Likewise.
6494 (_FP_WFRACXBITS_DW_Q): Likewise.
6495 (_FP_HIGHBIT_DW_Q): Likewise.
6496 (FP_FMA_Q): Likewise.
6497 (_FP_FRAC_HIGH_DW_Q): Likewise.
6498 * soft-fp/fmasf4.c: New file.
6499 * soft-fp/fmadf4.c: Likewise.
6500 * soft-fp/fmatf4.c: Likewise.
6501
6308fd9a
LD
65022013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6503
6504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6505 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6506 Silvermont.
6507 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6508 macro.
6509 (index_Slow_SSE4_2): Likewise.
6510 (index_Prefer_PMINUB_for_stringop): Likewise.
6511 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6512 bit_Slow_SSE4_2 is set.
6513 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6514 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6515
89cd9569
RA
65162013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6517
6518 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6519 rtld_global._dl_hwcap2.
6520 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6521 POWER8.
6522 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6523 POWER8 feature descriptions defined in _dl_hwcap2.
6524 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6525 string handling for POWER8 feature bits.
6526 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6527 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6528 _dl_powerpc_cap_flags.
6529 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6530 * sysdeps/powerpc/rtld-global-offsets.sym
6531 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6532 _dl_hwcap2 in the rtld_global_ro structure.
6533
1ae8bfe0
RA
65342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6535
6536 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6537 hardware capabilities in support of AT_HWCAP2.
6538 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6539 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6540 GLRO(dl_hwcap2).
6541 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6542 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6543 explicitly the unknown a_type display mechanism is used.
6544 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6545 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6546 struct member.
6547 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6548 to macro prototype for AT_HWCAP2 support.
6549 * sysdeps/i386/dl-procinfo.h: Likewise.
6550 * sysdeps/s390/dl-procinfo.h: Likewise.
6551 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6552 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6553 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6554 return -1 for unknown a_type display fallback.
6555 * sysdeps/sparc/dl-procinfo.h: Likewise.
6556 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6557 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6558
8fbec010
JM
65592013-06-28 Joseph Myers <joseph@codesourcery.com>
6560
6561 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6562 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6563
0432680e
PY
65642013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6565
6566 [BZ #12492]
6567 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6568 mprotect making __stack_prot writable.
6569
ce61a2ad
NF
65702013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6571 Joseph Myers <joseph@codesourcery.com>
6572
6573 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6574 as being properly aligned.
6575
f91f1c0f
MR
65762013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6577
3d0f5d0c
MR
6578 * dlfcn/modstatic5.c: New file.
6579 * dlfcn/tststatic5.c: New file.
6580 * dlfcn/Makefile (tests): Add tststatic5.
6581 (tests-static): Likewise.
6582 (modules-names): Add modstatic5.
6583 (tststatic5-ENV): New variable.
6584 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6585
f91f1c0f
MR
6586 [BZ #15022]
6587 * elf/dl-support.c (_dl_main_map): New variable.
6588 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6589 (_dl_nns, _dl_load_adds): Set to 1.
6590 (_dl_initial_searchlist): Refer to _dl_main_map.
6591 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6592 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6593 call to _dl_get_origin.
6594 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6595 around call_map.
6596 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6597 * dlfcn/modstatic3.c: New file.
6598 * dlfcn/tststatic3.c: New file.
6599 * dlfcn/tststatic4.c: New file.
6600 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6601 (tests-static): Likewise.
6602 (modules-names): Add modstatic3.
6603 (tststatic3-ENV, tststatic4-ENV): New variables.
6604 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6605 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6606
cbe7d24b
JM
66072013-06-26 Joseph Myers <joseph@codesourcery.com>
6608
6609 * configure.in (CC): Require GCC version 4.4 or later.
6610 * configure: Regenerated.
6611 * manual/install.texi (Tools for Compilation): Update GCC version
6612 requirement.
6613 * INSTALL: Regenerated.
6614
11b8a0e1
LD
66152013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6616
6617 [BZ #15674]
bb5bb87c
L
6618 * string/test-memcmp.c (check2): New.
6619 (main): Call check2.
6620
11b8a0e1
LD
6621 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6622
b0037103
MR
66232013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6624
6625 [BZ #15022]
6626 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6627 over to...
6628 (dl_open_worker) [!SHARED]: ... here.
6629
c18c701d
RA
66302013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6631
6632 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6633
1d17fa5f
RH
66342013-06-25 Richard Henderson <rth@redhat.com>
6635
6636 * locale/programs/locarchive.c: Include <libc-internal.h>
6637
8fcb833a
JM
66382013-06-25 Joseph Myers <joseph@codesourcery.com>
6639
6640 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6641 trailing whitespace removed.
6642
17db6e8d
MF
66432013-06-24 Mike Frysinger <vapier@gentoo.org>
6644
6645 [BZ #10283]
17db6e8d
MF
6646 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6647 * locale/programs/locarchive.c: Include libc-mmap.h.
6648 (prepare_address_space): Take two new outputs (the mmap base and len).
6649 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6650 values.
6651 (create_archive): Declare new mmap base and len values for
6652 prepare_address_space, and store the result in ah.
6653 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6654 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6655 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6656 Declare new mmap base and len values for
6657 prepare_address_space, and store the result in new_ah.
6658 (open_archive): Declare new mmap base and len values for
6659 prepare_address_space, and store the result in ah.
6660 (close_archive): If ah->mmap_base is not NULL, use that and
6661 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6662 * sysdeps/generic/libc-mmap.h: New file.
6663
d605071e
MF
66642013-06-24 Mike Frysinger <vapier@gentoo.org>
6665
6666 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6667 (ALIGN_UP): Likewise.
6668 (PTR_ALIGN_DOWN): Likewise.
6669 (PTR_ALIGN_UP): Likewise.
6670
2f063a6e
RA
66712013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6672
6673 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6674 entry mapped to PPC_PLATFORM_POWER8.
6675 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6676 POWER8.
6677 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6678 (_dl_string_platform): Add case for exporting platform position for
6679 POWER8.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6681 search path to sysdeps/powerpc/powerpc32/power8 directory.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6683 search path to sysdeps/powerpc/powerpc64/power8 directory.
6684 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6685 power7 directories.
6686 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6687 power7 directories.
6688
a31ee4b3
SP
66892013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6690
a74ca98f
SP
6691 * INSTALL: Regenerate.
6692
a31ee4b3
SP
6693 * nscd/connections.c (nscd_init): Fix comment.
6694
695c378f
JM
66952013-06-22 Joseph Myers <joseph@codesourcery.com>
6696
d8412221
JM
6697 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6698
695c378f
JM
6699 [BZ #15667]
6700 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6701 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6702
d1d54715
MR
67032013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6704
6705 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6706 DL_DST_REQ_STATIC.
6707 (DL_DST_REQ_STATIC): Remove macro.
6708
8fdda7af
JM
67092013-06-21 Joseph Myers <joseph@codesourcery.com>
6710
6711 [BZ #7006]
6712 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6713 with a shift of 0 bits.
6714
f3bc5e5a
MR
67152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6716
6717 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6718 $(tststatic-ENV).
6719
be09e8c9
KK
67202013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6721
6722 [BZ #15655]
6723 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6724
85c2e611
AZ
67252013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6726
6727 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6728 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6729 accepts -fno-tree-loop-distribute-patterns.
6730 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6731 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6732 recursive call.
6733 * string/memset.c (memset): Likewise.
6734 * string/test-memmove.c (simple_memmove): Disable loop transformation
6735 to library calls.
6736 * string/test-memset.c (simple_memset): Likewise.
6737 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6738 * benchtests/bench-memset.c (simple_memset): Likewise.
6739 * configure: Regenerated.
6740
c91e0825
JM
67412013-06-20 Joseph Myers <joseph@codesourcery.com>
6742
b8c792af
JM
6743 * math/test-misc.c (main): Ignore fesetround failure when failures
6744 of subsequent rounding tests would be ignored.
6745
c91e0825
JM
6746 [BZ #15654]
6747 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6748 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6749 * math/fegetenv.c (__fegetenv): Return 0.
6750 * math/fegetexcept.c (fegetexcept): Return 0.
6751 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6752 FE_TONEAREST.
6753 * math/feholdexcpt.c (feholdexcept): Return 0.
6754 * math/fesetenv.c (__fesetenv): Return 0.
6755 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6756 argument FE_TONEAREST.
6757 * math/feupdateenv.c (__feupdateenv): Return 0.
6758 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6759
bfcacbde
RM
67602013-06-18 Roland McGrath <roland@hack.frob.com>
6761
6762 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6763 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6764 ($(objpfx)rtld-%.os rules): Use them.
6765
e55a9b25
AZ
67662013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6767
6768 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6769 fields.
6770
346d65b3
RM
67712013-06-17 Roland McGrath <roland@hack.frob.com>
6772
12086fb4
RM
6773 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6774 length of target pattern, then descending length of dependency pattern.
6775 * configure.in (AWK): Require gawk 3.1.2 or newer.
6776 * manual/install.texi (Tools for Compilation): Say that we do.
6777 * configure: Regenerated.
6778
346d65b3
RM
6779 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6780 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6781 * scripts/sysd-rules.awk: ... this new script.
6782 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6783 than a glob-style pattern.
6784
1a846317
JM
67852013-06-17 Joseph Myers <joseph@codesourcery.com>
6786
6787 * math/test-misc.c (main): Do not treat incorrectly rounded
6788 conversions as failure unless ROUNDING_TESTS passes.
6789
8fc75e6f
JM
67902013-06-15 Joseph Myers <joseph@codesourcery.com>
6791
3711a167
JM
6792 [BZ #15631]
6793 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6794 restore exception state around main square root computation, then
6795 check for inexactness explicitly.
6796
8fc75e6f
JM
6797 * math/libm-test.inc (fma_test_data): Add another test.
6798
61dd6208
SP
67992013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6800
adf23d2c
SP
6801 * manual/threads.texi (Non-POSIX Extensions): New document
6802 node. Document pthread_getattr_default_np and
6803 pthread_setattr_default_np.
6804
61dd6208
SP
6805 * Versions.def (libpthread): Add GLIBC_2.18.
6806 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6808 Likewise.
6809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6810 Likewise.
6811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6812 Likewise.
6813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6814 Likewise.
6815 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6816 Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6818 Likewise.
6819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6820 Likewise.
6821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6822 Likewise.
6823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6824 Likewise.
6825
d086fc7b
LD
68262013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6827
6828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6829 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6830
747ef469
SP
68312013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6832 H.J. Lu <hjl.tools@gmail.com>
6833
6834 [BZ #15627]
6835 * sysdeps/x86_64/rtld-memset.c: Remove file.
6836 * sysdeps/x86_64/rtld-memset.S: New file.
6837
1b2feed2
JM
68382013-06-14 Joseph Myers <joseph@codesourcery.com>
6839
6840 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6841 (test_in_one_mode): Take arguments for whether the rounding mode
6842 is supported for each floating-point type.
6843 (do_test): Pass new arguments to test_in_one_mode using
6844 ROUNDING_TESTS.
6845
a58ad3f8
RM
68462013-06-13 Roland McGrath <roland@hack.frob.com>
6847
6848 * posix/tst-waitid.c (do_test): Distinguish different instances of
6849 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6850 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6851 before entering the kernel for waitpid.
6852
c204ab28
SP
68532013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6854
6855 * NEWS: Fix note on clock function precision. Text by Roland
6856 McGrath.
6857
f4a29fba
RM
68582013-06-13 Roland McGrath <roland@hack.frob.com>
6859
6860 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6861 it into place only when and if the sanity check passes.
6862
1f24b9ad
JM
68632013-06-13 Joseph Myers <joseph@codesourcery.com>
6864
6865 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6866 output for whether conversion result is exact. Take argument
6867 indicating whether type is IBM long double.
6868 (round_for_all): Change need_exact field to ibm_ld.
6869 * stdlib/tst-strtod-round.c (struct exactness): New type.
6870 (struct test): Change bool ld_ok field to struct exactness exact.
6871 (TEST): Update all definitions for change to field.
6872 (tests): Regenerate array contents.
6873 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6874 field value. Check for IBM long double here.
6875 (do_test): Update calls to test_in_one_mode.
6876
58206c68
SP
68772013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6878
6879 [BZ #12515]
6880 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6881 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6882
2d6f4c5b 68832013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6884
6885 [BZ #15605]
6886 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6887 generated by the compiler on loop optimizations.
6888 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6889 general definitions.
6890
94f2c076
JM
68912013-06-12 Joseph Myers <joseph@codesourcery.com>
6892
6893 * math/bug-nextafter.c: Include <math-tests.h>.
6894 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6895 the relevant type.
6896 * math/bug-nexttoward.c: Include <math-tests.h>.
6897 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6898 the relevant type.
6899 * math/test-misc.c: Include <math-tests.h>.
6900 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6901 the relevant type.
6902
e0e50a0a
AJ
69032013-06-12 Andreas Jaeger <aj@suse.de>
6904
6905 * po/ia.po: Update Interlingua translation from translation
6906 project.
6907
25061094
SP
69082013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6909
6910 * include/fenv.h: Include stdbool.h.
6911 (struct rm_ctx): New structure.
6912 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6913 Define macro.
6914 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6915 (SET_RESTORE_ROUNDF): Likewise.
6916 (SET_RESTORE_ROUNDL): Likewise.
6917 (SET_RESTORE_ROUND_NOEX): Likewise.
6918 (SET_RESTORE_ROUND_NOEXF): Likewise.
6919 (SET_RESTORE_ROUND_NOEXL): Likewise.
6920 (SET_RESTORE_ROUND_53BIT): Likewise.
6921 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6922 (libc_feresetround_noexf_ctx): Likewise.
6923 (libc_feresetround_noexl_ctx): Likewise.
6924 (libc_feholdsetround_53bit_ctx): Likewise.
6925 (libc_feresetround_53bit_ctx): Likewise.
6926 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6927 (libc_feholdexcept_setround_sse_ctx): New function.
6928 (libc_fesetenv_sse_ctx): Likewise.
6929 (libc_feupdateenv_sse_ctx): Likewise.
6930 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6931 (libc_feholdexcept_setround_387_ctx): Likewise.
6932 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6933 (libc_feholdsetround_387_prec_ctx): Likewise.
6934 (libc_feholdsetround_387_ctx): Likewise.
6935 (libc_feholdsetround_387_53bit_ctx): Likewise.
6936 (libc_feholdsetround_sse_ctx): Likewise.
6937 (libc_feresetround_sse_ctx): Likewise.
6938 (libc_feresetround_387_ctx): Likewise.
6939 (libc_feupdateenv_387_ctx): Likewise.
6940 (libc_feholdexcept_setroundf_ctx): Define macro.
6941 (libc_fesetenvf_ctx): Likewise.
6942 (libc_feupdateenvf_ctx): Likewise.
6943 (libc_feholdsetroundf_ctx): Likewise.
6944 (libc_feresetroundf_ctx): Likewise.
6945 (libc_feholdexcept_setround_ctx): Likewise.
6946 (libc_fesetenv_ctx): Likewise.
6947 (libc_feupdateenv_ctx): Likewise.
6948 (libc_feholdsetround_ctx): Likewise.
6949 (libc_feresetround_ctx): Likewise.
6950 (libc_feholdexcept_setroundl_ctx): Likewise.
6951 (libc_feupdateenvl_ctx): Likewise.
6952 (libc_feholdsetroundl_ctx): Likewise.
6953 (libc_feresetroundl_ctx): Likewise.
6954 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6955 (libc_feresetround_53bit_ctx): Likewise.
6956
59b30555
SP
69572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6958
6959 * locale/iso-639.def: Convert to UTF-8.
6960
f1d73d30
JM
69612013-06-11 Joseph Myers <joseph@codesourcery.com>
6962
6963 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6964 (EXCEPTION_TESTS_double): Likewise.
6965 (EXCEPTION_TESTS_long_double): Likewise.
6966 (EXCEPTION_TESTS): Likewise.
6967 * math/libm-test.inc (test_exceptions): Only test exceptions if
6968 EXCEPTION_TESTS (FLOAT).
6969
94aca5e7
SP
69702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6971
6972 * benchtests/Makefile (string-bench): Add strcpy_chk and
6973 stpcpy_chk.
6974 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6975 * benchtests/bench-stpcpy_chk.c: New file.
6976 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6977 * benchtests/bench-strcpy_chk.c: New file.
6978 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6979 code.
6980 (do_test): Likewise.
6981
fac0c5f2
RA
69822013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6983
6984 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6985 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6986 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6987 with tabs where appropriate.
6988 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6989 dl-procinfo.h.
6990 [PPC_PLATFORM_PPC440]: Likewise.
6991 [PPC_PLATFORM_PPC464]: Likewise.
6992 [PPC_PLATFORM_PPC476]: Likewise.
6993 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6994 ppc464, and ppc476 platform strings merging from ports/
6995 dl-procinfo.h.
6996
f22bc486
AS
69972013-06-11 Andreas Schwab <schwab@suse.de>
6998
6999 [BZ #14991]
7000 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7001 (from_ucs4_idx): Regenerate.
7002 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7003 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7004 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7005 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7006 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7007 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7008 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7009 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7010 from FROM_LOOP and TO_LOOP specific macros.
7011 (BODY): Handle combining characters.
7012 * iconvdata/BIG5HKSCS.irreversible: Update.
7013 * iconvdata/BIG5HKSCS.precomposed: New file.
7014 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7015 characters.
7016 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7017
c1f75dc3
SP
70182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7019
4eacded2
SP
7020 * include/sys/time.h: Fix indentation and add copyright header.
7021
fec799f8
SP
7022 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7023 (do_test): Likewise.
7024 * string/test-memchr.c (do_one_test): Likewise.
7025 (do_test): Likewise.
7026 * string/test-memcmp.c (do_one_test): Likewise.
7027 (do_test): Likewise.
7028 * string/test-memcpy.c (do_one_test): Likewise.
7029 (do_test): Likewise.
7030 * string/test-memmem.c (do_one_test): Likewise.
7031 (do_test): Likewise.
7032 (do_random_tests): Likewise.
7033 * string/test-memmove.c (do_one_test): Likewise.
7034 (do_test): Likewise.
7035 * string/test-memset.c (do_one_test): Likewise.
7036 (do_test): Likewise.
7037 * string/test-rawmemchr.c (do_one_test): Likewise.
7038 (do_test): Likewise.
7039 * string/test-strcasecmp.c (do_one_test): Likewise.
7040 (do_test): Likewise.
7041 * string/test-strcasestr.c (do_one_test): Likewise.
7042 (do_test): Likewise.
7043 * string/test-strcat.c (do_one_test): Likewise.
7044 (do_test): Likewise.
7045 * string/test-strchr.c (do_one_test): Likewise.
7046 (do_test): Likewise.
7047 * string/test-strcmp.c (do_one_test): Likewise.
7048 (do_test): Likewise.
7049 * string/test-strcpy.c (do_one_test): Likewise.
7050 (do_test): Likewise.
7051 * string/test-string.h: Likewise.
7052 (test_init): Likewise.
7053 * string/test-strlen.c (do_one_test): Likewise.
7054 (do_test): Likewise.
7055 * string/test-strncasecmp.c (do_one_test): Likewise.
7056 (do_test): Likewise.
7057 * string/test-strncat.c (do_one_test): Likewise.
7058 (do_test): Likewise.
7059 * string/test-strncmp.c (do_one_test): Likewise.
7060 (do_test_limit): Likewise.
7061 (do_test): Likewise.
7062 * string/test-strncpy.c (do_one_test): Likewise.
7063 (do_test): Likewise.
7064 * string/test-strnlen.c (do_one_test): Likewise.
7065 (do_test): Likewise.
7066 * string/test-strpbrk.c (do_one_test): Likewise.
7067 (do_test): Likewise.
7068 * string/test-strrchr.c (do_one_test): Likewise.
7069 (do_test): Likewise.
7070 * string/test-strspn.c (do_one_test): Likewise.
7071 (do_test): Likewise.
7072 * string/test-strstr.c (do_one_test): Likewise.
7073 (do_test): Likewise.
7074
97020474
SP
7075 * benchtests/Makefile (string-bench): Add string benchmarks.
7076 * benchtests/bench-bcopy-ifunc.c: New file.
7077 * benchtests/bench-bcopy.c: New file.
7078 * benchtests/bench-bzero-ifunc.c: New file.
7079 * benchtests/bench-bzero.c: New file.
7080 * benchtests/bench-memccpy-ifunc.c: New file.
7081 * benchtests/bench-memccpy.c: New file.
7082 * benchtests/bench-memchr-ifunc.c: New file.
7083 * benchtests/bench-memchr.c: New file.
7084 * benchtests/bench-memcmp-ifunc.c: New file.
7085 * benchtests/bench-memcmp.c: New file.
7086 * benchtests/bench-memmem-ifunc.c: New file.
7087 * benchtests/bench-memmem.c: New file.
7088 * benchtests/bench-memmove-ifunc.c: New file.
7089 * benchtests/bench-memmove.c: New file.
7090 * benchtests/bench-mempcpy-ifunc.c: New file.
7091 * benchtests/bench-mempcpy.c: New file.
7092 * benchtests/bench-memset-ifunc.c: New file.
7093 * benchtests/bench-memset.c: New file.
7094 * benchtests/bench-rawmemchr-ifunc.c: New file.
7095 * benchtests/bench-rawmemchr.c: New file.
7096 * benchtests/bench-stpcpy-ifunc.c: New file.
7097 * benchtests/bench-stpcpy.c: New file.
7098 * benchtests/bench-stpncpy-ifunc.c: New file.
7099 * benchtests/bench-stpncpy.c: New file.
7100 * benchtests/bench-strcasecmp-ifunc.c: New file.
7101 * benchtests/bench-strcasecmp.c: New file.
7102 * benchtests/bench-strcasestr-ifunc.c: New file.
7103 * benchtests/bench-strcasestr.c: New file.
7104 * benchtests/bench-strcat-ifunc.c: New file.
7105 * benchtests/bench-strcat.c: New file.
7106 * benchtests/bench-strchr-ifunc.c: New file.
7107 * benchtests/bench-strchr.c: New file.
7108 * benchtests/bench-strchrnul-ifunc.c: New file.
7109 * benchtests/bench-strchrnul.c: New file.
7110 * benchtests/bench-strcmp-ifunc.c: New file.
7111 * benchtests/bench-strcmp.c: New file.
7112 * benchtests/bench-strcpy-ifunc.c: New file.
7113 * benchtests/bench-strcpy.c: New file.
7114 * benchtests/bench-strcspn-ifunc.c: New file.
7115 * benchtests/bench-strcspn.c: New file.
7116 * benchtests/bench-strlen-ifunc.c: New file.
7117 * benchtests/bench-strlen.c: New file.
7118 * benchtests/bench-strncasecmp-ifunc.c: New file.
7119 * benchtests/bench-strncasecmp.c: New file.
7120 * benchtests/bench-strncat-ifunc.c: New file.
7121 * benchtests/bench-strncat.c: New file.
7122 * benchtests/bench-strncmp-ifunc.c: New file.
7123 * benchtests/bench-strncmp.c: New file.
7124 * benchtests/bench-strncpy-ifunc.c: New file.
7125 * benchtests/bench-strncpy.c: New file.
7126 * benchtests/bench-strnlen-ifunc.c: New file.
7127 * benchtests/bench-strnlen.c: New file.
7128 * benchtests/bench-strpbrk-ifunc.c: New file.
7129 * benchtests/bench-strpbrk.c: New file.
7130 * benchtests/bench-strrchr-ifunc.c: New file.
7131 * benchtests/bench-strrchr.c: New file.
7132 * benchtests/bench-strspn-ifunc.c: New file.
7133 * benchtests/bench-strspn.c: New file.
7134 * benchtests/bench-strstr-ifunc.c: New file.
7135 * benchtests/bench-strstr.c: New file.
7136
c1f75dc3
SP
7137 * benchtests/Makefile: Disable parallel execution of targets.
7138 (string-bench): Add memcpy.
7139 (benchset): New variable to store a list of benchmark sets.
7140 (bench-func): Renamed from bench.
7141 (bench-set): New target.
7142 (bench): Depend on bench-func and bench-set.
7143 * benchtests/README: Add section on benchmark sets.
7144 * benchtests/bench-memcpy-ifunc.c: New file.
7145 * benchtests/bench-memcpy.c: New file.
7146 * benchtests/bench-string.h: New file.
7147
50fd745b
AS
71482013-06-11 Andreas Schwab <schwab@suse.de>
7149
7150 [BZ #15577]
7151 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7152 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7153 values in the triple.
7154 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7155 terminator in the group key.
7156
3ee7e9fe
AJ
71572013-06-11 Andreas Jaeger <aj@suse.de>
7158
7159 * po/zh_TW.po: Update Chinese (traditional) translation from
7160 translation project.
7161
89fb6835
SP
71622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7163
7164 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7165 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7166 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7167 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7168 (clock_getcpuclockid): Likewise.
7169 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7170 Add weak_alias and libc_hidden_def.
7171 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7172 * rt/clock_gettime.c (clock_gettime): Rename to
7173 __clock_gettime. Add weak_alias and libc_hidden_def.
7174 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7175 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7176 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7177 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7178 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7179 Likewise.
7180 * rt/clock_settime.c (clock_settime): Rename to
7181 __clock_settime. Add weak_alias and libc_hidden_def.
7182 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7183
0efa6f8b
JM
71842013-06-10 Joseph Myers <joseph@codesourcery.com>
7185
b8c61b4b
JM
7186 * mach/err_boot.sub: Remove trailing whitespace.
7187 * mach/err_ipc.sub: Likewise.
7188 * mach/err_mach.sub: Likewise.
7189
0efa6f8b
JM
7190 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7191 (ROUNDING_TESTS_double): Likewise.
7192 (ROUNDING_TESTS_long_double): Likewise.
7193 (ROUNDING_TESTS): Likewise.
7194 * math/libm-test.inc: Include <math-tests.h>.
7195 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7196 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7197 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7198 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7199
50b818bf
SP
72002013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7201
7202 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7203 of assigning.
7204
60d2f8f3
JM
72052013-06-08 Joseph Myers <joseph@codesourcery.com>
7206
4902d2c3
JM
7207 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7208 otherwise empty TRANS lines.
7209 * sysdeps/gnu/errlist.c: Regenerated.
7210
60d2f8f3
JM
7211 * catgets/gencat.c (error_print): Use (void) in function
7212 definition.
7213 * crypt/crypt_util.c (__init_des): Likewise.
7214 * crypt/speeds.c (Stop): Likewise.
7215 (main): Likewise.
7216 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7217 * inet/ruserpass.c (token): Likewise.
7218 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7219 * intl/localealias.c (extend_alias_table): Likewise.
7220 * intl/plural-exp.c (init_germanic_plural): Likewise.
7221 * libio/fcloseall.c (__fcloseall): Likewise.
7222 * libio/genops.c (_IO_flush_all): Likewise.
7223 (_IO_flush_all_linebuffered): Likewise.
7224 (_IO_cleanup): Likewise.
7225 (_IO_iter_begin): Likewise.
7226 (_IO_iter_end): Likewise.
7227 (_IO_list_lock): Likewise.
7228 (_IO_list_unlock): Likewise.
7229 (_IO_list_resetlock): Likewise.
7230 * libio/getchar.c (getchar): Likewise.
7231 * libio/getchar_u.c (getchar_unlocked): Likewise.
7232 * libio/getwchar.c (getwchar): Likewise.
7233 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7234 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7235 * login/getpt.c (__getpt): Likewise.
7236 * login/tst-utmp.c (main): Likewise.
7237 * malloc/hooks.c (__malloc_check_init): Likewise.
7238 * malloc/malloc.c (__malloc_stats): Likewise.
7239 * malloc/mtrace.c (tr_break): Likewise.
7240 (mtrace): Likewise.
7241 (muntrace): Likewise.
7242 * misc/fstab.c (endfsent): Likewise.
7243 * misc/getclktck.c (__getclktck): Likewise.
7244 * misc/getdtsz.c (__getdtablesize): Likewise.
7245 * misc/gethostid.c (gethostid): Likewise.
7246 * misc/getpagesize.c (__getpagesize): Likewise.
7247 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7248 (__get_nprocs): Likewise.
7249 (__get_phys_pages): Likewise.
7250 (__get_avphys_pages): Likewise.
7251 * misc/getttyent.c (getttyent): Likewise.
7252 (setttyent): Likewise.
7253 (endttyent): Likewise.
7254 * misc/getusershell.c (getusershell): Likewise.
7255 (endusershell): Likewise.
7256 (setusershell): Likewise.
7257 (initshells): Likewise.
7258 * misc/hsearch.c (__hdestroy): Likewise.
7259 * misc/sync.c (sync): Likewise.
7260 * misc/syslog.c (closelog_internal): Likewise.
7261 (closelog): Likewise.
7262 * misc/ttyslot.c (ttyslot): Likewise.
7263 * misc/vhangup.c (vhangup): Likewise.
7264 * posix/fork.c (__fork): Likewise.
7265 * posix/getegid.c (__getegid): Likewise.
7266 * posix/geteuid.c (__geteuid): Likewise.
7267 * posix/getgid.c (__getgid): Likewise.
7268 * posix/getpid.c (__getpid): Likewise.
7269 * posix/getppid.c (__getppid): Likewise.
7270 * posix/getuid.c (__getuid): Likewise.
7271 * posix/pause.c (pause): Likewise.
7272 * posix/setpgrp.c (setpgrp): Likewise.
7273 * posix/setsid.c (__setsid): Likewise.
7274 * posix/test-vfork.c (noop): Likewise.
7275 * resolv/gethnamaddr.c (_endhtent): Likewise.
7276 (_gethtent): Likewise.
7277 (ht_endhostent): Likewise.
7278 (gethostent): Likewise.
7279 (dns_service): Likewise.
7280 * stdlib/drand48.c (drand48): Likewise.
7281 * stdlib/lrand48.c (lrand48): Likewise.
7282 * stdlib/mrand48.c (mrand48): Likewise.
7283 * stdlib/rand.c (rand): Likewise.
7284 * stdlib/random.c (__random): Likewise.
7285 * stdlib/setenv.c (clearenv): Likewise.
7286 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7287 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7288 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7289 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7290 (__get_nprocs): Likewise.
7291 (__get_phys_pages): Likewise.
7292 (__get_avphys_pages): Likewise.
7293 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7294 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7295 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7296 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7297 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7298 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7299 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7300 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7301 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7302 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7303 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7304 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7305 * sysdeps/posix/clock.c (clock): Likewise.
7306 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7307 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7308 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7309 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7310 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7311 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7312 (__get_nprocs_conf): Likewise.
7313 (__get_phys_pages): Likewise.
7314 (__get_avphys_pages): Likewise.
7315 * time/clock.c (clock): Likewise.
7316 * time/tzset.c (__tzname_max): Likewise.
7317
2e09a79a
JM
73182013-06-07 Joseph Myers <joseph@codesourcery.com>
7319
7320 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7321 (__bswap_32): Do not use "register".
7322 * crypt/crypt.c (_ufc_doit_r): Likewise.
7323 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7324 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7325 * gmon/gmon.c (__monstartup): Likewise.
7326 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7327 * hurd/hurdmalloc.c (more_memory): Likewise.
7328 (malloc): Likewise.
7329 (free): Likewise.
7330 (realloc): Likewise.
7331 (malloc_fork_prepare): Likewise.
7332 (malloc_fork_parent): Likewise.
7333 (malloc_fork_child): Likewise.
7334 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7335 (_svcauth_des): Likewise.
7336 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7337 * inet/inet_net.c (inet_network): Likewise.
7338 * inet/inet_netof.c (inet_netof): Likewise.
7339 * inet/rcmd.c (__validuser2_sa): Likewise.
7340 * io/fts.c (fts_open): Likewise.
7341 (fts_load): Likewise.
7342 (fts_close): Likewise.
7343 (fts_read): Likewise.
7344 (fts_children): Likewise.
7345 (fts_build): Likewise.
7346 (fts_stat): Likewise.
7347 (fts_sort): Likewise.
7348 (fts_alloc): Likewise.
7349 (fts_lfree): Likewise.
7350 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7351 (_IO_file_xsgetn): Likewise.
7352 (_IO_file_xsgetn_mmap): Likewise.
7353 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7354 (_IO_cookie_write): Likewise.
7355 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7356 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7357 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7358 * malloc/obstack.c (_obstack_begin): Likewise.
7359 (_obstack_begin_1): Likewise.
7360 (_obstack_newchunk): Likewise.
7361 (_obstack_allocated_p): Likewise.
7362 (obstack_free): Likewise.
7363 (_obstack_memory_used): Likewise.
7364 * misc/getttyent.c (getttynam): Likewise.
7365 (getttyent): Likewise.
7366 (skip): Likewise.
7367 (value): Likewise.
7368 * misc/getusershell.c (initshells): Likewise.
7369 * misc/syslog.c (__vsyslog_chk): Likewise.
7370 * misc/ttyslot.c (ttyslot): Likewise.
7371 * nis/nis_hash.c (__nis_hash): Likewise.
7372 * posix/fnmatch_loop.c (FCT): Likewise.
7373 * posix/getconf.c (print_all): Likewise.
7374 (main): Likewise.
7375 * posix/getopt.c (exchange): Likewise.
7376 * posix/glob.c (globfree): Likewise.
7377 (prefix_array): Likewise.
7378 (__glob_pattern_type): Likewise.
7379 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7380 (NS_GET32): Likewise.
7381 (NS_PUT16): Likewise.
7382 (NS_PUT32): Likewise.
7383 * resolv/gethnamaddr.c (getanswer): Likewise.
7384 (gethostbyname2): Likewise.
7385 (gethostbyaddr): Likewise.
7386 (_gethtent): Likewise.
7387 (_gethtbyname2): Likewise.
7388 (_gethtbyaddr): Likewise.
7389 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7390 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7391 * resolv/res_init.c (__res_vinit): Likewise.
7392 (net_mask): Likewise.
7393 * resolv/res_mkquery.c (outchar): Likewise.
7394 (PRINT): Likewise.
7395 * stdio-common/printf_fp.c (outchar): Likewise.
7396 (PRINT): Likewise.
7397 * stdio-common/printf_fphex.c (outchar): Likewise.
7398 (PRINT): Likewise.
7399 * stdio-common/printf_size.c (outchar): Likewise.
7400 (PRINT): Likewise.
7401 * stdio-common/test_rdwr.c (main): Likewise.
7402 * stdio-common/tfformat.c (matches): Likewise.
7403 * stdio-common/vfprintf.c (outchar): Likewise.
7404 (printf_unknown): Likewise.
7405 (buffered_vfprintf): Likewise.
7406 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7407 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7408 (ReadFile): Likewise.
7409 * stdlib/qsort.c (SWAP): Likewise.
7410 (_quicksort): Likewise.
7411 * stdlib/setenv.c (__add_to_environ): Likewise.
7412 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7413 * stdlib/strtol_l.c (__strtol_l): Likewise.
7414 * stdlib/tst-strtod.c (main): Likewise.
7415 * stdlib/tst-strtol.c (main): Likewise.
7416 * stdlib/tst-strtoll.c (main): Likewise.
7417 * string/bits/string2.h (__strcmp_cc): Likewise.
7418 (__strcmp_cg): Likewise.
7419 (__strcspn_c1): Likewise.
7420 (__strcspn_c2): Likewise.
7421 (__strcspn_c3): Likewise.
7422 (__strspn_c1): Likewise.
7423 (__strspn_c2): Likewise.
7424 (__strspn_c3): Likewise.
7425 (__strsep_1c): Likewise.
7426 (__strsep_2c): Likewise.
7427 (__strsep_3c): Likewise.
7428 * string/memccpy.c (__memccpy): Likewise.
7429 * string/stpcpy.c (__stpcpy): Likewise.
7430 * string/strcmp.c (strcmp): Likewise.
7431 * string/strrchr.c (strrchr): Likewise.
7432 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7433 Likewise.
7434 * sysdeps/mach/hurd/getcwd.c
7435 (_hurd_canonicalize_directory_name_internal): Likewise.
7436 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7437 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7438 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7439 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7440 Likewise, in both definitions.
7441 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7442 definitions.
7443 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7444 64] (__bswap_64): Likewise.
7445 * time/test_time.c (main): Likewise.
7446 * time/tzfile.c (__tzfile_read): Likewise.
7447 (__tzfile_compute): Likewise.
7448 * time/tzset.c (__tzset_parse_tz): Likewise.
7449 (tzset_internal): Likewise.
7450 (compute_change): Likewise.
7451 * wcsmbs/wcscat.c (__wcscat): Likewise.
7452 * wcsmbs/wcschr.c (wcschr): Likewise.
7453 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7454 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7455 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7456 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7457 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7458 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7459 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7460 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7461 * wcsmbs/wmemset.c (wmemset): Likewise.
7462
9e54314b
JM
74632013-06-06 Joseph Myers <joseph@codesourcery.com>
7464
7465 * scripts/config.guess: Update to version 2013-05-16.
7466 * scripts/config.sub: Update to version 2013-04-24.
7467 * scripts/install-sh: Update to version 2011-11-20.07.
7468 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7469 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7470
350635a5
OB
74712013-06-06 Ondřej Bílka <neleai@seznam.cz>
7472
7473 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7474 * elf/sln.c: Likewise.
7475 * hurd/hurd/ioctl.h: Likewise.
7476 * hurd/hurdmalloc.c: Likewise.
7477 * hurd/xattr.c: Likewise.
7478 * include/shlib-compat.h: Likewise.
7479 * inet/ruserpass.c: Likewise.
7480 * libio/iofgets_u.c: Likewise.
7481 * libio/iofgetws_u.c: Likewise.
7482 * locale/programs/ld-identification.c: Likewise.
7483 * locale/programs/ld-time.c: Likewise.
7484 * mach/msg-destroy.c: Likewise.
7485 * nss/nss_files/files-netgrp.c: Likewise.
7486 * resolv/res_data.c: Likewise.
7487 * soft-fp/op-1.h: Likewise.
7488 * soft-fp/op-2.h: Likewise.
7489 * soft-fp/op-4.h: Likewise.
7490 * soft-fp/op-common.h: Likewise.
7491 * stdio-common/printf_fphex.c: Likewise.
7492 * stdlib/strtod_l.c: Likewise.
7493 * sunrpc/rpc/clnt.h: Likewise.
7494 * sysdeps/generic/framestate.c: Likewise.
7495 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7496 * sysdeps/i386/bsd-setjmp.S: Likewise.
7497 * sysdeps/i386/__longjmp.S: Likewise.
7498 * sysdeps/i386/setjmp.S: Likewise.
7499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7500 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7502 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7508 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7509 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7511 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7512 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7513 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7515 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7516 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7517 * sysdeps/ieee754/support.c: Likewise.
7518 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7519 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7520 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7521 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7522 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7523 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7524 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7525 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7526 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7527 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7528 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7529 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7530 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7531 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7532 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7533 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7534 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7536
44a988af
OB
75372013-06-05 Ondřej Bílka <neleai@seznam.cz>
7538
25506f09 7539 * posix/transbug.c: Remove executable mode.
44a988af 7540
9c84384c
JM
75412013-06-05 Joseph Myers <joseph@codesourcery.com>
7542
7543 * crypt/speeds.c: Remove trailing whitespace.
7544 * dlfcn/default.c: Likewise.
7545 * elf/ifuncdep2.c: Likewise.
7546 * elf/ifuncmain1.c: Likewise.
7547 * elf/ifuncmain1vis.c: Likewise.
7548 * elf/testobj.h: Likewise.
7549 * elf/tst-stackguard1.c: Likewise.
7550 * gmon/sys/gmon.h: Likewise.
7551 * hurd/hurdmsg.c: Likewise.
7552 * hurd/new-fd.c: Likewise.
7553 * hurd/ports-get.c: Likewise.
7554 * iconvdata/ibm1008_420.c: Likewise.
7555 * inet/tst-getni1.c: Likewise.
7556 * inet/tst-getni2.c: Likewise.
7557 * libio/ioungetc.c: Likewise.
7558 * libio/wfiledoalloc.c: Likewise.
7559 * manual/libm-err-tab.pl: Likewise.
7560 * math/w_dremf.c: Likewise.
7561 * misc/ftruncate.c: Likewise.
7562 * posix/bug-glob2.c: Likewise.
7563 * posix/tst-pcre.c: Likewise.
7564 * posix/wait4.c: Likewise.
7565 * resolv/README: Likewise.
7566 * resolv/res_debug.h: Likewise.
7567 * resolv/tst-inet_ntop.c: Likewise.
7568 * setjmp/bug269-setjmp.c: Likewise.
7569 * soft-fp/extended.h: Likewise.
7570 * soft-fp/op-1.h: Likewise.
7571 * soft-fp/op-2.h: Likewise.
7572 * soft-fp/op-4.h: Likewise.
7573 * soft-fp/op-8.h: Likewise.
7574 * soft-fp/testit.c: Likewise.
7575 * stdio-common/bug16.c: Likewise.
7576 * stdlib/random.c: Likewise.
7577 * sunrpc/rpcsvc/rquota.x: Likewise.
7578 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7579 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7580 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7581 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7582 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7583 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7584 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7585 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7586 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7587 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7588 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7596 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7597 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7605 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7607 * sysdeps/ieee754/s_lib_version.c: Likewise.
7608 * sysdeps/mach/hurd/check_fds.c: Likewise.
7609 * sysdeps/mach/hurd/getsockname.c: Likewise.
7610 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7611 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7612 * sysdeps/powerpc/bits/link.h: Likewise.
7613 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7614 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7615 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7616 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7617 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7618 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7619 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7620 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7621 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7622 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7623 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7624 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7625 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7626 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7627 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7628 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7631 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7632 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7634 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7635 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7636 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7637 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7639 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7640 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7641 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7642 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7643 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7644 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7645 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7647 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7648 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7649 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7650 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7651 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7652 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7653 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7654 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7655 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7656 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7657 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7658 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7659 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7660 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7661 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7662 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7665 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7666 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7667 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7668 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7669 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7670 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7671 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7672 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7673 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7674 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7675 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7676 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7677 * sysdeps/powerpc/sysdep.h: Likewise.
7678 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7679 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7680 * sysdeps/sh/dl-trampoline.S: Likewise.
7681 * sysdeps/sh/memset.S: Likewise.
7682 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7683 * sysdeps/sh/strlen.S: Likewise.
7684 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7685 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7686 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7687 * sysdeps/sparc/sparc32/rem.S: Likewise.
7688 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7689 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7690 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7691 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7692 * sysdeps/sparc/sparc32/urem.S: Likewise.
7693 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7694 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7695 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7696 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7697 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7698 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7699 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7700 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7701 * sysdeps/unix/bsd/times.c: Likewise.
7702 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7703 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7707 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7708 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7709 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7710 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7711 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7712 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7713 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7714 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7715 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7716 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7717 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7718 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7720 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7721 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7722 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7723 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7724 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7725 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7726 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7727 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7728 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7729 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7730 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7731 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7732 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7733 * sysdeps/x86_64/strcspn.S: Likewise.
7734
869378a5
RA
77352013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7736
7737 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7738 generated file. Regenerate properly from gen-translit.pl.
7739 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7740 locale/C-translit.h.
7741
840e2943
AS
77422013-06-05 Andreas Schwab <schwab@suse.de>
7743
7744 [BZ #15100]
7745 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7746 week as 6 instead of -1.
7747 * time/tst-strptime.c (day_tests): Add test case.
7748
4c60cb0c
SP
77492013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7750
7751 * sysdeps/generic/math_private.h
7752 (libc_feholdexcept_setround_53bit): Replace with
7753 libc_feholdsetround_53bit.
7754 (libc_feupdateenv_53bit): Replace with
7755 libc_feresetround_53bit.
7756 (SET_RESTORE_ROUND_53BIT): Adjust.
7757
d180203e
SP
77582013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7759
96df079a
SP
7760 * string/test-strchrnul.c: Add copyright header.
7761
d180203e
SP
7762 * posix/tst-getaddrinfo4.c: Increase test timeout.
7763
8b0ccb2d
CD
77642013-06-03 Carlos O'Donell <carlos@redhat.com>
7765
7766 [BZ #15536]
7767 * math/libm-test.inc (MAX_EXP): Remove
7768 (MIN_EXP): Define.
7769 (ulp): Use MIN_EXP - MANT_DIG.
7770 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7771
3b3c4d40
CD
77722013-05-31 Carlos O'Donell <carlos@redhat.com>
7773
7774 * po/be.po: Revert last change.
7775 * po/zh_CN.po: Likewise.
7776 * po/header.pot: Likewise.
7777
fab7ce3f
JM
77782013-05-31 Joseph Myers <joseph@codesourcery.com>
7779
7780 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7781 link-libc-deps to empty as target-specific variable.
7782 * Makerules (link-libc-args): New variable.
7783 (libc-for-link): Likewise.
7784 (link-libc-deps): Likewise.
7785 (lib%.so): Depend on $(link-libc-deps). Link with
7786 $(link-libc-args).
7787 (build-module): Link with $(link-libc-args).
7788 (build-module-asneeded): Likewise.
7789 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7790 list of objects.
7791 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7792 target-specific variable.
7793 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7794 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7795 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7796 libc.
7797 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7798 libc and ld.so.
7799 ($(objpfx)libpcprofile.so): Likewise.
7800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7801 libc_nonshared.a.
7802 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7803 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7804 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7805 $(link-libc-deps).
7806 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7807 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7808 * login/Makefile ($(objpfx)libutil.so): Likewise.
7809 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7810 * math/Makefile ($(objpfx)libm.so): Likewise.
7811 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7812 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7813 variable instead of depending directly on libc.
7814 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7815 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7816 $(link-libc-deps).
7817 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7818 libc.
7819 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7820 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7821 ($(objpfx)libanl.so): Likewise.
7822 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7823 ld.so.
7824 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7825 $(link-libc-deps).
7826 * sysdeps/i386/fpu/Makefile: Remove file.
7827 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7828 ($(objpfx)libm.so): Remove dependency on ld.so.
7829
eca5920c
PF
78302013-05-30 Patsy Franklin <pfrankli@redhat.com>
7831
7832 [BZ # 15553]
7833 * nis/yp_xdr.c (XDRMAXNAME): Define.
7834 (XDRMAXRECORD): Define.
7835 (xdr_domainname): Use XDRMAXNAME.
7836 (xdr_mapname): Likewise.
7837 (xdr_peername): Likewise.
7838 (xdr_keydat): Use XDRMAXRECORD.
7839 (xdr_valdat): Likewise.
7840
78412013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7842
7843 [BZ #14256]
7844 * manual/errno.texi (ESTALE): Update to account for more than
7845 just NFS file systems.
7846 * sysdeps/gnu/errlist.c: Regenerated.
7847
b9375348
SP
78482013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7849
7850 [BZ #15465]
7851 * elf/Makefile (tests): Add tst-null-argv.
7852 (modules-names): Add tst-null-argv-lib.
7853 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7854 (tst-null-argv-ENV): Set environment for tst-null-argv.
7855 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7856 (RTLD_PROGNAME): New macro.
7857 * elf/tst-null-argv.c: New test case.
7858 * elf/tst-null-argv-lib.c: Library for test case.
7859 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7860 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7861 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7862 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7863 * elf/dl-init.c (call_init): Likewise.
7864 (_dl_init): Likewise.
7865 * elf/dl-load.c (print_search_path): Likewise.
7866 (_dl_map_object): Likewise.
7867 * elf/dl-lookup.c (do_lookup_x): Likewise.
7868 (add_dependency): Likewise.
7869 (_dl_lookup_symbol_x): Likewise.
7870 (_dl_debug_bindings): Likewise.
7871 * elf/dl-open.c (_dl_show_scope): Likewise.
7872 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7873 * elf/dl-version.c (match_symbol): Likewise.
7874 (_dl_check_map_versions): Likewise.
7875 * elf/rtld.c (dl_main): Likewise.
7876 (print_unresolved): Use RTLD_PROGNAME.
7877 (print_missing_version): Likewise.
7878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7879 (elf_machine_rela): Likewise.
7880 * sysdeps/powerpc/powerpc32/dl-machine.c
7881 (__process_machine_rela): Likewise.
7882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7883 Likewise.
7884 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7885 Likewise.
7886 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7887 Likewise.
7888 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7890 Likewise.
7891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7892 Likewise.
7893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7894
8a9f20c8
CD
78952013-05-28 Carlos O'Donell <carlos@redhat.com>
7896
7897 * po/be.po: Add descriptive title.
7898 * po/zh_CN.po: Likewise.
7899 * po/header.pot: Likewise.
7900
0e60d68e
MF
79012013-05-28 Mike Frysinger <vapier@gentoo.org>
7902
7903 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7904 error message.
7905 (enlarge_archive): Likewise.
7906
56b672e9
BN
79072013-05-28 Ben North <ben@redfrontdoor.org>
7908
7909 * manual/arith.texi (frexp): It is the magnitude of the return
7910 value which lies in [0.5, 1), not the return value itself.
7911
5e056687
AZ
79122013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7913
7914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7915
2b66ef5d
TS
79162013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7917
528c2405
TS
7918 * stdio-common/bug26.c (main): Correct fscanf template.
7919
07b4c13d
TS
7920 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7921 declare _dl_skip_args.
7922
ec9dd97c
TS
7923 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7924 Don't declare.
7925
2b66ef5d
TS
7926 * manual/platform.texi: Add missing @end deftypefun.
7927
4f8dfe27
JM
79282013-05-24 Joseph Myers <joseph@codesourcery.com>
7929
0323d086
JM
7930 [BZ #15529]
7931 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7932 bit of mantissa of 2^16382.
7933 * math/libm-test.inc (hypot_test_data): Add more tests.
7934
dd4259b9
JM
7935 * math/libm-test.inc: Add drem and pow10 to list of tested
7936 functions.
7937 (pow10_test): New function.
7938 (drem_test): Likewise.
7939 (drem_test_tonearest): Likewise.
7940 (drem_test_towardzero): Likewise.
7941 (drem_test_downward): Likewise.
7942 (drem_test_upward): Likewise.
7943 (main): Call the new functions.
7944
4f8dfe27
JM
7945 * math/libm-test.inc (finite_test_data): Remove.
7946 (finite_test): Run tests from isfinite_test_data.
7947 (gamma_test_data): Remove.
7948 (gamma_test): Run tests from lgamma_test_data.
7949 * sysdeps/i386/fpu/libm-test-ulps: Update.
7950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7951
d116b7c4
AZ
79522013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7953
7954 * manual/platform.texi: Add PowerPC PPR function set documentation.
7955 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7956 implementation.
7957
e96e3767
CD
79582013-05-24 Carlos O'Donell <carlos@redhat.com>
7959
7960 * math/libm-test.inc (MAX_EXP): Define.
7961 (ULPDIFF): Define.
7962 (ulp): New function.
7963 (check_float_internal): Use ULPDIFF.
7964 (cpow_test): Disable failing test.
7965 (check_ulp): Test ulp() implemetnation.
7966 (main): Call check_ulp before starting tests.
7967
b679a606
JM
79682013-05-24 Joseph Myers <joseph@codesourcery.com>
7969
e8bdba36
JM
7970 * math/gen-libm-test.pl (generate_testfile): Do not handle
7971 START_DATA and END_DATA.
7972 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7973 END_DATA.
7974 (acos_tonearest_test_data): Likewise.
7975 (acos_towardzero_test_data): Likewise.
7976 (acos_downward_test_data): Likewise.
7977 (acos_upward_test_data): Likewise.
7978 (acosh_test_data): Likewise.
7979 (asin_test_data): Likewise.
7980 (asin_tonearest_test_data): Likewise.
7981 (asin_towardzero_test_data): Likewise.
7982 (asin_downward_test_data): Likewise.
7983 (asin_upward_test_data): Likewise.
7984 (asinh_test_data): Likewise.
7985 (atan_test_data): Likewise.
7986 (atanh_test_data): Likewise.
7987 (atan2_test_data): Likewise.
7988 (cabs_test_data): Likewise.
7989 (cacos_test_data): Likewise.
7990 (cacosh_test_data): Likewise.
7991 (carg_test_data): Likewise.
7992 (casin_test_data): Likewise.
7993 (casinh_test_data): Likewise.
7994 (catan_test_data): Likewise.
7995 (catanh_test_data): Likewise.
7996 (cbrt_test_data): Likewise.
7997 (ccos_test_data): Likewise.
7998 (ccosh_test_data): Likewise.
7999 (ceil_test_data): Likewise.
8000 (cexp_test_data): Likewise.
8001 (cimag_test_data): Likewise.
8002 (clog_test_data): Likewise.
8003 (clog10_test_data): Likewise.
8004 (conj_test_data): Likewise.
8005 (copysign_test_data): Likewise.
8006 (cos_test_data): Likewise.
8007 (cos_tonearest_test_data): Likewise.
8008 (cos_towardzero_test_data): Likewise.
8009 (cos_downward_test_data): Likewise.
8010 (cos_upward_test_data): Likewise.
8011 (cosh_test_data): Likewise.
8012 (cosh_tonearest_test_data): Likewise.
8013 (cosh_towardzero_test_data): Likewise.
8014 (cosh_downward_test_data): Likewise.
8015 (cosh_upward_test_data): Likewise.
8016 (cpow_test_data): Likewise.
8017 (cproj_test_data): Likewise.
8018 (creal_test_data): Likewise.
8019 (csin_test_data): Likewise.
8020 (csinh_test_data): Likewise.
8021 (csqrt_test_data): Likewise.
8022 (ctan_test_data): Likewise.
8023 (ctan_tonearest_test_data): Likewise.
8024 (ctan_towardzero_test_data): Likewise.
8025 (ctan_downward_test_data): Likewise.
8026 (ctan_upward_test_data): Likewise.
8027 (ctanh_test_data): Likewise.
8028 (ctanh_tonearest_test_data): Likewise.
8029 (ctanh_towardzero_test_data): Likewise.
8030 (ctanh_downward_test_data): Likewise.
8031 (ctanh_upward_test_data): Likewise.
8032 (erf_test_data): Likewise.
8033 (erfc_test_data): Likewise.
8034 (exp_test_data): Likewise.
8035 (exp_tonearest_test_data): Likewise.
8036 (exp_towardzero_test_data): Likewise.
8037 (exp_downward_test_data): Likewise.
8038 (exp_upward_test_data): Likewise.
8039 (exp10_test_data): Likewise.
8040 (exp2_test_data): Likewise.
8041 (expm1_test_data): Likewise.
8042 (fabs_test_data): Likewise.
8043 (fdim_test_data): Likewise.
8044 (finite_test_data): Likewise.
8045 (floor_test_data): Likewise.
8046 (fma_test_data): Likewise.
8047 (fma_towardzero_test_data): Likewise.
8048 (fma_downward_test_data): Likewise.
8049 (fma_upward_test_data): Likewise.
8050 (fmax_test_data): Likewise.
8051 (fmin_test_data): Likewise.
8052 (fmod_test_data): Likewise.
8053 (fpclassify_test_data): Likewise.
8054 (frexp_test_data): Likewise.
8055 (gamma_test_data): Likewise.
8056 (hypot_test_data): Likewise.
8057 (ilogb_test_data): Likewise.
8058 (isfinite_test_data): Likewise.
8059 (isgreater_test_data): Likewise.
8060 (isgreaterequal_test_data): Likewise.
8061 (isinf_test_data): Likewise.
8062 (isless_test_data): Likewise.
8063 (islessequal_test_data): Likewise.
8064 (islessgreater_test_data): Likewise.
8065 (isnan_test_data): Likewise.
8066 (isnormal_test_data): Likewise.
8067 (issignaling_test_data): Likewise.
8068 (isunordered_test_data): Likewise.
8069 (j0_test_data): Likewise.
8070 (j1_test_data): Likewise.
8071 (jn_test_data): Likewise.
8072 (ldexp_test_data): Likewise.
8073 (lgamma_test_data): Likewise.
8074 (lrint_test_data): Likewise.
8075 (lrint_tonearest_test_data): Likewise.
8076 (lrint_towardzero_test_data): Likewise.
8077 (lrint_downward_test_data): Likewise.
8078 (lrint_upward_test_data): Likewise.
8079 (llrint_test_data): Likewise.
8080 (llrint_tonearest_test_data): Likewise.
8081 (llrint_towardzero_test_data): Likewise.
8082 (llrint_downward_test_data): Likewise.
8083 (llrint_upward_test_data): Likewise.
8084 (log_test_data): Likewise.
8085 (log10_test_data): Likewise.
8086 (log1p_test_data): Likewise.
8087 (log2_test_data): Likewise.
8088 (logb_test_data): Likewise.
8089 (logb_downward_test_data): Likewise.
8090 (lround_test_data): Likewise.
8091 (llround_test_data): Likewise.
8092 (modf_test_data): Likewise.
8093 (nearbyint_test_data): Likewise.
8094 (nextafter_test_data): Likewise.
8095 (nexttoward_test_data): Likewise.
8096 (pow_test_data): Likewise.
8097 (pow_tonearest_test_data): Likewise.
8098 (pow_towardzero_test_data): Likewise.
8099 (pow_downward_test_data): Likewise.
8100 (pow_upward_test_data): Likewise.
8101 (remainder_test_data): Likewise.
8102 (remainder_tonearest_test_data): Likewise.
8103 (remainder_towardzero_test_data): Likewise.
8104 (remainder_downward_test_data): Likewise.
8105 (remainder_upward_test_data): Likewise.
8106 (remquo_test_data): Likewise.
8107 (rint_test_data): Likewise.
8108 (rint_tonearest_test_data): Likewise.
8109 (rint_towardzero_test_data): Likewise.
8110 (rint_downward_test_data): Likewise.
8111 (rint_upward_test_data): Likewise.
8112 (round_test_data): Likewise.
8113 (scalb_test_data): Likewise.
8114 (scalbn_test_data): Likewise.
8115 (scalbln_test_data): Likewise.
8116 (signbit_test_data): Likewise.
8117 (sin_test_data): Likewise.
8118 (sin_tonearest_test_data): Likewise.
8119 (sin_towardzero_test_data): Likewise.
8120 (sin_downward_test_data): Likewise.
8121 (sin_upward_test_data): Likewise.
8122 (sincos_test_data): Likewise.
8123 (sinh_test_data): Likewise.
8124 (sinh_tonearest_test_data): Likewise.
8125 (sinh_towardzero_test_data): Likewise.
8126 (sinh_downward_test_data): Likewise.
8127 (sinh_upward_test_data): Likewise.
8128 (sqrt_test_data): Likewise.
8129 (tan_test_data): Likewise.
8130 (tan_tonearest_test_data): Likewise.
8131 (tan_towardzero_test_data): Likewise.
8132 (tan_downward_test_data): Likewise.
8133 (tan_upward_test_data): Likewise.
8134 (tanh_test_data): Likewise.
8135 (tgamma_test_data): Likewise.
8136 (trunc_test_data): Likewise.
8137 (y0_test_data): Likewise.
8138 (y1_test_data): Likewise.
8139 (yn_test_data): Likewise.
8140 (significand_test_data): Likewise.
8141
b679a606
JM
8142 * math/gen-libm-test.pl (@functions): Remove variable.
8143 (generate_testfile): Don't handle START and END lines.
8144 * math/libm-test.inc (START): New macro.
8145 (END): Likewise.
8146 (END_COMPLEX): Likewise.
8147 (acos_test): Use END macro without arguments.
8148 (acos_test_tonearest): Likewise.
8149 (acos_test_towardzero): Likewise.
8150 (acos_test_downward): Likewise.
8151 (acos_test_upward): Likewise.
8152 (acosh_test): Likewise.
8153 (asin_test): Likewise.
8154 (asin_test_tonearest): Likewise.
8155 (asin_test_towardzero): Likewise.
8156 (asin_test_downward): Likewise.
8157 (asin_test_upward): Likewise.
8158 (asinh_test): Likewise.
8159 (atan_test): Likewise.
8160 (atanh_test): Likewise.
8161 (atan2_test): Likewise.
8162 (cabs_test): Likewise.
8163 (cacos_test): Use END_COMPLEX macro without arguments.
8164 (cacosh_test): Likewise.
8165 (carg_test): Use END macro without arguments.
8166 (casin_test): Use END_COMPLEX macro without arguments.
8167 (casinh_test): Likewise.
8168 (catan_test): Likewise.
8169 (catanh_test): Likewise.
8170 (cbrt_test): Use END macro without arguments.
8171 (ccos_test): Use END_COMPLEX macro without arguments.
8172 (ccosh_test): Likewise.
8173 (ceil_test): Use END macro without arguments.
8174 (cexp_test): Use END_COMPLEX macro without arguments.
8175 (cimag_test): Use END macro without arguments.
8176 (clog_test): Use END_COMPLEX macro without arguments.
8177 (clog10_test): Likewise.
8178 (conj_test): Likewise.
8179 (copysign_test): Use END macro without arguments.
8180 (cos_test): Likewise.
8181 (cos_test_tonearest): Likewise.
8182 (cos_test_towardzero): Likewise.
8183 (cos_test_downward): Likewise.
8184 (cos_test_upward): Likewise.
8185 (cosh_test): Likewise.
8186 (cosh_test_tonearest): Likewise.
8187 (cosh_test_towardzero): Likewise.
8188 (cosh_test_downward): Likewise.
8189 (cosh_test_upward): Likewise.
8190 (cpow_test): Use END_COMPLEX macro without arguments.
8191 (cproj_test): Likewise.
8192 (creal_test): Use END macro without arguments.
8193 (csin_test): Use END_COMPLEX macro without arguments.
8194 (csinh_test): Likewise.
8195 (csqrt_test): Likewise.
8196 (ctan_test): Likewise.
8197 (ctan_test_tonearest): Likewise.
8198 (ctan_test_towardzero): Likewise.
8199 (ctan_test_downward): Likewise.
8200 (ctan_test_upward): Likewise.
8201 (ctanh_test): Likewise.
8202 (ctanh_test_tonearest): Likewise.
8203 (ctanh_test_towardzero): Likewise.
8204 (ctanh_test_downward): Likewise.
8205 (ctanh_test_upward): Likewise.
8206 (erf_test): Use END macro without arguments.
8207 (erfc_test): Likewise.
8208 (exp_test): Likewise.
8209 (exp_test_tonearest): Likewise.
8210 (exp_test_towardzero): Likewise.
8211 (exp_test_downward): Likewise.
8212 (exp_test_upward): Likewise.
8213 (exp10_test): Likewise.
8214 (exp2_test): Likewise.
8215 (expm1_test): Likewise.
8216 (fabs_test): Likewise.
8217 (fdim_test): Likewise.
8218 (finite_test): Likewise.
8219 (floor_test): Likewise.
8220 (fma_test): Likewise.
8221 (fma_test_towardzero): Likewise.
8222 (fma_test_downward): Likewise.
8223 (fma_test_upward): Likewise.
8224 (fmax_test): Likewise.
8225 (fmin_test): Likewise.
8226 (fmod_test): Likewise.
8227 (fpclassify_test): Likewise.
8228 (frexp_test): Likewise.
8229 (gamma_test): Likewise.
8230 (hypot_test): Likewise.
8231 (ilogb_test): Likewise.
8232 (isfinite_test): Likewise.
8233 (isgreater_test): Likewise.
8234 (isgreaterequal_test): Likewise.
8235 (isinf_test): Likewise.
8236 (isless_test): Likewise.
8237 (islessequal_test): Likewise.
8238 (islessgreater_test): Likewise.
8239 (isnan_test): Likewise.
8240 (isnormal_test): Likewise.
8241 (issignaling_test): Likewise.
8242 (isunordered_test): Likewise.
8243 (j0_test): Likewise.
8244 (j1_test): Likewise.
8245 (jn_test): Likewise.
8246 (ldexp_test): Likewise.
8247 (lgamma_test): Likewise.
8248 (lrint_test): Likewise.
8249 (lrint_test_tonearest): Likewise.
8250 (lrint_test_towardzero): Likewise.
8251 (lrint_test_downward): Likewise.
8252 (lrint_test_upward): Likewise.
8253 (llrint_test): Likewise.
8254 (llrint_test_tonearest): Likewise.
8255 (llrint_test_towardzero): Likewise.
8256 (llrint_test_downward): Likewise.
8257 (llrint_test_upward): Likewise.
8258 (log_test): Likewise.
8259 (log10_test): Likewise.
8260 (log1p_test): Likewise.
8261 (log2_test): Likewise.
8262 (logb_test): Likewise.
8263 (logb_test_downward): Likewise.
8264 (lround_test): Likewise.
8265 (llround_test): Likewise.
8266 (modf_test): Likewise.
8267 (nearbyint_test): Likewise.
8268 (nextafter_test): Likewise.
8269 (nexttoward_test): Likewise.
8270 (pow_test): Likewise.
8271 (pow_test_tonearest): Likewise.
8272 (pow_test_towardzero): Likewise.
8273 (pow_test_downward): Likewise.
8274 (pow_test_upward): Likewise.
8275 (remainder_test): Likewise.
8276 (remainder_test_tonearest): Likewise.
8277 (remainder_test_towardzero): Likewise.
8278 (remainder_test_downward): Likewise.
8279 (remainder_test_upward): Likewise.
8280 (remquo_test): Likewise.
8281 (rint_test): Likewise.
8282 (rint_test_tonearest): Likewise.
8283 (rint_test_towardzero): Likewise.
8284 (rint_test_downward): Likewise.
8285 (rint_test_upward): Likewise.
8286 (round_test): Likewise.
8287 (scalb_test): Likewise.
8288 (scalbn_test): Likewise.
8289 (scalbln_test): Likewise.
8290 (signbit_test): Likewise.
8291 (sin_test): Likewise.
8292 (sin_test_tonearest): Likewise.
8293 (sin_test_towardzero): Likewise.
8294 (sin_test_downward): Likewise.
8295 (sin_test_upward): Likewise.
8296 (sincos_test): Likewise.
8297 (sinh_test): Likewise.
8298 (sinh_test_tonearest): Likewise.
8299 (sinh_test_towardzero): Likewise.
8300 (sinh_test_downward): Likewise.
8301 (sinh_test_upward): Likewise.
8302 (sqrt_test): Likewise.
8303 (tan_test): Likewise.
8304 (tan_test_tonearest): Likewise.
8305 (tan_test_towardzero): Likewise.
8306 (tan_test_downward): Likewise.
8307 (tan_test_upward): Likewise.
8308 (tanh_test): Likewise.
8309 (tgamma_test): Likewise.
8310 (trunc_test): Likewise.
8311 (y0_test): Likewise.
8312 (y1_test): Likewise.
8313 (yn_test): Likewise.
8314 (significand_test): Likewise.
8315
bae143d2
OB
83162013-05-24 Ondřej Bílka <neleai@seznam.cz>
8317
8318 [BZ #15381]
8319 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8320
9323d39b
EM
83212013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8322
d4ea44a0 8323 [BZ #14894]
9323d39b
EM
8324 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8325 __ppc_mdoio and __ppc_mdoom.
8326 * manual/platform.texi: Document new functions __ppc_yield,
8327 __ppc_mdoio and __ppc_mdoom.
8328
13e23af7
CD
83292013-05-22 Carlos O'Donell <carlos@redhat.com>
8330
8331 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8332 (main): Mention "tls" pseudo-hwcap is legacy.
8333 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8334
351fe550
JM
83352013-05-22 Joseph Myers <joseph@codesourcery.com>
8336
8337 * math/gen-libm-test.pl (parse_args): Output only string of
8338 arguments as text for test name, not full call or descriptions of
8339 tests for extra outputs.
8340 (generate_testfile): Do not pass function name to parse_args.
8341 Generate this_func variable from START.
8342 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8343 field to arg_str.
8344 (struct test_ff_f_data): Likewise.
8345 (test_ff_f_data_nexttoward): Likewise.
8346 (struct test_fi_f_data): Likewise.
8347 (struct test_fl_f_data): Likewise.
8348 (struct test_if_f_data): Likewise.
8349 (struct test_fff_f_data): Likewise.
8350 (struct test_c_f_data): Likewise.
8351 (struct test_f_f1_data): Likewise. Remove field extra_name.
8352 (struct test_fF_f1_data): Likewise.
8353 (struct test_ffI_f1_data): Likewise.
8354 (struct test_c_c_data): Rename test_name field to arg_str.
8355 (struct test_cc_c_data): Likewise.
8356 (struct test_f_i_data): Likewise.
8357 (struct test_ff_i_data): Likewise.
8358 (struct test_f_l_data): Likewise.
8359 (struct test_f_L_data): Likewise.
8360 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8361 and extra2_name.
8362 (COMMON_TEST_SETUP): New macro.
8363 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8364 (COMMON_TEST_CLEANUP): Likewise.
8365 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8366 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8367 macros.
8368 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8369 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8370 macros.
8371 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8372 (RUN_TEST_fff_f): Take argument string. Call new setup and
8373 cleanup macros.
8374 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8375 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8376 macros.
8377 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8378 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8379 macros.
8380 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8381 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8382 cleanup macros.
8383 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8384 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8385 cleanup macros.
8386 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8387 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8388 cleanup macros.
8389 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8390 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8391 macros.
8392 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8393 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8394 macros.
8395 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8396 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8397 macros.
8398 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8399 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8400 cleanup macros.
8401 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8402 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8403 cleanup macros.
8404 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8405 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8406 macros.
8407 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8408 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8409 cleanup macros.
8410 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8411 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8412 macros.
8413 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8414 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8415 macros.
8416 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8417 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8418 cleanup macros.
8419 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8420
85118d4d
EBM
84212013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8422
8423 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8424 to _sifields.sigfault.
8425 (si_addr_lsb): Define new macro.
8426 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8427 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8428 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8429
7a44c18f
CD
84302013-05-03 Carlos O'Donell <carlos at redhat.com>
8431
8432 [BZ #15441]
8433 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8434 returns -1.
8435 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8436 null return -1.
8437 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8438 loading the domain.
8439
b50a7181
JM
84402013-05-22 Joseph Myers <joseph@codesourcery.com>
8441
8442 * math/gen-libm-test.pl (parse_args): Do not include expected
8443 result in test name.
8444 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8447 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8448 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8450
051063c8
SP
84512013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8452
3ce9e010
SP
8453 * benchtests/Makefile: Sort function entries.
8454
051063c8
SP
8455 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8456 tanh, asinh, acosh, atanh.
8457 * benchtests/acos-inputs: New file.
8458 * benchtests/acosh-inputs: New file.
8459 * benchtests/asin-inputs: New file.
8460 * benchtests/asinh-inputs: New file.
8461 * benchtests/atanh-inputs: New file.
8462 * benchtests/cosh-inputs: New file.
8463 * benchtests/log-inputs: New file.
8464 * benchtests/sinh-inputs: New file.
8465 * benchtests/tanh-inputs: New file.
8466
47c22455
DL
84672013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8468
8469 [BZ #15339]
8470 * posix/tst-getaddrinfo4.c: New test.
8471 * posix/Makefile (tests): Add it.
8472
3d04f5db
SP
84732013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8474
8475 [BZ #15339]
8476 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8477 when no services were used.
8478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8479 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8480
d5dd6189
AS
84812013-05-21 Andreas Schwab <schwab@suse.de>
8482
8483 [BZ #15014]
8484 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8485 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8486 successful.
8487 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8488 redundant variable declarations and reallocation of buffer when
8489 parsing as IPv6 address. Always set NSS status when called from
8490 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8491 buffer too small. Correct computation of needed size.
8492 * nss/Makefile (tests): Add test-digits-dots.
8493 * nss/test-digits-dots.c: New test.
8494
fef94eab
SP
84952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8496
8497 * benchtests/Makefile: Remove instructions for adding
8498 benchmark tests.
8499 * benchtests/README: New file to explain how to execute and
8500 enhance the benchmark tests.
8501
e39adf43
AS
85022013-05-21 Andreas Schwab <schwab@suse.de>
8503
8504 [BZ #15493]
8505 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8506 * setjmp/tst-sigsetjmp.c: New test.
8507
b2b671b6
OB
85082013-05-20 Ondřej Bílka <neleai@seznam.cz>
8509
8510 * sysdeps/x86_64/memset.S (memset): New implementation.
8511 (__bzero): Likewise.
8512 (__memset_tail): New function.
8513
2d48b41c
OB
85142013-05-20 Ondřej Bílka <neleai@seznam.cz>
8515
8516 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8517 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8518 __memcpy_sse2_unaligned ifunc selection.
8519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8520 Add memcpy-sse2-unaligned.S.
8521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8522 Add: __memcpy_sse2_unaligned.
8523
f16cc3eb
JM
85242013-05-19 Joseph Myers <joseph@codesourcery.com>
8525
3e694268
JM
8526 [BZ #15490]
8527 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8528 math_force_eval before restoring floating-point envrionment.
8529 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8531 Likewise.
8532 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8533 <math_private.h>.
8534 (__nearbyintl): Use math_force_eval before restoring
8535 floating-point environment.
8536 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8537
db62a907
JM
8538 * math/gen-libm-test.pl (special_functions): Remove.
8539 (parse_args): Don't handle TEST_extra. Handle functions with no
8540 return value.
8541 * math/libm-test.inc (struct test_sincos_data): Replace with
8542 struct test_fFF_11_data.
8543 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8544 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8545 (sincos_test_data): Change element type to struct
8546 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8547 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8548 RUN_TEST_LOOP_sincos.
8549 * math/README.libm-test: Don't mention special handling of
8550 individual functions.
8551 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8554 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8555 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8557
f16cc3eb
JM
8558 * math/gen-libm-test.pl (get_variable): Remove function.
8559 (parse_args): Don't show pointer parameters to call in test
8560 names. Use "extra output N" in test names for extra outputs
8561 rather than naming variables.
8562
3779b5b6
JM
85632013-05-18 Joseph Myers <joseph@codesourcery.com>
8564
2ee094ff
JM
8565 [BZ #15488]
8566 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8567 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8568 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8569 double tests.
8570 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8571 disable.
8572 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8573 check_long_double.
8574
3779b5b6
JM
8575 * math/gen-libm-test.pl (@tests): Remove variable.
8576 ($count): Likewise.
8577 (new_test): Remove function.
8578 (show_exceptions): New function.
8579 (special_functions): Use show_exceptions instead of new_test.
8580 (parse_args): Likewise.
8581 (generate_testfile): Pass only function name in generated call to
8582 print_max_error or print_complex_max_error.
8583 (get_ulps): Do not handle complex tests specially.
8584 (output_test): Rename to ...
8585 (get_all_ulps_for_test): ... this. Return a string rather than
8586 printing to a file. Require ulps to be present.
8587 (output_ulps): Generate arrays rather than #defines.
8588 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8589 (struct ulp_data): New type.
8590 (BUILD_COMPLEX_ULP): Remove macro.
8591 (compare_ulp_data): New function.
8592 (find_ulps): Likewise.
8593 (find_test_ulps): Likewise.
8594 (find_function_ulps): Likewise.
8595 (find_complex_function_ulps): Likewise.
8596 (print_max_error): Determine allowed ulps using
8597 find_function_ulps.
8598 (print_complex_max_error): Determine allowed ulps using
8599 find_complex_function_ulps.
8600 (check_float_internal): Determine max ulps using find_test_ulps.
8601 (check_float): Do not take max_ulp parameter. Update call to
8602 check_float_internal.
8603 (check_complex): Likewise.
8604 (check_int): Do not take max_ulp parameter.
8605 (check_long): Likewise.
8606 (check_bool): Likewise.
8607 (check_longlong): Likewise.
8608 (struct test_f_f_data): Remove max_ulp field.
8609 (struct test_ff_f_data): Likewise.
8610 (struct test_ff_f_data_nexttoward): Likewise.
8611 (struct test_fi_f_data): Likewise.
8612 (struct test_fl_f_data): Likewise.
8613 (struct test_if_f_data): Likewise.
8614 (struct test_fff_f_data): Likewise.
8615 (struct test_c_f_data): Likewise.
8616 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8617 (struct test_fF_f1_data): Likewise.
8618 (struct test_ffI_f1_data): Likewise.
8619 (struct test_c_c_data): Remove max_ulp field.
8620 (struct test_cc_c_data): Likewise.
8621 (struct test_f_i_data): Likewise.
8622 (struct test_ff_i_data): Likewise.
8623 (struct test_f_l_data): Likewise.
8624 (struct test_f_L_data): Likewise.
8625 (struct test_sincos_data): Likewise.
8626 (RUN_TEST_f_f): Do not handle ulps.
8627 (RUN_TEST_LOOP_f_f): Likewise.
8628 (RUN_TEST_2_f): Likewise.
8629 (RUN_TEST_LOOP_2_f): Likewise.
8630 (RUN_TEST_fff_f): Likewise.
8631 (RUN_TEST_LOOP_fff_f): Likewise.
8632 (RUN_TEST_c_f): Likewise.
8633 (RUN_TEST_LOOP_c_f): Likewise.
8634 (RUN_TEST_f_f1): Likewise.
8635 (RUN_TEST_LOOP_f_f1): Likewise.
8636 (RUN_TEST_fF_f1): Likewise.
8637 (RUN_TEST_LOOP_fF_f1): Likewise.
8638 (RUN_TEST_fI_f1): Likewise.
8639 (RUN_TEST_LOOP_fI_f1): Likewise.
8640 (RUN_TEST_ffI_f1): Likewise.
8641 (RUN_TEST_LOOP_ffI_f1): Likewise.
8642 (RUN_TEST_c_c): Likewise.
8643 (RUN_TEST_LOOP_c_c): Likewise.
8644 (RUN_TEST_cc_c): Likewise.
8645 (RUN_TEST_LOOP_cc_c): Likewise.
8646 (RUN_TEST_f_i): Likewise.
8647 (RUN_TEST_LOOP_f_i): Likewise.
8648 (RUN_TEST_f_i_tg): Likewise.
8649 (RUN_TEST_LOOP_f_i_tg): Likewise.
8650 (RUN_TEST_ff_i_tg): Likewise.
8651 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8652 (RUN_TEST_f_b): Likewise.
8653 (RUN_TEST_LOOP_f_b): Likewise.
8654 (RUN_TEST_f_b_tg): Likewise.
8655 (RUN_TEST_LOOP_f_b_tg): Likewise.
8656 (RUN_TEST_f_l): Likewise.
8657 (RUN_TEST_LOOP_f_l): Likewise.
8658 (RUN_TEST_f_L): Likewise.
8659 (RUN_TEST_LOOP_f_L): Likewise.
8660 (RUN_TEST_sincos): Likewise.
8661 (RUN_TEST_LOOP_sincos): Likewise.
8662
8269107f
JM
86632013-05-17 Joseph Myers <joseph@codesourcery.com>
8664
bb38759d
JM
8665 [BZ #15480]
8666 [BZ #15485]
8667 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8668 main case of finite arguments, set rounding mode to FE_TONEAREST
8669 and discard exceptions.
8670 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8671 exceptions.
8672 (remainder_tonearest_test_data): New variable.
8673 (remainder_test_tonearest): New function.
8674 (remainder_towardzero_test_data): New variable.
8675 (remainder_test_towardzero): New function.
8676 (remainder_downward_test_data): New variable.
8677 (remainder_test_downward): New function.
8678 (remainder_upward_test_data): New variable.
8679 (remainder_test_upward): New function.
8680 (main): Call the new test functions.
8681
a00bdcf0
JM
8682 * math/libm-test.inc (struct test_f_f1_data): Remove field
8683 extra_init.
8684 (struct test_fF_f1_data): Likewise.
8685 (struct test_ffI_f1_data): Likewise.
8686 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8687 based on value of EXTRA_EXPECTED.
8688 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8689 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8690 EXTRA_VAR based on value of EXTRA_EXPECTED.
8691 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8692 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8693 EXTRA_VAR based on value of EXTRA_EXPECTED.
8694 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8695 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8696 EXTRA_VAR based on value of EXTRA_EXPECTED.
8697 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8698 * math/gen-libm-test.pl (parse_args): Don't output initializers
8699 for extra output values.
8700
de407f79
JM
8701 * math/libm-test.inc (check_int): Expect result to be exactly
8702 equal to expected value and do not handle ulps.
8703 (check_long): Likewise.
8704 (check_longlong): Likewise.
8705
8269107f
JM
8706 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8707 exceptions.
8708 (cimag_test_data): Likewise.
8709 (conj_test_data): Likewise.
8710 (copysign_test_data): Likewise.
8711 (cproj_test_data): Likewise.
8712 (creal_test_data): Likewise.
8713 (fabs_test_data): Likewise.
8714 (fdim_test_data): Likewise.
8715 (finite_test_data): Likewise.
8716 (floor_test_data): Likewise.
8717 (fmax_test_data): Likewise.
8718 (fmin_test_data): Likewise.
8719 (fmod_test_data): Likewise.
8720 (fpclassify_test_data): Likewise.
8721 (frexp_test_data): Likewise.
8722 (ilogb_test_data): Likewise.
8723 (isfinite_test_data): Likewise.
8724 (isgreater_test_data): Likewise.
8725 (isgreaterequal_test_data): Likewise.
8726 (isinf_test_data): Likewise.
8727 (isless_test_data): Likewise.
8728 (islessequal_test_data): Likewise.
8729 (islessgreater_test_data): Likewise.
8730 (isnan_test_data): Likewise.
8731 (isnormal_test_data): Likewise.
8732 (issignaling_test_data): Likewise.
8733 (isunordered_test_data): Likewise.
8734 (ldexp_test_data): Likewise.
8735 (lrint_test_data): Likewise.
8736 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8737 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8738 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8739 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8740 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8741 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8742 test input.
8743 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8744 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8745 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8746 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8747 that test input.
8748 (lrint_downward_test_data): Test for "inexact" exceptions.
8749 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8750 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8751 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8752 test input.
8753 (lrint_upward_test_data): Test for "inexact" exceptions.
8754 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8755 test input.
8756 (llrint_test_data): Test for "inexact" exceptions.
8757 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8758 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8759 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8760 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8761 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8762 (llrint_downward_test_data): Test for "inexact" exceptions.
8763 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8764 (llrint_upward_test_data): Test for "inexact" exceptions.
8765 (logb_test_data): Likewise.
8766 (logb_downward_test_data): Likewise.
8767 (nextafter_test_data): Likewise.
8768 (nexttoward_test_data): Likewise.
8769 (remainder_test_data): Likewise.
8770 (remquo_test_data): Likewise.
8771 (scalbn_test_data): Likewise.
8772 (scalbln_test_data): Likewise.
8773 (signbit_test_data): Likewise.
8774 (sqrt_test_data): Likewise.
8775 (significand_test_data): Likewise.
8776
48a18de1
SP
87772013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8778
8779 [BZ #15424]
8780 * benchtests/bench-modf.c (struct args): Mark arg0 as
8781 volatile.
8782 * scripts/bench.pl: Mark members of struct args as volatile.
8783
13d3b41a
AZ
87842013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8785
68191c1d 8786 [BZ # 15497]
13d3b41a
AZ
8787 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8788 negative infinity on POWER6 or lower.
8789 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8790
2848b105
MR
87912013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8792
8793 [BZ #15442]
8794 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8795 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8796 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8797 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8798 (_FP_SETQNAN): New macro.
8799 (_FP_SETQNAN_SEMIRAW): Likewise.
8800 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8801 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8802 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8803 (FP_EXTEND): Use _FP_FRAC_SNANP.
8804 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8805 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8806 into account.
8807 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8808 New macro.
8809 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8810 Likewise.
8811
323e5cb7
JM
88122013-05-16 Joseph Myers <joseph@codesourcery.com>
8813
c58b274f
JM
8814 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8815 with DIVIDE_BY_ZERO_EXCEPTION.
8816 (gamma_test_data): Likewise.
8817 (lgamma_test_data): Likewise.
8818 (log_test_data): Likewise.
8819 (log10_test_data): Likewise.
8820 (log2_test_data): Likewise.
8821 (tgamma_test_data): Likewise.
8822
0ab34904
JM
8823 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8824 (acos_test_tonearest): Likewise.
8825 (acos_test_towardzero): Likewise.
8826 (acos_test_downward): Likewise.
8827 (acos_test_upward): Likewise.
8828 (acosh_test): Likewise.
8829 (asin_test): Likewise.
8830 (asin_test_tonearest): Likewise.
8831 (asin_test_towardzero): Likewise.
8832 (asin_test_downward): Likewise.
8833 (asin_test_upward): Likewise.
8834 (asinh_test): Likewise.
8835 (atan_test): Likewise.
8836 (atanh_test): Likewise.
8837 (atan2_test): Likewise.
8838 (cabs_test): Likewise.
8839 (cacos_test): Likewise.
8840 (cacosh_test): Likewise.
8841 (casin_test): Likewise.
8842 (casinh_test): Likewise.
8843 (catan_test): Likewise.
8844 (catanh_test): Likewise.
8845 (cbrt_test): Likewise.
8846 (ccos_test): Likewise.
8847 (ccosh_test): Likewise.
8848 (cexp_test): Likewise.
8849 (clog_test): Likewise.
8850 (clog10_test): Likewise.
8851 (cos_test): Likewise.
8852 (cos_test_tonearest): Likewise.
8853 (cos_test_towardzero): Likewise.
8854 (cos_test_downward): Likewise.
8855 (cos_test_upward): Likewise.
8856 (cosh_test): Likewise.
8857 (cosh_test_tonearest): Likewise.
8858 (cosh_test_towardzero): Likewise.
8859 (cosh_test_downward): Likewise.
8860 (cosh_test_upward): Likewise.
8861 (cpow_test): Likewise.
8862 (csin_test): Likewise.
8863 (csinh_test): Likewise.
8864 (csqrt_test): Likewise.
8865 (ctan_test): Likewise.
8866 (ctan_test_tonearest): Likewise.
8867 (ctan_test_towardzero): Likewise.
8868 (ctan_test_downward): Likewise.
8869 (ctan_test_upward): Likewise.
8870 (ctanh_test): Likewise.
8871 (ctanh_test_tonearest): Likewise.
8872 (ctanh_test_towardzero): Likewise.
8873 (ctanh_test_downward): Likewise.
8874 (ctanh_test_upward): Likewise.
8875 (erf_test): Likewise.
8876 (erfc_test): Likewise.
8877 (exp_test): Likewise.
8878 (exp_test_tonearest): Likewise.
8879 (exp_test_towardzero): Likewise.
8880 (exp_test_downward): Likewise.
8881 (exp_test_upward): Likewise.
8882 (exp10_test): Likewise.
8883 (exp2_test): Likewise.
8884 (expm1_test): Likewise.
8885 (fmod_test): Likewise.
8886 (gamma_test): Likewise.
8887 (hypot_test): Likewise.
8888 (j0_test): Likewise.
8889 (j1_test): Likewise.
8890 (jn_test): Likewise.
8891 (lgamma_test): Likewise.
8892 (log_test): Likewise.
8893 (log10_test): Likewise.
8894 (log1p_test): Likewise.
8895 (log2_test): Likewise.
8896 (logb_test_downward): Likewise.
8897 (pow_test): Likewise.
8898 (pow_test_tonearest): Likewise.
8899 (pow_test_towardzero): Likewise.
8900 (pow_test_downward): Likewise.
8901 (pow_test_upward): Likewise.
8902 (remainder_test): Likewise.
8903 (remquo_test): Likewise.
8904 (sin_test): Likewise.
8905 (sin_test_tonearest): Likewise.
8906 (sin_test_towardzero): Likewise.
8907 (sin_test_downward): Likewise.
8908 (sin_test_upward): Likewise.
8909 (sincos_test): Likewise.
8910 (sinh_test): Likewise.
8911 (sinh_test_tonearest): Likewise.
8912 (sinh_test_towardzero): Likewise.
8913 (sinh_test_downward): Likewise.
8914 (sinh_test_upward): Likewise.
8915 (sqrt_test): Likewise.
8916 (tan_test): Likewise.
8917 (tan_test_tonearest): Likewise.
8918 (tan_test_towardzero): Likewise.
8919 (tan_test_downward): Likewise.
8920 (tan_test_upward): Likewise.
8921 (tanh_test): Likewise.
8922 (tgamma_test): Likewise.
8923 (y0_test): Likewise.
8924 (y1_test): Likewise.
8925 (yn_test): Likewise.
8926
323e5cb7
JM
8927 * math/gen-libm-test.pl (adjust_arg): Remove function.
8928 (special_function): Remove argument $in_func. Only handle
8929 generating output for tables of tests, not inside functions.
8930 (parse_args): Likewise.
8931 (generate_testfile): Remove variable $in_func. Update call to
8932 parse_args.
8933 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8934 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8935 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8936 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8937 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8938 (MAX_VALUE_INIT): Rename macro to max_value.
8939 (MIN_VALUE_INIT): Rename macro to min_value.
8940 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8941 (plus_zero): Remove variable.
8942 (minus_zero): Likewise.
8943 (plus_infty): Likewise.
8944 (minus_infty): Likewise.
8945 (qnan_value): Likewise.
8946 (max_value): Likewise.
8947 (min_value): Likewise.
8948 (min_subnorm_value): Likewise.
8949
e054f494
RA
89502013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8951
8952 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8953 uint64_t or uint32_t usage.
8954 * crypt/sha256-block.c: Likewise.
8955 * crypt/sha256-crypt.c: Likewise.
8956 * crypt/sha256.c: Likewise.
8957 * crypt/sha512-block.c: Likewise.
8958 * crypt/sha512-crypt.c: Likewise.
8959 * crypt/sha512.c: Likewise.
8960 * debug/backtrace-tst.c: Likewise.
8961 * debug/pcprofiledump.c: Likewise.
8962 * elf/cache.c: Likewise.
8963 * elf/dl-cache.c: Likewise.
8964 * elf/dl-misc.c: Likewise.
8965 * elf/dl-profile.c: Likewise.
8966 * elf/dl-support.c: Likewise.
8967 * elf/ldconfig.c: Likewise.
8968 * elf/sprof.c: Likewise.
8969 * iconv/dummy-repertoire.c: Likewise.
8970 * iconv/iconv_charmap.c: Likewise.
8971 * iconv/skeleton.c: Likewise.
8972 * iconvdata/8bit-generic.c: Likewise.
8973 * iconvdata/cp737.h: Likewise.
8974 * iconvdata/cp775.h: Likewise.
8975 * iconvdata/ibm1008.h: Likewise.
8976 * iconvdata/ibm1025.h: Likewise.
8977 * iconvdata/ibm1046.h: Likewise.
8978 * iconvdata/ibm1097.h: Likewise.
8979 * iconvdata/ibm1112.h: Likewise.
8980 * iconvdata/ibm1122.h: Likewise.
8981 * iconvdata/ibm1123.h: Likewise.
8982 * iconvdata/ibm1124.h: Likewise.
8983 * iconvdata/ibm1129.h: Likewise.
8984 * iconvdata/ibm1130.h: Likewise.
8985 * iconvdata/ibm1132.h: Likewise.
8986 * iconvdata/ibm1133.h: Likewise.
8987 * iconvdata/ibm1137.h: Likewise.
8988 * iconvdata/ibm1140.h: Likewise.
8989 * iconvdata/ibm1141.h: Likewise.
8990 * iconvdata/ibm1142.h: Likewise.
8991 * iconvdata/ibm1143.h: Likewise.
8992 * iconvdata/ibm1144.h: Likewise.
8993 * iconvdata/ibm1145.h: Likewise.
8994 * iconvdata/ibm1146.h: Likewise.
8995 * iconvdata/ibm1147.h: Likewise.
8996 * iconvdata/ibm1148.h: Likewise.
8997 * iconvdata/ibm1149.h: Likewise.
8998 * iconvdata/ibm1153.h: Likewise.
8999 * iconvdata/ibm1154.h: Likewise.
9000 * iconvdata/ibm1155.h: Likewise.
9001 * iconvdata/ibm1156.h: Likewise.
9002 * iconvdata/ibm1157.h: Likewise.
9003 * iconvdata/ibm1158.h: Likewise.
9004 * iconvdata/ibm1160.h: Likewise.
9005 * iconvdata/ibm1161.h: Likewise.
9006 * iconvdata/ibm1162.h: Likewise.
9007 * iconvdata/ibm1163.h: Likewise.
9008 * iconvdata/ibm1164.h: Likewise.
9009 * iconvdata/ibm1166.h: Likewise.
9010 * iconvdata/ibm1167.h: Likewise.
9011 * iconvdata/ibm12712.h: Likewise.
9012 * iconvdata/ibm1390.h: Likewise.
9013 * iconvdata/ibm1399.h: Likewise.
9014 * iconvdata/ibm16804.h: Likewise.
9015 * iconvdata/ibm4517.h: Likewise.
9016 * iconvdata/ibm4899.h: Likewise.
9017 * iconvdata/ibm4909.h: Likewise.
9018 * iconvdata/ibm4971.h: Likewise.
9019 * iconvdata/ibm5347.h: Likewise.
9020 * iconvdata/ibm803.h: Likewise.
9021 * iconvdata/ibm856.h: Likewise.
9022 * iconvdata/ibm901.h: Likewise.
9023 * iconvdata/ibm902.h: Likewise.
9024 * iconvdata/ibm9030.h: Likewise.
9025 * iconvdata/ibm9066.h: Likewise.
9026 * iconvdata/ibm921.h: Likewise.
9027 * iconvdata/ibm922.h: Likewise.
9028 * iconvdata/ibm9448.h: Likewise.
9029 * iconvdata/isiri-3342.h: Likewise.
9030 * iconvdata/jis0201.h: Likewise.
9031 * include/link.h: Likewise.
9032 * include/netdb.h: Likewise.
9033 * inet/check_native.c: Likewise.
9034 * inet/check_pf.c: Likewise.
9035 * inet/getipv4sourcefilter.c: Likewise.
9036 * inet/getnameinfo.c: Likewise.
9037 * inet/getsourcefilter.c: Likewise.
9038 * inet/htonl.c: Likewise.
9039 * inet/setipv4sourcefilter.c: Likewise.
9040 * inet/setsourcefilter.c: Likewise.
9041 * inet/test-inet6_opt.c: Likewise.
9042 * inet/tst-network.c: Likewise.
9043 * locale/C-collate.c: Likewise.
9044 * locale/C-ctype.c: Likewise.
9045 * locale/C-time.c: Likewise.
9046 * locale/C-translit.h: Likewise.
9047 * locale/loadarchive.c: Likewise.
9048 * locale/programs/3level.h: Likewise.
9049 * locale/programs/charmap.c: Likewise.
9050 * locale/programs/charmap.h: Likewise.
9051 * locale/programs/ld-address.c: Likewise.
9052 * locale/programs/ld-collate.c: Likewise.
9053 * locale/programs/ld-ctype.c: Likewise.
9054 * locale/programs/ld-identification.c: Likewise.
9055 * locale/programs/ld-measurement.c: Likewise.
9056 * locale/programs/ld-messages.c: Likewise.
9057 * locale/programs/ld-monetary.c: Likewise.
9058 * locale/programs/ld-name.c: Likewise.
9059 * locale/programs/ld-numeric.c: Likewise.
9060 * locale/programs/ld-paper.c: Likewise.
9061 * locale/programs/ld-telephone.c: Likewise.
9062 * locale/programs/ld-time.c: Likewise.
9063 * locale/programs/linereader.c: Likewise.
9064 * locale/programs/locale.c: Likewise.
9065 * locale/programs/locarchive.c: Likewise.
9066 * locale/programs/locfile.h: Likewise.
9067 * locale/programs/repertoire.c: Likewise.
9068 * locale/programs/simple-hash.c: Likewise.
9069 * locale/programs/simple-hash.h: Likewise.
9070 * malloc/memusage.c: Likewise.
9071 * malloc/memusagestat.c: Likewise.
9072 * nis/nis_defaults.c: Likewise.
9073 * nis/nis_hash.c: Likewise.
9074 * nis/nis_print.c: Likewise.
9075 * nis/nis_xdr.c: Likewise.
9076 * nscd/connections.c: Likewise.
9077 * nscd/hstcache.c: Likewise.
9078 * nscd/nscd_gethst_r.c: Likewise.
9079 * nscd/nscd_getserv_r.c: Likewise.
9080 * nscd/nscd_helper.c: Likewise.
9081 * nscd/servicescache.c: Likewise.
9082 * nss/makedb.c: Likewise.
9083 * nss/nss_db/db-XXX.c: Likewise.
9084 * nss/nss_db/db-initgroups.c: Likewise.
9085 * nss/nss_db/db-netgrp.c: Likewise.
9086 * nss/nss_files/files-network.c: Likewise.
9087 * nss/nss_files/files-parse.c: Likewise.
9088 * posix/bug-regex5.c: Likewise.
9089 * posix/fnmatch_loop.c: Likewise.
9090 * posix/regcomp.c: Likewise.
9091 * posix/regexec.c: Likewise.
9092 * posix/tst-rfc3484-2.c: Likewise.
9093 * posix/tst-rfc3484-3.c: Likewise.
9094 * posix/tst-rfc3484.c: Likewise.
9095 * resolv/nss_dns/dns-canon.c: Likewise.
9096 * resolv/nss_dns/dns-network.c: Likewise.
9097 * resolv/res_init.c: Likewise.
9098 * resolv/res_mkquery.c: Likewise.
9099 * resolv/tst-aton.c: Likewise.
9100 * stdlib/cxa_atexit.c: Likewise.
9101 * stdlib/cxa_finalize.c: Likewise.
9102 * stdlib/gen-fpioconst.c: Likewise.
9103 * stdlib/strtol_l.c: Likewise.
9104 * string/tst-endian.c: Likewise.
9105 * sunrpc/auth_des.c: Likewise.
9106 * sunrpc/clnt_udp.c: Likewise.
9107 * sunrpc/rtime.c: Likewise.
9108 * sunrpc/svcauth_des.c: Likewise.
9109 * sunrpc/xdr.c: Likewise.
9110 * sunrpc/xdr_intXX_t.c: Likewise.
9111 * sunrpc/xdr_rec.c: Likewise.
9112 * sysdeps/generic/ldconfig.h: Likewise.
9113 * sysdeps/generic/ldsodefs.h: Likewise.
9114 * sysdeps/generic/memusage.h: Likewise.
9115 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9117 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9125 * sysdeps/posix/getaddrinfo.c: Likewise.
9126 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9127 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9128 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9129 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9130 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9131 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9132 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9133 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9134 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9135 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9136 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9137 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9138 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9139 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9140 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9141 * sysdeps/x86_64/dl-tls.h: Likewise.
9142 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9143 * time/alt_digit.c: Likewise.
9144 * time/era.c: Likewise.
9145 * wcsmbs/tst-c16c32-1.c: Likewise.
9146
8c75f674
JM
91472013-05-16 Joseph Myers <joseph@codesourcery.com>
9148
9149 * math/libm-test.inc (struct test_sincos_data): New type.
9150 (RUN_TEST_LOOP_sincos): New macro.
9151 (sincos_test_data): New variable.
9152 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9153
e6e49e59
RH
91542013-05-16 Richard Henderson <rth@redhat.com>
9155
9156 * math/atest-exp2.c (LIMB64): New macro.
9157 (CONSTSZ): New macro.
9158 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9159 (hexdig): Move ...
9160 (print_mpn_fp): ... to function scope.
9161 (read_mpn_hex): Remove.
9162 (get_log2): Remove.
9163 (exp2_mpn): Use mp_log2.
9164 (main): Use mp_exp1.
9165
15c7c18d
JM
91662013-05-16 Joseph Myers <joseph@codesourcery.com>
9167
105a07df
JM
9168 * math/libm-test.inc: Remove comment about not testing "inexact"
9169 exceptions.
9170 (INEXACT_EXCEPTION): New macro.
9171 (NO_INEXACT_EXCEPTION): Likewise.
9172 (INVALID_EXCEPTION_OK): Update value.
9173 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9174 (OVERFLOW_EXCEPTION_OK): Likewise.
9175 (UNDERFLOW_EXCEPTION_OK): Likewise.
9176 (IGNORE_ZERO_INF_SIGN): Likewise.
9177 (ERRNO_UNCHANGED): Likewise.
9178 (ERRNO_EDOM): Likewise.
9179 (ERRNO_ERANGE): Likewise.
9180 (test_exceptions): Handle testing "inexact" exceptions.
9181 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9182 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9183 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9184 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9185 INEXACT_EXCEPTION.
9186 (rint_towardzero_test_data): Likewise.
9187 (rint_downward_test_data): Likewise.
9188 (rint_upward_test_data): Likewise.
9189
e9eee333
JM
9190 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9191 with OVERFLOW_EXCEPTION.
9192 (exp10_test_data): Likewise.
9193 (exp2_test_data): Likewise.
9194 (expm1_test_data): Likewise.
9195 (lgamma_test_data): Likewise.
9196 (pow_test_data): Likewise.
9197 (tgamma_test_data): Likewise.
9198 (yn_test_data): Remove duplicate test of overflow.
9199
1c38ff73
JM
9200 * math/libm-test.inc (struct test_cc_c_data): New type.
9201 (RUN_TEST_LOOP_cc_c): New macro.
9202 (cpow_test_data): New variable.
9203 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9204
15c7c18d
JM
9205 * math/libm-test.inc (struct test_f_L_data): New type.
9206 (RUN_TEST_LOOP_f_L): New macro.
9207 (llrint_test_data): New variable.
9208 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9209 (llrint_tonearest_test_data): New variable.
9210 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9211 (llrint_towardzero_test_data): New variable.
9212 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9213 (llrint_downward_test_data): New variable.
9214 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9215 (llrint_upward_test_data): New variable.
9216 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9217 (llround_test_data): New variable.
9218 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9219
f137ff13
PC
92202013-05-13 Peter Collingbourne <pcc@google.com>
9221
9222 * math/atest-exp2.c (get_log2): Remove const attribute.
9223
3608cb24
JM
92242013-05-15 Joseph Myers <joseph@codesourcery.com>
9225
9226 * math/libm-test.inc (struct test_f_l_data): New type.
9227 (RUN_TEST_LOOP_f_l): New macro.
9228 (lrint_test_data): New variable.
9229 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9230 (lrint_tonearest_test_data): New variable.
9231 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9232 (lrint_towardzero_test_data): New variable.
9233 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9234 (lrint_downward_test_data): New variable.
9235 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9236 (lrint_upward_test_data): New variable.
9237 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9238 (lround_test_data): New variable.
9239 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9240
39b1f617
PC
92412013-05-15 Peter Collingbourne <pcc@google.com>
9242
1deff3dc
PC
9243 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9244 (EXTRACT_WORDS64) Use where appropriate.
9245 (INSERT_WORDS64) Likewise.
9246
791f3ba0
PC
9247 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9248 constraints with x constraints.
9249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9250
39b1f617
PC
9251 * malloc/obstack.c (_obstack_compat): Add initializer.
9252
12fba011
EM
92532013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9254
9255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9256 si_trapno and add si_addr_lsb to _sifields.sigfault.
9257 (si_trapno): Remove macro.
9258 (si_addr_lsb): Define new macro.
9259 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9260
d369f531
JM
92612013-05-15 Joseph Myers <joseph@codesourcery.com>
9262
b861c6c4
JM
9263 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9264 instead of TEST_f_l.
9265 (llrint_test_tonearest): Likewise.
9266 (llrint_test_towardzero): Likewise.
9267 (llrint_test_downward): Likewise.
9268 (llrint_test_upward): Likewise.
9269 (llround_test): Likewise.
9270
7abeee12
JM
9271 * math/libm-test.inc (struct test_f_i_data): Add comment.
9272 (RUN_TEST_LOOP_f_b): New macro.
9273 (RUN_TEST_LOOP_f_b_tg): Likewise.
9274 (finite_test_data): New variable.
9275 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9276 (isfinite_test_data): New variable.
9277 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9278 (isinf_test_data): New variable.
9279 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9280 (isnan_test_data): New variable.
9281 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9282 (isnormal_test_data): New variable.
9283 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9284 (issignaling_test_data): New variable.
9285 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9286 (signbit_test_data): New variable.
9287 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9288
cbe8c4d3
JM
9289 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9290 with INVALID_EXCEPTION.
9291 (acosh_test_data): Likewise.
9292 (asin_test_data): Likewise.
9293 (atanh_test_data): Likewise.
9294 (fmod_test_data): Likewise.
9295 (log_test_data): Likewise.
9296 (log10_test_data): Likewise.
9297 (log2_test_data): Likewise.
9298 (pow_test_data): Likewise.
9299 (sqrt_test_data): Likewise.
9300 (y0_test_data): Likewise.
9301 (y1_test_data): Likewise.
9302 (yn_test_data): Likewise.
9303
5575c0e5
JM
9304 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9305 function contents.
9306
d369f531
JM
9307 * math/libm-test.inc (struct test_ff_i_data): New type.
9308 (RUN_TEST_LOOP_ff_i_tg): New macro.
9309 (isgreater_test_data): New variable.
9310 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9311 (isgreaterequal_test_data): New variable.
9312 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9313 (isless_test_data): New variable.
9314 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9315 (islessequal_test_data): New variable.
9316 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9317 (islessgreater_test_data): New variable.
9318 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9319 (isunordered_test_data): New variable.
9320 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9321
781fd748
DM
93222013-05-14 David S. Miller <davem@davemloft.net>
9323
9324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9325
87aa21df
JM
93262013-05-14 Joseph Myers <joseph@codesourcery.com>
9327
5e908270
JM
9328 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9329
f71172e5
JM
9330 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9331 extra_test to int.
9332 (struct test_f_i_data): Change type of max_ulp to int.
9333
8cfa635a
JM
9334 * math/libm-test.inc (test_ffI_f1_data): New type.
9335 (RUN_TEST_LOOP_ffI_f1): New macro.
9336 (remquo_test_data): New variable.
9337 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9338
2bcb36b2
JM
9339 * setjmp/tst-setjmp-fp.c: New file.
9340 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9341 (link-libm): New variable.
9342 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9343
acbd839a
JM
9344 * math/libm-test.inc (struct test_f_i_data): New type.
9345 (RUN_TEST_LOOP_f_i): New macro.
9346 (RUN_TEST_LOOP_f_i_tg): Likewise.
9347 (fpclassify_test_data): New variable.
9348 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9349 (ilogb_test_data): New variable.
9350 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9351
e414d745
JM
9352 * math/libm-test.inc (scalbln_test): Correct function name in END
9353 call.
9354
d9c2a0fd
JM
9355 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9356 (RUN_TEST_LOOP_fI_f1): New macro.
9357 (frexp_test_data): New variable.
9358 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9359
9dc9095d
JM
9360 * math/libm-test.inc (struct test_fF_f1_data): New type.
9361 (RUN_TEST_LOOP_fF_f1): New macro.
9362 (modf_test_data): New variable.
9363 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9364
87aa21df
JM
9365 * math/libm-test.inc (struct test_f_f1_data): New type.
9366 (RUN_TEST_LOOP_f_f1): New macro.
9367 (gamma_test_data): New variable.
9368 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9369 (lgamma_test_data): New variable.
9370 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9371
141af660
CD
93722013-05-13 Carlos O'Donell <carlos@redhat.com>
9373
9374 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9375 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9376 (main): Comment "tls" pseudo-hwcap.
9377
6d33265c
JM
93782013-05-13 Joseph Myers <joseph@codesourcery.com>
9379
68fc074c
JM
9380 * math/libm-test.inc (struct test_fl_f_data): New type.
9381 (RUN_TEST_LOOP_fl_f): New variable.
9382 (scalbln_test_data): New variable.
9383 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9384
243216e1
JM
9385 * math/libm-test.inc (struct test_fi_f_data): New type.
9386 (RUN_TEST_LOOP_fi_f): New macro.
9387 (ldexp_test_data): New variable.
9388 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9389 (scalbn_test_data): New variable.
9390 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9391
6a1992e2
JM
9392 * math/libm-test.inc (struct test_c_f_data): New type.
9393 (RUN_TEST_LOOP_c_f): New macro.
9394 (cabs_test_data): New variable.
9395 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9396 (carg_test_data): New variable.
9397 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9398 (cimag_test_data): New variable.
9399 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9400 (creal_test_data): New variable.
9401 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9402
0e400df5
JM
9403 * math/libm-test.inc (struct test_if_f_data): New type.
9404 (RUN_TEST_LOOP_if_f): New macro.
9405 (jn_test_data): New variable.
9406 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9407 (yn_test_data): New variable.
9408 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9409
6d33265c
JM
9410 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9411
f98ece5f
AZ
94122013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9413
9414 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9415 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9416
0f7d347b
SP
94172013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9418
43fe811b
SP
9419 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9420 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9421 (bench-deps): Add bench-timing.h.
9422 * benchtests-bench-skeleton.c: Include bench-timing.h.
9423 (main): Use TIMING_* macros instead of clock_gettime.
9424 * benchtests/bench-timing.h: New file.
9425
0f7d347b
SP
9426 [BZ #14582]
9427 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9428 Renamed from _LIB_VERSION.
9429 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9430
601a3a5f
JM
94312013-05-12 Joseph Myers <joseph@codesourcery.com>
9432
4f184d30
JM
9433 * math/libm-test.inc (struct test_fff_f_data): New type.
9434 (RUN_TEST_LOOP_fff_f): New macro.
9435 (fma_test_data): New variable.
9436 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9437 (fma_towardzero_test_data): New variable.
9438 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9439 (fma_downward_test_data): New variable.
9440 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9441 (fma_upward_test_data): New variable.
9442 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9443
08198877
JM
9444 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9445 (struct test_c_c_data): New type.
9446 (RUN_TEST_LOOP_c_c): New macro.
9447 (cacos_test_data): New variable.
9448 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9449 (cacosh_test_data): New variable.
9450 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9451 (casin_test_data): New variable.
9452 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9453 (casinh_test_data): New variable.
9454 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9455 (catan_test_data): New variable.
9456 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9457 (catanh_test_data): New variable.
9458 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9459 (ccos_test_data): New variable.
9460 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9461 (ccosh_test_data): New variable.
9462 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9463 (cexp_test_data): New variable.
9464 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9465 (clog_test_data): New variable.
9466 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9467 (clog10_test_data): New variable.
9468 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9469 (conj_test_data): New variable.
9470 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9471 (cproj_test_data): New variable.
9472 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9473 (csin_test_data): New variable.
9474 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9475 (csinh_test_data): New variable.
9476 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9477 (csqrt_test_data): New variable.
9478 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9479 (ctan_test_data): New variable.
9480 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9481 (ctan_tonearest_test_data): New variable.
9482 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9483 (ctan_towardzero_test_data): New variable.
9484 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9485 (ctan_downward_test_data): New variable.
9486 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9487 (ctan_upward_test_data): New variable.
9488 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9489 (ctanh_test_data): New variable.
9490 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9491 (ctanh_tonearest_test_data): New variable.
9492 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9493 (ctanh_towardzero_test_data): New variable.
9494 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9495 (ctanh_downward_test_data): New variable.
9496 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9497 (ctanh_upward_test_data): New variable.
9498 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9499 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9500 of BUILD_COMPLEX.
9501
601a3a5f
JM
9502 * math/libm-test.inc (struct test_ff_f_data): New type.
9503 (struct test_ff_f_data_nexttoward): Likewise.
9504 (RUN_TEST_LOOP_2_f): New macro.
9505 (RUN_TEST_LOOP_ff_f): Likewise.
9506 (atan2_test_data): New variable.
9507 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9508 (copysign_test_data): New variable.
9509 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9510 (fdim_test_data): New variable.
9511 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9512 (fmax_test_data): New variable.
9513 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9514 (fmin_test_data): New variable.
9515 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9516 (fmod_test_data): New variable.
9517 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9518 (hypot_test_data): New variable.
9519 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9520 (nextafter_test_data): New variable.
9521 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9522 (nexttoward_test_data): New variable.
9523 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9524 (pow_test_data): New variable.
9525 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9526 (pow_tonearest_test_data): New variable.
9527 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9528 (pow_towardzero_test_data): New variable.
9529 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9530 (pow_downward_test_data): New variable.
9531 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9532 (pow_upward_test_data): New variable.
9533 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9534 (remainder_test_data): New variable.
9535 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9536 (scalb_test_data): New variable.
9537 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9538 * sysdeps/i386/fpu/libm-test-ulps: Update.
9539
74c57478
JM
95402013-05-11 Joseph Myers <joseph@codesourcery.com>
9541
8329e4da
JM
9542 * math/libm-test.inc (fma_test): Use max_value instead of local
9543 variable fltmax.
9544 (nextafter_test): Likewise.
9545
74c57478
JM
9546 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9547 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9548 (acos_downward_test_data): New variable.
9549 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9550 (acos_upward_test_data): New variable.
9551 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9552 (acosh_test_data): New variable.
9553 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9554 (asin_test_data): New variable.
9555 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9556 (asin_tonearest_test_data): New variable.
9557 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9558 (asin_towardzero_test_data): New variable.
9559 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9560 (asin_downward_test_data): New variable.
9561 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9562 (asin_upward_test_data): New variable.
9563 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9564 (asinh_test_data): New variable.
9565 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9566 (atan_test_data): New variable.
9567 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9568 (atanh_test_data): New variable.
9569 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9570 (cbrt_test_data): New variable.
9571 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9572 (ceil_test_data): New variable.
9573 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9574 (cos_test_data): New variable.
9575 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9576 (cos_tonearest_test_data): New variable.
9577 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9578 (cos_towardzero_test_data): New variable.
9579 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9580 (cos_downward_test_data): New variable.
9581 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9582 (cos_upward_test_data): New variable.
9583 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9584 (cosh_test_data): New variable.
9585 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9586 (cosh_tonearest_test_data): New variable.
9587 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9588 (cosh_towardzero_test_data): New variable.
9589 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9590 (cosh_downward_test_data): New variable.
9591 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9592 (cosh_upward_test_data): New variable.
9593 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9594 (erf_test_data): New variable.
9595 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9596 (erfc_test_data): New variable.
9597 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9598 (exp_test_data): New variable.
9599 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9600 (exp_tonearest_test_data): New variable.
9601 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9602 (exp_towardzero_test_data): New variable.
9603 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9604 (exp_downward_test_data): New variable.
9605 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9606 (exp_upward_test_data): New variable.
9607 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9608 (exp10_test_data): New variable.
9609 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9610 (exp2_test_data): New variable.
9611 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9612 (expm1_test_data): New variable.
9613 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9614 (fabs_test_data): New variable.
9615 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9616 (floor_test_data): New variable.
9617 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9618 (j0_test_data): New variable.
9619 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9620 (j1_test_data): New variable.
9621 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9622 (log_test_data): New variable.
9623 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9624 (log10_test_data): New variable.
9625 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9626 (log1p_test_data): New variable.
9627 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9628 (log2_test_data): New variable.
9629 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9630 (logb_test_data): New variable.
9631 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9632 (logb_downward_test_data): New variable.
9633 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9634 (nearbyint_test_data): New variable.
9635 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9636 (rint_test_data): New variable.
9637 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9638 (rint_tonearest_test_data): New variable.
9639 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9640 (rint_towardzero_test_data): New variable.
9641 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9642 (rint_downward_test_data): New variable.
9643 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9644 (rint_upward_test_data): New variable.
9645 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9646 (round_test_data): New variable.
9647 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9648 (sin_test_data): New variable.
9649 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9650 (sin_tonearest_test_data): New variable.
9651 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9652 (sin_towardzero_test_data): New variable.
9653 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9654 (sin_downward_test_data): New variable.
9655 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9656 (sin_upward_test_data): New variable.
9657 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9658 (sinh_test_data): New variable.
9659 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9660 (sinh_tonearest_test_data): New variable.
9661 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9662 (sinh_towardzero_test_data): New variable.
9663 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9664 (sinh_downward_test_data): New variable.
9665 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9666 (sinh_upward_test_data): New variable.
9667 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9668 (sqrt_test_data): New variable.
9669 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9670 (tan_test_data): New variable.
9671 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9672 (tan_tonearest_test_data): New variable.
9673 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9674 (tan_towardzero_test_data): New variable.
9675 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9676 (tan_downward_test_data): New variable.
9677 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9678 (tan_upward_test_data): New variable.
9679 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9680 (tanh_test_data): New variable.
9681 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9682 (tgamma_test_data): New variable.
9683 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9684 (trunc_test_data): New variable.
9685 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9686 (y0_test_data): New variable.
9687 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9688 (y1_test_data): New variable.
9689 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9690 (significand_test_data): New variable.
9691 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9692
7187d844
CG
96932013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9694
9695 [BZ #12387]
9696 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9697
f63fae73
PT
96982013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9699
9700 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9701
8a67a4b3
AJ
97022013-05-10 Andreas Jaeger <aj@suse.de>
9703
9704 [BZ #15448]
9705 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9706 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9707
51df539d
JM
97082013-05-10 Joseph Myers <joseph@codesourcery.com>
9709
9710 * math/gen-libm-test.pl (adjust_arg): New function.
9711 (special_functions): Handle generating output in both functions
9712 and arrays.
9713 (parse_args): Likewise.
9714 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9715 $in_func argument to parse_args.
9716 * math/libm-test.inc (struct test_f_f_data): New type.
9717 (IF_ROUND_INIT_): New macro.
9718 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9719 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9720 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9721 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9722 (ROUND_RESTORE_): Likewise.
9723 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9724 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9725 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9726 (ROUND_RESTORE_FE_UPWARD): Likewise.
9727 (RUN_TEST_LOOP_f_f): New macro.
9728 (acos_test_data): New variable.
9729 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9730 (acos_tonearest_test_data): New variable.
9731 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9732
5c637fe5
SP
97332013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
9735 * benchtests/bench-skeleton.c (startup): Fix coding style.
9736
ab2b9461
JM
97372013-05-10 Joseph Myers <joseph@codesourcery.com>
9738
9739 [BZ #6809]
9740 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9741 negative infinity argument.
9742 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9743 negative infinity argument.
9744 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9745 negative infinity argument.
9746 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9747 domain errors.
9748
4c0fe6fe
FW
97492013-05-10 Florian Weimer <fweimer@redhat.com>
9750
9751 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9752 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9753 * iconv/iconv_prog.c (main): Likewise.
9754 * locale/programs/charmap-dir.c (charmap_readdir)
9755 (fopen_uncompressed): Likewise.
9756 * locale/programs/locfile.c (siblings_uncached)
9757 (write_locale_data): Use lstat64 instead of lstat.
9758 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9759 stat.
9760
a3375d29
AJ
97612013-05-10 Andreas Jaeger <aj@suse.de>
9762
9763 [BZ #15395]
9764 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9765 localization.
9766 Include <locale.h>.
9767
36129722
CD
97682013-05-09 Carlos O'Donell <carlos@redhat.com>
9769
9770 * elf/dl-close.c (_dl_close_worker): Add comments.
9771
faa7f811
JM
97722013-05-09 Joseph Myers <joseph@codesourcery.com>
9773
ed41ffef
JM
9774 [BZ #15359]
9775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9776 high part of pi/2.
9777 (__ieee754_rem_pio2l): Update comments.
9778
d0213cd0
JM
9779 [BZ #15429]
9780 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9781 high part of pi/2.
9782 (__ieee754_rem_pio2l): Update comments.
9783
0d3e777a
JM
9784 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9785 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9786
24f56066
JM
9787 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9788 M_PI_4l.
9789
faa7f811
JM
9790 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9791 (M_PI_34_LOG10El): Likewise.
9792 (M_PI2_LOG10El): Likewise.
9793 (M_PI4_LOG10El): Likewise.
9794 (M_PI_LOG10El): Likewise.
9795
e9a5e0fd
AZ
97962013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9797
9798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9799
d8cd06db
JM
98002013-05-08 Joseph Myers <joseph@codesourcery.com>
9801
a0d9f9d7
JM
9802 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9803 (MINUS_ZERO_INIT): Likewise.
9804 (PLUS_INFTY_INIT): Likewise.
9805 (MINUS_INFTY_INIT): Likewise.
9806 (QNAN_VALUE_INIT): Likewise.
9807 (MAX_VALUE_INIT): Likewise.
9808 (MIN_VALUE_INIT): Likewise.
9809 (MIN_SUBNORM_VALUE_INIT): Likewise.
9810 (plus_zero): Initialize with PLUS_ZERO_INIT.
9811 (minus_zero): Initialize with MINUS_ZERO_INIT.
9812 (plus_infty): Initialize with PLUS_INFTY_INIT.
9813 (minus_infty): Initialize with MINUS_INFTY_INIT.
9814 (qnan_value): Initialize with QNAN_VALUE_INIT.
9815 (max_value): Initialize with MAX_VALUE_INIT.
9816 (min_value): Initialize with MIN_VALUE_INIT.
9817 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9818
ae08db3b
JM
9819 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9820 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9821 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9822 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9823
f44bf14a
JM
9824 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9825 (RUN_TEST_2_f): Likewise.
9826 (RUN_TEST_ff_f): Likewise.
9827 (RUN_TEST_fi_f): Likewise.
9828 (RUN_TEST_fl_f): Likewise.
9829 (RUN_TEST_fff_f): Likewise.
9830 (RUN_TEST_c_f): Likewise.
9831 (RUN_TEST_f_f1): Likewise.
9832 (RUN_TEST_fF_f1): Likewise.
9833 (RUN_TEST_fI_f1): Likewise.
9834 (RUN_TEST_ffI_f1): Likewise.
9835 (RUN_TEST_c_c): Likewise.
9836 (RUN_TEST_cc_c): Likewise.
9837 (RUN_TEST_f_i): Likewise.
9838 (RUN_TEST_f_i_tg): Likewise.
9839 (RUN_TEST_ff_i_tg): Likewise.
9840 (RUN_TEST_f_b): Likewise.
9841 (RUN_TEST_f_b_tg): Likewise.
9842 (RUN_TEST_f_l): Likewise.
9843 (RUN_TEST_f_L): Likewise.
9844 (RUN_TEST_sincos): Likewise.
9845 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9846 whether to show exceptions. Do not include ");\n" in return
9847 value.
9848 (special_functions): Output call to RUN_TEST_sincos instead of
9849 check_float calls. Update calls to new_test.
9850 (parse_args): Output call to single RUN_TEST_* macro instead of
9851 check_* calls and other assignments. Update calls to new_test.
9852
d8cd06db
JM
9853 [BZ #2546]
9854 [BZ #2560]
9855 [BZ #5159]
9856 [BZ #15426]
9857 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9858 input to result for tgamma overflow.
9859 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9860 (gamma_coeff): New variable.
9861 (NCOEFF): New macro.
9862 (gamma_positive): New function.
9863 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9864 underflow here. Use gamma_positive instead of exp (lgamma) for
9865 other arguments.
9866 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9867 (gamma_coeff): New variable.
9868 (NCOEFF): New macro.
9869 (gammaf_positive): New function.
9870 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9871 underflow here. Use gamma_positive instead of exp (lgamma) for
9872 other arguments.
9873 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9874 (gamma_coeff): New variable.
9875 (NCOEFF): New macro.
9876 (gammal_positive): New function.
9877 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9878 underflow here. Use gamma_positive instead of exp (lgamma) for
9879 other arguments.
9880 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9881 (gamma_coeff): New variable.
9882 (NCOEFF): New macro.
9883 (gammal_positive): New function.
9884 (__ieee754_gammal_r): Handle positive infinity, overflow and
9885 underflow here. Handle NaN the same as positive infinity. Remove
9886 check x < 0xffffffff for negative integers. Use gamma_positive
9887 instead of exp (lgamma) for other arguments.
9888 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9889 (gamma_coeff): New variable.
9890 (NCOEFF): New macro.
9891 (gammal_positive): New function.
9892 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9893 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9897 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9898 * sysdeps/generic/math_private.h (__gamma_productf): New
9899 prototype.
9900 (__gamma_product): Likewise.
9901 (__gamma_productl): Likewise.
9902 * math/Makefile (libm-calls): Add gamma_product.
9903 * math/libm-test.inc (tgamma_test): Add more tests.
9904 * sysdeps/i386/fpu/libm-test-ulps: Update.
9905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9906
bb7cf681
OB
99072013-05-08 Ondřej Bílka <neleai@seznam.cz>
9908
9909 * benchtests/bench-skeleton.c (main): Preheat CPU.
9910
ba853947
AJ
99112013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9912
9913 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9914
8347c74c
RM
99152013-05-07 Roland McGrath <roland@hack.frob.com>
9916
9917 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9918 and _dl_skip_args_internal.
9919
e8dd4791
CD
99202013-05-07 Carlos O'Donell <carlos@redhat.com>
9921
9922 * manual/message.texi (Message Translation): Talk about users.
9923 Message to key mapping impacts design.
9924
c7405830
RM
99252013-05-06 Roland McGrath <roland@hack.frob.com>
9926
a9173057
RM
9927 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9928
976e2f03
RM
9929 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9930
9723ffc5
RM
9931 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9932 * sysdeps/wordsize-64/glob64.c: ... here.
9933
962e6658
RM
9934 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9935 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9936 New macros.
9937
ee586a6d
RM
9938 * debug/getlogin_r_chk.c: Moved to ...
9939 * login/getlogin_r_chk.c: ... here.
9940 * debug/Makefile (routines): Move getlogin_r_chk to ...
9941 * login/Makefile (routines): ... here.
9942 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9943 * login/Versions (libc: GLIBC_2.4): ... here.
9944
355f9165
RM
9945 * io/poll.c (__poll): Renamed from poll.
9946 Add libc_hidden_def.
9947 (poll): Define as weak alias.
9948
bd9ffde6
RM
9949 * debug/ptsname_r_chk.c: Moved to ...
9950 * login/ptsname_r_chk.c: ... here.
9951 * debug/Makefile (routines): Move ptsname_r_chk to ...
9952 * login/Makefile (routines): ... here.
9953 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9954 * login/Versions (libc: GLIBC_2.4): ... here.
9955
8fb16a04
RM
9956 * posix/getlogin.c: Moved to ...
9957 * login/getlogin.c: ... here.
9958 * posix/getlogin_r.c: Moved to ...
9959 * login/getlogin_r.c: ... here.
9960 * posix/getlogin_r.c: Moved to ...
9961 * login/getlogin_r.c: ... here.
9962 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9963 * login/Makefile (routines): ... here.
9964 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9965 * login/Versions (libc: GLIBC_2.0): ... here.
9966
b99b892f
RM
9967 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9968 (setrlimit): Define as weak alias.
9969
c7405830
RM
9970 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9971 Call __ names for open, ftruncate, and close.
9972 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9973 (truncate): Define as weak alias.
9974
5bf96de5
JM
99752013-05-06 Joseph Myers <joseph@codesourcery.com>
9976
9ea3513c
JM
9977 * math/gen-libm-test.pl (parse_args): Initialize x before each
9978 test of frexp, modf and remquo.
9979
5bf96de5
JM
9980 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9981 test signgam value.
9982
16e616a7
AZ
99832013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9984
9985 [BZ #15418]
9986 [BZ #15419]
9987 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9988 internal tests.
9989 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9990
d5e82754
RM
99912013-05-06 Roland McGrath <roland@hack.frob.com>
9992
9993 * elf/dl-writev.h: New file.
9994 * elf/dl-misc.c: Include it.
9995 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9996 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9997
a7548d41
JM
99982013-05-04 Joseph Myers <joseph@codesourcery.com>
9999
b7dab1e4
JM
10000 * math/libm-test.inc (noXFails): Remove variable.
10001 (noXPasses): Likewise.
10002 (BUILD_COMPLEX_INT): Remove macro.
10003 (print_screen): Remove xfail argument.
10004 (print_screen_max_error): Likewise.
10005 (update_stats): Likewise.
10006 (print_max_error): Likewise. Update calls to other affected
10007 functions.
10008 (print_complex_max_error): Likewise.
10009 (test_single_exception): Update calls to print_screen.
10010 (test_single_errno): Likewise.
10011 (check_float_internal): Remove xfail argument. Update calls to
10012 other affected functions.
10013 (check_float): Likewise.
10014 (check_complex): Likewise.
10015 (check_int): Likewise.
10016 (check_long): Likewise.
10017 (check_bool): Likewise.
10018 (check_longlong): Likewise.
10019 (main): Don't print noXFails and noXPasses.
10020 * math/gen-libm-test.pl (top level): Don't mention expected
10021 failure handling in comment.
10022 (new_test): Don't handle expected failures.
10023 (parse_args): Don't mention expected failure handling in comment.
10024 (generate_testfile): Don't handle expected failures.
10025 (parse_ulps): Likewise.
10026 (print_ulps_file): Likewise.
10027 (get_failure): Remove function.
10028 (output_test): Don't handle expected failures.
10029 * make/README.libm-test: Don't mention expected failure handling.
10030
a7548d41
JM
10031 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10032 (minus_zero): Likewise.
10033 (plus_infty): Likewise.
10034 (minus_infty): Likewise.
10035 (qnan_value): Likewise.
10036 (max_value): Likewise.
10037 (min_value): Likewise.
10038 (min_subnorm_value): Likewise.
10039 (initialize): Do not initialize those variables dynamically.
10040
60bfd54c
RM
100412013-05-03 Roland McGrath <roland@hack.frob.com>
10042
cc0e6ed8
RM
10043 * io/open.c (__open_2): Moved to ...
10044 * io/open_2.c: ... this new file.
10045 * io/open64.c (__open64_2): Moved to ...
10046 * io/open64_2.c: ... this new file.
10047 * io/openat.c (__openat_2): Moved to ...
10048 * io/openat_2.c: ... this new file.
10049 * io/openat64.c (__openat64_2): Moved to ...
10050 * io/openat64_2.c: ... this new file.
10051 * io/Makefile (routines): Add them.
10052 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10053 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10054 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10055 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10056 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10057 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10058 (__openat64): Add hidden_ver.
10059 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10060 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10061
60bfd54c
RM
10062 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10063 Separately conditionalize setting of GLRO(dl_sysinfo) so
10064 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10065 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10066
83e7640f
AZ
100672013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10068
10069 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10071 definition.
10072 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10073 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10074 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10075 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10076 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10077
d5dc2af3
JM
100782013-05-03 Joseph Myers <joseph@codesourcery.com>
10079
c31a5b1e
JM
10080 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10081 test signgam value.
10082
d5dc2af3
JM
10083 * math/libm-test.inc (hypot_test): Do not use
10084 IGNORE_ZERO_INF_SIGN.
10085
164fd39d
AJ
100862013-05-03 Andreas Jaeger <aj@suse.de>
10087
10088 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10089 Linux 3.9.
10090 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10091 (PF_MAX): Adjust for VSOCK change.
10092
8237f48c
AZ
100932013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10094
10095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10096
9df02941
CD
100972013-05-02 Carlos O'Donell <carlos@redhat.com>
10098
10099 [BZ #15264]
10100 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10101 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10102 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10103
d422395e
DM
101042013-05-02 David S. Miller <davem@davemloft.net>
10105
10106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10107
a07c5731
OB
101082013-05-01 Ondřej Bílka <neleai@seznam.cz>
10109
10110 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10111
1324e37f
RM
101122013-05-01 Roland McGrath <roland@hack.frob.com>
10113
10114 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10115
0695940b
RS
101162013-05-01 Richard Smith <richard@metafoo.co.uk>
10117
bb5f27ad 10118 [BZ #14952]
0695940b
RS
10119 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10120 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10121 Use __attribute__ ((__gnu_inline__)).
10122 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10123 Don't use __attribute__ ((__gnu_inline__)).
10124
10de07f5
JM
101252013-05-01 Joseph Myers <joseph@codesourcery.com>
10126
10127 [BZ #15423]
10128 * math/s_catan.c (__catan): Handle small real or imaginary part of
10129 input specially to avoid spurious underflow.
10130 * math/s_catanf.c (__catanf): Likewise.
10131 * math/s_catanh.c (__catanh): Likewise.
10132 * math/s_catanhf.c (__catanhf): Likewise.
10133 * math/s_catanhl.c (__catanhl): Likewise.
10134 * math/s_catanl.c (__catanl): Likewise.
10135 * math/libm-test.inc (catan_test): Add more tests.
10136 (catanh_test): Likewise.
10137 * sysdeps/i386/fpu/libm-test-ulps: Update.
10138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10139
cb4d5414
AZ
101402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10141
10142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10143
caf84319
JM
101442013-04-30 Joseph Myers <joseph@codesourcery.com>
10145
10146 [BZ #15416]
10147 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10148 accurately for denominator in atan2.
10149 * math/s_catanf.c (__catanf): Likewise.
10150 * math/s_catanh.c (__catanh): Likewise.
10151 * math/s_catanhf.c (__catanhf): Likewise.
10152 * math/s_catanhl.c (__catanhl): Likewise.
10153 * math/s_catanl.c (__catanl): Likewise.
10154 * math/libm-test.inc (catan_test): Add more tests.
10155 (catanh_test): Likewise.
10156 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10158
d569c6ee
SP
101592013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10160
6dbe713d
SP
10161 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10162
f0ee064b
SP
10163 * benchtests/Makefile (bench): Remove slow benchmarks.
10164 * benchtests/atan-inputs: Add slow benchmark inputs.
10165 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10166 (BENCH_FUNC): Accept variant offset.
10167 (VARIANT): Define.
10168 * benchtests/bench-skeleton.c (main): Run benchmark for each
10169 variant.
10170 * benchtests/cos-inputs: Add slow benchmark inputs.
10171 * benchtests/exp-inputs: Likewise.
10172 * benchtests/pow-inputs: Likewise.
10173 * benchtests/sin-inputs: Likewise.
10174 * benchtests/slowatan-inputs: Remove.
10175 * benchtests/slowatan.c: Remove.
10176 * benchtests/slowcos-inputs: Remove.
10177 * benchtests/slowcos.c: Remove.
10178 * benchtests/slowexp-inputs: Remove.
10179 * benchtests/slowexp.c: Remove.
10180 * benchtests/slowpow-inputs: Remove.
10181 * benchtests/slowpow.c: Remove.
10182 * benchtests/slowsin-inputs: Remove.
10183 * benchtests/slowsin.c: Remove.
10184 * benchtests/slowtan-inputs: Remove.
10185 * benchtests/slowtan.c: Remove.
10186 * benchtests/tan-inputs: Add slow benchmark inputs.
10187 * scripts/bench.pl: Parse comments and directives.
10188
d569c6ee
SP
10189 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10190 in CPPFLAGS.
10191 ($(objpfx)bench-%.c): Remove *-ITER.
10192 * benchtests/bench-modf.c: Remove definition of ITER.
10193 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10194 (main): Loop for DURATION seconds instead of fixed number of
10195 iterations.
10196 * scripts/bench.pl: Don't expect iterations in parameters.
10197
a6a242fe
RM
101982013-04-29 Roland McGrath <roland@hack.frob.com>
10199
10200 * io/fchdir.c (__fchdir): Renamed from fchdir.
10201 (fchdir): Define as weak alias.
10202
f2da7793
JM
102032013-04-29 Joseph Myers <joseph@codesourcery.com>
10204
10205 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10206 (ERRNO_EDOM): Likewise.
10207 (ERRNO_ERANGE): Likewise.
10208 (noErrnoTests): New variable.
10209 (init_max_error): Set errno to 0.
10210 (test_single_errno): New function.
10211 (test_errno): Likewise.
10212 (check_float_internal): Call test_errno. Set errno to 0.
10213 (check_complex): Refer to errno tests in comment.
10214 (check_int): Call test_errno. Set errno to 0.
10215 (check_long): Likewise.
10216 (check_bool): Likewise.
10217 (check_longlong): Likewise.
10218 (cos_test): Use ERRNO_* flags for errno tests instead of
10219 check_int.
10220 (expm1_test): Likewise.
10221 (fmod_test): Likewise.
10222 (ilogb_test): Likewise.
10223 (lgamma_test): Likewise.
10224 (pow_test): Likewise.
10225 (remainder_test): Likewise.
10226 (sin_test): Likewise.
10227 (tan_test): Likewise.
10228 (yn_test): Likewise.
10229 (initialize): Set errno to 0.
10230 (main): Print number of errno tests.
10231 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10232
b1a36ceb
AJ
102332013-04-29 Andreas Jaeger <aj@suse.de>
10234
c3ed8088
AJ
10235 [BZ #15084]
10236 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10237 and RES_USEVC.
10238
f1a24198
AJ
10239 [BZ #15085]
10240 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10241 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10242 unimplemented.
10243
9ce3b2cb
AJ
10244 [BZ #15380]
10245 * stdlib/random.c (__initstate): Return NULL if
10246 __initstate fails.
10247
f1a24198 10248 [BZ #15086]
b1a36ceb
AJ
10249 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10250 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10251 RES_SNGLKUPREOP.
10252
7e7b6f36
AZ
102532013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10254
10255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10256
4d14f449
JM
102572013-04-29 Joseph Myers <joseph@codesourcery.com>
10258
10259 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10260 of individual tests.
10261 (casin_test): Likewise.
10262 (casinh_test): Likewise.
10263
5b4217d7
JM
102642013-04-27 Joseph Myers <joseph@codesourcery.com>
10265
10266 [BZ #15409]
10267 * math/s_catan.c (__catan): Handle arguments with large real or
10268 imaginary part separately without squaring.
10269 * math/s_catanf.c (__catanf): Likewise.
10270 * math/s_catanh.c (__catanh): Likewise.
10271 * math/s_catanhf.c (__catanhf): Likewise.
10272 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10273 and redefine.
10274 (__catanhl): Handle arguments with large real or imaginary part
10275 separately without squaring.
10276 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10277 and redefine.
10278 (__catanl): Handle arguments with large real or imaginary part
10279 separately without squaring.
10280 * math/libm-test.inc (catan_test): Add more tests.
10281 (catanh_test): Likewise.
10282 * sysdeps/i386/fpu/libm-test-ulps: Update.
10283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10284
4220c3ef
AJ
102852013-04-27 Andreas Jaeger <aj@suse.de>
10286
10287 [BZ #15007]
10288 * stdlib/stdlib.h: Update guards for qecvt.
10289 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10290 <stdlib.h>.
10291
4721b2d1
AM
102922013-04-27 Allan McRae <allan@archlinux.org>
10293
10294 * sysdeps/i386/fpu/libm-test-ulps: Update.
10295
f0302940
JM
102962013-04-26 Joseph Myers <joseph@codesourcery.com>
10297
9457fd95
JM
10298 [BZ #15406]
10299 * math/s_catan.c: Include <float.h>.
10300 (__catan): Ensure underflow exception occurs for underflowed
10301 result.
10302 * math/s_catanf.c: Include <float.h>.
10303 (__catanf): Ensure underflow exception occurs for underflowed
10304 result.
10305 * math/s_catanh.c: Include <float.h>.
10306 (__catanh): Ensure underflow exception occurs for underflowed
10307 result.
10308 * math/s_catanhf.c: Include <float.h>.
10309 (__catanhf): Ensure underflow exception occurs for underflowed
10310 result.
10311 * math/s_catanhl.c: Include <float.h>.
10312 (__catanhl): Ensure underflow exception occurs for underflowed
10313 result.
10314 * math/s_catanl.c: Include <float.h>.
10315 (__catanl): Ensure underflow exception occurs for underflowed
10316 result.
10317 * math/libm-test.inc (catan_test): Add more tests.
10318 (catanh_test): Likewise.
10319
f0302940
JM
10320 [BZ #15405]
10321 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10322 underflowed result.
10323 * math/s_ccoshf.c (__ccoshf): Likewise.
10324 * math/s_ccoshl.c (__ccoshl): Likewise.
10325 * math/s_csin.c (__csin): Likewise.
10326 * math/s_csinf.c (__csinf): Likewise.
10327 * math/s_csinh.c (__csinh): Likewise.
10328 * math/s_csinhf.c (__csinhf): Likewise.
10329 * math/s_csinhl.c (__csinhl): Likewise.
10330 * math/s_csinl.c (__csinl): Likewise.
10331 * math/libm-test.inc (ccos_test): Add more tests.
10332 (ccosh_test): Likewise.
10333 (csin_test): Likewise.
10334 (csinh_test): Likewise.
10335
aa630f59
AZ
103362013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10337
10338 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10339 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10340 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10341 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10342 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10343 powerpc/power5+/fpu folders.
10344 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10345
10346
1b835983
MT
103472013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10348
10349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10350
73709b26
JM
103512013-04-25 Joseph Myers <joseph@codesourcery.com>
10352
10353 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10354 additions to variable.
10355 [$(config-machine) = x86_64] (modules-names): Likewise.
10356 ($(objpfx)tst-audit3): Remove dependency.
10357 ($(objpfx)tst-audit3.out): Likewise.
10358 ($(objpfx)tst-audit4): Likewise.
10359 ($(objpfx)tst-audit4.out): Likewise.
10360 ($(objpfx)tst-audit5): Likewise.
10361 ($(objpfx)tst-audit5.out): Likewise.
10362 ($(objpfx)tst-audit6): Likewise.
10363 ($(objpfx)tst-audit6.out): Likewise.
10364 ($(objpfx)tst-audit7): Likewise.
10365 ($(objpfx)tst-audit7.out): Likewise.
10366 (tst-audit3-ENV): Remove variable.
10367 (tst-audit4-ENV): Likewise.
10368 (tst-audit5-ENV): Likewise.
10369 (tst-audit6-ENV): Likewise.
10370 (tst-audit7-ENV): Likewise.
10371 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10372 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10373 addition to variable.
10374 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10375 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10376 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10377 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10378 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10379 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10380 tst-audit3, tst-audit4 and tst-audit5.
10381 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10382 tst-audit6 and tst-audit7.
10383 [$(subdir) = elf] (modules-names): Add audit modules for those
10384 tests.
10385 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10386 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10387 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10388 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10389 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10390 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10391 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10392 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10393 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10394 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10395 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10396 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10397 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10398 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10399 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10400 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10401 Likewise.
10402 [$(subdir) = elf && $(config-cflags-avx) = yes]
10403 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10404 [$(subdir) = elf && $(config-cflags-avx) = yes]
10405 (CFLAGS-tst-auditmod4a.c): Likewise.
10406 [$(subdir) = elf && $(config-cflags-avx) = yes]
10407 (CFLAGS-tst-auditmod4b.c): Likewise.
10408 [$(subdir) = elf && $(config-cflags-avx) = yes]
10409 (CFLAGS-tst-auditmod6b.c): Likewise.
10410 [$(subdir) = elf && $(config-cflags-avx) = yes]
10411 (CFLAGS-tst-auditmod6c.c): Likewise.
10412 [$(subdir) = elf && $(config-cflags-avx) = yes]
10413 (CFLAGS-tst-auditmod7b.c): Likewise.
10414 * elf/tst-audit3.c: Move to ...
10415 * sysdeps/x86_64/tst-audit3.c: ... here.
10416 * elf/tst-audit4.c: Move to ...
10417 * sysdeps/x86_64/tst-audit4.c: ... here.
10418 * elf/tst-audit5.c: Move to ...
10419 * sysdeps/x86_64/tst-audit5.c: ... here.
10420 * elf/tst-audit6.c: Move to ...
10421 * sysdeps/x86_64/tst-audit6.c: ... here.
10422 * elf/tst-audit7.c: Move to ...
10423 * sysdeps/x86_64/tst-audit7.c: ... here.
10424 * elf/tst-auditmod3a.c: Move to ...
10425 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10426 * elf/tst-auditmod3b.c: Move to ...
10427 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10428 * elf/tst-auditmod4a.c: Move to ...
10429 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10430 * elf/tst-auditmod4b.c: Move to ...
10431 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10432 * elf/tst-auditmod5a.c: Move to ...
10433 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10434 * elf/tst-auditmod5b.c: Move to ...
10435 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10436 * elf/tst-auditmod6a.c: Move to ...
10437 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10438 * elf/tst-auditmod6b.c: Move to ...
10439 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10440 * elf/tst-auditmod6c.c: Move to ...
10441 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10442 * elf/tst-auditmod7a.c: Move to ...
10443 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10444 * elf/tst-auditmod7b.c: Move to ...
10445 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10446
1ef74943
PP
104472013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10448
10449 [BZ #15366]
10450 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10451 define unconditionally.
10452 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10453 define unconditionally.
10454 (INT8_C, INT16_C, etc.): Likewise.
10455
93fd48c5
MR
104562013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10457
ae9552cf
MR
10458 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10459 __ehdr_start with hidden visibility.
10460
93fd48c5
MR
10461 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10462
418601aa
CD
104632013-04-24 Carlos O'Donell <carlos@redhat.com>
10464
10465 * math/libm-test.inc (cos_test): Use accurate hex constants.
10466 (sincost_test): Likewise.
10467
2f38fbfe
JM
104682013-04-24 Joseph Myers <joseph@codesourcery.com>
10469
5e221800
JM
10470 * math/libm-test.inc (catan_test): Add more tests.
10471 (catanh_test): Likewise.
10472
77f143fd
JM
10473 * math/s_catanf.c (__catanf): Use suffixed floating-point
10474 constants.
10475 * math/s_catanhf.c (__catanhf): Likewise.
10476 * math/s_catanhl.c (__catanhl): Likewise.
10477 * math/s_catanl.c (__catanl): Likewise.
10478
2f38fbfe
JM
10479 [BZ #15394]
10480 * math/s_catan.c (__catan): Calculate imaginary part of result
10481 with log1p not log unless computing log of number close to 0.
10482 * math/s_catanf.c (__catanf): Likewise.
10483 * math/s_catanl.c (__catanl): Likewise.
10484 * math/s_catanh.c (__catanh): Calculate real part of result with
10485 log1p not log unless computing log of number close to 0.
10486 * math/s_catanhf.c (__catanhf): Likewise.
10487 * math/s_catanhl.c (__catanhl): Likewise.
10488 * math/libm-test.inc (catan_test): Add more tests.
10489 (catanh_test): Likewise.
10490 * sysdeps/i386/fpu/libm-test-ulps: Update.
10491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10492
45d69176
SP
104932013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10494
10495 * benchtests/Makefile: Mention files in which fast and slow
10496 paths of math functions are implemented.
10497
87f51853
RM
104982013-04-23 Roland McGrath <roland@hack.frob.com>
10499
10500 * sysdeps/posix/timespec_get.c: New file.
10501
3c026539
AZ
105022013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10503
10504 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10505 POWER.
10506 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10507 for POWER.
10508 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10509 powerpc/power5/fpu folders.
10510 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10511 * benchtests/Makefile: Add modf testcase.
10512 * benchtests/bench-modf.c: New file: Benchmark test for mo
10513
ff491d14
SP
105142013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10515
10516 [BZ #14888]
10517 * time/Makefile (tests): Add tst-strptime-whitespace.
10518 * time/strptime_l.c (get_number): Use ISSPACE.
10519 (__strptime_internal): Likewise.
10520 * time/tst-strptime-whitespace.c: New test case.
10521
7ed3f4e8
AS
105222013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10523
10524 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10525 member.
10526 (_nss_files_init): Set it here.
10527
5c95f7b6
HC
105282013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10529
10530 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10531 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10532 unsigned.
10533
d34c9158
JBG
105342013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10535
10536 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10537
2169712d
SP
105382013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10539
10540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10541 size just once.
10542
29c5de99
DM
105432013-04-21 David S. Miller <davem@davemloft.net>
10544
10545 * po/ru.po: Update Russion translation from translation project.
10546
ccdad15d
AC
105472013-04-17 Adam Conrad <adconrad@0c3.net>
10548
10549 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10550 and setfsgid.
10551
0f122b8d
CD
105522013-04-17 Carlos O'Donell <carlos@redhat.com>
10553
5c5b07da 10554 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10555 * configure: Regenerate.
5c5b07da 10556 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10557 Add example to error message.
10558 * sysdeps/i386/configure: Regenerate.
10559
037714dd
SP
105602013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10561
10562 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10563 slowtan.
10564 * benchtests/cos-inputs: New file.
10565 * benchtests/slowcos-inputs: New file.
10566 * benchtests/slowcos.c: New file.
10567 * benchtests/slowtan-inputs: New file.
10568 * benchtests/slowtan.c: New file.
10569 * benchtests/tan-inputs: New file.
10570
e913141d
RM
105712013-04-16 Roland McGrath <roland@hack.frob.com>
10572
10573 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10574 considered kosher.
10575
a2964074
SP
105762013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10577
4856bcd2
SP
10578 * benchtests/Makefile: Include cppflags-iterator.mk to add
10579 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10580
a2964074
SP
10581 * Makefile.in (bench-clean): New target.
10582 * benchtests/Makefile (bench-clean): Likewise.
10583
9fbf9aca
DH
105842013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10585
10586 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10587
207d1e2a
TS
105882013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10589
10590 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10591
306dfba9
AS
105922013-04-15 Andreas Schwab <schwab@suse.de>
10593
10594 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10595 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10596 * nscd/pwdcache.c (cache_addpw): Likewise.
10597 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10598 more than recsize.
10599
206a6699
SP
106002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10601
10602 * benchtests/Makefile (bench): Write all output to
10603 bench-out.tmp together.
10604
0582f6b3
AS
106052013-04-15 Andreas Schwab <schwab@suse.de>
10606
10607 * nscd/nscd.c (main): Don't fork again after closing files.
10608
acb4325f
SP
106092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10610
5cb26d0a
SP
10611 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10612
acb4325f
SP
10613 * benchtests/Rules (bench-deps): Collect dependencies into a
10614 single variable. Add Makefile to dependencies.
10615 ($(objpfx)bench-%.c): Depend on bench-deps.
10616
47792506
RM
106172013-04-12 Roland McGrath <roland@hack.frob.com>
10618 Xavier Roche <roche+kml2@exalead.com>
10619
10620 [BZ #15361]
10621 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10622 just that it's a file descriptor.
10623 * manual/llio.texi (Synchronizing AIO Operations): Update description
10624 for EBADF error from aio_fsync.
10625
8fc1bee5
SP
106262013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10627
10628 * Rules (bench): Move target definition...
10629 * benchtests/Makefile: ... here.
10630
aba5e333
CD
106312013-04-11 Carlos O'Donell <carlos@redhat.com>
10632
10633 * math/libm-test.inc (cos_test): Fix PI/2 test.
10634 (sincos_test): Likewise.
10635 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10636 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10637
273cdee8
AS
106382013-04-11 Andreas Schwab <schwab@suse.de>
10639
6ecec3b6
AS
10640 [BZ #13988]
10641 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10642 accept exponent character only when digits were seen.
10643 * stdio-common/Makefile (tests): Add bug26.
10644 * stdio-common/bug26.c: New file.
10645
273cdee8
AS
10646 [BZ #14293]
10647 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10648 non-freeable.
10649
8da491f5
SP
106502013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10651
01dc6df9
SP
10652 * Makeconfig (rtld-prefix): Define built linker prefix.
10653 * Rules (run-bench): Use it.
10654 * math/Makefile (run-regen-ulps): Likewise.
10655
8da491f5
SP
10656 * Rules (bench): Remove eval.
10657
abe7f530
SP
106582013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10659 Roland McGrath <roland@hack.frob.com>
10660 Ondrej Bilka <neleai@seznam.cz>
10661
10662 [BZ #15346]
10663 * time/getdate.c: Include ctype.h and alloca.h.
10664 (__getdate_r): Trim leading and trailing spaces of input.
10665 * time/tst-getdate.c (tests): Add tests with leading and
10666 trailing spaces.
10667
61c23e62
RM
106682013-04-08 Roland McGrath <roland@hack.frob.com>
10669
10670 [BZ #14280]
10671 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10672 when computing value.
10673
7208a313
CD
106742013-04-06 Carlos O'Donell <carlos@redhat.com>
10675
085b2d41
CD
10676 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10677 Use testrun.sh to run libm tests.
10678
7208a313
CD
10679 [BZ #15309]
10680 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10681
872c0acd
MM
106822013-04-06 Marko Myllynen <myllynen@redhat.com>
10683
10684 [BZ #15264]
10685 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10686
26510bdd
CD
106872013-04-06 Carlos O'Donell <carlos@redhat.com>
10688
10689 * Makefile.in (regen-ulps): New target.
10690 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10691 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10692 [ifneq (no,$(PERL)] (regen-ulps): New target.
10693 [ifeq (no,$(PERL)] (regen-ulps): New target.
10694 * math/libm-test.inc (ulps_file_name): Define.
10695 (output_dir): New variable.
10696 (options): Add "output-dir" option.
10697 (parse_opt): Handle 'o' case.
10698 (main): If output_dir is non-NULL use it as a prefix
10699 otherwise use "".
10700 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10701
a01f19c8
CD
107022013-04-06 Carlos O'Donell <carlos@redhat.com>
10703
10704 [BZ #10060, #10062]
10705 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10706 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10707 fail configure if __sync_val_compare_and_swap is not inlined.
10708 * sysdeps/i386/configure: Regenerate.
10709 * configure.in: Build for i686 when configured for i386.
10710 * configure: Regenerate.
10711 * README: Remove i386 reference.
10712
b7a329a5
CD
107132013-04-06 Carlos O'Donell <carlos@redhat.com>
10714
10715 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10717
bf0f50df
TS
107182013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10719
ee091edf
TS
10720 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10721 (lmsnanval): New variables.
10722 (F): Add conversion tests.
10723 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10724 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10725
a8b792d6
TS
10726 * stdio-common/tstdiomisc.c (F): Properly collect individual
10727 tests' results.
10728
a1cbf437
TS
10729 [BZ #14686, #15336]
10730 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10731 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10732 Instead, use input NaN values or generate a qNaN by arithmetic
10733 operation. Also fix bugs to comply with the standard.
10734 * math/libm-test.inc (remainder_test): Add more tests.
10735
8b43a0c9
TS
10736 [BZ #15335, #15342]
10737 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10739 input NaN values or generate a qNaN by arithmetic operation.
10740
d91da4ce
TS
10741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10742 unreachable code.
10743
bf0f50df
TS
10744 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10745 definitions.
10746
05e166c8
JM
107472013-04-03 Joseph Myers <joseph@codesourcery.com>
10748
10749 [BZ #14478]
10750 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10751 underflowed result.
10752 * math/s_cexpf.c (__cexpf): Likewise.
10753 * math/s_cexpl.c (__cexpl): Likewise.
10754 * math/libm-test.inc (cexp_test): Add more tests.
10755
1cef1b19
AS
107562013-04-03 Andreas Schwab <schwab@suse.de>
10757
10758 [BZ #15330]
10759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10760 order arrays from heap if bigger than alloca cutoff.
10761
74d87055
TS
107622013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10763
10764 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10765 (SNAN_TESTS_double): Refer to GCC PR56831.
10766 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10767 GCC PR56828.
10768
d755bba4
SP
107692013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10770
90d5d5bb
SP
10771 * Rules (bench): Move bench.out after the run is complete.
10772
73e0cd5d
SP
10773 * Rules (bench): Echo currently running benchmark.
10774
64aabd4b
SP
10775 * benchtests/Makefile (bench): Add atan and slowatan.
10776 * benchtests/atan-inputs: New file.
10777 * benchtests/slowatan-inputs: New file.
10778 * benchtests/slowatan.c: New file.
10779
c871eccd
SP
10780 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10782 its value.
10783
d755bba4
SP
10784 [BZ #15305]
10785 * sysdeps/unix/sysv/linux/kernel-features.h
10786 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10787 __ASSUME_XFS_RESTRICTED_CHOWN.
10788 * sysdeps/unix/sysv/linux/pathconf.c
10789 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10790 Save and restore errno.
10791
52ce4860
JM
107922013-04-02 Joseph Myers <joseph@codesourcery.com>
10793
10794 [BZ #15327]
10795 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10796 arguments using __kernel_casinh.
10797 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10798 arguments using __kernel_casinhf.
10799 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10800 arguments using __kernel_casinhl.
10801 * math/libm-test.inc (cacosh_test): Add more tests.
10802 * sysdeps/i386/fpu/libm-test-ulps: Update.
10803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10804
81f311c2
SP
108052013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10806
e7906a47
SP
10807 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10809
92e3664b
SP
10810 * bench/Makefile (bench): Add sin and slowsin.
10811 * benchtests/sin-inputs: New file.
10812 * benchtests/slowsin-inputs: New file.
10813 * benchtests/slowsin.c: New file.
10814
81f311c2
SP
10815 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10816 (bench): Add slowexp and slowpow.
10817 (exp-ITER): Increase iterations.
10818 (pow-ITER): Likewise.
10819 * benchtests/exp-inputs: Change input.
10820 * benchtests/pow-inputs: Likewise.
10821 * benchtests/slowexp-inputs: New file.
10822 * benchtests/slowexp.c: New file.
10823 * benchtests/slowpow-inputs: New file.
10824 * benchtests/slowpow.c: New file.
10825
ab0f1aa9
AZ
108262013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10827
10828 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10829 instructions.
10830 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10831 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10832 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10833 * benchtests/Makefile: Add rint benchtest.
10834 * benchtests/rint-inputs: Input for rint benchtest.
10835
57267616
TS
108362013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10837
10838 * Versions.def (libm): Add GLIBC_2.18.
10839 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10840 hidden libm prototypes.
10841 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10842 * math/Makefile (libm-calls): Add s_issignaling.
10843 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10844 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10845 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10846 declaration.
10847 * math/math.h [__USE_GNU] (issignaling): New macro.
10848 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10849 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10850 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10851 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10854 * manual/arith.texi (issignaling): New section.
10855 * manual/libm-err-tab.pl (@all_functions): Update comment.
10856 * math/gen-libm-test.pl (parse_args): Apply special handling for
10857 issignaling.
10858 * math/libm-test.inc (print_float, issignaling_test): New
10859 functions.
10860 (check_float_internal): Add issignaling checks.
10861 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10862 default definition.
10863 * sysdeps/powerpc/math-tests.h: New file.
10864 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10865 tests.
10866 * math/test-snan.c (TEST_FUNC): Likewise.
10867
6142896d
DM
108682013-03-30 David S. Miller <davem@davemloft.net>
10869
10870 * po/de.po: Update from translation team.
10871
ccc8cadf
JM
108722013-03-30 Joseph Myers <joseph@codesourcery.com>
10873
10874 [BZ #10357]
10875 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10876 imaginary part less than 1.0 and real part less than 0.5
10877 specially.
10878 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10879 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10880 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10881 (cacos_test): Add more tests.
10882 (casin_test): Likewise.
10883 (casinh_test): Likewise.
10884 * sysdeps/i386/fpu/libm-test-ulps: Update.
10885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10886
0f6a8d4b
SP
108872013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10888
0d1029de
SP
10889 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10890 ONE with its value.
10891
c2d94018
SP
10892 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10893 (__pow_mp): Replace ONE and MONE with their values.
10894 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10896 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10897 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10898 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10899 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10900
27ec37f1
SP
10901 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10902
a64d7e0e
SP
10903 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10904 (__pow_mp): Replace ZERO and MZERO with their values.
10905 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10906 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10907 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10909 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10910 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10911 (__sqr): Likewise.
10912
d26dd3eb
SP
10913 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10914
0f6a8d4b
SP
10915 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10916
e57b0c61
RM
109172013-03-28 Roland McGrath <roland@hack.frob.com>
10918
10919 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10920 Declare with __attribute__ ((weak)).
10921 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10922 Call __call_tls_dtors only if it's not NULL.
10923
356b3480
RM
109242013-03-28 Roland McGrath <roland@hack.frob.com>
10925
288f7d79
RM
10926 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10927 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10928 magic __ehdr_start linker symbol if it's defined.
10929 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10930 them up here if it was already done.
10931
dc0a0263
RM
10932 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10933 (_dl_aux_init): Use const in cast when setting it.
10934 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10935 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10936 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10937
3d3436ae
RM
10938 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10939 Declare them here.
10940 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10941 * csu/libc-tls.c: Nor here.
10942 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10943
356b3480
RM
10944 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10945 (__libc_message): Never call vsyslog.
10946
b0f1246a
AM
109472013-03-28 Alan Modra <amodra@gmail.com>
10948
10949 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10950 Define as empty.
10951 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10952 Likewise.
10953
fbbe2b9a
AZ
109542013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10955
10956 [BZ #15214]
10957 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10958 underflow.
10959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10960
1728ab37
SP
109612013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10962
7a86be6e
SP
10963 [BZ #15304]
10964 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10965 Don't add gid passed as argument.
10966
1728ab37
SP
10967 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10968
3a7182a1
JM
109692013-03-27 Joseph Myers <joseph@codesourcery.com>
10970
10971 [BZ #15307]
10972 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10973 imaginary part between 1.0 and 1.5 and real part less than 0.5
10974 specially.
10975 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10976 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10977 * math/libm-test.inc (cacos_test): Add more tests.
10978 (casin_test): Likewise.
10979 (casinh_test): Likewise.
10980 * sysdeps/i386/fpu/libm-test-ulps: Update.
10981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10982
6f2e90e7
SP
109832013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10984
5739f705
SP
10985 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10986 constants.
10987 (norm): Likewise.
10988 (denorm): Likewise.
10989 (__dbl_mp): Likewise.
10990 (add_magnitudes): Likewise.
10991 (sub_magnitudes): Likewise.
10992 (__add): Likewise.
10993 (__sub): Likewise.
10994 (__mul): Likewise.
10995 (__sqr): Likewise.
10996 (__inv): Likewise.
10997 (__dvd): Likewise.
10998
e375e83d
SP
10999 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11000 commented code.
11001 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11002 (__dubcos): Likewise.
11003 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11004 (__ieee754_acos): Likewise.
11005 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11007 (__exp1): Likewise.
11008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11010 (log1): Likewise.
11011 (my_log2): Likewise.
11012 (checkint): Likewise.
11013 * sysdeps/ieee754/dbl-64/e_remainder.c
11014 (__ieee754_remainder): Likewise.
11015 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11017 (bsloww): Likewise.
11018 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11019
6f2e90e7
SP
11020 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11021 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11022 MANTISSA_STORE_T to store computations on mantissa. Use
11023 macros for rounding and division.
11024 (denorm): Likewise.
11025 (__dbl_mp): Likewise.
11026 (add_magnitudes): Likewise.
11027 (sub_magnitudes): Likewise.
11028 (__mul): Likewise.
11029 (__sqr): Likewise.
11030 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11031 powers of two in terms of TWOPOW macro.
11032 (mp_no): Make type of mantissa as MANTISSA_T.
11033 [!RADIXI]: Define RADIXI.
11034 [!TWO52]: Define TWO52.
11035 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11036
fce14d4e
AZ
110372013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11038
11039 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11040 llroundl symbol when building for PPC32.
11041
9ad027fb
MW
110422013-03-24 Mark H Weaver <mhw@netris.org>
11043
11044 * manual/arith.texi (Normalization Functions): Fix prototypes for
11045 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11046
e42a38dd
AZ
110472013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11048
11049 [BZ #13889]
11050 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11051 high value to check if expl overflow.
11052 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11053 to check for underflow and overflow.
11054 * math/libm-test.inc: Add exp test.
11055
2e0fb521
DL
110562013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11057
11058 [BZ #11120]
11059 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11060 with NOT_IN_libc.
11061
b5784d95
AZ
110622013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11063
11064 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11065 symbol.
11066
5aa4a1a1
TS
110672013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11068
bdef0be7
TS
11069 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11070 wrap blocks consisting of several statements.
11071
5aa4a1a1
TS
11072 * sysdeps/generic/math-tests.h: New file.
11073 * sysdeps/i386/fpu/math-tests.h: Likewise.
11074 * math/test-snan.c: Include it.
11075 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11076
98c48fe5
JM
110772013-03-21 Joseph Myers <joseph@codesourcery.com>
11078
11079 [BZ #15285]
11080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11081 (__ieee754_j0l): Do not improve calculations using cos of twice
11082 input for inputs above LDBL_MAX / 2.0L.
11083 (__ieee754_y0l): Likewise.
11084 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11085 (__ieee754_j1l): Do not improve calculations using cos of twice
11086 input for inputs above LDBL_MAX / 2.0L.
11087 (__ieee754_y1l): Likewise.
11088 * math/libm-test.inc (j0_test): Add another test.
11089 (j1_test): Likewise.
11090 (y0_test): Likewise.
11091 (y1_test): Likewise.
11092 * sysdeps/i386/fpu/libm-test-ulps: Update.
11093
3775a8bc
SP
110942013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11095
11096 * Rules ($(objpfx)bench-%.c): Include code from a C source
11097 file.
11098
0a1b2ae6
JM
110992013-03-21 Joseph Myers <joseph@codesourcery.com>
11100
11101 [BZ #15287]
11102 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11103 imaginary part 1.0 and real part less than 0.5 specially.
11104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11106 * math/libm-test.inc (cacos_test): Add more tests.
11107 (casin_test): Likewise.
11108 (casinh_test): Likewise.
11109 * sysdeps/i386/fpu/libm-test-ulps: Update.
11110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11111
b33d4ce4
SP
111122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11113
11114 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11115 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11116
bef0b507
JM
111172013-03-20 Joseph Myers <joseph@codesourcery.com>
11118
11119 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11120 * config.make.in (config-cflags-sse4): Remove variable.
11121 (config-cflags-avx): Likewise.
11122 (config-cflags-sse2avx): Likewise.
11123 (config-cflags-novzeroupper): Likewise.
11124 (config-asflags-i686): Likewise.
11125 (have-mfma4): Likewise.
11126 (have-as-vis3): Likewise.
11127 (MIG): Likewise.
11128 * configure.in (MIG): Do not AC_SUBST.
11129 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11130 (libc_cv_cc_sse4): Do not AC_SUBST.
11131 (libc_cv_cc_avx): Likewise.
11132 (libc_cv_cc_sse2avx): Likewise.
11133 (libc_cv_cc_novzeroupper): Likewise.
11134 (libc_cv_cc_fma4): Likewise.
11135 (libc_cv_as_i686): Likewise.
11136 (libc_cv_sparc_as_vis3): Likewise.
11137 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11138 LIBC_CONFIG_VAR.
11139 (config-asflags-i686): Likewise.
11140 (config-cflags-avx): Likewise.
11141 (config-cflags-sse2avx): Likewise.
11142 (have-mfma4): Likewise.
11143 (config-cflags-novzeroupper): Likewise.
11144 * sysdeps/mach/configure.in (MIG): Likewise.
11145 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11146 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11147 LIBC_CONFIG_VAR.
11148 (config-cflags-avx): Likewise.
11149 (config-cflags-sse2avx): Likewise.
11150 (have-mfma4): Likewise.
11151 (config-cflags-novzeroupper): Likewise.
11152 * configure: Regenerated.
11153 * sysdeps/i386/configure: Likewise.
11154 * sysdeps/mach/configure: Likewise.
11155 * sysdeps/sparc/configure: Likewise.
11156 * sysdeps/x86_64/configure: Likewise.
11157
912cc4b3
RM
111582013-03-20 Roland McGrath <roland@hack.frob.com>
11159
11160 [BZ #14812]
11161 * locale/programs/localedef.c (options): Put N_ translation marker
11162 on argument names, not just descriptions.
11163
04eed2b0
MS
111642013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11165
11166 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11167
a065ceff
OB
111682013-03-20 Ondřej Bílka <neleai@seznam.cz>
11169
9bb2a810 11170 [BZ #14176]
a065ceff
OB
11171 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11172
a600e5ce
RM
111732013-03-19 Roland McGrath <roland@hack.frob.com>
11174
11175 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11176 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11177 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11178 [!BEFORE_ABORT] (before_abort): New function.
11179 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11180 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11181 (writev_for_fatal): New function.
11182 (WRITEV_FOR_FATAL): New macro; call that.
11183 (backtrace_and_maps): New function.
11184 (BEFORE_ABORT): New macro; call that.
11185 (struct str_list): Type removed.
11186 (__libc_message, __libc_fatal): Functions removed.
11187 Include <sysdeps/posix/libc_fatal.c> instead.
11188
6b18bea6
JM
111892013-03-19 Joseph Myers <joseph@codesourcery.com>
11190
11191 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11192 constants.
11193 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11194 double constants.
11195
aaa8cb4b
AS
111962013-03-19 Andreas Schwab <schwab@suse.de>
11197
44673770
AS
11198 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11199 * sysdeps/gnu/configure: Regenerate.
11200
aaa8cb4b
AS
11201 * configure.in: Substitute libc_cv_rtlddir.
11202 * configure: Regenerate.
11203 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11204 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11205 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11206 * elf/Makefile (install-others, CFLAGS-interp.c)
11207 (ldso_install, common-ldd-rewrite): Likewise.
11208 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11209 $(inst_slibdir)/$(rtld-installed-name).
11210 * scripts/rellns-sh: Add -p option.
11211 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11212 for source.
11213
d3cfc668
SP
112142013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11215
11216 * manual/nptl.texi: Renamed to ...
11217 * manual/threads.texi: ... this.
11218 * manual/Makefile (chapters): Update.
11219
0e2b9cdd
RM
112202013-03-18 Roland McGrath <roland@hack.frob.com>
11221
11222 [BZ #14812]
11223 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11224 on argument names, not just descriptions.
0e2b9cdd
RM
11225 * malloc/memusagestat.c (options): Likewise.
11226 * nss/getent.c (options): Likewise.
63270c24
RM
11227
112282013-03-18 Benno Schulenberg <bensberg@justemail.net>
11229
11230 [BZ #14812]
11231 * iconv/iconv_prog.c (options): Put N_ translation marker
11232 on argument names, not just descriptions.
11233 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 11234
b2e1393c
OB
112352013-03-18 Ondrej Bilka <neleai@seznam.cz>
11236
11237 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11238 implementation which is faster on all x86_64 architectures.
11239 Tested on AMD, Intel Nehalem, SNB, IVB.
11240 * sysdeps/x86_64/strnlen.S: Likewise.
11241
11242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11243 Remove all multiarch strlen and strnlen versions.
11244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11245 Remove strlen and strnlen related parts.
11246
11247 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11248 Inline strlen part.
11249 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11250
11251 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11252 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11253 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11254 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11255 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11256 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11257
ec4ff04d
CD
112582013-03-17 Carlos O'Donell <carlos@redhat.com>
11259
11260 * manual/memory.texi (Malloc Tunable Parameters):
11261 Sort parameters alphabetically. Add comments for missing entries.
11262
cd18e90a
DM
112632013-03-17 David S. Miller <davem@davemloft.net>
11264
11265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11266
2a185d32
JM
112672013-03-16 Joseph Myers <joseph@codesourcery.com>
11268
d2f9799e
JM
11269 [BZ #15283]
11270 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11271 for arguments at most half maximum finite value.
11272 * math/libm-test.inc (j0_test): Add more tests.
11273 (j1_test): Likewise.
11274 (y0_test): Likewise.
11275 (y1_test): Likewise.
11276 * sysdeps/i386/fpu/libm-test-ulps: Update.
11277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11278
2a185d32
JM
11279 [BZ #14155]
11280 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11281 1 / x and functions P and Q for arguments above 0x1p256L.
11282 (__ieee754_y0l): Likewise.
11283 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11284 (__ieee754_y1l): Likewise.
11285 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11286 (j1_test): Likewise.
11287 (y0_test): Likewise.
11288 (y1_test): Likewise.
11289
6cbec759
TS
112902013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11291
11292 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11293 variable.
11294
bc16e260
RM
112952013-03-15 Roland McGrath <roland@hack.frob.com>
11296
aefc9b8c
RM
11297 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11298 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11299 zero since it's initialized to EXEC_PAGESIZE.
11300
bc16e260
RM
11301 * sysdeps/unix/sysv/linux/ldsodefs.h
11302 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11303 * sysdeps/generic/ldsodefs.h: ... here.
11304
a57da955
TS
113052013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11306
af00a34d
TS
11307 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11308
495ded2c
TS
11309 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11310 math/test-snan.c.
11311 * math/test-snan.c: Renamed from
11312 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11313 * math/Makefile (tests): Add test-snan.
11314 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11315 test-powerpc-snan.
11316
777b0332
TS
11317 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11318 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11319 functions.
11320 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11321 __builtin_nan family of functions.
11322 * math/libm-test.inc (initialize): Initialize qnan_value with
11323 __builtin_nan family of functions.
11324 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11325 Remove variables.
11326 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11327 Remove functions.
11328 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11329 storage class. Initialize qNaN_var and sNaN_var with
11330 __builtin_nan and __builtin_nans families of functions,
11331 respectively.
11332
64d063b8
TS
11333 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11334 (sqrt_test): Remove duplicate test with qNaN input.
11335 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11336 (round_test, signbit_test, significand_test): Note missing +/-Inf
11337 as well as qNaN tests.
11338
67e971f1
TS
11339 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11340 qNaN_var. Fix a few strings, too.
11341 * math/libm-test.inc (nan_value): Rename to qnan_value.
11342 * math/gen-libm-test.pl (%beautify): Adjust to that.
11343 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11344 * math/test-misc.c (main): Likewise.
11345 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11346 to __qnan_bytes, and __qnan_union, respectively.
11347 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11348 Likewise.
11349 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11350 and lqnanval, respectively.
11351 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11352 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11353 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11354 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11355
64487e12
TS
11356 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11357 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11358 doubles.
11359
e015e27b
TS
11360 * math/test-misc.c (main): Fix copy'n'pastos.
11361 * misc/tst-efgcvt.c (special): Likewise.
11362
a57da955
TS
11363 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11364 Remove declarations.
11365
1e380345
SP
113662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11367
11368 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11369 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11370 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11371 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11372
ef26eece
AZ
113732013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11374
11375 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11376 macro to return vdso values correctly in IFUNC implementations.
11377 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11378 Optimization by using IFUNC.
11379
8cfdb7e0
SP
113802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11381 Richard Henderson <rth@redhat.com>
11382 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11383
11384 * Makefile.in (bench): New target.
11385 * NEWS: Mention the benchmark framework.
11386 * Rules (bench): Likewise.
11387 (binaries-bench): Generate binaries for functions to
11388 benchmark.
11389 * benchtests/Makefile: New makefile for benchmark tests.
11390 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11391 programs.
11392 * benchtests/exp-inputs: New input file for EXP function.
11393 * benchtests/pow-inputs: New input file for POW function.
11394 * scripts/bench.pl: New script to generate source files for
11395 benchmark programs.
11396
bcda9880
SP
113972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11398
d22ca8cd
SP
11399 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11400 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11401 computations on mantissa. Use macros for rounding and
11402 division.
11403 (denorm): Likewise.
11404 (__dbl_mp): Likewise.
11405 (add_magnitudes): Likewise.
11406 (sub_magnitudes): Likewise.
11407 (__mul): Likewise.
11408 (__sqr): Likewise.
11409 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11410 powers of two in terms of TWOPOW macro.
11411 (mp_no): Make type of mantissa as MANTISSA_T.
11412 [!RADIXI]: Define RADIXI.
11413 [!TWO52]: Define TWO52.
11414 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11415
bcda9880
SP
11416 * manual/nptl.texi (cindex): Modify threads to pthreads.
11417
06d5adfb
JM
114182013-03-15 Joseph Myers <joseph@codesourcery.com>
11419
11420 * sysdeps/x86_64/preconfigure: Regenerated.
11421
41c7328e
JM
114222013-03-14 Joseph Myers <joseph@codesourcery.com>
11423
11424 [BZ #14155]
11425 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11426 0x1p28 and above.
11427 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11428 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11429 0x1p28 and above.
11430 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11431 * math/libm-test.inc (j0_test): Do not allow one spurious
11432 underflow exception.
11433 (y1_test): Likewise.
11434
e25cfa60
SP
114352013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11436
0409959c
SP
11437 * manual/Makefile (chapters): Add nptl.
11438 * manual/debug.texi (Debugging Support): Add link to Threads
11439 chapter.
11440 * manual/nptl.texi: New file.
11441
e25cfa60
SP
11442 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11443
58a1335e
PB
114442013-03-14 Petr Baudis <pasky@ucw.cz>
11445
11446 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11447 for non-NULL pointer before the memory validity test. Pointed
11448 out by Holger Brunck <holger.brunck@keymile.com>.
11449
9dc7c64f
AS
114502013-03-13 Andreas Schwab <schwab@suse.de>
11451
11452 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11453 instead of .os.
11454
54206aa6
JM
114552013-03-13 Joseph Myers <joseph@codesourcery.com>
11456
11457 * timezone/zic.c: Update from tzcode 2013b.
11458
e98cdb38
CD
114592013-03-12 Carlos O'Donell <carlos@redhat.com>
11460
11461 * manual/install.texi (Configuring and compiling):
11462 Mention i686 and i586.
11463 * INSTALL: Regenerate.
11464
9967e003
RM
114652013-03-12 Roland McGrath <roland@hack.frob.com>
11466
11467 * sysdeps/init_array/elf-init.c: New file.
11468 * csu/elf-init.c
11469 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11470 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11471
11472 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11473 __gmon_start__ as global, but as static with a .preinit_array pointer.
11474 * sysdeps/init_array/gmon-start.c: New file. Use that.
11475 * sysdeps/init_array/crti.S: New file, empty except for comments.
11476 * sysdeps/init_array/crtn.S: Likewise.
11477
e6b5a293 114782013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11479
11480 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11481 definining bcopy.
80f844c9
OB
11482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11483 Remove Prefer_SSE_for_memop.
11484 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11485 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11486 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11488 memset-x86-64.
80f844c9 11489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11490 Remove bzero, memset ifunc support.
80f844c9
OB
11491 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11492 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11493 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11494 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11495
fb6b0fcb
AS
114962013-03-11 Andreas Schwab <schwab@suse.de>
11497
11498 [BZ #15234]
11499 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11500 by SHLIB_COMPAT.
11501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11502 (GLIBC_2.16): Remove pthread_atfork.
11503
3e6bd4b1
PP
115042013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11505
11506 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11507 (ptestcases.h): Likewise.
11508
222d7f00
RM
115092013-03-08 Roland McGrath <roland@hack.frob.com>
11510
11511 * Makeconfig ($(common-objpfx)config.status): Depend on
11512 sysdeps/*/preconfigure{,.in} too.
11513
1ba4f030
JM
115142013-03-08 Joseph Myers <joseph@codesourcery.com>
11515
a222d91a
JM
11516 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11517 (__free_hook): Use void * instead of __malloc_ptr_t.
11518 (__malloc_hook): Likewise.
11519 (__realloc_hook): Likewise.
11520 (__memalign_hook): Likewise.
11521 (__after_morecore_hook): Likewise.
11522 * malloc/arena.c (save_malloc_hook): Likewise.
11523 (save_free_hook): Likewise.
11524 * malloc/hooks.c (malloc_hook_ini): Likewise.
11525 (realloc_hook_ini): Likewise.
11526 (memalign_hook_ini): Likewise.
11527 * malloc/malloc.c (malloc_hook_ini): Likewise.
11528 (realloc_hook_ini): Likewise.
11529 (memalign_hook_ini): Likewise.
11530 (__free_hook): Likewise.
11531 (__malloc_hook): Likewise.
11532 (__realloc_hook): Likewise.
11533 (__memalign_hook): Likewise.
11534 (__libc_malloc): Likewise.
11535 (__libc_free): Likewise.
11536 (__libc_realloc): Likewise.
11537 (__libc_memalign): Likewise.
11538 (__libc_valloc): Likewise.
11539 (__libc_pvalloc): Likewise.
11540 (__libc_calloc): Likewise.
11541 (__posix_memalign): Likewise.
11542 * malloc/morecore.c (__sbrk): Likewise.
11543 (__default_morecore): Likewise.
11544
5cc45e10
JM
11545 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11546
dd54b864
JM
11547 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11548 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11549 __malloc_ptrdiff_t.
11550
1ba4f030
JM
11551 * malloc/malloc.h (__malloc_size_t): Remove macro.
11552 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11553 __malloc_size_t.
11554 (old_memalign_hook): Likewise.
11555 (old_realloc_hook): Likewise.
11556 (struct hdr): Likewise.
11557 (flood): Likewise.
11558 (mallochook): Likewise.
11559 (memalignhook): Likewise.
11560 (reallochook): Likewise.
11561 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11562 (tr_old_realloc_hook): Likewise.
11563 (tr_old_memalign_hook): Likewise.
11564 (tr_mallochook): Likewise.
11565 (tr_reallochook): Likewise.
11566 (tr_memalignhook): Likewise.
11567
edf66e57
AZ
115682013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11569
11570 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11571 default_ldbl_pack and using as default implementation.
11572 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11573 implementation.
11574 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11575 redundant definition.
11576 (ldbl_insert_mantissa): Likewise.
11577 (ldbl_canonicalize): Likewise.
11578 (ldbl_nearbyint): Likewise.
11579 (ldbl_pack): Rename to ldbl_pack_ppc.
11580 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11581 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11582 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11583
6d9145d8
SP
115842013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11585
11586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11587 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11588 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11589 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11591 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11592 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11593 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11594
4dd4e157
AJ
115952013-03-07 Andreas Jaeger <aj@suse.de>
11596
11597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11598 bits/mman-linux.h.
11599
adbb8027
SP
116002013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11601
ce544b5b
SP
11602 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11603 Include mpa.h and declare __MPEXP.
11604 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11605 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11606 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11607 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11608 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11609 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11610 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11611
4cc149fd
SP
11612 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11613 (__slowpow): Use long double EXPL and LOGL functions to
11614 compute POW.
11615 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11616 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11617 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11618 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11619 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11620 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11621
e6ebd4a7
SP
11622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11623 intermediate variable to calculate exponent.
11624 (__sqr): Likewise.
11625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11626 Likewise.
11627 (__sqr): Likewise.
11628
82a9811d
SP
11629 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11630 [!NO__SQR]: Define __sqr.
11631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11632 and NO__SQR. Remove all code except __mul and __sqr. Include
11633 sysdeps/ieee754/dbl-64/mpa.c.
11634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11635
adbb8027
SP
11636 [BZ #12723]
11637 * posix/Makefile (tests): Add tst-pathconf.
11638 * posix/tst-pathconf.c: New test case.
11639 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11640 _PC_PIPE_BUF.
11641 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11642
39120df9
PF
116432013-03-06 Patsy Franklin <pfrankli@redhat.com>
11644
11645 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11646
67525cb8
AJ
116472013-03-06 Andreas Jaeger <aj@suse.de>
11648
664a9ce4
AJ
11649 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11650 definition via __MAP_ANONYMOUS.
11651
8e39047d
AJ
11652 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11653 it's not part of Linux headers.
11654
67525cb8
AJ
11655 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11656 (MAP_HUGE_MASK): Define.
11657
11658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11659 Define.
11660 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11661 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11662 Define.
11663 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11664 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11665 Define.
11666 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11668 Define.
11669 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11670
11671 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11672 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11673 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11674 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11675 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11676 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11677
11678 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11679 Handle f2fs.
11680
11681 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11682 Handle f2fs and efivarfs.
11683
11684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11685 f2fs.
11686
11687 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11688 (EFIVARFS_MAGIC): Add.
11689 (F2FS_LINK_MAX): Add.
11690
e1b42695
PP
116912013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11692
11693 * stdio-common/vfprintf.c: Replace __builtin_expect with
11694 __glibc_unlikely.
11695
2d67d91a
JM
116962013-03-06 Joseph Myers <joseph@codesourcery.com>
11697
11698 [BZ #13550]
11699 * sysdeps/generic/bp-sym.h: Remove file.
11700 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11701 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11702 <bp-sym.h> and <bp-asm.h>.
11703 (__longjmp): Don't use BP_SYM.
11704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11705 and <bp-asm.h>.
11706 (memcpy): Don't use BP_SYM.
11707 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11708 <bp-sym.h> and <bp-asm.h>.
11709 (memcpy): Don't use BP_SYM.
11710 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11711 <bp-asm.h>.
11712 (memcpy): Don't use BP_SYM.
11713 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11714 <bp-asm.h>.
11715 (memset): Don't use BP_SYM.
11716 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11717 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11718 (__bzero): Don't use BP_SYM.
11719 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11720 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11721 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11722 <bp-sym.h> and <bp-asm.h>.
11723 (memcmp): Don't use BP_SYM. Remove comment about bounded
11724 pointers.
11725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11726 <bp-sym.h> and <bp-asm.h>.
11727 (memcpy): Don't use BP_SYM.
11728 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11729 <bp-sym.h> and <bp-asm.h>.
11730 (memset): Don't use BP_SYM.
11731 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11732 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11733 (__bzero): Don't use BP_SYM.
11734 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11735 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11736 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11737 <bp-sym.h> and <bp-asm.h>.
11738 (strncmp): Don't use BP_SYM. Remove comment about bounded
11739 pointers.
11740 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11741 <bp-sym.h> and <bp-asm.h>.
11742 (memcpy): Don't use BP_SYM.
11743 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11744 <bp-sym.h> and <bp-asm.h>.
11745 (memset): Don't use BP_SYM.
11746 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11747 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11748 (__bzero): Don't use BP_SYM.
11749 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11750 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11752 <bp-sym.h> and <bp-asm.h>.
11753 (__memchr): Don't use BP_SYM.
11754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11755 <bp-sym.h> and <bp-asm.h>.
11756 (memcmp): Don't use BP_SYM. Remove comment about bounded
11757 pointers.
11758 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11759 <bp-sym.h> and <bp-asm.h>.
11760 (memcpy): Don't use BP_SYM.
11761 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11762 <bp-sym.h> and <bp-asm.h>.
11763 (__mempcpy): Don't use BP_SYM.
11764 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11765 <bp-sym.h> and <bp-asm.h>.
11766 (__memrchr): Don't use BP_SYM.
11767 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11768 <bp-sym.h> and <bp-asm.h>.
11769 (memset): Don't use BP_SYM.
11770 (__bzero): Likewise.
11771 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11772 <bp-sym.h> and <bp-asm.h>.
11773 (__rawmemchr): Don't use BP_SYM.
11774 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11775 <bp-sym.h> and <bp-asm.h>.
11776 (__STRCMP): Don't use BP_SYM.
11777 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11778 <bp-sym.h> and <bp-asm.h>.
11779 (strchr): Don't use BP_SYM.
11780 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11781 <bp-sym.h> and <bp-asm.h>.
11782 (__strchrnul): Don't use BP_SYM.
11783 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11784 <bp-sym.h> and <bp-asm.h>.
11785 (strlen): Don't use BP_SYM.
11786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11787 <bp-sym.h> and <bp-asm.h>.
11788 (strncmp): Don't use BP_SYM. Remove comment about bounded
11789 pointers.
11790 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11791 <bp-sym.h> and <bp-asm.h>.
11792 (__strnlen): Don't use BP_SYM.
11793 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11794 <bp-sym.h> and <bp-asm.h>.
11795 (__GI__setjmp): Don't use BP_SYM.
11796 (_setjmp): Likewise.
11797 (__sigsetjmp): Likewise.
11798 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11799 (L(start_addresses)): Don't use BP_SYM.
11800 (_start): Likewise.
11801 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11802 <bp-asm.h>.
11803 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11804 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11805 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11806 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11807 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11808 <bp-asm.h>.
11809 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11810 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11811 about bounded pointers.
11812 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11813 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11814 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11815 <bp-asm.h>.
11816 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11817 about bounded pointers. Remove GKM FIXME comments.
11818 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11819 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11820 <bp-asm.h>.
11821 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11822 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11823 Remove GKM FIXME comments.
11824 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11825 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11826 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11827 <bp-asm.h>.
11828 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11829 about bounded pointers. Remove GKM FIXME comment.
11830 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11831 and <bp-asm.h>.
11832 (strncmp): Don't use BP_SYM. Remove comment about bounded
11833 pointers.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11835 <bp-sym.h> and <bp-asm.h>.
11836 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11838 <bp-sym.h> and <bp-asm.h>.
11839 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11840 comment.
11841
cdcf361f
PP
118422013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11843
11844 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11845 call free(NULL).
11846
3c4a2b15
DM
118472013-03-05 David S. Miller <davem@davemloft.net>
11848
11849 * po/es.po: Update from translation team.
11850
cdcf361f 118512013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11852
11853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11854 <bits/mman-linux.h>.
11855 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11856 is fine.
11857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11858 <bits/mman-linux.h> to end of file.
11859 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11860 is fine.
11861 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11862 <bits/mman-linux.h> to end of file.
11863 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11864 is fine.
11865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11866 <bits/mman-linux.h> to end of file.
11867
11868 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11869 (MCL_CURRENT, MCL_FUTURE): Define here.
11870
5f67c04f
AK
118712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11872
8a4473cc 11873 [BZ #15232]
5f67c04f
AK
11874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11875 attribute_hidden.
11876 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11877
c3e94a95
AK
118782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11879
11880 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11881 fourth parameter needed for rt_sigprocmask syscall.
11882 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11883 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11884 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11885 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11886 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11887 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11888
cfb6382a
JM
118892013-03-04 Joseph Myers <joseph@codesourcery.com>
11890
11891 [BZ #13550]
11892 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11893 comment about bounded pointers.
11894 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11895 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11896
539d8e01
AJ
118972013-03-04 Andreas Jaeger <aj@suse.de>
11898
11899 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11900 common definitions.
11901
11902 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11903 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11904 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11908
2e167a70 119092013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11910
11911 [BZ #15055]
11912 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11913 __ieee754_sqrl instead of __sqrl.
11914
68508633
JM
119152013-03-01 Joseph Myers <joseph@codesourcery.com>
11916
11917 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11918 * sysdeps/powerpc/fpu_control.h: ... here.
11919 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11920 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11921 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11922 * sysdeps/powerpc/bits/mathinline.h: ... here.
11923
7775448e
RM
119242013-03-01 Roland McGrath <roland@hack.frob.com>
11925
11926 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11927 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11928 to just [NEED_DL_SYSINFO_DSO].
11929 * elf/dl-support.c: Likewise.
11930 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11931 * elf/rtld.c (dl_main): Likewise.
11932 * elf/setup-vdso.h (setup_vdso): Likewise.
11933 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11934 * sysdeps/unix/sysv/linux/dl-sysdep.c
11935 (_dl_discover_osversion): Likewise.
11936
4e9b5995
CD
119372013-03-01 Carlos O'Donell <carlos@redhat.com>
11938
11939 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11940 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11941
e23872c8
SP
119422013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11943
e5c74c63
SP
11944 * NEWS: Mention libm performance improvements and non-x86 PI
11945 futex support.
11946
e23872c8
SP
11947 * csu/libc-start.c (__pthread_initialize_minimal): Change
11948 function arguments.
11949 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11950
b5510883
JM
119512013-02-28 Joseph Myers <joseph@codesourcery.com>
11952
11953 [BZ #13550]
11954 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11955 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11956 <bp-sym.h> and <bp-asm.h>.
11957 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11958 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11959 and <bp-asm.h>.
11960 (memcpy): Don't use BP_SYM.
11961 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11962 <bp-asm.h>.
11963 (__mpn_add_n): Don't use BP_SYM.
11964 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11965 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11966 and <bp-asm.h>.
11967 (__mpn_addmul_1): Don't use BP_SYM.
11968 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11969 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11970 <bp-sym.h>.
11971 (_setjmp): Don't use BP_SYM.
11972 (__novmx_setjmp): Likewise.
11973 (__GI__setjmp): Likewise.
11974 (__vmx_setjmp): Likewise.
11975 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11976 <bp-sym.h>.
11977 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11978 (__bzero): Don't use BP_SYM.
11979 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11980 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11982 <bp-sym.h> and <bp-asm.h>.
11983 (memcpy): Don't use BP_SYM.
11984 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11985 <bp-sym.h> and <bp-asm.h>.
11986 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11987 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11988 <bp-sym.h> and <bp-asm.h>.
11989 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11990 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11991 <bp-asm.h>.
11992 (__mpn_lshift): Don't use BP_SYM.
11993 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11994 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11995 <bp-asm.h>.
11996 (memset): Don't use BP_SYM.
11997 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11998 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11999 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12000 <bp-asm.h>.
12001 (__mpn_mul_1): Don't use BP_SYM.
12002 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12003 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12004 <bp-sym.h> and <bp-asm.h>.
12005 (memcmp): Don't use BP_SYM.
12006 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12007 <bp-sym.h> and <bp-asm.h>.
12008 (memcpy): Don't use BP_SYM.
12009 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12010 <bp-sym.h> and <bp-asm.h>.
12011 (memset): Don't use BP_SYM.
12012 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12013 <bp-sym.h> and <bp-asm.h>.
12014 (strncmp): Don't use BP_SYM.
12015 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12016 <bp-sym.h> and <bp-asm.h>.
12017 (memcpy): Don't use BP_SYM.
12018 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12019 <bp-sym.h> and <bp-asm.h>.
12020 (memset): Don't use BP_SYM.
12021 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12022 <bp-sym.h> and <bp-asm.h>.
12023 (__memchr): Don't use BP_SYM.
12024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12025 <bp-sym.h> and <bp-asm.h>.
12026 (memcmp): Don't use BP_SYM.
12027 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12028 <bp-sym.h> and <bp-asm.h>.
12029 (memcpy): Don't use BP_SYM.
12030 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12031 <bp-sym.h> and <bp-asm.h>.
12032 (__mempcpy): Don't use BP_SYM.
12033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12034 <bp-sym.h> and <bp-asm.h>.
12035 (__memrchr): Don't use BP_SYM.
12036 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12037 <bp-sym.h> and <bp-asm.h>.
12038 (memset): Don't use BP_SYM.
12039 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12040 <bp-sym.h> and <bp-asm.h>.
12041 (__rawmemchr): Don't use BP_SYM.
12042 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12043 <bp-sym.h> and <bp-asm.h>.
12044 (__STRCMP): Don't use BP_SYM.
12045 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12046 <bp-sym.h> and <bp-asm.h>.
12047 (strchr): Don't use BP_SYM.
12048 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12049 <bp-sym.h> and <bp-asm.h>.
12050 (__strchrnul): Don't use BP_SYM.
12051 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12052 <bp-sym.h> and <bp-asm.h>.
12053 (strlen): Don't use BP_SYM.
12054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12055 <bp-sym.h> and <bp-asm.h>.
12056 (strncmp): Don't use BP_SYM.
12057 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12058 <bp-sym.h> and <bp-asm.h>.
12059 (__strnlen): Don't use BP_SYM.
12060 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12061 <bp-asm.h>.
12062 (__mpn_rshift): Don't use BP_SYM.
12063 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12064 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12065 <bp-sym.h> and <bp-asm.h>.
12066 (__sigsetjmp): Don't use BP_SYM.
12067 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12068 (L(start_addresses)): Don't use BP_SYM.
12069 (_start): Likewise.
12070 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12071 <bp-asm.h>.
12072 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12073 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12074 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12075 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12076 <bp-asm.h>.
12077 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12078 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12079 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12080 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12081 <bp-asm.h>.
12082 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12083 comments.
12084 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12085 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12086 <bp-asm.h>.
12087 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12088 FIXME comments.
12089 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12090 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12091 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12092 <bp-asm.h>.
12093 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12094 comment.
12095 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12096 and <bp-asm.h>.
12097 (strncmp): Don't use BP_SYM,
12098 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12099 <bp-asm.h>.
12100 (__mpn_sub_n): Don't use BP_SYM.
12101 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12102 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12103 and <bp-asm.h>.
12104 (__mpn_submul_1): Don't use BP_SYM.
12105 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12107 <bp-sym.h> and <bp-asm.h>.
12108 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12110 <bp-sym.h> and <bp-asm.h>.
12111 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12112 comment.
12113
8d19fe64
SP
121142013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12115
12116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12117 Use ZK to minimize writes to Z.
12118 (sub_magnitudes): Simplify code a bit.
12119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12120 Use ZK to minimize writes to Z.
12121 (sub_magnitudes): Simplify code a bit.
12122
85bd816a
RM
121232013-02-27 Roland McGrath <roland@hack.frob.com>
12124
12125 * csu/gmon-start.c: Add special exception to license text.
12126
b5977bf2
RH
121272013-02-27 Richard Henderson <rth@redhat.com>
12128
12129 * scripts/config.guess: Update from config.git.
12130 * scripts/config.sub: Likewise.
12131
11d6e2f2
SP
121322013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12133
09c14ed2
SP
12134 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12135
a688864e
SP
12136 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12137
6295157a
SP
12138 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12139
b8de2202
SP
12140 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12141
11d6e2f2
SP
12142 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12143
7e80ddb8
RM
121442013-02-26 Roland McGrath <roland@hack.frob.com>
12145
12146 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12147 [$(build-shared = yes].
7e80ddb8 12148
7da6d9ed
SP
121492013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12150
45f05884
SP
12151 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12152 (__mul): Reduce iterations for calculating mantissa.
12153
2236d359
SP
12154 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12155 MPTWO.
12156 (__mpranred): Likewise.
12157
7da6d9ed
SP
12158 [BZ #15160]
12159 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12160 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12161
b7688c42
PE
121622013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12163
12164 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12165 Define __attribute__.
12166
53a5c423
SP
121672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12168
12169 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12170 unused.
12171 * posix/regex_internal.h (__attribute): Remove.
12172 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12173 (re_string_context_at): Likewise.
12174 (bitset_not): Use __attribute__ and mark function as possibly
12175 unused.
12176 (bitset_merge): Likewise.
12177 (bitset_mask): Likewise.
12178 (re_string_char_size_at): Likewise.
12179 (re_string_wchar_at): Likewise.
12180 (re_string_elem_size_at): Likewise.
12181
60f5a8b5
SP
121822013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12183
2a983a2e
SP
12184 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12185 code.
12186 (cc32): Likewise.
12187
e69804d1
SP
12188 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12189 (__acr): Likewise.
12190 (__cpy): Likewise.
12191 (norm): Likewise.
12192 (denorm): Likewise.
12193 (__dbl_mp): Likewise.
12194 (add_magnitudes): Likewise.
12195 (sub_magnitudes): Likewise.
12196 (__mul): Likewise.
12197 (__inv): Likewise.
12198
2f22a1e8
SP
12199 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12200 style.
12201
8930ddc7
SP
12202 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12203 style.
12204
dc60cb11
SP
12205 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12206 code.
12207
60f5a8b5
SP
12208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12209 up changes with default code.
12210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12211 Likewise.
12212
b4d1fd33
AM
122132013-02-24 Allan McRae <allan@archlinux.org>
12214
faf6f8bc
AM
12215 * manual/socket.texi (The Internet Namespace): Order menu items
12216 to match that in the file.
12217
b4d1fd33
AM
12218 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12219 node listing of the info page menu.
12220
2366713d
JM
122212013-02-21 Joseph Myers <joseph@codesourcery.com>
12222
12223 [BZ #13550]
12224 * sysdeps/i386/bp-asm.h: Remove file.
12225 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12226 (PARMS): Do not use macros from bp-asm.h.
12227 (S1): Likewise.
12228 (S2): Likewise.
12229 (SIZE): Likewise.
12230 (__mpn_add_n): Do not use BP_SYM
12231 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12232 "bp-asm.h".
12233 (PARMS): Do not use macros from bp-asm.h.
12234 (S1): Likewise.
12235 (SIZE): Likewise.
12236 (__mpn_addmul_1): Do not use BP_SYM
12237 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12238 "bp-asm.h".
12239 (PARMS): Do not use macros from bp-asm.h.
12240 (SIGMSK): Likewise.
12241 (_setjmp): Likewise. Do not use BP_SYM.
12242 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12243 "bp-asm.h".
12244 (PARMS): Do not use macros from bp-asm.h.
12245 (SIGMSK): Likewise.
12246 (setjmp): Likewise. Do not use BP_SYM.
12247 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12248 "bp-asm.h".
12249 (PARMS): Do not use macros from bp-asm.h.
12250 (__frexp): Do not use BP_SYM.
12251 (frexp): Likewise.
12252 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12253 "bp-asm.h".
12254 (PARMS): Do not use macros from bp-asm.h.
12255 (__frexpf): Do not use BP_SYM.
12256 (frexpf): Likewise.
12257 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12258 "bp-asm.h".
12259 (PARMS): Do not use macros from bp-asm.h.
12260 (__frexpl): Do not use BP_SYM.
12261 (frexpl): Likewise.
12262 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12263 "bp-asm.h".
12264 (PARMS): Do not use macros from bp-asm.h.
12265 (__remquo): Do not use BP_SYM.
12266 (remquo): Likewise.
12267 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12268 "bp-asm.h".
12269 (PARMS): Do not use macros from bp-asm.h.
12270 (__remquof): Do not use BP_SYM.
12271 (remquof): Likewise.
12272 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12273 "bp-asm.h".
12274 (PARMS): Do not use macros from bp-asm.h.
12275 (__remquol): Do not use BP_SYM.
12276 (remquol): Likewise.
12277 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12278 "bp-asm.h".
12279 (PARMS): Do not use macros from bp-asm.h.
12280 (DEST): Likewise.
12281 (SRC): Likewise.
12282 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12283 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12284 "bp-asm.h".
12285 (PARMS): Do not use macros from bp-asm.h.
12286 (strlen): Do not use BP_SYM.
12287 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12288 "bp-asm.h".
12289 (PARMS): Do not use macros from bp-asm.h.
12290 (S1): Likewise.
12291 (S2): Likewise.
12292 (SIZE): Likewise.
12293 (__mpn_add_n): Do not use BP_SYM.
12294 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12295 "bp-asm.h".
12296 (PARMS): Do not use macros from bp-asm.h.
12297 (S1): Likewise.
12298 (SIZE): Likewise.
12299 (__mpn_addmul_1): Do not use BP_SYM.
12300 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12301 weak_alias.
12302 (bzero): Likewise.
12303 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12304 "bp-asm.h".
12305 (PARMS): Do not use macros from bp-asm.h.
12306 (S): Likewise.
12307 (SIZE): Likewise.
12308 (__mpn_lshift): Do not use BP_SYM.
12309 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12310 "bp-asm.h".
12311 (PARMS): Do not use macros from bp-asm.h.
12312 (DEST): Likewise.
12313 (SRC): Likewise.
12314 (LEN): Likewise.
12315 (memcpy): Likewise. Do not use BP_SYM.
12316 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12317 libc_hidden_def and weak_alias.
12318 (mempcpy): Do not use BP_SYM in weak_alias.
12319 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12320 "bp-asm.h".
12321 (PARMS): Do not use macros from bp-asm.h.
12322 (DEST): Likewise.
12323 (LEN): Likewise.
12324 [!BZERO_P] (CHR): Likewise.
12325 (memset): Likewise. Do not use BP_SYM.
12326 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12327 "bp-asm.h".
12328 (PARMS): Do not use macros from bp-asm.h.
12329 (S1): Likewise.
12330 (SIZE): Likewise.
12331 (__mpn_mul_1): Do not use BP_SYM.
12332 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12333 "bp-asm.h".
12334 (PARMS): Do not use macros from bp-asm.h.
12335 (S): Likewise.
12336 (SIZE): Likewise.
12337 (__mpn_rshift): Do not use BP_SYM.
12338 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12339 "bp-asm.h".
12340 (PARMS): Do not use macros from bp-asm.h.
12341 (STR): Likewise.
12342 (CHR): Likewise.
12343 (strchr): Likewise. Do not use BP_SYM.
12344 (index): Do not use BP_SYM in weak_alias.
12345 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12346 "bp-asm.h".
12347 (PARMS): Do not use macros from bp-asm.h.
12348 (DEST): Likewise.
12349 (SRC): Likewise.
12350 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12351 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12352 "bp-asm.h".
12353 (PARMS): Do not use macros from bp-asm.h.
12354 (strlen): Do not use BP_SYM.
12355 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12356 "bp-asm.h".
12357 (PARMS): Do not use macros from bp-asm.h.
12358 (S1): Likewise.
12359 (S2): Likewise.
12360 (SIZE): Likewise.
12361 (__mpn_sub_n): Do not use BP_SYM.
12362 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12363 "bp-asm.h".
12364 (PARMS): Do not use macros from bp-asm.h.
12365 (S1): Likewise.
12366 (SIZE): Likewise.
12367 (__mpn_submul_1): Do not use BP_SYM.
12368 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12369 "bp-asm.h".
12370 (PARMS): Do not use macros from bp-asm.h.
12371 (S1): Likewise.
12372 (S2): Likewise.
12373 (SIZE): Likewise.
12374 (__mpn_add_n): Do not use BP_SYM.
12375 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12376 weak_alias.
12377 (bzero): Likewise.
12378 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12379 "bp-asm.h".
12380 (PARMS): Do not use macros from bp-asm.h.
12381 (BLK2): Likewise.
12382 (LEN): Likewise.
12383 (memcmp): Do not use BP_SYM.
12384 (bcmp): Do not use BP_SYM in weak_alias.
12385 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12386 "bp-asm.h".
12387 (PARMS): Do not use macros from bp-asm.h.
12388 (DEST): Likewise.
12389 (SRC): Likewise.
12390 (LEN): Likewise.
12391 (memcpy): Likewise. Do not use BP_SYM.
12392 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12393 "bp-asm.h".
12394 (PARMS): Do not use macros from bp-asm.h.
12395 (DEST): Likewise.
12396 (SRC): Likewise.
12397 (LEN): Likewise.
12398 (memmove): Likewise. Do not use BP_SYM.
12399 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12400 "bp-asm.h".
12401 (PARMS): Do not use macros from bp-asm.h.
12402 (DEST): Likewise.
12403 (SRC): Likewise.
12404 (LEN): Likewise.
12405 (__mempcpy): Likewise. Do not use BP_SYM.
12406 (mempcpy): Do not use BP_SYM in weak_alias.
12407 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12408 "bp-asm.h".
12409 (PARMS): Do not use macros from bp-asm.h.
12410 (DEST): Likewise.
12411 (LEN): Likewise.
12412 [!BZERO_P] (CHR): Likewise.
12413 (memset): Likewise. Do not use BP_SYM.
12414 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12415 "bp-asm.h".
12416 (PARMS): Do not use macros from bp-asm.h.
12417 (STR2): Likewise.
12418 (strcmp): Do not use BP_SYM.
12419 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12420 "bp-asm.h".
12421 (PARMS): Do not use macros from bp-asm.h.
12422 (STR): Likewise.
12423 (DELIM): Likewise.
12424 [USE_AS_STRTOK_R] (SAVE): Likewise.
12425 (FUNCTION): Likewise. Do not use BP_SYM.
12426 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12427 aliases.
12428 (strtok_r): Likewise.
12429 (__GI___strtok_r): Likewise.
12430 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12431 (PARMS): Do not use macros from bp-asm.h.
12432 (S): Likewise.
12433 (SIZE): Likewise.
12434 (__mpn_lshift): Do not use BP_SYM.
12435 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12436 (PARMS): Do not use macros from bp-asm.h.
12437 (STR): Likewise.
12438 (CHR): Likewise.
12439 (__memchr): Do not use BP_SYM.
12440 (memchr): Do not use BP_SYM in weak_alias.
12441 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12442 (PARMS): Do not use macros from bp-asm.h.
12443 (BLK2): Likewise.
12444 (LEN): Likewise.
12445 (memcmp): Do not use BP_SYM.
12446 (bcmp): Do not use BP_SYM in weak_alias.
12447 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12448 (PARMS): Do not use macros from bp-asm.h.
12449 (S1): Likewise.
12450 (SIZE): Likewise.
12451 (__mpn_mul_1): Do not use BP_SYM.
12452 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12453 "bp-asm.h".
12454 (PARMS): Do not use macros from bp-asm.h.
12455 (STR): Likewise.
12456 (CHR): Likewise.
12457 (__rawmemchr): Do not use BP_SYM.
12458 (rawmemchr): Do not use BP_SYM in weak_alias.
12459 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12460 (PARMS): Do not use macros from bp-asm.h.
12461 (S): Likewise.
12462 (SIZE): Likewise.
12463 (__mpn_rshift): Do not use BP_SYM.
12464 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12465 (PARMS): Do not use macros from bp-asm.h.
12466 (SIGMSK): Likewise.
12467 (__sigsetjmp): Likewise. Do not use BP_SYM.
12468 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12469 (_start): Do not use BP_SYM.
12470 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12471 (PARMS): Do not use macros from bp-asm.h.
12472 (DEST): Likewise.
12473 (SRC): Likewise.
12474 (__stpcpy): Likewise. Do not use BP_SYM.
12475 (stpcpy): Do not use BP_SYM in weak_alias.
12476 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12477 "bp-asm.h".
12478 (PARMS): Do not use macros from bp-asm.h.
12479 (DEST): Likewise.
12480 (SRC): Likewise.
12481 (LEN): Likewise.
12482 (__stpncpy): Likewise. Do not use BP_SYM.
12483 (stpncpy): Do not use BP_SYM in weak_alias.
12484 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12485 (PARMS): Do not use macros from bp-asm.h.
12486 (STR): Likewise.
12487 (CHR): Likewise.
12488 (strchr): Likewise. Do not use BP_SYM.
12489 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12490 "bp-asm.h".
12491 (PARMS): Do not use macros from bp-asm.h.
12492 (STR): Likewise.
12493 (CHR): Likewise.
12494 (__strchrnul): Likewise. Do not use BP_SYM.
12495 (strchrnul): Do not use BP_SYM in weak_alias.
12496 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12497 "bp-asm.h".
12498 (PARMS): Do not use macros from bp-asm.h.
12499 (STOP): Likewise.
12500 (strcspn): Do not use BP_SYM.
12501 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12502 "bp-asm.h".
12503 (PARMS): Do not use macros from bp-asm.h.
12504 (STR): Likewise.
12505 (STOP): Likewise.
12506 (strpbrk): Likewise. Do not use BP_SYM.
12507 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12508 "bp-asm.h".
12509 (PARMS): Do not use macros from bp-asm.h.
12510 (STR): Likewise.
12511 (CHR): Likewise.
12512 (strrchr): Likewise. Do not use BP_SYM.
12513 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12514 (PARMS): Do not use macros from bp-asm.h.
12515 (SKIP): Likewise.
12516 (strspn): Do not use BP_SYM.
12517 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12518 (PARMS): Do not use macros from bp-asm.h.
12519 (STR): Likewise.
12520 (DELIM): Likewise.
12521 (SAVE): Likewise.
12522 (FUNCTION): Likewise. Do not use BP_SYM.
12523 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12524 aliases.
12525 (strtok_r): Likewise.
12526 (__GI___strtok_r): Likewise.
12527 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12528 (PARMS): Do not use macros from bp-asm.h.
12529 (S1): Likewise.
12530 (S2): Likewise.
12531 (SIZE): Likewise.
12532 (__mpn_sub_n): Do not use BP_SYM.
12533 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12534 "bp-asm.h".
12535 (PARMS): Do not use macros from bp-asm.h.
12536 (S1): Likewise.
12537 (SIZE): Likewise.
12538 (__mpn_submul_1): Do not use BP_SYM.
12539 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12540 <bp-sym.h>.
12541 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12542 and <bp-asm.h>.
12543 (PARMS): Do not use macros from bp-asm.h.
12544 (FLAGS): Likewise.
12545 (PTID): Likewise.
12546 (TLS): Likewise.
12547 (CTID): Likewise.
12548 (__clone): Do not use BP_SYM.
12549 (clone): Do not use BP_SYM in weak_alias.
12550 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12551 and <bp-asm.h>.
12552 (PARMS): Do not use macros from bp-asm.h.
12553 (LEN): Likewise.
12554 (__mmap64): Do not use BP_SYM.
12555 (mmap64): Do not use BP_SYM in weak_alias.
12556 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12557 <bp-sym.h> and <bp-asm.h>.
12558 (PARMS): Do not use macros from bp-asm.h.
12559 (__posix_fadvise64_l64): Do not use BP_SYM.
12560 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12561 (PARMS): Do not use macros from bp-asm.h.
12562 (NSOPS): Likewise.
12563 (semtimedop): Do not use BP_SYM.
12564 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12565 and <bp-asm.h>.
12566
582a3cff
AM
125672013-02-21 Allan McRae <allan@archlinux.org>
12568
12569 * manual/message.texi (Charset conversion in gettext):
12570 Move @end statement to beginning of line.
12571
bab8a695
SP
125722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12573
80945231
SP
12574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12575 static.
12576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12577 Likewise.
12578
bab8a695
SP
12579 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12580 (denorm): Likewise.
12581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12583
e21d7aa7
AK
125842013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12585
12586 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12587 tail-call to the resolved function if pltexit isn't needed.
12588
4c7a4263
SP
125892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12590
12591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12592 or Y being zero as being unlikely.
12593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12594 Likewise.
12595
41f49342
CD
125962013-02-20 Carlos O'Donell <carlos@redhat.com>
12597
12598 * manual/nss.texi (System Databases and Name Service Switch):
12599 Remove frobnicate @pxref.
12600
50022a93
TS
126012013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12602
12603 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12604 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12605
08cbd996
PM
126062013-02-20 Petr Machata <pmachata@redhat.com>
12607
12608 * elf/elf.h (R_ARM_TARGET1): New macro.
12609 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12610 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12611 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12612 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12613 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12614 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12615 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12616 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12617 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12618 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12619 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12620 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12621 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12622 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12623 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12624 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12625 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12626 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12627 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12628 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12629 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12630 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12631 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12632 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12633 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12634 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12635 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12636 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12637 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12638 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12639 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12640 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12641 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12642 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12643 (R_ARM_THM_GOT_BREL12): Likewise.
12644 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12645 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12646 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12647 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12648 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12649 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12650 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12651 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12652 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12653
c7b275d6
TS
126542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12655
12656 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12657 __attribute_used__ to __attribute__ ((unused)).
12658
20cd7fb3
SP
126592013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12660
12661 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12662 powerpc mpa.c.
12663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12664 comment formatting.
12665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12666
92945b52
JM
126672013-02-19 Joseph Myers <joseph@codesourcery.com>
12668
12669 [BZ #13550]
12670 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12671 Remove macro.
12672 (ENTER): Remove both macro definitions.
12673 (LEAVE): Likewise.
12674 (CHECK_BOUNDS_LOW): Likewise.
12675 (CHECK_BOUNDS_HIGH): Likewise.
12676 (CHECK_BOUNDS_BOTH): Likewise.
12677 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12678 (RETURN_BOUNDED_POINTER): Likewise.
12679 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12680 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12681 (POP_ERRNO_LOCATION_RETURN): Likewise.
12682 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12683 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12684 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12685 macros.
12686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12687 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12688 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12689 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12690 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12691 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12692 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12693 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12694 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12695 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12696 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12697 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12698 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12699 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12700 removed macros.
12701 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12702 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12703 macros.
12704 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12705 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12706 * sysdeps/i386/i586/memset.S (memset): Likewise.
12707 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12708 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12709 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12710 macros.
12711 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12712 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12713 Change uses of L(2) to L(out).
12714 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12715 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12716 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12717 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12718 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12719 removed macros.
12720 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12721 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12722 macros.
12723 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12724 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12725 (RETURN): Do not use macro LEAVE.
12726 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12727 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12728 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12729 * sysdeps/i386/i686/memset.S (memset): Likewise.
12730 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12731 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12732 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12733 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12734 Likewise.
12735 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12736 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12737 L(1_2) and L(1_3) into L(1).
12738 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12739 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12740 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12741 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12742 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12743 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12744 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12745 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12746 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12747 macros.
12748 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12749 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12750 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12751 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12752 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12753 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12754 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12755 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12756 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12757 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12758 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12759 * sysdeps/i386/strspn.S (strspn): Likewise.
12760 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12761 conditional code.
12762 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12763 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12764 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12765 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12766 L(1_3) into L(1_1).
12767 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12768 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12769 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12770 macros.
12771 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12772
2389741a
JJ
127732013-02-19 Jakub Jelinek <jakub@redhat.com>
12774
12775 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12776 macro.
12777
2016b3cd
SP
127782013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12779
e4f22324
SP
12780 * math/atest-exp.c (exp_mpn): Remove ROUND.
12781 * math/atest-exp2.c (exp_mpn): Likewise.
12782 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12783
2016b3cd
SP
12784 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12785 * stdlib/tst-tls-atexit-lib.c: Likewise.
12786 * stdlib/tst-tls-atexit.c: Likewise.
12787
4be9b544
MF
127882013-02-18 Mike Frysinger <vapier@gentoo.org>
12789
12790 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12791 and __attribute_alloc_size__.
12792
2f62b9ee
MF
127932013-02-18 Mike Frysinger <vapier@gentoo.org>
12794
12795 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12796 __attribute_alloc_size__.
12797 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12798 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12799
6ff444c4
MF
128002013-02-18 Mike Frysinger <vapier@gentoo.org>
12801
12802 * include/programs/xmalloc.h: New file.
12803 * catgets/gencat.c: Include it.
12804 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12805 * elf/pldd.c: Likewise.
12806 * iconv/iconv_charmap.c: Likewise.
12807 * iconv/iconvconfig.c: Likewise.
12808 * iconv/strtab.c: Likewise.
12809 * locale/programs/locale.c: Likewise.
12810 * locale/programs/localedef.h: Likewise.
12811 * locale/programs/simple-hash.c: Likewise.
12812 * nscd/nscd.h: Likewise.
12813 * nss/makedb.c: Likewise.
12814 * sysdeps/generic/ldconfig.h: Likewise.
12815
be179c8a
SP
128162013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12817
ba384f6e
SP
12818 * Versions.def: Add GLIBC_2.18.
12819 * include/link.h (struct link_map): New member l_tls_dtor_count.
12820 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12821 (__call_tls_dtors): Likewise.
12822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12823 __cxa_thread_atexit_impl.
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12825 Likewise.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12827 Likewise.
12828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12829 Likewise.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12831 Likewise.
12832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12834 Likewise.
12835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12836 Likewise.
12837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12839 Likewise.
12840 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12841 (tests): Add test case tst-tls-atexit.
12842 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12843 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12844 (GLIBC_PRIVATE): Add __call_tls_dtors.
12845 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12846 for libstdc++.
12847 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12848 * stdlib/tst-tls-atexit.c: New test case.
12849 * stdlib/tst-tls-atexit-lib.c: New test case.
12850
ffaa74cf 12851 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12852
be179c8a
SP
12853 * elf/Versions (ld): Add _dl_find_dso_for_object.
12854 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12855 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12856 (dl_open_worker): Use _dl_find_dso_for_object.
12857 * elf/dl-sym.c (do_sym): Likewise.
12858 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12859
f78b5caa
AK
128602013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12861
12862 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12863 Syntactic changes only.
12864 (_dl_runtime_profile): Do a tail-call to the resolved function.
12865
29691210
JM
128662013-02-17 Joseph Myers <joseph@codesourcery.com>
12867
12868 [BZ #13550]
12869 * sysdeps/x86_64/bp-asm.h: Remove file.
12870 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12871 <bp-sym.h> and <bp-asm.h>.
12872 (__clone): Do not use BP_SYM.
12873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12874 <bp-sym.h> and <bp-asm.h>.
12875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12876 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12877 "bp-asm.h".
12878 (_setjmp): Do not use BP_SYM.
12879 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12880 "bp-asm.h".
12881 (setjmp): Do not use BP_SYM.
12882 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12883 libc_hidden_def.
12884 (mempcpy): Do not use BP_SYM in weak_alias.
12885 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12886 "bp-asm.h".
12887 (strchr): Do not use BP_SYM.
12888 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12889 "bp-asm.h".
12890 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12891 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12892 (_start): Do not use BP_SYM.
12893 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12894 "bp-asm.h".
12895 (strcat): Do not use BP_SYM.
12896 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12897 "bp-asm.h".
12898 (STRCMP): Do not use BP_SYM.
12899 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12900 "bp-asm.h".
12901 (STRCPY): Do not use BP_SYM.
12902 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12903 "bp-asm.h".
12904 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12905 "bp-asm.h".
12906 (FUNCTION): Do not use BP_SYM.
12907 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12908 weak_alias.
12909 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12910
f238fd19
AJ
129112013-02-17 Andreas Jaeger <aj@suse.de>
12912
12913 * time/Versions: Sort entries.
12914 * string/Versions: Likewise.
12915 * resolv/Versions: Likewise.
12916 * posix/Versions: Likewise.
12917 * iconv/Versions: Likewise.
12918 * elf/Versions: Likewise.
12919 * wcsmbs/Versions: Likewise.
12920
bd07f23c 129212013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12922
22af19f9
SP
12923 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12924 loop termination condition.
12925
4709fe76
SP
12926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12927 variable to calculate EZ.
12928 (__sqr): Likewise.
2d0e0f29
SP
12929
12930 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12931 the lower precision input.
12932
daaa7713
JM
129332013-02-15 Joseph Myers <joseph@codesourcery.com>
12934
12935 [BZ #13550]
12936 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12937 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12938 (run-via-rtld-prefix): Do not handle %-bp tests.
12939 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12940 (all-object-suffixes): Remove .ob.
12941 (bppfx): Remove variable.
12942 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12943 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12944 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12945 [$(build-bounded) = yes] (libtype.ob): Likewise.
12946 * Makerules (elide-routines.ob): Remove variable.
12947 (do-tests-clean): Do not handle *-bp.out.
12948 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12949 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12950 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12951 (tests): Do not include $(tests-bp.out).
12952 (xtests): Do not include $(xtests-bp.out).
12953 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12954 [$(build-bounded) = yes] ($(addprefix
12955 $(objpfx),$(binaries-bounded))): Remove rule.
12956 ($(objpfx)%-bp.out): Remove rule.
12957 * config.make.in (build-bounded): Remove variable.
12958 * crypt/Makefile [$(build-bounded) = yes]
12959 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12960 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12961 append to variable.
12962 [$(build-bounded) = yes] (install-lib): Likewise.
12963 [$(build-bounded) = yes] (generated): Likewise.
12964 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12965 Remove rule.
12966 * intl/Makefile [$(build-bounded) = yes]
12967 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12968 * math/Makefile [$(build-bounded) = yes]
12969 ($(tests:%=$(objpfx)%-bp): Likewise.
12970 * misc/Makefile [$(build-bounded) = yes]
12971 ($(objpfx)tst-tsearch-bp): Likewise.
12972 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12973 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12974 Remove dependency.
12975 * string/Makefile (o-objects.ob): Remove variable.
12976 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12977 (CFLAGS-.ob): Remove variable.
12978 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12979 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12980 both definitions of variable.
12981 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12982 (ASFLAGS-.ob): Remove variable.
12983
e97ed6dd
JM
129842013-02-14 Joseph Myers <joseph@codesourcery.com>
12985
2bdd4ca6
JM
12986 [BZ #13550]
12987 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12988 Remove __BOUNDED_POINTERS__ from condition.
12989 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12990 * string/bits/string2.h [!__NO_STRING_INLINES &&
12991 !__BOUNDED_POINTERS__]: Likewise.
12992 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12993 Likewise.
12994 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12995 Remove conditional code.
12996 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12997 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12998 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12999 condition.
13000
e97ed6dd
JM
13001 [BZ #13550]
13002 * csu/libc-start.c: Do not include <bp-sym.h>.
13003 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13004 * elf/dl-open.c: Do not include <bp-sym.h>.
13005 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13006 * math/fegetenv.c: Do not include <bp-sym.h>.
13007 (fegetenv): Do not use BP_SYM in versioned symbols.
13008 * nptl/sysdeps/pthread/bits/libc-lockP.h
13009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13010 <bp-sym.h>.
13011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13012 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13014 (__pthread_mutex_destroy): Likewise.
13015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13016 (__pthread_mutex_lock): Likewise.
13017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13018 (__pthread_mutex_trylock): Likewise.
13019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13020 (__pthread_mutex_unlock): Likewise.
13021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13022 (__pthread_mutexattr_init): Likewise.
13023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13024 (__pthread_mutexattr_destroy): Likewise.
13025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13026 (__pthread_mutexattr_settype): Likewise.
13027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13028 (__pthread_rwlock_init): Likewise.
13029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13030 (__pthread_rwlock_destroy): Likewise.
13031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13032 (__pthread_rwlock_rdlock): Likewise.
13033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13034 (__pthread_rwlock_tryrdlock): Likewise.
13035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13036 (__pthread_rwlock_wrlock): Likewise.
13037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13038 (__pthread_rwlock_trywrlock): Likewise.
13039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13040 (__pthread_rwlock_unlock): Likewise.
13041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13042 (__pthread_key_create): Likewise.
13043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13044 (__pthread_setspecific): Likewise.
13045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13046 (__pthread_getspecific): Likewise.
13047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13048 Likewise.
13049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13050 (_pthread_cleanup_push_defer): Likewise.
13051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13052 (_pthread_cleanup_pop_restore): Likewise.
13053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13054 (pthread_setcancelstate): Likewise.
13055 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13056 <bp-sym.h>.
13057 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13058 (memchr): Do not use BP_SYM in weak_alias.
13059 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13060 (fegetenv): Do not use BP_SYM in versioned symbols.
13061 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13062 (fesetenv): Do not use BP_SYM in versioned symbols.
13063 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13064 (feupdateenv): Do not use BP_SYM in versioned symbols.
13065 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13066 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13067 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13068 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13069 (open64): Do not use BP_SYM in weak_alias.
13070 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13071 (fegetenv): Do not use BP_SYM in versioned symbols.
13072 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13073 (fesetenv): Do not use BP_SYM in versioned symbols.
13074 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13075 (feupdateenv): Do not use BP_SYM in versioned symbols.
13076 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13077 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13078 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13079 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13080 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13081 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13082 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13083 <bp-sym.h>.
13084 (__libc_start_main): Do not use BP_SYM.
13085
d6752ccd
SP
130862013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13087
cb57ce60
SP
13088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13089 redundant return line.
13090 (norm): Likewise.
13091 (denorm): Likewise.
13092 (dbl_mp): Likewise.
13093 (sub_magnitudes): Likewise.
13094 (__add): Likewise.
13095 (__sub): Likewise.
13096 (__mul): Likewise.
13097 (__inv): Likewise.
13098 (__dvd): Likewise.
13099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13100 (norm): Likewise.
13101 (denorm): Likewise.
13102 (dbl_mp): Likewise.
13103 (sub_magnitudes): Likewise.
13104 (__add): Likewise.
13105 (__sub): Likewise.
13106 (__mul): Likewise.
13107 (__inv): Likewise.
13108 (__dvd): Likewise.
13109
f414520d
SP
13110 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13111 instead of __mul.
13112 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13113 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13114 (cc32): Likewise.
13115
d6752ccd
SP
13116 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13117 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13119 of __mul for squares.
13120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13121 function
13122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13123 Likewise.
13124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13126
70d9946a
JM
131272013-02-13 Joseph Myers <joseph@codesourcery.com>
13128
13129 [BZ #13550]
13130 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13131 code.
13132 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13133 prototype or function definition. Rename ubp_* variables and
13134 parameters. Remove argv definitions conditional on
13135 [__BOUNDED_POINTERS__].
13136 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13137 * elf/dl-runtime.c (_dl_fixup): Likewise.
13138 * include/set-hooks.h (RUN_HOOK): Likewise.
13139 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13140 definition.
13141 * string/strcpy.c (strcpy): Do not use __unbounded.
13142 * sysdeps/generic/frame.h (struct layout): Likewise.
13143 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13144 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13145 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13146 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13147 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13148 (__backtrace): Likewise.
13149 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13150 use __ptrvalue.
13151 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13152 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13153 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13154 Likewise.
13155 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13156 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13157 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13158 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13159 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13160 Do not use __unbounded.
13161 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13162 Rename __unboundedrlimits parameter to rlimits in prototype.
13163 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13164 Do not use __unbounded.
13165 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13166 not use __ptrvalue.
13167 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13168 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13169 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13170 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13171 __ptrvalue or __unbounded.
13172 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13173 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13174 use __unbounded.
13175 (__new_msgctl): Do not use __ptrvalue.
13176 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13177 __unbounded.
13178 (__libc_msgrcv): Do not use __ptrvalue.
13179 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13180 startup_info): Do not use __unbounded.
13181 (__libc_start_main): Likewise. Rename ubp_* variables and
13182 parameters. Remove argv definitions conditional on
13183 [__BOUNDED_POINTERS__].
13184 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13185 __ptrvalue.
13186 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13187 use __unbounded.
13188 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13189 or __ptrvalue.
13190 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13191 use __unbounded.
13192 (__new_shmctl): Do not use __ptrvalue.
13193 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13194 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13195 Likewise.
13196 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13198 (__libc_sigaction): Likewise.
13199 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13200 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13203
cc7834d6
OB
132042013-02-13 Ondřej Bílka <neleai@seznam.cz>
13205
ffb1ec7b 13206 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
13207
13208 * string/mempcpy.c: Implement by calling memcpy.
13209
bdf02814
SP
132102013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13211
c2af38aa
SP
13212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13213
4e92d59e
SP
13214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13215 evaluation.
13216
909279a5
SP
13217 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13218 values in the mantissa.
13219
bdf02814
SP
13220 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13221 minimize writes to Z.
13222 (sub_magnitudes): Simplify code a bit.
13223
cd525923
RM
132242013-02-12 Roland McGrath <roland@hack.frob.com>
13225
13226 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13227 from the message. The linker prefixes all warnings with that already.
13228
7e2f0d2d
AS
132292013-02-12 Andreas Schwab <schwab@suse.de>
13230
a445af0b
AS
13231 [BZ #15078]
13232 * posix/regexec.c (extend_buffers): Add parameter min_len.
13233 (check_matching): Pass minimum needed length.
13234 (clean_state_log_if_needed): Likewise.
13235 (get_subexp): Likewise.
13236 * posix/Makefile (tests): Add bug-regex34.
13237 (bug-regex34-ENV): Define.
13238 * posix/bug-regex34.c: New file.
13239
7e2f0d2d
AS
13240 [BZ #11561]
13241 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13242 elements compare against the byte sequence of it, not its name.
13243 * posix/Makefile (tests): Add bug-regex35.
13244 (bug-regex35-ENV): Define.
13245 * posix/bug-regex35.c: New file.
13246
a175b684
TV
132472013-02-11 Tom de Vries <tom@codesourcery.com>
13248
13249 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13250 comment.
13251 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13252 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13253 (CHECK_EOL): Add undef.
13254
310998fe 132552013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
13256
13257 * bits/stdlib-bsearch.h: New file.
13258 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 13259 * stdlib/stdlib.h: Likewise.
41eda41d 13260
8ded91fb
RM
132612013-02-11 Roland McGrath <roland@hack.frob.com>
13262
13263 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13264 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13265 declaration.
13266 * manual/search.texi (Array Search Function): Add missing const in
13267 lfind prototype.
13268 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13269 declaration to use rlim_t.
13270 (Basic Scheduling Functions): Remove erroneous const from
13271 sched_getparam prototype. Remove erroneous * from
13272 sched_get_priority_max and sched_get_priority_min prototypes.
13273 (Resource Usage): Fix summary @comment on vtimes to refer to
13274 sys/vtimes.h rather than vtimes.h.
13275 Add missing *s in vtimes prototype.
13276 (Limits on Resources): Fix ulimit prototype to return long int.
13277 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13278 prototypes to use long int rather than double.
13279 (BSD Random): Fix initstate and setstate to use char *, not void *.
13280 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13281 prototype to make second argument 'struct aiocb64 *const[]'.
13282 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13283 (Status of AIO Operations): Remove erroneous const in aio_return and
13284 aio_return64 prototypes.
13285 (Synchronizing I/O): Fix sync prototype to return void.
13286 * manual/startup.texi (Suboptions): Remove an erroneous const in
13287 getsubopt prototype.
13288 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13289 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13290 use size_t rather than int.
13291 (Scanning All Users): Likewise for getpwent_r.
13292 (Setting Groups): Add missing const to setgroups prototype.
13293 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13294 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13295 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13296 'const void *' rather than 'const char *'.
13297 (Host Address Functions): Likewise for inet_ntop.
13298 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13299 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13300 ssize_t for return value.
13301 (Sending Data): Likewise for send, sendto, sendmsg.
13302 (Socket Option Functions): Add a missing const in setsockopt prototype.
13303 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13304 use wchar_t for the argument.
13305 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13306 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13307 take no arguments.
13308 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13309 double/float/long double for second argument.
13310 Fix return types of significand, significandf, significandl.
13311 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13312 argument in fchmod prototype.
13313 (File Owner): Use uid_t and gid_t in fchown prototype.
13314 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13315 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13316 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13317 use 'const struct dirent **' as argument types to CMP function pointer
13318 argument.
13319 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13320 (File Times): Fix summary magic @comment for struct utimbuf and utime
13321 to refer to utime.h, not time.h.
13322 * manual/string.texi (Argz Functions): Add missing const in
13323 argz_extract and argz_next prototypes.
13324 (Finding Tokens in a String): Likewise for basename.
13325 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13326 (Copying and Concatenation): Fix typo in wmemmove prototype.
13327 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13328 (Signal Stack): Remove erroneous const in sigstack prototype.
13329 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13330 prototype.
13331 (Simple Calendar Time): Likewise for stime.
13332 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13333 prototype.
13334 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13335 say sys/sysctl.h instead.
13336 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13337 and vsyslog prototypes.
13338
fe77fe6d
TV
133392013-02-11 Tom de Vries <tom@codesourcery.com>
13340
13341 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13342 Remove.
13343
3a09b620
RM
133442013-02-11 Roland McGrath <roland@hack.frob.com>
13345
13346 * misc/sys/mman.h: Fix typo in mremap comment.
13347
550a0b89
RM
133482013-02-08 Roland McGrath <roland@hack.frob.com>
13349
13350 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13351 the '\0' terminator.
13352
a2da1673
JM
133532013-02-08 Joseph Myers <joseph@codesourcery.com>
13354
13355 [BZ #13550]
13356 * debug/segfault.c: Don't include <bp-checks.h>.
13357 * sysdeps/generic/bp-checks.h: Remove file.
13358 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13359 (__GETDENTS): Don't use CHECK_N.
13360 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13361 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13362 (__getgroups): Don't use CHECK_N.
13363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13364 (setgroups): Don't use CHECK_N.
13365 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13366 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13367 (__libc_msgrcv): Don't use CHECK_N.
13368 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13369 (__libc_msgsnd): Don't use CHECK_N.
13370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13371 <bp-checks.h>.
13372 (__libc_pread): Don't use CHECK_N.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13374 include <bp-checks.h>.
13375 (__libc_pread64): Don't use CHECK_N.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13377 include <bp-checks.h>.
13378 (__libc_pwrite): Don't use CHECK_N.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13380 include <bp-checks.h>.
13381 (__libc_pwrite64): Don't use CHECK_N.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13383 <bp-checks.h>.
13384 (__libc_pread): Don't use CHECK_N.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13386 include <bp-checks.h>.
13387 (__libc_pread64): Don't use CHECK_N.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13389 include <bp-checks.h>.
13390 (__libc_pwrite): Don't use CHECK_N.
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13392 include <bp-checks.h>.
13393 (__libc_pwrite64): Don't use CHECK_N.
13394 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13395 (do_pread): Don't use CHECK_N.
13396 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13397 (do_pread64): Don't use CHECK_N.
13398 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13399 (do_pwrite): Don't use CHECK_N.
13400 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13401 (do_pwrite64): Don't use CHECK_N.
13402 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13403 (__libc_readv): Don't use CHECK_N.
13404 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13405 (semop): Don't use CHECK_N.
13406 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13407 <bp-checks.h>.
13408 (semtimedop): Don't use CHECK_N.
13409 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13410 (__libc_pread): Don't use CHECK_N.
13411 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13412 <bp-checks.h>.
13413 (__libc_pread64): Don't use CHECK_N.
13414 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13415 <bp-checks.h>.
13416 (__libc_pwrite): Don't use CHECK_N.
13417 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13418 <bp-checks.h>.
13419 (__libc_pwrite64): Don't use CHECK_N.
13420 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13421 <bp-checks.h>.
13422 (__libc_msgrcv): Don't use CHECK_N.
13423 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13424 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13425 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13426 (__libc_writev): Don't use CHECK_N.
13427
b84660a8
RM
134282013-02-08 Roland McGrath <roland@hack.frob.com>
13429
7f3e75f8
RM
13430 * string/strcpy.c: Removed unused variable.
13431
b84660a8
RM
13432 * Makeconfig (+sysdep-includes): Define with := rather than =.
13433 Use an existing include/ subdir of each sysdeps dir before it.
13434
471514d3
CD
134352013-02-08 Carlos O'Donell <carlos@redhat.com>
13436
13437 * nscd/connection.c (register_traced_file): Comment function.
13438 [HAVE_INOTIFY] (union __inev): Define.
13439 [HAVE_INOTIFY] (inotify_check_files): New function.
13440 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13441 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13442 clear_db_cache.
13443 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13444
b2d3c3be
CD
134452013-02-08 Carlos O'Donell <carlos@redhat.com>
13446
13447 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13448 loaded if not already and that a failure is permanent.
13449
b39949d2
CD
134502013-02-08 Carlos O'Donell <carlos@redhat.com>
13451
ddacd1db 13452 [BZ #15006]
b39949d2
CD
13453 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13454 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13455
b2c9eff4
JM
134562013-02-08 Joseph Myers <joseph@codesourcery.com>
13457
f3aae3f3
JM
13458 [BZ #13550]
13459 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13460 (CHECK_1_NULL_OK): Likewise.
13461 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13462 (__fxstat): Do not use CHECK_1.
13463 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13464 <bp-checks.h>.
13465 (___fxstat64): Do not use CHECK_1.
13466 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13467 <bp-checks.h>.
13468 (__fxstatat): Do not use CHECK_1.
13469 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13470 <bp-checks.h>.
13471 (__fxstatat64): Do not use CHECK_1.
13472 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13473 <bp-checks.h>.
13474 (__fxstat): Do not use CHECK_1.
13475 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13476 <bp-checks.h>.
13477 (__fxstatat): Do not use CHECK_1.
13478 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13479 <bp-checks.h>.
13480 (__getresgid): Do not use CHECK_1.
13481 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13482 <bp-checks.h>.
13483 (__getresuid): Do not use CHECK_1.
13484 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13485 <bp-checks.h>.
13486 (__lxstat): Do not use CHECK_1.
13487 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13488 <bp-checks.h>.
13489 (__old_msgctl): Do not use CHECK_1.
13490 (__new_msgctl): Likewise.
13491 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13492 <bp-checks.h>.
13493 (__new_setrlimit): Do not use CHECK_1.
13494 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13495 <bp-checks.h>.
13496 (__old_shmctl): Do not use CHECK_1.
13497 (__new_shmctl): Likewise.
13498 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13499 <bp-checks.h>.
13500 (__xstat): Do not use CHECK_1.
13501 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13502 (__lxstat): Do not use CHECK_1.
13503 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13504 <bp-checks.h>.
13505 (___lxstat64): Do not use CHECK_1.
13506 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13507 (__old_msgctl): Do not use CHECK_1.
13508 (__new_msgctl): Likewise.
13509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13510 <bp-checks.h>.
13511 (__gettimeofday): Do not use CHECK_1.
13512 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13513 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13514 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13515 <bp-checks.h>.
13516 (__gettimeofday): Do not use CHECK_1.
13517 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13518 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13519 (__new_shmctl): Do not use CHECK_1.
13520 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13521 <bp-checks.h>.
13522 (do_sigtimedwait): Do not use CHECK_1.
13523 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13524 <bp-checks.h>.
13525 (do_sigwaitinfo): Do not use CHECK_1.
13526 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13527 <bp-checks.h>.
13528 (msgctl): Do not use CHECK_1.
13529 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13530 <bp-checks.h>.
13531 (shmctl): Do not use CHECK_1.
13532 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13533 (ustat): Do not use CHECK_1.
13534 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13535 <bp-checks.h>.
13536 (__fxstat): Do not use CHECK_1.
13537 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13538 <bp-checks.h>.
13539 (__fxstatat): Do not use CHECK_1.
13540 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13541 <bp-checks.h>.
13542 (__lxstat): Do not use CHECK_1.
13543 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13544 <bp-checks.h>.
13545 (__xstat): Do not use CHECK_1.
13546 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13547 (__xstat): Do not use CHECK_1.
13548 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13549 (___xstat64): Do not use CHECK_1.
13550
b2c9eff4
JM
13551 [BZ #13550]
13552 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13553 definitions.
13554 (CHECK_BOUNDS_HIGH): Likewise.
13555 * string/strcpy.c: Do not include <bp-checks.h>.
13556 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13557
f1d70dad
RM
135582013-02-07 Roland McGrath <roland@hack.frob.com>
13559
13560 * nscd/nscd-client.h (__nscd_drop_map_ref):
13561 Add __attribute__ ((unused)).
13562 * nis/nss-nisplus.h (niserr2nss): Likewise.
13563
13564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13565 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13566
13567 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13568 Remove inline keyword.
13569 * include/rounding-mode.h (round_away): Likewise.
13570 * libio/wfileops.c (adjust_wide_data): Likewise.
13571 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13572 (__m128i_strloadu_tolower): Likewise.
13573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13574 (__m128i_strloadu_tolower): Likewise.
13575 * time/mktime.c (ydhms_diff): Likewise.
13576 * locale/elem-hash.h (elem_hash): Likewise.
13577 * locale/setlocale.c (setdata): Likewise.
13578 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13579 (re_string_wchar_at): Likewise.
13580 (bitset_not, bitset_merge, bitset_mask): Likewise.
13581 [!(__GNUC__ > 3)] (inline): Remove macro.
13582 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13583 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13584 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13585 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13586 * string/memcmp.c (memcmp_bytes): Likewise.
13587 * locale/programs/locarchive.c (compute_hashval): Likewise.
13588 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13589 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13590 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13591 * nss/getent.c (print_rpc, print_protocols): Likewise.
13592 (print_passwd, print_group, print_aliases): Likewise.
13593 * nis/nss-nisplus.h (niserr2nss): Likewise.
13594 * nscd/connections.c (restart_p): Likewise.
13595 Change return type to bool.
13596
eab55bfb
RM
135972013-02-05 Roland McGrath <roland@hack.frob.com>
13598
7bd642f5
RM
13599 * Makeconfig (all-Depend-files): Add existing
13600 $(sorted-subdirs:=/Depend) files.
13601 (all-subdirs): Remove nss.
13602 * sysdeps/unix/inet/Subdirs: Add it here instead.
13603 * hesiod/Depend: New file.
13604
573c29b2
RM
13605 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13606 instead of calling alloca.
13607
b2e25af0
RM
13608 * io/lseek.c (__lseek): Rename to __libc_lseek.
13609 Define __lseek as an alias.
13610
eab55bfb
RM
13611 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13612
9a0d1941
CD
136132013-02-04 Carlos O'Donell <carlos@redhat.com>
13614
13615 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13616 else clause and remove check for non-standard endianness.
13617
b83bbec4
DM
136182013-02-04 David S. Miller <davem@davemloft.net>
13619
13620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13621
6277fdab
JM
136222013-02-04 Joseph Myers <joseph@codesourcery.com>
13623
13624 [BZ #13550]
13625 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13626 (__ubp_memchr): Remove prototype.
13627 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13628 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13629 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13630 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13631 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13632 Remove alias.
13633 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13634 (__ubp_memchr): Likewise.
13635 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13636 (__ubp_memchr): Likewise.
13637 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13638 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13639 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13640 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13641 CHECK_STRING.
13642 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13643 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13644 (__getcwd): Do not use CHECK_STRING.
13645 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13646 <bp-checks.h>.
13647 (__real_chown): Do not use CHECK_STRING.
13648 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13649 <bp-checks.h>.
13650 (fchownat): Do not use CHECK_STRING.
13651 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13652 CHECK_STRING.
13653 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13654 <bp-checks.h>.
13655 (__lchown): Do not use CHECK_STRING.
13656 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13657 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13658 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13659 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13661 include <bp-checks.h>.
13662 (truncate64): Do not use CHECK_STRING.
13663 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13664 <bp-checks.h>.
13665 (__real_chown): Do not use CHECK_STRING.
13666 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13667 <bp-checks.h>.
13668 (__lchown): Do not use CHECK_STRING.
13669 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13670 <bp-checks.h>.
13671 (__chown): Do not use CHECK_STRING.
13672 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13673 <bp-checks.h>.
13674 (truncate64): Do not use CHECK_STRING.
13675 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13676 Likewise.
13677 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13678 (__xmknod): Do not use CHECK_STRING.
13679 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13680 <bp-checks.h>.
13681 (__xmknodat): Do not use CHECK_STRING.
13682 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13683 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13684
903ae060
AS
136852013-02-04 Andreas Schwab <schwab@suse.de>
13686
13687 [BZ #14142]
13688 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13689 * include/netdb.h: Likewise for h_errno.
13690 * elf/tst-stackguard1.c: Include <tls.h>.
13691
542f9466
JK
136922013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13693
13694 * elf/link.h (struct link_map): Extend the l_addr comment.
13695 * include/link.h (struct link_map): Likewise.
13696
e782a927
JM
136972013-02-01 Joseph Myers <joseph@codesourcery.com>
13698
13699 [BZ #13550]
13700 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13701 (BOUNDED_1): Remove macro.
13702 * debug/backtrace.c: Don't include <bp-checks.h>.
13703 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13704 (__backtrace): Likewise.
13705 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13706 <bp-checks.h>.
13707 (__backtrace): Don't use BOUNDED_1.
13708 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13709 <bp-checks.h>.
13710 (__backtrace): Don't use BOUNDED_1.
13711 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13712 (__backtrace): Don't use BOUNDED_1.
13713 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13714 (shmat): Don't use BOUNDED_N.
13715
8cf28c5e
JM
137162013-01-31 Joseph Myers <joseph@codesourcery.com>
13717
3a7ac8a0
JM
13718 [BZ #13550]
13719 * sysdeps/generic/bp-start.h: Remove file.
13720 * csu/libc-start.c: Don't include <bp-start.h>.
13721 (LIBC_START_MAIN): Set up __environ directly instead of using
13722 INIT_ARGV_and_ENVIRON.
13723 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13724 <bp-start.h>.
13725
f3499f95
JM
13726 [BZ #13550]
13727 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13728 definitions.
13729 (CHECK_FCNTL): Likewise.
13730 (CHECK_N_PAGES): Likewise.
13731
32a45bea
JM
13732 [BZ #13550]
13733 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13734 definitions.
13735 (CHECK_SIGSET_NULL_OK): Likewise.
13736 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13737 <bp-checks.h>.
13738 (sigpending): Don't use CHECK_SIGSET.
13739 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13740 <bp-checks.h>.
13741 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13742 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13743 <bp-checks.h>.
13744 (do_sigsuspend): Don't use CHECK_SIGSET.
13745 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13746 use CHECK_SIGSET.
13747 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13748 (do_sigwait): Don't use CHECK_SIGSET.
13749 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13750 use CHECK_SIGSET.
13751 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13752 include <bp-checks.h>.
13753 (sigpending): Don't use CHECK_SIGSET.
13754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13755 include <bp-checks.h>.
13756 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13757 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13758 <bp-checks.h>.
13759 (sigpending): Don't use CHECK_SIGSET.
13760 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13761 <bp-checks.h>.
13762 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13763
2e8a5c8c
JM
13764 [BZ #13550]
13765 * sysdeps/generic/bp-semctl.h: Remove file.
13766 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13767 <bp-checks.h> and <bp-semctl.h>.
13768 (__old_semctl): Don't use CHECK_SEMCTL.
13769 (__new_semctl): Likewise.
13770 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13771 and <bp-semctl.h>.
13772 (__old_semctl): Don't use CHECK_SEMCTL.
13773 (__new_semctl): Likewise.
13774 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13775 <bp-checks.h> and <bp-semctl.h>.
13776 (__old_semctl): Don't use CHECK_SEMCTL.
13777 (__new_semctl): Likewise.
13778 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13779 <bp-checks.h> and <bp-semctl.h>.
13780 (semctl): Don't use CHECK_SEMCTL.
13781
c2d54929
JM
13782 [BZ #13550]
13783 * Makerules (elide-bp-thunks): Remove variable.
13784 (elide-routines.oS): Don't use $(elide-bp-thunks).
13785 (elide-routines.os): Likewise.
13786 (elide-routines.o): Likewise.
13787 (elide-routines.op): Likewise.
13788 (elide-routines.og): Likewise.
13789 (objects): Don't use $(bp-thunks).
13790 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13791 include.
13792 (common-generated): Do not add s-proto-bp.d.
13793 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13794 (int): Likewise.
13795 (typ): Likewise.
13796 Do not generate makefile rules for bounded-pointer thunks.
13797 * sysdeps/generic/bp-thunks.h: Remove file.
13798 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13799 * sysdeps/unix/s-proto-bp.S: Likewise.
13800
8cf28c5e
JM
13801 [BZ #15062]
13802 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13803 parts of result separately when argument is not close to line from
13804 -i to i and one part of argument is small.
13805 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13806 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13807 * math/libm-test.inc (cacos_test): Add more tests.
13808 (casin_test): Likewise.
13809 (casinh_test): Likewise.
13810 * sysdeps/i386/fpu/libm-test-ulps: Update.
13811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13812
c4e33b8d
DM
138132013-01-31 David S. Miller <davem@davemloft.net>
13814
13815 * po/de.po: Update from translation team.
13816
3b60b421
MK
138172013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13818
13819 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13820
bb931195
TS
138212013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13822
b5a5da23
TS
13823 * configure.in (_AC_PROG_CC_C89): New definition.
13824 * configure: Regenerate.
13825
bb931195
TS
13826 * configure.in (AC_PROG_CPP): New definition.
13827 * configure: Regenerate.
13828
8c53a12c
JM
138292013-01-23 Joseph Myers <joseph@codesourcery.com>
13830
13831 * debug/tst-backtrace.h: New file.
13832 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13833 (ret): Remove variable.
13834 (x): Likewise.
13835 (FAIL): Remove macro.
13836 (NO_INLINE): Likewise.
13837 (fn1): Use match function instead of strstr.
13838 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13839 (ret): Remove variable.
13840 (x): Likewise.
13841 (FAIL): Remove macro.
13842 (NO_INLINE): Likewise.
13843 (fn): Use match function instead of strstr.
13844 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13845 (ret): Remove variable.
13846 (x): Likewise.
13847 (FAIL): Remove macro.
13848 (NO_INLINE): Likewise.
13849 (handle_signal): Use match function instead of strstr.
13850 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13851 (ret): Remove variable.
13852 (x): Likewise.
13853 (FAIL): Remove macro.
13854 (NO_INLINE): Likewise.
13855 (handle_signal): Use match function instead of strstr.
13856
4858fa2a
RM
138572013-01-23 Roland McGrath <roland@hack.frob.com>
13858
13859 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13860
bae8e7f5
DM
138612013-01-23 David S. Miller <davem@davemloft.net>
13862
13863 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13864 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13865 argument of CAS if possible.
13866 * sysdeps/sparc/sparc64/bits/atomic.h
13867 (__arch_compare_and_exchange_val_32_acq): Likewise.
13868 (__arch_compare_and_exchange_val_64_acq): Likewise.
13869
9cbbc4ae
PT
138702013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13871
13872 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13873 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13874 Include <limits.h>.
67b3f58c 13875 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13876
5655a0b5
AC
138772013-01-23 Adam Conrad <adconrad@0c3.net>
13878
13879 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13880 (LDFLAGS-tst-array5): Likewise.
13881
052aff95
JM
138822013-01-23 Joseph Myers <joseph@codesourcery.com>
13883
13884 [BZ #15036]
13885 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13886 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13887 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13888 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13889
7c1e01aa
DM
138902013-01-21 David S. Miller <davem@davemloft.net>
13891
13892 * sysdeps/sparc/backtrace.c: New file.
13893 * sysdeps/sparc/sparc32/backtrace.h: New file.
13894 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13895 * sysdeps/sparc/sparc64/backtrace.h: New file.
13896 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13897 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13898 -funwind-tables.
13899
ab087e0a
AS
139002013-01-21 Andreas Schwab <schwab@suse.de>
13901
13902 [BZ #15020]
13903 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13904 closed its stdout.
13905
ed689c2f
AS
139062013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13907
13908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13909 "mpa2.h".
13910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13911
31d470ac
JM
139122013-01-18 Joseph Myers <joseph@codesourcery.com>
13913 Mark Mitchell <mark@codesourcery.com>
13914 Tom de Vries <tom@codesourcery.com>
13915 Paul Pluzhnikov <ppluzhnikov@google.com>
13916
13917 * debug/tst-backtrace2.c: New file.
13918 * debug/tst-backtrace3.c: Likewise.
13919 * debug/tst-backtrace4.c: Likewise.
13920 * debug/tst-backtrace5.c: Likewise.
13921 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13922 (CFLAGS-tst-backtrace3.c): Likewise.
13923 (CFLAGS-tst-backtrace4.c): Likewise.
13924 (CFLAGS-tst-backtrace5.c): Likewise.
13925 (LDFLAGS-tst-backtrace2): Likewise.
13926 (LDFLAGS-tst-backtrace3): Likewise.
13927 (LDFLAGS-tst-backtrace4): Likewise.
13928 (LDFLAGS-tst-backtrace5): Likewise.
13929 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13930 tst-backtrace4 and tst-backtrace5.
13931
90567f30 139322013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13933 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13934
13935 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13936 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13937 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13938 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13940 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13941 "+r" and remove output regs list as redundant. Add explicit inline
13942 asm to specify register of return val to work around compiler codegen
13943 bug. Remove (int) cast on return value. Add return type parameter to
13944 use in macro so that this macro does not truncate return value for
13945 64-bit values.
13946 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13947 pass to INTERNAL_VSYSCALL_NCS.
13948 (INLINE_VSYSCALL): Add 'long int' as return type to
13949 INTERNAL_VSYSCALL_NCS macro invocation.
13950 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13951 INTERNAL_VSYSCALL_NCS macro invocation.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13953
d3b9ea61
SP
139542013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13955
0b57daeb
SP
13956 [BZ #14496]
13957 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13958 Fix application of SIMD FP exception mask.
13959
caa99d06
SP
13960 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13961 mp_no from a power of two.
13962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13963 __mpexp_twomm1. Use __pow_mp.
13964
d3b9ea61
SP
13965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13966 multiplication.
13967
1dbaee3c
DM
139682013-01-17 David S. Miller <davem@davemloft.net>
13969
13970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13971
728d7b43
JM
139722013-01-17 Joseph Myers <joseph@codesourcery.com>
13973
13974 [BZ #15023]
13975 * include/complex.h: Condition contents on [!_COMPLEX_H].
13976 (__kernel_casinhf): New prototype.
13977 (__kernel_casinh): Likewise.
13978 (__kernel_casinhl): Likewise.
13979 * math/Makefile (libm_calls): Add k_casinh.
13980 * math/k_casinh.c: New file.
13981 * math/k_casinhf.c: Likewise.
13982 * math/k_casinhl.c: Likewise.
13983 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13984 finite nonzero arguments.
13985 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13986 finite nonzero arguments.
13987 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13988 finite nonzero arguments.
13989 * math/s_casinh.c: Do not include <float.h>.
13990 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13991 * math/s_casinhf.c: Do not include <float.h>.
13992 (__casinhf): Move code for finite nonzero arguments to
13993 k_casinhf.c.
13994 * math/s_casinhl.c: Do not include <float.h>.
13995 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13996 redefine.
13997 (__casinhl): Move code for finite nonzero arguments to
13998 k_casinhl.c.
13999 * math/libm-test.inc (cacos_test): Add more tests.
14000 * sysdeps/i386/fpu/libm-test-ulps: Update.
14001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14002
2a26ef3a
PT
140032013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14004
14005 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14006 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14007 [!HAVE_MREMAP]: Remove [defined linux] case.
14008 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14009
a897655d
SP
140102013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14011
14012 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14013
881ebe89 140142013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
14015
14016 * elf/elf.h (R_386_SIZE32): New relocation.
14017 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14018 R_386_SIZE32.
14019 (elf_machine_rela): Likewise.
14020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14021 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14022
59981e9b
JM
140232013-01-17 Joseph Myers <joseph@codesourcery.com>
14024
14025 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14026 (FP_FAST_FMA): Do not define.
14027 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14028 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14029 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14030 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14031 !_SOFT_FLOAT]: Likewise.
14032 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14033 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14034 value.
14035 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14036 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14037 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14038 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14039 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14040 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14041 file.
14042
cfa8054f
AS
140432013-01-16 Andreas Schwab <schwab@suse.de>
14044
14045 [BZ #14327]
14046 * include/stdlib.h (__mktemp): Add declaration.
14047 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14048 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14049
dd930cc5
SP
140502013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14051
881ebe89
SP
14052 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14053 definitions.
14054 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14055 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14056 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14057 definitions here.
14058 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14059 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14060 definitions.
14061 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14062 and ONE.
14063 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14064 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14065 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14066 definitions.
14067 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14068 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14069 definitions.
14070 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 14071
dd930cc5
SP
14072 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14073
c19a9f89
DM
140742013-01-15 David S. Miller <davem@davemloft.net>
14075
1aa61767
DM
14076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14077 trunc{,f} to libm-sysdep_routes.
14078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14080 file.
14081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14083 file.
14084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14085 file.
14086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14088 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14089 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14090 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14091 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14092 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14093 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14094
c42d5e98
DM
14095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14096 nearbyint{,f} to libm-sysdep_routes.
14097 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14099 New file.
14100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14101 file.
14102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14103 New file.
14104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14105 file.
14106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14108 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14109 file.
14110 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14111 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14112 file.
14113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14114 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14115 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14116
c19a9f89
DM
14117 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14118 libc_feholdexcept and libc_fesetenv.
14119
357679d2
MF
141202013-01-15 Mike Frysinger <vapier@gentoo.org>
14121
14122 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14123
65a82e3d
DM
141242013-01-14 David S. Miller <davem@davemloft.net>
14125
8b954ab9
DM
14126 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14127 (SPARC_ASM_VIS2_IFUNC): Likewise.
14128 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14130 use of 'siam' instruction.
14131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14132 Likewise.
14133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14134 Likewise.
14135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14136 Likewise.
14137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14142 file.
14143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14144 file.
14145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14146 file.
14147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14148 file.
14149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14154 new VIS2 routines.
14155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14158 Likewise.
14159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14164 routines to libm-sysdep_routines.
14165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14166
65a82e3d
DM
14167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14168 fdim/fdimf to libm-sysdep_routines.
14169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14170 file.
14171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14173 file.
14174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14177 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14178 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14179 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14180 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14181
e34ab705
SP
141822013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14183
2a91b573
SP
14184 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14185 to optimize copies.
14186
1066a534
SP
14187 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14190
e34ab705
SP
14191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14192 local variable MPTWO.
14193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14194 Likewise.
14195
aba5e596
MF
141962013-01-13 Mike Frysinger <vapier@gentoo.org>
14197
14198 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14199 GLOB_NOESCAPE.
14200
e557e9e5
MF
142012013-01-13 Mike Frysinger <vapier@gentoo.org>
14202
14203 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14204
0428cec9
MF
142052013-01-13 Mike Frysinger <vapier@gentoo.org>
14206
14207 * manual/pattern.texi (glob_t): Document gl_flags.
14208 (glob64_t): Likewise.
14209
8794a964
DM
142102013-01-11 David S. Miller <davem@davemloft.net>
14211
66438c3f
RM
14212 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14213 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14214 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
14215 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14216 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14217 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14218 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14219 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14220 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14221 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14222 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14223 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14224 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14225
4ae4244d
DM
14226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14227 sparc V9 rather than using V8 code.
14228 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14229 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14230
8794a964
DM
14231 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14232 Move to...
14233 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14234 Here.
14235
6270516e
RM
142362013-01-11 Roland McGrath <roland@hack.frob.com>
14237
14238 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14239 not in the main loop.
14240 * configure: Regenerated.
14241
6a57d931
JM
142422013-01-11 Joseph Myers <joseph@codesourcery.com>
14243
14244 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14245 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14246 to just #else.
14247 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14248 [!__GLIBC_HAVE_LONG_LONG] case.
14249 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14250 condition to just #else.
14251 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14252 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14253 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14254 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14255 unconditional.
14256 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14257 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14258 #elif condition to just #else.
14259 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14260 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14261 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14262 #elif condition to just #else.
14263
0e8529e9
SE
142642013-01-11 Steve Ellcey <sellcey@mips.com>
14265
14266 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14267 (EF_MIPS_ARCH_64): Fix value.
14268 (EF_MIPS_ARCH_32R2): New.
14269 (EF_MIPS_ARCH_64R2): New.
14270
740b3dbe
L
142712013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14272
14273 * Makeconfig (+link-pie-before-libc): New.
14274 (+link-pie-after-libc): Likewise.
14275 (+link-pie-tests): Likewise.
14276 (+link-pie): Rewritten.
14277 (link-before-libc): Remove $(config-LDFLAGS).
14278 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14279 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14280 (config-LDFLAGS): Renamed to ...
14281 (rtld-LDFLAGS): This.
14282 (rtld-tests-LDFLAGS): New macro.
14283 (link-libc-rpath-link): Likewise.
14284 (link-libc-tests-rpath-link): Likewise.
14285 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14286 (link-libc): Prepand $(link-libc-rpath-link).
14287 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14288 (test-program-prefix): New macro.
14289 (test-via-rtld-prefix): Likewise.
14290 (test-program-cmd): Likewise.
14291 (host-test-program-cmd): Likewise.
14292 * Makefile ($(common-objpfx)testrun.sh): Replace
14293 $(run-program-prefix) with $(test-program-prefix).
14294 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14295 $(rtld-LDFLAGS).
14296 ($(common-objpfx)shlib.lds): Likewise.
14297 (build-module-helper): Likewise.
14298 ($(common-objpfx)format.lds): Likewise.
14299 * Rules (binaries-pie-tests): New.
14300 (binaries-pie-notests): Likewise.
14301 (binaries-pie): Rewritten.
14302 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14303 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14304 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14305 (make-test-out): Replace $(host-built-program-cmd) with
14306 $(host-test-program-cmd).
14307 * config.make.in (build-hardcoded-path-in-tests): New variable.
14308 * configure.in (--enable-hardcoded-path-in-tests): New configure
14309 option.
14310 (hardcoded_path_in_tests): New AC_SUBST.
14311 * configure: Regenerated.
14312 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14313 $(built-program-cmd) with $(test-program-cmd).
14314 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14315 (test_program_cmd): This.
14316 * elf/Makefile ($(objpfx)order.out): Run test with
14317 $(test-program-prefix).
14318 ($(objpfx)order2.out): Likewise.
14319 ($(objpfx)tst-initorder.out): Likewise.
14320 ($(objpfx)tst-initorder2.out): Likewise.
14321 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14322 $(test-program-cmd).
14323 ($(objpfx)tst-array1-static.out): Likewise.
14324 ($(objpfx)tst-array2.out): Likewise.
14325 ($(objpfx)tst-array3.out): Likewise.
14326 ($(objpfx)tst-array4.out): Likewise.
14327 ($(objpfx)tst-array5.out): Likewise.
14328 ($(objpfx)tst-array5-static.out): Likewise.
14329 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14330 $(test-program-cmd).
14331 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14332 $(run-program-prefix) with $(test-program-prefix).
14333 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14334 (test_program_prefix): This.
14335 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14336 $(run-program-prefix) with $(test-program-prefix).
14337 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14338 (test_program_prefix): This.
14339 * iconvdata/tst-tables.sh: Likewise.
14340 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14341 $(run-program-prefix) with $(test-program-prefix).
14342 ($(objpfx)tst-translit.out): Likewise.
14343 ($(objpfx)tst-gettext2.out): Likewise.
14344 ($(objpfx)tst-gettext4.out): Likewise.
14345 ($(objpfx)tst-gettext6.out): Likewise.
14346 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14347 (test_program_prefix): This.
14348 * intl/tst-gettext2.sh: Likewise.
14349 * intl/tst-gettext4.sh Likewise.
14350 * intl/tst-gettext6.sh: Likewise.
14351 * intl/tst-translit.sh: Likewise.
14352 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14353 with $(test-program-cmd).
14354 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14355 $(run-program-prefix) with $(test-program-prefix).
14356 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14357 (test_program_prefix): This.
14358 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14359 $(run-program-prefix) with $(test-program-prefix).
14360 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14361 (test_program_prefix): This.
14362 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14363 * posix/Makefile ($(objpfx)globtest.out): Replace
14364 $(run-via-rtld-prefix) and $(test-wrapper) with
14365 $(test-program-prefix) and $(test-via-rtld-prefix).
14366 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14367 $(test-program-prefix).
14368 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14369 $(host-test-program-cmd).
14370 (tst-spawn-ARGS): Likewise.
14371 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14372 $(test-program-prefix).
14373 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14374 (test_via_rtld_prefix): This.
14375 (test_wrapper): Renamed to ...
14376 (test_program_prefix): This.
14377 (run_program_prefix): Replaced by test_program_prefix.
14378 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14379 (test_program_prefix): This.
14380 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14381 with $(host-test-program-cmd).
14382 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14383 $(run-program-prefix) with $(test-program-prefix).
14384 ($(objpfx)tst-printf.out): Likewise.
14385 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14386 $(test-program-cmd).
14387 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14388 (test_program_prefix): This.
14389 * stdio-common/tst-unbputc.sh: Likewise.
14390 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14391 $(run-program-prefix) with $(test-program-prefix).
14392 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14393 (test_program_prefix): This.
14394 * string/Makefile ($(objpfx)tst-svc.out): Replace
14395 $(built-program-cmd) with $(test-program-cmd).
14396
c6fe55cf
AJ
143972013-01-11 Andreas Jaeger <aj@suse.de>
14398
14399 [BZ #15003]
14400 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14401 value. Sync with Linux 3.7.
14402
9e6919c8
DM
144032013-01-10 David S. Miller <davem@davemloft.net>
14404
14405 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14406 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14407 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14408
1c9f1a02
RM
144092013-01-10 Roland McGrath <roland@hack.frob.com>
14410
14411 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14412 never set.
14413 * configure: Regenerated.
14414
b9de2dde
DM
144152013-01-10 David S. Miller <davem@davemloft.net>
14416
14417 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14418 sparc V9 rather than using V8 code.
14419 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14420 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14421
e7f68ef4
RM
144222013-01-10 Roland McGrath <roland@hack.frob.com>
14423
14424 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14425 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14426 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14427 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14428 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14429 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14430 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14431 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14432 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14433 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14434 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14435 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14436 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14437 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14438 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14439 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14440 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14441 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14442 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14443 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14444 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14445 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14446 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14447 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14448 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14449 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14450 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14451
5a47cc9c
DM
144522013-01-10 David S. Miller <davem@davemloft.net>
14453
14454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14455
4cf8f209
L
144562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14457
14458 * posix/Makefile (tests-static): New variable.
14459 (tests): Add $(tests-static).
14460 (tst-exec-static-ARGS): New variable.
14461 (tst-spawn-static-ARGS): Likewise.
14462 * posix/tst-exec-static.c: New file.
14463 * posix/tst-spawn-static.c: Likewise.
14464 * posix/tst-exec.c: Support run directly.
14465 * posix/tst-spawn.c: Likewise.
14466
fed0faa1
JM
144672013-01-10 Joseph Myers <joseph@codesourcery.com>
14468
828beb13
JM
14469 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14470 long.
14471 * math/bits/mathcalls.h (llrint): Likewise.
14472 (llround): Likewise.
14473 * stdlib/stdlib.h (struct drand48_data): Likewise.
14474 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14475 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14476 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14477 Likewise.
14478 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14479 Likewise.
14480 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14481 (elf_greg_t): Likewise.
14482 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14483 (__jmp_buf): Likewise.
14484 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14485 definitions.
14486 (llrint): Likewise, for all definitions.
14487 (llrintl): Likewise.
14488
fed0faa1
JM
14489 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14490 Remove [__GNUC__] condition.
14491 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14492 condition to just [__USE_ISOC99].
14493 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14494
1a20cb20
L
144952013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14496
14497 [BZ #14200]
14498 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14499 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14500 defined.
14501 (_POSIX_V6_ILP32_OFF32): Likewise.
14502 (_XBS5_ILP32_OFF32): Likewise.
14503 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14504 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14505
751b85f7
SP
145062013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14507
7490eb81
SP
14508 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14509
751b85f7
SP
14510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14511 doubles __mpexp_twomm1. Adjust usage.
14512 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14513 Remove.
14514
988197f0
AS
145152013-01-10 Andreas Schwab <schwab@suse.de>
14516
14517 [BZ #14964]
14518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14519 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14520
e83d7298
DM
145212013-01-09 David S. Miller <davem@davemloft.net>
14522
034ed64b 14523 [BZ #15003]
e83d7298
DM
14524 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14525 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14526 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14527 TCP_FASTOPEN): Define.
14528 (tcp_repair_opt): New structure.
14529 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14530 enum values.
14531 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14532 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14533 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14534 (tcp_cookie_transactions): New structure.
14535
d5e0b9bd
AB
145362013-01-09 Anton Blanchard <anton@samba.org>
14537
14538 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14539 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14540 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14541 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14542
0c07e3ea
JM
145432013-01-09 Joseph Myers <joseph@codesourcery.com>
14544
14545 * include/features.h (__USE_ANSI): Remove.
14546
232f7002
RM
145472013-01-09 Roland McGrath <roland@hack.frob.com>
14548
ad98e30c
RM
14549 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14550
232f7002
RM
14551 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14552
950c99ca
SP
145532013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14554
b5792741
SP
14555 * sysdeps/s390/fpu/libm-test-ulps: Update.
14556
47cf2278
SP
14557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14558
950c99ca
SP
14559 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14560 (__acr): Likewise.
14561 (__cpy): Likewise.
14562 (norm): Likewise.
14563 (denorm): Likewise.
14564 (__mp_dbl): Likewise.
14565 (__dbl_mp): Likewise.
14566 (add_magnitudes): Likewise.
14567 (sub_magnitudes): Likewise.
14568 (__add): Likewise.
14569 (__sub): Likewise.
14570 (__mul): Likewise.
14571 (__inv): Likewise.
14572 (__dvd): Likewise.
14573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14574 (__acr): Likewise.
14575 (__cpy): Likewise.
14576 (norm): Likewise.
14577 (denorm): Likewise.
14578 (__mp_dbl): Likewise.
14579 (__dbl_mp): Likewise.
14580 (add_magnitudes): Likewise.
14581 (sub_magnitudes): Likewise.
14582 (__add): Likewise.
14583 (__sub): Likewise.
14584 (__mul): Likewise.
14585 (__inv): Likewise.
14586 (__dvd): Likewise.
14587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14588 (__acr): Likewise.
14589 (__cpy): Likewise.
14590 (norm): Likewise.
14591 (denorm): Likewise.
14592 (__mp_dbl): Likewise.
14593 (__dbl_mp): Likewise.
14594 (add_magnitudes): Likewise.
14595 (sub_magnitudes): Likewise.
14596 (__add): Likewise.
14597 (__sub): Likewise.
14598 (__mul): Likewise.
14599 (__inv): Likewise.
14600 (__dvd): Likewise.
14601
eede9df9
JM
146022013-01-08 Joseph Myers <joseph@codesourcery.com>
14603
14604 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14605 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14606 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14607 2 && __USE_EXTERN_INLINES]: Likewise.
14608
c40ea3d9
AJ
146092013-01-08 Andreas Jaeger <aj@suse.de>
14610
14611 [BZ# 14985]
14612 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14613 Remove.
14614 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14615 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14616
2ccdea26
AB
146172013-01-07 Anton Blanchard <anton@samba.org>
14618
14619 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14620 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14621 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14622 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14623 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14624 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14625 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14626 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14628 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14629 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14630 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14631 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14632 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14633 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14634 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14635 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14636 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14637 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14638 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14639 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14640 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14642 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14643 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14644 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14645 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14646 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14647 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14648 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14649 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14651 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14652 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14653 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14654 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14655 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14656 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14657 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14658 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14659 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14660 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14661 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14662
a9708fed
JM
146632013-01-07 Joseph Myers <joseph@codesourcery.com>
14664
375607b9
JM
14665 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14666 (__MALLOC_PMT): Likewise.
14667 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14668 [__GNUC__], only on [_LIBC].
14669 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14670 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14671 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14672 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14673 forward declaration.
14674 (realloc_hook_ini): Likewise.
14675 (memalign_hook_ini): Likewise.
14676 (__libc_memalign): Do not use __MALLOC_PMT in variable
14677 declaration.
14678 (__libc_valloc): Likewise.
14679 (__libc_pvalloc): Likewise.
14680 (__libc_calloc): Likewise.
14681 (__posix_memalign): Likewise.
14682
a9708fed
JM
14683 [BZ #14996]
14684 * math/s_casinh.c: Include <float.h>.
14685 (__casinh): Do not do computation with squaring and square root
14686 for large arguments.
14687 * math/s_casinhf.c: Include <float.h>.
14688 (__casinhf): Do not do computation with squaring and square root
14689 for large arguments.
14690 * math/s_casinhl.c: Include <float.h>.
14691 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14692 (__casinhl): Do not do computation with squaring and square root
14693 for large arguments.
14694 * math/libm-test.inc (casin_test): Add more tests.
14695 (casinh_test): Likewise.
14696 * sysdeps/i386/fpu/libm-test-ulps: Update.
14697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14698
afec409a
L
146992013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14700
14701 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14702 (__x86_64_raw_data_cache_size): Likewise.
14703 (__x86_64_data_cache_size_half): Likewise.
14704 (__x86_64_raw_data_cache_size_half): Likewise.
14705 (__x86_64_shared_cache_size): Likewise.
14706 (__x86_64_raw_shared_cache_size): Likewise.
14707 (__x86_64_shared_cache_size_half): Likewise.
14708 (__x86_64_raw_shared_cache_size_half): Likewise.
14709 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14710 to ...
14711 (__x86_data_cache_size): This.
14712 (__x86_64_raw_data_cache_size): Renamed to ...
14713 (__x86_raw_data_cache_size): This.
14714 (__x86_64_data_cache_size_half): Renamed to ...
14715 (__x86_data_cache_size_half): This.
14716 (__x86_64_raw_data_cache_size_half): Renamed to ...
14717 (__x86_raw_data_cache_size_half): This.
14718 (__x86_64_shared_cache_size): Renamed to ...
14719 (__x86_shared_cache_size): This.
14720 (__x86_64_raw_shared_cache_size): Renamed to ...
14721 (__x86_raw_shared_cache_size): This.
14722 (__x86_64_shared_cache_size_half): Renamed to ...
14723 (__x86_shared_cache_size_half): This.
14724 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14725 (__x86_raw_shared_cache_size_half): This.
14726 * sysdeps/x86_64/memcpy.S: Updated.
14727 * sysdeps/x86_64/memset.S: Likewise.
14728 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14729 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14730 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14731
0b3986d0
DM
147322013-01-04 David S. Miller <davem@davemloft.net>
14733
14734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14735
e47686e9
AS
147362013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14737
d643bac1
AS
14738 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14739 1 to avoid redefinition warning.
14740 (__USE_GNU): Don't define.
14741 (init_signaling_nan): Protoize.
14742
e47686e9
AS
14743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14744
b18decba
SP
147452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14746
fffb407f
SP
14747 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14749 (__cpymn): Likewise.
14750 (norm): Remove commented code.
14751 (denorm): Likewise.
14752 (__mp_dbl): Likewise.
14753 (__inv): Likewise.
14754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14755 (__cpymn): Likewise.
14756 (norm): Remove commented code.
14757 (denorm): Likewise.
14758 (__mp_dbl): Likewise.
14759 (__inv): Likewise.
14760
b18decba
SP
14761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14762 mp_no value for 1.0 and 2.0.
14763 (norm): Use RADIXI instead of radixi.d.
14764 (denorm): Likewise.
14765 (__mul): Use 0.0 instead of zero.d.
14766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14767 mp_no value for 1.0 and 2.0.
14768 (norm): Use RADIXI instead of radixi.d.
14769 (denorm): Likewise.
14770 (__mul): Use 0.0 instead of zero.d.
14771
cdc1c96f
JM
147722013-01-04 Joseph Myers <joseph@codesourcery.com>
14773
14774 [BZ #14994]
14775 * math/s_casinh.c (__casinh): Reduce finite argument to first
14776 quadrant then set signs of results at the end.
14777 * math/s_casinhf.c (__casinhf): Likewise.
14778 * math/s_casinhl.c (__casinhl): Likewise.
14779 * math/libm-test.inc (casin_test): Add more tests.
14780 (casinh_test): Likewise.
14781 * sysdeps/i386/fpu/libm-test-ulps: Update.
14782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14783
302913e1
SP
147842013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14785
6420d207
SP
14786 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14787
a9e48ab4
SP
14788 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14789
b7837264
SP
14790 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14791 declarations.
14792 (denorm): Likewise.
14793 (__mp_dbl): Likewise.
14794 (__inv): Likewise.
14795
f8af25d2
SP
14796 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14797 and adjust the header comment.
14798
302913e1
SP
14799 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14800 variable name from declaration.
14801
5d7dd1ca
L
148022013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14803
14804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14805 Initialize COMMON_CPUID_INDEX_7 element.
14806 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14807 (CPUID_RTM): Likewise.
14808 (HAS_RTM): Likewise.
14809 (COMMON_CPUID_INDEX_7): New enum.
14810
2f5f40f4
AS
148112013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14812
14813 [BZ #14981]
14814 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14815 size is zero, record memory as freed.
14816
4056f4a0
AJ
148172013-01-03 Andreas Jaeger <aj@suse.de>
14818
14819 * po/ia.po: Add new Interlingua translation.
14820
ab15736f 148212012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14822
14823 * locale/programs/localedef.c: Fix description of '--posix' flag.
14824
568035b7
JM
148252013-01-02 Joseph Myers <joseph@codesourcery.com>
14826
e6898b8d
JM
14827 * NEWS: Update dates in second copyright notice.
14828 * README: Update copyright dates in example.
14829 * manual/libc.texinfo: Update copyright dates.
14830 * scripts/test-installation.pl: Update copyright date in --version
14831 output.
14832
0e2f9562
JM
14833 * hurd/ctty-input.c: Fix copyright notice formatting.
14834 * hurd/ctty-output.c: Likewise.
14835 * hurd/dtable.c: Likewise.
14836 * hurd/hurd-raise.c: Likewise.
14837 * hurd/hurdprio.c: Likewise.
14838 * hurd/msgportdemux.c: Likewise.
14839 * misc/sys/file.h: Likewise.
14840 * misc/sys/ioctl.h: Likewise.
14841 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14842 * sysdeps/mach/hurd/chdir.c: Likewise.
14843 * sysdeps/mach/hurd/fchdir.c: Likewise.
14844 * sysdeps/mach/hurd/rename.c: Likewise.
14845 * sysdeps/mach/hurd/rmdir.c: Likewise.
14846 * sysdeps/mach/hurd/seekdir.c: Likewise.
14847 * sysdeps/mach/hurd/setsid.c: Likewise.
14848 * sysdeps/posix/wait3.c: Likewise.
14849
568035b7
JM
14850 * All files with FSF copyright notices: Update copyright dates
14851 using scripts/update-copyrights.
14852 * intl/plural.c: Regenerated.
14853 * locale/programs/charmap-kw.h: Likewise.
14854 * locale/programs/locfile-kw.h: Likewise.
14855
da08f647
SP
148562013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14857
0f5477af
SP
14858 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14859 four values.
14860
44e0d4c2
SP
14861 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14862 calculation loop and add branch prediction.
14863
4d55b4e5
SP
14864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14865 check access beyond bounds of m1np.
14866
da08f647
SP
14867 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14868 MPTWO.
14869 (__inv): Remove local variable MPTWO to use the global
14870 constant.
14871 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14872 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14873 variable MPTWO.
14874 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14875 MP3HALFS static const.
14876
8e051029
DM
148772013-01-01 David S. Miller <davem@davemloft.net>
14878
14879 * po/ca.po: Update from translation team.
14880
f4cf5f2d
JM
148812013-01-01 Joseph Myers <joseph@codesourcery.com>
14882
14883 * scripts/update-copyrights: New file.
14884 * Makeconfig: Reformat copyright notice.
14885 * ctype/ctype.h: Likewise.
14886 * debug/swprintf_chk.c: Likewise.
14887 * elf/dl-cache.c: Likewise.
14888 * elf/dl-debug.c: Likewise.
14889 * elf/dl-object.c: Likewise.
14890 * grp/initgroups.c: Likewise.
14891 * hurd/Makefile: Likewise.
14892 * hurd/hurd/signal.h: Likewise.
14893 * hurd/hurdfault.c: Likewise.
14894 * hurd/hurdioctl.c: Likewise.
14895 * hurd/hurdlookup.c: Likewise.
14896 * hurd/intr-msg.c: Likewise.
14897 * iconv/gconv_open.c: Likewise.
14898 * libio/swprintf.c: Likewise.
14899 * locale/lc-ctype.c: Likewise.
14900 * locale/nl_langinfo.c: Likewise.
14901 * mach/Machrules: Likewise.
14902 * mach/Makefile: Likewise.
14903 * malloc/obstack.h: Likewise.
14904 * manual/Makefile: Likewise.
14905 * manual/tsort.awk: Likewise.
14906 * misc/bits/stab.def: Likewise.
14907 * nis/nis_print_group_entry.c: Likewise.
14908 * nis/nis_table.c: Likewise.
14909 * nis/nss_compat/compat-pwd.c: Likewise.
14910 * nis/nss_compat/compat-spwd.c: Likewise.
14911 * po/Makefile: Likewise.
14912 * posix/fnmatch.c: Likewise.
14913 * posix/regex.h: Likewise.
14914 * resolv/Makefile: Likewise.
14915 * resolv/nss_dns/dns-network.c: Likewise.
14916 * resolv/res_hconf.c: Likewise.
14917 * scripts/gen-sorted.awk: Likewise.
14918 * soft-fp/soft-fp.h: Likewise.
14919 * stdio-common/printf.h: Likewise.
14920 * stdlib/monetary.h: Likewise.
14921 * stdlib/random.c: Likewise.
14922 * stdlib/random_r.c: Likewise.
14923 * sysdeps/generic/Makefile: Likewise.
14924 * sysdeps/gnu/Makefile: Likewise.
14925 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14945 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14946 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14947 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14953 * sysdeps/mach/hurd/errnos.awk: Likewise.
14954 * sysdeps/mach/hurd/fork.c: Likewise.
14955 * sysdeps/mach/hurd/getcwd.c: Likewise.
14956 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14957 * sysdeps/mach/hurd/mmap.c: Likewise.
14958 * sysdeps/mach/hurd/utimes.c: Likewise.
14959 * sysdeps/mach/hurd/xmknod.c: Likewise.
14960 * sysdeps/posix/profil.c: Likewise.
14961 * sysdeps/posix/readdir_r.c: Likewise.
14962 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14963 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14964 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14965 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14967 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14968 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14969 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14971 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14972 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14973 * sysdeps/pthread/lio_listio.c: Likewise.
14974 * sysdeps/sparc/dl-procinfo.h: Likewise.
14975 * sysdeps/unix/i386/sysdep.S: Likewise.
14976 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14977 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14978 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14979 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14981 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14982 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14983 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14984 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14985 * sysdeps/wordsize-32/divdi3.c: Likewise.
14986 * time/sys/time.h: Likewise.
14987 * wcsmbs/Makefile: Likewise.
14988
0549fbba
DM
149892013-01-01 David S. Miller <davem@davemloft.net>
14990
a141f1a7
DM
14991 * po/fr.po: Update from translation team.
14992
0549fbba
DM
14993 * catgets/gencat.c: Update copyright year.
14994 * csu/version.c: Likewise.
14995 * debug/catchsegv.sh: Likewise.
14996 * debug/pcprofiledump.c: Likewise.
14997 * debug/xtrace.sh: Likewise.
14998 * elf/ldconfig.c: Likewise.
14999 * elf/ldd.bash.in: Likewise.
15000 * elf/pldd.c: Likewise.
15001 * elf/sotruss.ksh: Likewise.
15002 * elf/sprof.c: Likewise.
15003 * iconv/iconv_prog.c: Likewise.
15004 * iconv/iconvconfig.c: Likewise.
15005 * locale/programs/locale.c: Likewise.
15006 * locale/programs/localedef.c: Likewise.
15007 * login/programs/pt_chown.c: Likewise.
15008 * malloc/memusage.sh: Likewise.
15009 * malloc/memusagestat.c: Likewise.
15010 * malloc/mtrace.pl: Likewise.
15011 * nscd/nscd.c: Likewise.
15012 * nss/getent.c: Likewise.
15013 * nss/makedb.c: Likewise.
15014 * posix/getconf.c: Likewise.
15015
18ea052c
SP
150162012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15017
15018 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15019 numbers.
15020
9c89fca6
MF
150212012-12-30 Mike Frysinger <vapier@gentoo.org>
15022
15023 * math/bits/mathcalls.h (modf): Use __nonnull.
15024
085ec079
SP
150252012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15026
15027 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15028 (split): Use macro CN instead of the bare value.
15029 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15030 could be used.
15031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15032 instead of the bare value.
15033 (power1): Likewise.
15034
6d9f97e1
SP
150352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15036
d63f73be
SP
15037 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15038 __ATAN_TWOM.
15039 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15040
6d9f97e1
SP
15041 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15042 their values.
15043 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15044 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15045 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15046 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15047
4c4febf5
AJ
150482012-12-28 Andreas Jaeger <aj@suse.de>
15049
af5843ef
AJ
15050 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15051 values are from Linux 3.7.
15052
4c4febf5
AJ
15053 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15054 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15055
99136f82
SP
150562012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15057
2f216c3c 15058 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
15059 TRUE case.
15060
99136f82
SP
15061 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15062 (norm): Likewise.
15063 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15064 variables with preprocessor constants.
15065 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15066 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15067 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15068
7fffbdff
BH
150692012-12-27 Bruno Haible <bruno@clisp.org>
15070
15071 [BZ #14317]
15072 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15073 only if needed.
15074
b76eb5f0
SP
150752012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15076
31a7fe5c
SP
15077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15078 and use variable directly.
15079 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15080
b76eb5f0
SP
15081 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15082 MPONE.
15083 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15084 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15085 variable MPONE.
15086 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15088 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15089 include directive. Remove local variable MPONE.
15090 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15091 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15092 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15093
2c8bfe7d
DM
150942012-12-25 David S. Miller <davem@davemloft.net>
15095
15096 * version.h (RELEASE): Set to "development".
15097 (VERSION): Set to "2.17.90".
15098 * NEWS: Add 2.18 section.
15099
147d03b0
DM
151002012-12-21 David S. Miller <davem@davemloft.net>
15101
15102 * po/hr.po: Update from translation team.
15103
a8ebb2b9
AK
151042012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15105
15106 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15107
95b4f1b6
SE
151082012-12-19 Steve Ellcey <sellcey@mips.com>
15109
b2d94007 15110 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 15111
cedb2a90
MS
151122012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15113
15114 * manual/contrib.texi (Contributors): Spelling correction.
15115
bbf527d6
DM
151162012-12-15 David S. Miller <davem@davemloft.net>
15117
15118 * po/ru.po: Update from translation team.
15119
bc38c906
DM
151202012-12-13 David S. Miller <davem@davemloft.net>
15121
85429b1a
DM
15122 * NEWS: Mention IFUNC testsuite enhancements.
15123
d283e353
DM
15124 * po/pl.po: Update from translation team.
15125 * po/bg.po: Likewise.
15126
bc38c906
DM
15127 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15128 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15129
a181b0d7
DM
151302012-12-11 David S. Miller <davem@davemloft.net>
15131
4641d57e
DM
15132 * po/sv.po: Update from translation team.
15133
f7bc6495
DM
15134 * po/vi.po: Update from translation team.
15135
6fc9048f
DM
15136 * po/cs.po: Update from translation team.
15137
a181b0d7
DM
15138 * po/de.po: Update from translation team.
15139 * po/eo.po: Likewise.
15140 * po/nl.po: Likewise.
15141
f70bfe80
SP
151422012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15143
3c8b4190
SP
15144 [BZ #14246]
15145 * manual/argp.texi (Argp Helper Functions): Move node to follow
15146 Argp Parsing State.
15147
f70bfe80
SP
15148 [BZ #14872]
15149 * manual/conf.texi (Limits on File System Capacity): Mention if
15150 terminating null is included in the max size.
15151
188f0adf
AJ
151522012-12-10 Andreas Jaeger <aj@suse.de>
15153
15154 * po/cs.po: Update from translation team.
15155
56e7d3ad
SP
151562012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15157
15158 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15159 void pointer and cast to uintptr_t.
15160 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15161 path.
15162 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15163 * sysdeps/s390/s390-64/memset.S: Likewise.
15164
76f2d2ea 151652012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
15166
15167 [BZ #14833]
15168 * menual/message.texi (Message Translation): Fix typos.
15169 (Helper programs for gettext): Likewise.
15170
67cbf9a2
AS
151712012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15172
15173 [BZ #14898]
15174 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15175 Change to -1.
15176
682d0e9a
DM
151772012-12-07 David S. Miller <davem@davemloft.net>
15178
15179 * po/libc.pot: Update.
15180
573cd484
RH
151812012-12-07 Richard Henderson <rth@redhat.com>
15182
7e9da188 15183 [BZ #10114]
573cd484
RH
15184 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15185 normal/normal case to before the switch.
15186 (_FP_DIV): Likewise.
15187
e933a943
MF
151882012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15189 Mike Frysinger <vapier@gentoo.org>
15190
15191 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15192 check for __NR_fadvise64_64.
15193
82123268
CM
151942012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15195
15196 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15197 0, not just to plain "0" as a statement.
15198 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15199 with cw.
15200
d9814526
JM
152012012-12-06 Joseph Myers <joseph@codesourcery.com>
15202
15203 * NEWS: Use sourceware.org in Bugzilla URL.
15204
7728c574
SP
152052012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15206
f16946dd
SP
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15208 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15209
5704bbcb
SP
15210 * stdio-common/tst-put-error.c (do_test): Add newline to the
15211 padded test to ensure flush.
15212
17aa0516
JL
152132012-12-05 Jeff Law <law@redhat.com>
15214
15215 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15216
363313b5
JM
152172012-12-05 Joseph Myers <joseph@codesourcery.com>
15218
effbd42a
JM
15219 * README: Don't refer to ports add-on as distributed separately.
15220 Mention AArch64 in list of systems supported in the ports add-on.
15221
87600365
JM
15222 * LICENSES: Add more non-FSF copyright and license notices.
15223
a0d7066a
JM
15224 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15225 ((unused)).
15226
66ca5a5b
JM
15227 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15228
363313b5
JM
15229 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15230 10000 as width of padded output.
15231
b37984ad
JM
152322012-12-04 Joseph Myers <joseph@codesourcery.com>
15233
9003570a
JM
15234 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15235
b37984ad
JM
15236 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15237 variable LX with __attribute__ ((unused)).
15238 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15239 Likewise.
15240 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15242 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15243 with __attribute__ ((unused)).
15244
c8df52ec
DM
152452012-12-04 David S. Miller <davem@abraco.davemloft.net>
15246
15247 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15248
b3b099af
JM
152492012-12-04 Joseph Myers <joseph@codesourcery.com>
15250
c33aa6e3
JM
15251 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15252 (CFLAGS-nldbl-acos.c): New variable.
15253 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15254 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15255 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15256 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15257 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15258 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15259 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15260 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15261 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15262 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15263 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15264 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15265 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15266 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15267 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15268 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15269 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15270 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15271 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15272 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15273 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15274 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15275 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15276 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15277 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15278 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15279 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15280 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15281 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15282 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15283 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15284 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15285 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15286 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15287 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15288 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15289 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15290 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15291 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15292 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15293 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15294 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15295 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15296 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15297 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15298 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15299 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15300 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15301 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15302 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15303 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15304 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15305 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15306 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15307 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15308 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15309 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15310 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15311 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15312 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15313 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15314 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15315 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15316 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15317 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15318 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15319 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15320 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15321 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15322 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15323 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15324 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15325 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15326 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15327 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15328 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15329 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15330 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15331 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15332 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15333 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15334 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15335 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15336 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15337 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15338 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15339 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15340 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15341 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15342 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15343 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15344 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15345 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15346 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15347 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15348 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15349 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15350
20f0018d
JM
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15352 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15353
b3b099af
JM
15354 [BZ #14914]
15355 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15356 whole low double instead of just low 47 bits when splitting values
15357 into two parts.
15358
029264d1
AM
153592012-12-03 Allan McRae <allan@archlinux.org>
15360
15361 * manual/stdio.texi (Predefined Printf Handlers): Remove
15362 @hsep and @vsep usage.
15363
c9d6789e
MF
153642012-12-03 Mike Frysinger <vapier@gentoo.org>
15365
15366 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15367 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15368
4b7634a5
JL
153692012-12-03 Jeff Law <law@redhat.com>
15370
15371 * time/sys/time.h (settimeofday): Do not mark TV argument
15372 as __nonnull.
15373
eb6cbd24
MF
153742012-12-01 Mike Frysinger <vapier@gentoo.org>
15375
15376 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15377 when currently writing and seek to current position when not.
15378 * libio/Makefile (tests): Remove bug-fclose1.
15379 * libio/bug-fclose1.c: Delete.
15380
f638872a
JM
153812012-12-01 Joseph Myers <joseph@codesourcery.com>
15382
15383 * manual/arith.texi (feenableexcept): Fix typo.
15384 (fedisableexcept): Likewise.
15385
48085d14
RM
153862012-11-30 Roland McGrath <roland@hack.frob.com>
15387
15388 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15389 second, differently-typed declaration, rather than a cast.
15390
1a538b9f
SP
153912012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15392
15393 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15394 * include/rpc/svc.h: ... here.
15395
d07f2ff1 153962012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15397
15398 [BZ #13013]
15399 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15400 depending n and resplen2 to catch cases where answer
15401 equals answerp2.
15402
c93ec1f0
CD
154032012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15404
15405 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15406 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15407
37db69de
MF
154082012-11-29 Mike Frysinger <vapier@gentoo.org>
15409
15410 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15411
e10c4e4f
RM
154122012-11-29 Roland McGrath <roland@hack.frob.com>
15413
15414 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15415
2af1b328
JL
154162012-11-28 Jeff Law <law@redhat.com>
15417
15418 [BZ #13761]
15419 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15420 dataset_temporary. Track alloca usage into alloca_used.
15421 If dataset is large allocate and release it via malloc/free.
15422
111db5b1
FW
154232012-06-04 Florian Weimer <fweimer@redhat.com>
15424
f06cc227 15425 [BZ #14197]
111db5b1
FW
15426 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15427
dd694abd
DM
154282012-11-28 David S. Miller <davem@davemloft.net>
15429
15430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15431
9984dd01
JM
154322012-11-28 Joseph Myers <joseph@codesourcery.com>
15433
15434 [BZ #14803]
15435 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15436 of pi/2 rounded to nearest to 64 bits.
15437 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15438 nearest to 64 bits.
15439 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15440 bits.
15441
14bc93a9
JL
154422012-11-28 Jeff Law <law@redhat.com>
15443 Martin Osvald <mosvald@redhat.com>
15444
15445 [BZ #14889]
15446 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15447 * sunrpc/svc.c: Include time.h.
15448 (__svc_accept_failed): New function.
15449 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15450 any reason other than EINTR, call __svc_accept_failed.
15451 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15452 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15453
e3c6aa3a
AS
154542012-11-28 Andreas Schwab <schwab@suse.de>
15455
15456 * scripts/abilist.awk: Also handle indirect functions in .opd
15457 section.
15458
1bead169
JM
154592012-11-28 Joseph Myers <joseph@codesourcery.com>
15460
15461 [BZ #13881]
15462 * sysdeps/x86/fpu/powl_helper.c: New file.
15463 * sysdeps/x86/fpu/Makefile: Likewise.
15464 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15465 (p3): New object.
15466 (__ieee754_powl): Use __powl_helper for finite arguments except
15467 integer exponents below 8.
15468 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15469 (p3): New object.
15470 (__ieee754_powl): Use __powl_helper for finite arguments except
15471 integer exponents below 8.
15472 * math/libm-test.inc (pow_test): Add more tests and enable some
15473 previously disabled tests.
15474 * sysdeps/i386/fpu/libm-test-ulps: Update.
15475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15476
0817d63d
SP
154772012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15478 Carlos O'Donell <carlos_odonell@mentor.com>
15479
15480 * nss/makedb.c (is_prime): Assert that input is odd and greater
15481 than 4. Note that fact in a comment too.
15482 (next_prime): Add 4 to input.
15483
de2fd463
SP
154842012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15485
15486 [BZ #11741]
15487 * libio/Makefile (tests): Add test case tst-fwrite-error.
15488 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15489 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15490 * libio/tst-fwrite-error.c: New test case.
15491
c515fb51
L
154922012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15493
15494 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15495 before casting to void *.
15496 * include/libc-internal.h (__pointer_type): New macro.
15497 (__integer_if_pointer_type_sub): Likewise.
15498 (__integer_if_pointer_type): Likewise.
15499 (cast_to_integer): Likewise.
15500 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15501 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15502 before casting to atomic64_t.
15503 (atomic_exchange_acq): Likewise.
15504 (__arch_exchange_and_add_body): Likewise.
15505 (__arch_add_body): Likewise.
15506 (atomic_add_negative): Likewise.
15507 (atomic_add_zero): Likewise.
15508
4cf77aa9
JM
155092012-11-26 Joseph Myers <joseph@codesourcery.com>
15510
15511 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15512 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15513 (add_fdes): Likewise.
15514 (linear_search_fdes): Likewise.
15515 (binary_search_unencoded_fdes): Likewise.
15516
d260b3b4
AS
155172012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15518
15519 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15520
67060746
AC
155212012-11-24 Adam Conrad <adconrad@0c3.net>
15522
15523 * configure.in: Autodetect C++ header directories.
15524 * configure: Regenerated.
15525
800938a1
MF
155262012-11-23 Mike Frysinger <vapier@gentoo.org>
15527
15528 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15529
4e6e34e6
AS
155302012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15531
15532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15533
7c7feb47
JM
155342012-11-22 Joseph Myers <joseph@codesourcery.com>
15535
7184dcdf
JM
15536 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15537 LDBL_MANT_DIG == 106]: Disable some tests.
15538 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15539 Likewise.
15540 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15541 Likewise.
15542
0a42601f
JM
15543 [BZ #14871]
15544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15545 input for small inputs. Return +/- pi/2 for large inputs.
15546 * math/libm-test.inc (atan_test): Add more tests.
15547
79c9b9fe
JM
15548 * sysdeps/generic/unwind-dw2-fde-glibc.c
15549 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15550 __attribute__ ((unused)).
15551
c60d3bf2
JM
15552 [BZ #14645]
15553 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15554 x * y if x and y are nonzero and z is zero.
15555
ef1e0867
JM
15556 [BZ #14811]
15557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15558 nonzero exponents with absolute value below 0x1p-117 to +/-
15559 0x1p-117.
15560
1468ded3
JM
15561 [BZ #14869]
15562 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15563 up arguments below 2**-450, not just those below 2**-500.
15564 * math/libm-test.inc (hypot_test): Add another test.
15565
8e27e3cc
JM
15566 [BZ #14868]
15567 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15568 Return a+b for ratio over 2**120, not 2**60.
15569 * math/libm-test.inc (hypot_test): Add another test.
15570
c9c0279b
JM
15571 * math/libm-test.inc (clog_test): Use
15572 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15573 (clog10_test): Likewise.
15574
7c7feb47
JM
15575 [BZ #6778]
15576 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15577
fff1530e
AS
155782012-11-22 Andreas Schwab <schwab@suse.de>
15579
15580 * sysdeps/i386/fpu/libm-test-ulps: Update.
15581
94558d30
PT
155822012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15583
15584 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15585 printf output with newline.
15586
7e1be741
L
155872012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15588
6bfea974
L
15589 [BZ #14865]
15590 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15591 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15592 -z nodlopen, -z initfirst and -z execstack support.
15593 * configure: Regenerated.
15594
7e1be741
L
15595 * elf/elf.h (DF_1_NODIRECT): New macro.
15596 (DF_1_IGNMULDEF): Likewise.
15597 (DF_1_NOKSYMS): Likewise.
15598 (DF_1_NOHDR): Likewise.
15599 (DF_1_EDITED): Likewise.
15600 (DF_1_NORELOC): Likewise.
15601 (DF_1_SYMINTPOSE): Likewise.
15602 (DF_1_GLOBAUDIT): Likewise.
15603 (DF_1_SINGLETON): Likewise.
15604 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15605 DT_1_SUPPORTED_MASK bits.
15606 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15607
105ce2ce
CD
156082012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15609
15610 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15611
123be9de
TS
156122012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15613
d072f3f7
TS
15614 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15615 macro.
15616
123be9de
TS
15617 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15618 (sendmmsg): Move declarations...
15619 * socket/sys/socket.h: ... here.
15620 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15621 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15622 include it from...
15623 * socket/recvmmsg.c: ... this new file.
15624 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15625 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15626 definition of __sendmmsg hidden.
15627 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15628 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15629 Move ENOSYS stub into and include it from...
15630 * socket/sendmmsg.c: ... this new file.
15631 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15632 (sysdep_routines): Move recvmmsg and sendmmsg...
15633 * socket/Makefile (routines): ... here.
15634 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15635 (GLIBC_PRIVATE): Add __sendmmsg.
15636 * include/sys/socket.h (__sendmmsg): Add declarations.
15637 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15638 sendmmsg.
15639
cf9a5d18
JM
156402012-11-20 Joseph Myers <joseph@codesourcery.com>
15641
15642 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15643 variable I1 with __attribute__ ((unused)).
15644 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15645
ecd4caf9
JM
156462012-11-19 Joseph Myers <joseph@codesourcery.com>
15647
be14d48f
JM
15648 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15649 DUMMY variables with __attribute__ ((unused)).
15650
ecd4caf9
JM
15651 * bits/byteswap.h: Include <bits/types.h>.
15652 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15653
986cab95
PT
156542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15655
15656 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15657 string_t. Do not manually set errno.
15658 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15659 length with __strnlen. Make sure to both set errno and return it on
15660 failure.
15661
6d33cc9d
DM
156622012-11-19 David S. Miller <davem@davemloft.net>
15663
15664 With help from Joseph Myers.
15665 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15666 very large arguments properly.
15667 * math/libm-test.inc (atan_test): New tests.
15668 (atan2_test): New tests.
15669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15671
ee663277
JM
156722012-11-19 Joseph Myers <joseph@codesourcery.com>
15673
877f2d8e
JM
15674 [BZ #14856]
15675 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15676 Define to 3.
15677
116fc08a
JM
15678 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15679 [POSIX] (EADDRNOTAVAIL): Likewise.
15680 [POSIX] (EAFNOSUPPORT): Likewise.
15681 [POSIX] (EALREADY): Likewise.
15682 [POSIX] (ECONNABORTED): Likewise.
15683 [POSIX] (ECONNREFUSED): Likewise.
15684 [POSIX] (ECONNRESET): Likewise.
15685 [POSIX] (EDESTADDRREQ): Likewise.
15686 [POSIX] (EDQUOT): Likewise.
15687 [POSIX] (EHOSTUNREACH): Likewise.
15688 [POSIX] (EIDRM): Likewise.
15689 [POSIX] (EISCONN): Likewise.
15690 [POSIX] (ELOOP): Likewise.
15691 [POSIX] (EMULTIHOP): Likewise.
15692 [POSIX] (ENETDOWN): Likewise.
15693 [POSIX] (ENETUNREACH): Likewise.
15694 [POSIX] (ENOBUFS): Likewise.
15695 [POSIX] (ENODATA): Likewise.
15696 [POSIX] (ENOLINK): Likewise.
15697 [POSIX] (ENOMSG): Likewise.
15698 [POSIX] (ENOPROTOOPT): Likewise.
15699 [POSIX] (ENOSR): Likewise.
15700 [POSIX] (ENOSTR): Likewise.
15701 [POSIX] (ENOTCONN): Likewise.
15702 [POSIX] (ENOTSOCK): Likewise.
15703 [POSIX] (EOPNOTSUPP): Likewise.
15704 [POSIX] (EOVERFLOW): Likewise.
15705 [POSIX] (EPROTO): Likewise.
15706 [POSIX] (EPROTONOSUPPORT): Likewise.
15707 [POSIX] (EPROTOTYPE): Likewise.
15708 [POSIX] (ESTALE): Likewise.
15709 [POSIX] (ETIME): Likewise.
15710 [POSIX] (ETXTBSY): Likewise.
15711 [POSIX] (EWOULDBLOCK): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15713 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15714 [POSIX] (SEEK_CUR): Likewise.
15715 [POSIX] (SEEK_END): Likewise.
15716 [POSIX || UNIX98] (mode_t): Do not require.
15717 [POSIX] (off_t): Likewise.
15718 [POSIX] (pid_t): Likewise.
15719 [POSIX] (sys/stat.h): Do not allow header.
15720 [POSIX] (unistd.h): Likewise.
15721 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15722 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15723 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15724 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15725 require.
15726 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15727 sigevent): Specify elements.
15728 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15729 entry.
15730 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15731 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15732
a483863f
JM
15733 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15734 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15735 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15736 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15737 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15738 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15739 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15740 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15741 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15742 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15743 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15744 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15745 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15746 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15747 Likewise.
15748 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15749 Likewise.
15750 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15751 Likewise.
15752 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15753 Likewise.
15754 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15755 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15756 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15757 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15758 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15759 Specify lower bound on value.
15760 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15761 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15762 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15763 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15764 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15765 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15766 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15767 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15768 value.
15769 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15770 as optional.
15771 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15772 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15773 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15774 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15775 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15776 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15777 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15778 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15779 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15780 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15781 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15782 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15784 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15785 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15786 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15787 entry.
15788 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15789 optional.
15790 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15791 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15796 Likewise.
15797 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15802 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15803 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15804 as optional.
15805 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15809 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15810 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15811 specify as optional.
15812 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15813 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15815 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15816 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15817 [XPG3] (NL_LANGMAX): Likewise.
15818 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15819 [POSIX || XPG3] (NL_NMAX): Likewise.
15820 [POSIX || XPG3] (NL_SETMAX): Likewise.
15821 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15822 [XPG3] (NZERO): Likewise.
15823 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15824 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15825 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15826 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15827 (REG_ERANGE): Expect.
15828 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15829 optional-constant.
15830 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15831 Use (void) in prototype.
15832 [POSIX] (*_t): Allow.
15833 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15834 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15835 (WRDE_BADVAL): Expect.
15836
5ba924e3
JM
15837 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15838 expect.
15839 [XPG3 || XPG4] (O_RSYNC): Likewise.
15840 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15841 Likewise.
15842 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15843 [XPG3 || XPG4] (sigqueue): Likewise.
15844 [XPG3 || XPG4] (sigtimedwait): Likewise.
15845 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15846 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15847 [XPG3 || XPG4] (vsnprintf): Likewise.
15848 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15849 Likewise.
15850 [XPG3 || XPG4] (blksize_t): Likewise.
15851 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15852 Likewise.
15853 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15854 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15855 [XPG3 || XPG4] (struct itimerspec): Likewise.
15856 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15857 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15858 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15859 [XPG3 || XPG4] (clockid_t): Likewise.
15860 [XPG3 || XPG4] (timer_t): Likewise.
15861 [XPG3 || XPG4] (clock_getres): Likewise.
15862 [XPG3 || XPG4] (clock_gettime): Likewise.
15863 [XPG3 || XPG4] (clock_settime): Likewise.
15864 [XPG3 || XPG4] (nanosleep): Likewise.
15865 [XPG3 || XPG4] (timer_create): Likewise.
15866 [XPG3 || XPG4] (timer_delete): Likewise.
15867 [XPG3 || XPG4] (timer_gettime): Likewise.
15868 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15869 [XPG3 || XPG4] (timer_settime): Likewise.
15870 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15871 [XPG3 || XPG4] (getlogin_r): Likewise.
15872 [XPG3 || XPG4] (pread): Likewise.
15873 [XPG3 || XPG4] (pthread_atfork): Likewise.
15874 [XPG3 || XPG4] (pwrite): Likewise.
15875
ee663277
JM
15876 [BZ #14835]
15877 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15878 <bits/siginfo.h>.
15879
942caa16
PT
158802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15881
e19af380
PT
15882 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15883 finalizing MALLSTREAM.
15884
942caa16
PT
15885 * sysdeps/mach/hurd/syncfs.c: New file.
15886
cfde9b46
SP
158872012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15888
15889 [BZ #14719]
15890 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15891 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15892 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15893 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15894 (_nss_dns_gethostbyname4_r): Likewise.
15895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15896 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15897
f6da27e5
PH
158982012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15899
15900 [BZ #13763]
15901 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15902
6665d4a2
SM
159032012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15904
1f51ee92
SM
15905 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15906 * elf/cache.c (print_entry): Print ",AArch64" for
15907 FLAG_AARCH64_LIB64
15908
6665d4a2
SM
15909 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15910 * elf/cache.c (print_entry): Print ",hard-float" for
15911 FLAG_ARM_LIBHF.
15912
05b227bd
DM
159132012-11-18 David S. Miller <davem@davemloft.net>
15914
15915 With help from Joseph Myers.
15916 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15917 cutoff to 2**-13.
15918 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15919 cutoff to 2**-25.
15920 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15921 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15922 small.
15923 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15924 * math/libm-test.inc (y0_test): New tests.
15925 (y1_test): New tests.
15926 * sysdeps/i386/fpu/libm-test-ulps: Update.
15927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15929
786b0b67
AS
159302012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15931
15932 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15933 64-bit targets.
15934 * configure: Regenerated.
15935
8e18b86d
DM
159362012-11-17 David S. Miller <davem@davemloft.net>
15937
15938 [BZ #14811]
15939 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15940 nonzero exponents with absolute value below 0x1p-128 to +/-
15941 0x1p-128.
15942
531f1ae0
JM
159432012-11-17 Joseph Myers <joseph@codesourcery.com>
15944
12df29e2
JM
15945 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15946
150dc1a0
JM
15947 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15948
531f1ae0
JM
15949 * posix/getconf-speclist.c: New file.
15950 * posix/posix-envs.def: Likewise.
15951 * posix/confstr.c (START_ENV_GROUP): New macro.
15952 (END_ENV_GROUP): Likewise.
15953 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15954 (KNOWN_PRESENT_ENV_STRING): Likewise.
15955 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15956 (UNKNOWN_ENVIRONMENT): Likewise.
15957 (confstr): Include posix-envs.def instead of handling
15958 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15959 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15960 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15961 (END_ENV_GROUP): Likewise.
15962 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15963 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15964 (UNKNOWN_ENVIRONMENT): Likewise.
15965 (__sysconf): Include posix-envs.def instead of handling associated
15966 cases directly here.
15967 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15968 preprocessing getconf-speclist.c rather than running getconf or
15969 generating empty file.
15970
a93f9cbc
PT
159712012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15972
15973 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15974
d64d9f87
AL
159752012-11-16 Andrej Lajovic <natrij@gmail.com>
15976
15977 [BZ #14672]
15978 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15979
447885eb
DM
159802012-11-16 David S. Miller <davem@davemloft.net>
15981
15982 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15983 smaller than LDBL_EPSILON/2.0L, just return xm1.
15984
bcbf9830
L
159852012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15986
15987 * elf/tst-array1.c (init): Set constructor priority to 1000.
15988 (fini): Set destructor priority to 1000.
15989 * elf/tst-array2dep.c: Likewise.
15990
2b766585
SP
159912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15992
15993 [BZ #11741]
15994 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15995 (_IO_new_file_xsputn): Also return EOF if none of the input
15996 data was written when overflow failed.
15997 * libio/iopadn.c (_IO_padn): Likewise.
15998 * libio/iowpadn.c (_IO_wpadn): Likewise.
15999 * stdio-common/tst-put-error.c: Add copyright notice.
16000 (do_test): Add case for printing padded string.
16001 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16002 _IO_padn returned error.
16003 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16004 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16005 return EOF.
16006
b1848fde
SP
160072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16008
16009 * libio/libioP.h: Add comment note that the references to C++
16010 bits are now obsolete.
16011
2fd89785
MS
160122012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16013
16014 * math/libm-test.inc (check_complex): Use asprintf.
16015
e3ea5409
JM
160162012-11-14 Joseph Myers <joseph@codesourcery.com>
16017
16018 * debug/pcprofiledump.c (print_version): Update copyright year.
16019 * malloc/memusagestat.c (print_version): Likewise.
16020
2e64d265
L
160212012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16022
16023 [BZ #14831]
16024 * elf/Makefile (tests): Add tst-audit8.
16025 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16026 ($(objpfx)tst-audit8.out): New target.
16027 (tst-audit8-ENV): New variable.
16028 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16029 audit if l_reloc_result is NULL.
16030 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16031 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16032 * elf/tst-audit8.c: New file.
16033
c485e4d2
MS
160342012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16035
16036 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16037 * misc/Makefile (CFLAGS-select.c): Define.
16038 * posix/Makefile (CFLAGS-pause.c): Define.
16039
3a0d900a
DM
160402012-11-13 David S. Miller <davem@davemloft.net>
16041
16042 * crypt/Makefile: Move test targets after toplevel Rules
16043 inclusion. Grab any necessary sysdep routines when linking.
16044 * crypt/md5.c (md5_process_block): Remove define, we will always
16045 name it __md5_process_block.
16046 (md5_finish_ctx): Update md5_process_block call.
16047 (md5_stream): Likewise.
16048 (md5_process_bytes): Likewise.
16049 (md5_process_block): Rename to __md5_process_block and move to ...
16050 * crypt/md5-block.c: ... here.
16051 * crypt/sha256.c (sha256_process_block): Move to ...
16052 * crypt/sha256-block.c: ... here.
16053 * crypt/sha512.c (sha512_process_block): Move to ...
16054 * crypt/sha512-block.c: ... here.
16055 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16056 path.
16057 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16058 * sysdeps/sparc/sparc64/multiarch/Makefile
16059 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16060 crypt subdir.
16061 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16062 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16063 multiarch changes.
16064 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16065 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16066 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16067 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16068 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16069 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16070 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16071 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16072 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16073 file.
16074 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16075 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16076 file.
16077 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16078
8ca89318
JM
160792012-11-13 Joseph Myers <joseph@codesourcery.com>
16080
e27d476a
JM
16081 * timezone/tzselect.ksh: Update from tzcode git revision
16082 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16083 * timezone/zdump.c: Likewise.
16084 * timezone/zic.c: Likewise.
16085 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16086 in TZVERSION setting, not $(PKGVERSION).
16087 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16088 REPORT_BUGS_TO settings.
16089
8ca89318
JM
16090 [BZ #14838]
16091 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16092 macro.
16093
47594329
MS
160942012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16095
16096 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16097 detection to immediately after _FP_ROUND().
16098 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16099 bits are 0.
16100
640ac3f1
DM
161012012-11-11 David S. Miller <davem@davemloft.net>
16102
16103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16104 inttypes.h
16105 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16106 __close rather than their public counterparts.
16107
3d2577bb
JM
161082012-11-10 Joseph Myers <joseph@codesourcery.com>
16109
16110 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16111 file.
16112 [UNIX98] (sem_timedwait): Do not expect.
16113 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16114 [XPG4 || UNIX98] (sockatmark): Do not expect.
16115 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16116 (clock_getcpuclockid): Do not expect.
16117 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16118 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16119 Do not expect.
16120 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16121 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16122 [UNIX98] (vwscanf): Likewise.
16123 [UNIX98] (vswscanf): Likewise.
16124
fb1ae1ee
JM
161252012-11-09 Joseph Myers <joseph@codesourcery.com>
16126
9ec6f8bd
JM
16127 * timezone/version.h: Remove file.
16128 * timezone/README: Do not refer to version.h.
16129 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16130 $(objpfx)version.h.
16131 ($(objpfx)zdump.o): Likewise.
c3f81911 16132 ($(objpfx)version.h): New target.
9ec6f8bd 16133
0aa8f8a1
JM
16134 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16135 2012i.
16136 * timezone/README: Don't mention modification to tzselect.ksh.
16137 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16138 work on unmodified tzselect.ksh. Substitute version numbers in
16139 tzselect.ksh.
16140
4e87147f
JM
16141 * Makefile (format-me): Remove.
16142 (INSTALL): Adjust indentation. Use commands directly instead of
16143 using $(format-me).
16144
8b748aed
JM
16145 * aclocal.m4 (ACX_PKGVERSION): New macro.
16146 (ACX_BUGURL): Likewise.
16147 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16148 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16149 (REPORT_BUGS_TO): Likewise.
16150 * configure: Regenerated.
16151 * config.h.in (PKGVERSION): New macro.
16152 (REPORT_BUGS_TO): Likewise.
16153 * config.make.in (PKGVERSION): New variable.
16154 (PKGVERSION_TEXI): Likewise.
16155 (REPORT_BUGS_TO): Likewise.
16156 (REPORT_BUGS_TEXI): Likewise.
16157 * Makefile (format-me): Use -I$(common-objpfx)manual.
16158 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16159 ($(common-objpfx)manual/%): New target.
16160 (manual/%): Remove target.
16161 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16162 (print_version): Use PKGVERSION.
16163 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16164 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16165 and REPORT_BUGS_TO.
16166 ($(objpfx)xtrace): Likewise.
16167 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16168 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16169 (print_version): Use PKGVERSION.
16170 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16171 (do_version): Use PKGVERSION.
16172 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16173 REPORT_BUGS_TO.
16174 (common-ldd-rewrite): Likewise.
16175 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16176 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16177 (print_version): Use PKGVERSION.
16178 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16179 * elf/pldd.c (argp_program_bug_address): Remove variable.
16180 (more_help): New function.
16181 (argp): Use more_help.
16182 (print_version): Use PKGVERSION.
16183 * elf/sln.c (main): Use PKGVERSION.
16184 (usage): Use REPORT_BUGS_TO.
16185 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16186 (top level): Use PKGVERSION.
16187 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16188 (print_version): Use PKGVERSION.
16189 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16190 (print_version): Use PKGVERSION.
16191 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16192 (print_version): Use PKGVERSION.
16193 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16194 (print_version): Use PKGVERSION.
16195 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16196 (print_version): Use PKGVERSION.
16197 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16198 (print_version): Use PKGVERSION.
16199 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16200 and BUGURL.
16201 ($(objpfx)memusage): Likewise.
16202 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16203 (do_version): Use PKGVERSION.
16204 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16205 (print_version): Use PKGVERSION.
16206 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16207 ($PKGVERSION): New variable.
16208 ($REPORT_BUGS_TO): Likewise.
16209 (usage): Use $REPORT_BUGS_TO.
16210 (top level): Use $PKGVERSION.
16211 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16212 ($(objpfx)pkgvers.texi): New rule.
16213 ($(objpfx)stamp-pkgvers): Likewise.
16214 * manual/install.texi: Include pkgvers.texi.
16215 (--with-pkgversion): Document new configure option.
16216 (--with-bugurl): Likewise.
16217 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16218 than necessarily for this particular distribution. Use
16219 REPORT_BUGS_TO for where to report bugs.
16220 * INSTALL: Regenerated.
16221 * manual/libc.texinfo: Include pkgvers.texi.
16222 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16223 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16224 (print_version): Use PKGVERSION.
16225 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16226 (print_version): Use PKGVERSION.
16227 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16228 (print_version): Use PKGVERSION.
16229 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16230 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16231 macro.
16232 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16233 (print_version): Use PKGVERSION.
16234 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16235 (print_version): Use PKGVERSION.
16236 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16237 and PKGVERSION.
16238
92e4b6a9
JM
16239 * timezone/checktab.awk: Update from tzcode 2012i.
16240 * timezone/ialloc.c: Likewise.
16241 * timezone/private.h: Likewise.
16242 * timezone/scheck.c: Likewise.
16243 * timezone/tzfile.h: Likewise.
16244 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16245 (TZVERSION): Hardcode tzcode version number.
16246 * timezone/zdump.c: Update from tzcode 2012i.
16247 * timezone/zic.c: Likewise.
16248 * timezone/version.h: New file.
16249 * timezone/README: Describe version.h. Update upstream location.
16250
9bde902c
JM
16251 [BZ #14824]
16252 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16253 (mktemp): Enable declaration.
16254 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16255 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16256 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16257 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16258 Likewise.
16259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16260 Likewise.
16261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16262 Likewise.
16263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16264 Likewise.
16265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16266 Likewise.
16267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16268 Likewise.
16269
fb1ae1ee
JM
16270 [BZ #14821]
16271 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16272 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16273 for copies of such integer values.
16274 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16275 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16276
2c1adbcb
AJ
162772012-11-09 Andreas Jaeger <aj@suse.de>
16278
16279 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16280 definitions and declarations that are provided by
16281 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16282
d0f8457e
AK
162832012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16284
3a235abb 16285 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16286 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16287 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16288 definition.
16289
57241e26
MS
162902012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16291
16292 * elf/elf.h: Update comment before AArch64 relocations.
16293
60e8270d
DM
162942012-11-07 David S. Miller <davem@davemloft.net>
16295
16296 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16297 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16298 (__start_context): Declare.
16299 (__makecontext_ret): Delete.
16300 (__makecontext): Hook up __start_context instead of
16301 __makecontext_ret.
16302 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16303 (sysdep_routines): Add __start_context when in stdlib.
16304
0fbb0fbc
JM
163052012-11-07 Joseph Myers <joseph@codesourcery.com>
16306
16307 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16308 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16309 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16310 hardcoded "nm".
16311 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16312 (READELF): New variable. Use it instead of hardcoded "readelf".
16313
eb48db7e
L
163142012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16315
16316 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16317 * sysdeps/x86/Makefile: Here.
16318 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16319 * sysdeps/x86/tst-xmmymm.sh: This.
16320
05bcf62a
JM
163212012-11-07 Joseph Myers <joseph@codesourcery.com>
16322
c4b6cf53
JM
16323 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16324 expectations.
16325 [UNIX98] (pthread_barrier_t): Do not expect.
16326 [UNIX98] (pthread_barrierattr_t): Likewise.
16327 [UNIX98] (pthread_spinlock_t): Likewise.
16328 [UNIX98] (pthread_barrier_destroy): Likewise.
16329 [UNIX98] (pthread_barrier_init): Likewise.
16330 [UNIX98] (pthread_barrier_wait): Likewise.
16331 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16332 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16333 [UNIX98] (pthread_barrierattr_init): Likewise.
16334 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16335 [UNIX98] (pthread_getcpuclockid): Likewise.
16336 [UNIX98] (pthread_mutex_timedlock): Likewise.
16337 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16338 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16339 [UNIX98] (pthread_sigmask): Likewise.
16340 [UNIX98] (pthread_spin_destroy): Likewise.
16341 [UNIX98] (pthread_spin_init): Likewise.
16342 [UNIX98] (pthread_spin_lock): Likewise.
16343 [UNIX98] (pthread_spin_trylock): Likewise.
16344 [UNIX98] (pthread_spin_unlock): Likewise.
16345 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16346 Do not expect.
16347 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16348 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16349 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16350 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16351 [XPG3 || XPG4] (pthread_key_t): Likewise.
16352 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16353 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16354 [XPG3 || XPG4] (pthread_once_t): Likewise.
16355 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16356 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16357 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16358 [XPG3 || XPG4] (pthread_t): Likewise.
16359
cbe6e120
JM
16360 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16361 not expect.
16362 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16363
1b126443
JM
16364 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16365 Change function return type to int.
16366
b961a573
JM
16367 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16368 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16369 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16370 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16371 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16372 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16373 [!POSIX] (posix_madvise): Likewise.
16374 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16375 && !UNIX98].
16376 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16377 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16378 (mode_t): Likewise.
16379 (posix_mem_offset): Likewise.
16380 (posix_typed_mem_get_info): Likewise.
16381 (posix_typed_mem_open): Likewise.
16382
9e188909
JM
16383 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16384 Change condition to [XOPEN2K8].
16385
05bcf62a
JM
16386 * conform/conformtest.pl: Preprocess allow-header data with -x c
16387 instead of from stdin.
16388 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16389 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16390 [C99-based standards] (cerfc): Likewise.
16391 [C99-based standards] (cexp2): Likewise.
16392 [C99-based standards] (cexpm1): Likewise.
16393 [C99-based standards] (clog10): Likewise.
16394 [C99-based standards] (clog1p): Likewise.
16395 [C99-based standards] (clog2): Likewise.
16396 [C99-based standards] (clgamma): Likewise.
16397 [C99-based standards] (ctgamma): Likewise.
16398 [C99-based standards] (cerff): Likewise.
16399 [C99-based standards] (cerfcf): Likewise.
16400 [C99-based standards] (cexp2f): Likewise.
16401 [C99-based standards] (cexpm1f): Likewise.
16402 [C99-based standards] (clog10f): Likewise.
16403 [C99-based standards] (clog1pf): Likewise.
16404 [C99-based standards] (clog2f): Likewise.
16405 [C99-based standards] (clgammaf): Likewise.
16406 [C99-based standards] (ctgammaf): Likewise.
16407 [C99-based standards] (cerfl): Likewise.
16408 [C99-based standards] (cerfcl): Likewise.
16409 [C99-based standards] (cexp2l): Likewise.
16410 [C99-based standards] (cexpm1l): Likewise.
16411 [C99-based standards] (clog10l): Likewise.
16412 [C99-based standards] (clog1pl): Likewise.
16413 [C99-based standards] (clog2l): Likewise.
16414 [C99-based standards] (clgammal): Likewise.
16415 [C99-based standards] (ctgammal): Likewise.
16416 * conform/data/inttypes.h-data [C99-based standards]: Include
16417 stdint.h-data. Remove all expectations for stdint.h contents.
16418 [C99-based standards] (PRI*): Do not allow.
16419 [C99-based standards] (SCN*): Likewise.
16420 [C99-based standards] (*_t): Likewise.
16421 [C99-based-standards] (PRId8): Expect macro.
16422 [C99-based-standards] (PRIi8): Likewise.
16423 [C99-based-standards] (PRIo8): Likewise.
16424 [C99-based-standards] (PRIu8): Likewise.
16425 [C99-based-standards] (PRIx8): Likewise.
16426 [C99-based-standards] (PRIX8): Likewise.
16427 [C99-based-standards] (SCNd8): Likewise.
16428 [C99-based-standards] (SCNi8): Likewise.
16429 [C99-based-standards] (SCNo8): Likewise.
16430 [C99-based-standards] (SCNu8): Likewise.
16431 [C99-based-standards] (SCNx8): Likewise.
16432 [C99-based-standards] (PRIdLEAST8): Likewise.
16433 [C99-based-standards] (PRIiLEAST8): Likewise.
16434 [C99-based-standards] (PRIoLEAST8): Likewise.
16435 [C99-based-standards] (PRIuLEAST8): Likewise.
16436 [C99-based-standards] (PRIxLEAST8): Likewise.
16437 [C99-based-standards] (PRIXLEAST8): Likewise.
16438 [C99-based-standards] (SCNdLEAST8): Likewise.
16439 [C99-based-standards] (SCNiLEAST8): Likewise.
16440 [C99-based-standards] (SCNoLEAST8): Likewise.
16441 [C99-based-standards] (SCNuLEAST8): Likewise.
16442 [C99-based-standards] (SCNxLEAST8): Likewise.
16443 [C99-based-standards] (PRIdFAST8): Likewise.
16444 [C99-based-standards] (PRIiFAST8): Likewise.
16445 [C99-based-standards] (PRIoFAST8): Likewise.
16446 [C99-based-standards] (PRIuFAST8): Likewise.
16447 [C99-based-standards] (PRIxFAST8): Likewise.
16448 [C99-based-standards] (PRIXFAST8): Likewise.
16449 [C99-based-standards] (SCNdFAST8): Likewise.
16450 [C99-based-standards] (SCNiFAST8): Likewise.
16451 [C99-based-standards] (SCNoFAST8): Likewise.
16452 [C99-based-standards] (SCNuFAST8): Likewise.
16453 [C99-based-standards] (SCNxFAST8): Likewise.
16454 [C99-based-standards] (PRId16): Likewise.
16455 [C99-based-standards] (PRIi16): Likewise.
16456 [C99-based-standards] (PRIo16): Likewise.
16457 [C99-based-standards] (PRIu16): Likewise.
16458 [C99-based-standards] (PRIx16): Likewise.
16459 [C99-based-standards] (PRIX16): Likewise.
16460 [C99-based-standards] (SCNd16): Likewise.
16461 [C99-based-standards] (SCNi16): Likewise.
16462 [C99-based-standards] (SCNo16): Likewise.
16463 [C99-based-standards] (SCNu16): Likewise.
16464 [C99-based-standards] (SCNx16): Likewise.
16465 [C99-based-standards] (PRIdLEAST16): Likewise.
16466 [C99-based-standards] (PRIiLEAST16): Likewise.
16467 [C99-based-standards] (PRIoLEAST16): Likewise.
16468 [C99-based-standards] (PRIuLEAST16): Likewise.
16469 [C99-based-standards] (PRIxLEAST16): Likewise.
16470 [C99-based-standards] (PRIXLEAST16): Likewise.
16471 [C99-based-standards] (SCNdLEAST16): Likewise.
16472 [C99-based-standards] (SCNiLEAST16): Likewise.
16473 [C99-based-standards] (SCNoLEAST16): Likewise.
16474 [C99-based-standards] (SCNuLEAST16): Likewise.
16475 [C99-based-standards] (SCNxLEAST16): Likewise.
16476 [C99-based-standards] (PRIdFAST16): Likewise.
16477 [C99-based-standards] (PRIiFAST16): Likewise.
16478 [C99-based-standards] (PRIoFAST16): Likewise.
16479 [C99-based-standards] (PRIuFAST16): Likewise.
16480 [C99-based-standards] (PRIxFAST16): Likewise.
16481 [C99-based-standards] (PRIXFAST16): Likewise.
16482 [C99-based-standards] (SCNdFAST16): Likewise.
16483 [C99-based-standards] (SCNiFAST16): Likewise.
16484 [C99-based-standards] (SCNoFAST16): Likewise.
16485 [C99-based-standards] (SCNuFAST16): Likewise.
16486 [C99-based-standards] (SCNxFAST16): Likewise.
16487 [C99-based-standards] (PRId32): Likewise.
16488 [C99-based-standards] (PRIi32): Likewise.
16489 [C99-based-standards] (PRIo32): Likewise.
16490 [C99-based-standards] (PRIu32): Likewise.
16491 [C99-based-standards] (PRIx32): Likewise.
16492 [C99-based-standards] (PRIX32): Likewise.
16493 [C99-based-standards] (SCNd32): Likewise.
16494 [C99-based-standards] (SCNi32): Likewise.
16495 [C99-based-standards] (SCNo32): Likewise.
16496 [C99-based-standards] (SCNu32): Likewise.
16497 [C99-based-standards] (SCNx32): Likewise.
16498 [C99-based-standards] (PRIdLEAST32): Likewise.
16499 [C99-based-standards] (PRIiLEAST32): Likewise.
16500 [C99-based-standards] (PRIoLEAST32): Likewise.
16501 [C99-based-standards] (PRIuLEAST32): Likewise.
16502 [C99-based-standards] (PRIxLEAST32): Likewise.
16503 [C99-based-standards] (PRIXLEAST32): Likewise.
16504 [C99-based-standards] (SCNdLEAST32): Likewise.
16505 [C99-based-standards] (SCNiLEAST32): Likewise.
16506 [C99-based-standards] (SCNoLEAST32): Likewise.
16507 [C99-based-standards] (SCNuLEAST32): Likewise.
16508 [C99-based-standards] (SCNxLEAST32): Likewise.
16509 [C99-based-standards] (PRIdFAST32): Likewise.
16510 [C99-based-standards] (PRIiFAST32): Likewise.
16511 [C99-based-standards] (PRIoFAST32): Likewise.
16512 [C99-based-standards] (PRIuFAST32): Likewise.
16513 [C99-based-standards] (PRIxFAST32): Likewise.
16514 [C99-based-standards] (PRIXFAST32): Likewise.
16515 [C99-based-standards] (SCNdFAST32): Likewise.
16516 [C99-based-standards] (SCNiFAST32): Likewise.
16517 [C99-based-standards] (SCNoFAST32): Likewise.
16518 [C99-based-standards] (SCNuFAST32): Likewise.
16519 [C99-based-standards] (SCNxFAST32): Likewise.
16520 [C99-based-standards] (PRId64): Likewise.
16521 [C99-based-standards] (PRIi64): Likewise.
16522 [C99-based-standards] (PRIo64): Likewise.
16523 [C99-based-standards] (PRIu64): Likewise.
16524 [C99-based-standards] (PRIx64): Likewise.
16525 [C99-based-standards] (PRIX64): Likewise.
16526 [C99-based-standards] (SCNd64): Likewise.
16527 [C99-based-standards] (SCNi64): Likewise.
16528 [C99-based-standards] (SCNo64): Likewise.
16529 [C99-based-standards] (SCNu64): Likewise.
16530 [C99-based-standards] (SCNx64): Likewise.
16531 [C99-based-standards] (PRIdLEAST64): Likewise.
16532 [C99-based-standards] (PRIiLEAST64): Likewise.
16533 [C99-based-standards] (PRIoLEAST64): Likewise.
16534 [C99-based-standards] (PRIuLEAST64): Likewise.
16535 [C99-based-standards] (PRIxLEAST64): Likewise.
16536 [C99-based-standards] (PRIXLEAST64): Likewise.
16537 [C99-based-standards] (SCNdLEAST64): Likewise.
16538 [C99-based-standards] (SCNiLEAST64): Likewise.
16539 [C99-based-standards] (SCNoLEAST64): Likewise.
16540 [C99-based-standards] (SCNuLEAST64): Likewise.
16541 [C99-based-standards] (SCNxLEAST64): Likewise.
16542 [C99-based-standards] (PRIdFAST64): Likewise.
16543 [C99-based-standards] (PRIiFAST64): Likewise.
16544 [C99-based-standards] (PRIoFAST64): Likewise.
16545 [C99-based-standards] (PRIuFAST64): Likewise.
16546 [C99-based-standards] (PRIxFAST64): Likewise.
16547 [C99-based-standards] (PRIXFAST64): Likewise.
16548 [C99-based-standards] (SCNdFAST64): Likewise.
16549 [C99-based-standards] (SCNiFAST64): Likewise.
16550 [C99-based-standards] (SCNoFAST64): Likewise.
16551 [C99-based-standards] (SCNuFAST64): Likewise.
16552 [C99-based-standards] (SCNxFAST64): Likewise.
16553 [C99-based-standards] (PRIdMAX): Likewise.
16554 [C99-based-standards] (PRIiMAX): Likewise.
16555 [C99-based-standards] (PRIoMAX): Likewise.
16556 [C99-based-standards] (PRIuMAX): Likewise.
16557 [C99-based-standards] (PRIxMAX): Likewise.
16558 [C99-based-standards] (PRIXMAX): Likewise.
16559 [C99-based-standards] (SCNdMAX): Likewise.
16560 [C99-based-standards] (SCNiMAX): Likewise.
16561 [C99-based-standards] (SCNoMAX): Likewise.
16562 [C99-based-standards] (SCNuMAX): Likewise.
16563 [C99-based-standards] (SCNxMAX): Likewise.
16564 [C99-based-standards] (PRIdPTR): Likewise.
16565 [C99-based-standards] (PRIiPTR): Likewise.
16566 [C99-based-standards] (PRIoPTR): Likewise.
16567 [C99-based-standards] (PRIuPTR): Likewise.
16568 [C99-based-standards] (PRIxPTR): Likewise.
16569 [C99-based-standards] (PRIXPTR): Likewise.
16570 [C99-based-standards] (SCNdPTR): Likewise.
16571 [C99-based-standards] (SCNiPTR): Likewise.
16572 [C99-based-standards] (SCNoPTR): Likewise.
16573 [C99-based-standards] (SCNuPTR): Likewise.
16574 [C99-based-standards] (SCNxPTR): Likewise.
16575 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16576 allow.
16577 * conform/data/stdint.h-data: Update comments to clarify
16578 requirements.
16579 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16580 type.
16581 [C99-based standards] (INT8_MAX): Likewise.
16582 [C99-based standards] (INT16_MIN): Likewise.
16583 [C99-based standards] (INT16_MAX): Likewise.
16584 [C99-based standards] (INT32_MIN): Likewise.
16585 [C99-based standards] (INT32_MAX): Likewise.
16586 [C99-based standards] (INT64_MIN): Likewise.
16587 [C99-based standards] (INT64_MAX): Likewise.
16588 [C99-based standards] (UINT8_MAX): Likewise.
16589 [C99-based standards] (UINT16_MAX): Likewise.
16590 [C99-based standards] (UINT32_MAX): Likewise.
16591 [C99-based standards] (UINT64_MAX): Likewise.
16592 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16593 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16594 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16595 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16596 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16597 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16598 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16599 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16600 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16601 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16602 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16603 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16604 [C99-based standards] (INT_FAST8_MIN): Likewise.
16605 [C99-based standards] (INT_FAST8_MAX): Likewise.
16606 [C99-based standards] (INT_FAST16_MIN): Likewise.
16607 [C99-based standards] (INT_FAST16_MAX): Likewise.
16608 [C99-based standards] (INT_FAST32_MIN): Likewise.
16609 [C99-based standards] (INT_FAST32_MAX): Likewise.
16610 [C99-based standards] (INT_FAST64_MIN): Likewise.
16611 [C99-based standards] (INT_FAST64_MAX): Likewise.
16612 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16613 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16614 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16615 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16616 [C99-based standards] (INTPTR_MIN): Likewise.
16617 [C99-based standards] (INTPTR_MAX): Likewise.
16618 [C99-based standards] (UINTPTR_MAX): Likewise.
16619 [C99-based standards] (INTMAX_MIN): Likewise.
16620 [C99-based standards] (INTMAX_MAX): Likewise.
16621 [C99-based standards] (UINTMAX_MAX): Likewise.
16622 [C99-based standards] (PTRDIFF_MIN): Likewise.
16623 [C99-based standards] (PTRDIFF_MAX): Likewise.
16624 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16625 [C99-based standards] (SIZE_MAX): Likewise.
16626 [C99-based standards] (WCHAR_MAX): Likewise.
16627 [C99-based standards] (WINT_MAX): Likewise.
16628 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16629 constraint on value.
16630 [C99-based standards] (WCHAR_MIN): Likewise.
16631 [C99-based standards] (WINT_MIN): Likewise.
16632 [C99-based standards] (*_t): Allow.
16633 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16634 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16635 Include math.h-data and complex.h-data. Remove all expectations
16636 of math.h and complex.h contents.
16637 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16638 at end of line.
16639 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16640 (struct tm): Expect tag.
16641 [C99-based-standards] (wcstof): Expect function.
16642 [C99-based-standards] (wcstold): Likewise.
16643 [C99-based-standards] (wcstoll): Likewise.
16644 [C99-based-standards] (wcstoull): Likewise.
16645 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16646 macro-int-constant. Specify type.
16647 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16648 constraint on value.
16649 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16650 Specify type.
16651 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16652 Specify value.
16653 [ISO C standards]: Do not allow headers.
16654 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16655 wcs[abcdefghijklmnopqrstuvwxyz]*.
16656 [ISO C standards] (*_t): Do not allow.
16657 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16658 Expect function.
16659 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16660 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16661 Specify type.
16662 [ISO C standards]: Do not allow headers.
16663 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16664 is[abcdefghijklmnopqrstuvwxyz]*.
16665 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16666 to[abcdefghijklmnopqrstuvwxyz]*.
16667 [ISO C standards] (*_t): Do not allow.
16668 * conform/data/stdalign.h-data: New file.
16669 * conform/data/stdbool.h-data: Likewise.
16670 * conform/data/stdnoreturn.h-data: Likewise.
16671
7514feb8
RM
166722012-11-07 Roland McGrath <roland@hack.frob.com>
16673
16674 [BZ #14815]
16675 * manual/filesys.texi (Directory Entries): Typo fix.
16676 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16677
19b2ecfc
MS
166782012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16679
16680 * elf/elf.h (EM_AARCH64): New macro.
16681 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16682 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16683 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16684 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16685 (R_AARCH64_TLSDESC): Likewise.
16686 (NT_ARM_TLS): Likewise.
16687 (NT_ARM_HW_BREAK): Likewise.
16688 (NT_ARM_HW_WATCH): Likewise.
16689
60e235ee
JM
166902012-11-07 Joseph Myers <joseph@codesourcery.com>
16691
16692 [BZ #14811]
16693 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16694 (__ieee754_powl): Saturate nonzero exponents with absolute value
16695 below 0x1p-79 to +/- 0x1p-79.
16696 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16697 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16698 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16699 nonzero exponents with absolute value below 0x1p-32 to +/-
16700 0x1p-32.
16701 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16702 (__ieee754_powl): Saturate nonzero exponents with absolute value
16703 below 0x1p-79 to +/- 0x1p-79.
16704 * math/libm-test.inc (pow_test): Add more tests.
16705
0ab234b7
AK
167062012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16707
16708 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16709 _dl_s390_cap_flags with kernel. Increase string length.
16710 (_dl_s390_platforms): Add z196 and zEC12.
16711
45832f74
JM
167122012-11-07 Joseph Myers <joseph@codesourcery.com>
16713
16714 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16715 Change XOPEN21K to XOPEN2K.
16716
19218757
MK
167172012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16718
16719 * string/memmove.c: Use memcpy when possible.
16720
c5f45721
AJ
167212012-11-06 Andreas Jaeger <aj@suse.de>
16722
16723 * po/eo.po: Update from translation team.
16724
82477c28
JM
167252012-11-06 Joseph Myers <joseph@codesourcery.com>
16726
16727 [BZ #14793]
16728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16729 exponent and small x and y exponents, scale x or y up. Increase
16730 by 2 the exponent used in scaling up.
16731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16732 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16733 * math/libm-test.inc (fma_test): Add more tests.
16734 (fma_test_towardzero): Likewise.
16735 (fma_test_downward): Likewise.
16736 (fma_test_upward): Likewise.
16737
99252c8c
JM
167382012-11-05 Joseph Myers <joseph@codesourcery.com>
16739
acfa885f
JM
16740 [BZ #14805]
16741 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16742 fenv_t *.
16743
99252c8c
JM
16744 [BZ #14801]
16745 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16746 namespace for names of struct fields.
16747 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16748 fenv_t fields.
16749 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16750 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16751
d6d98dea
ST
167522012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16753
16754 [BZ #3665]
16755 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16756
e10bb107
TS
167572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16758
16759 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16760 PTR_DEMANGLE.
16761
16762 [BZ #5246]
16763 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16764 PTR_DEMANGLE.
16765
a0c2940d
JM
167662012-11-04 Joseph Myers <joseph@codesourcery.com>
16767
16768 [BZ #14797]
16769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16770 definitely overflow as x * y not x * y + z.
16771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16773 * math/libm-test.inc (fma_test): Add more tests.
16774 (fma_test_towardzero): Likewise.
16775 (fma_test_downward): Likewise.
16776 (fma_test_upward): Likewise.
16777
b830319d
TS
167782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16779
16780 [BZ #157]
16781
16782 * include/stub-tag.h: Remove file.
16783 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16784 '#include' of it.
16785 * manual/maint.texi (Porting): Don't reference it.
16786 * Makerules ($(objpfx)stubs): Likewise.
16787 * dirent/closedir.c: Don't include <stub-tag.h>.
16788 * dirent/dirfd.c: Likewise.
16789 * dirent/fdopendir.c: Likewise.
16790 * dirent/getdents.c: Likewise.
16791 * dirent/getdents64.c: Likewise.
16792 * dirent/opendir.c: Likewise.
16793 * dirent/readdir.c: Likewise.
16794 * dirent/readdir64.c: Likewise.
16795 * dirent/readdir64_r.c: Likewise.
16796 * dirent/readdir_r.c: Likewise.
16797 * dirent/rewinddir.c: Likewise.
16798 * dirent/seekdir.c: Likewise.
16799 * dirent/telldir.c: Likewise.
16800 * gmon/profil.c: Likewise.
16801 * grp/setgroups.c: Likewise.
16802 * inet/if_index.c: Likewise.
16803 * io/access.c: Likewise.
16804 * io/chdir.c: Likewise.
16805 * io/chmod.c: Likewise.
16806 * io/chown.c: Likewise.
16807 * io/close.c: Likewise.
16808 * io/dup.c: Likewise.
16809 * io/dup2.c: Likewise.
16810 * io/dup3.c: Likewise.
16811 * io/euidaccess.c: Likewise.
16812 * io/faccessat.c: Likewise.
16813 * io/fchdir.c: Likewise.
16814 * io/fchmod.c: Likewise.
16815 * io/fchmodat.c: Likewise.
16816 * io/fchown.c: Likewise.
16817 * io/fchownat.c: Likewise.
16818 * io/fcntl.c: Likewise.
16819 * io/flock.c: Likewise.
16820 * io/fstatfs.c: Likewise.
16821 * io/fstatfs64.c: Likewise.
16822 * io/fstatvfs.c: Likewise.
16823 * io/fstatvfs64.c: Likewise.
16824 * io/futimens.c: Likewise.
16825 * io/fxstat.c: Likewise.
16826 * io/fxstat64.c: Likewise.
16827 * io/fxstatat.c: Likewise.
16828 * io/fxstatat64.c: Likewise.
16829 * io/getcwd.c: Likewise.
16830 * io/isatty.c: Likewise.
16831 * io/lchmod.c: Likewise.
16832 * io/lchown.c: Likewise.
16833 * io/link.c: Likewise.
16834 * io/linkat.c: Likewise.
16835 * io/lseek.c: Likewise.
16836 * io/lseek64.c: Likewise.
16837 * io/lxstat64.c: Likewise.
16838 * io/mkdir.c: Likewise.
16839 * io/mkdirat.c: Likewise.
16840 * io/mkfifo.c: Likewise.
16841 * io/mkfifoat.c: Likewise.
16842 * io/open.c: Likewise.
16843 * io/open64.c: Likewise.
16844 * io/openat.c: Likewise.
16845 * io/openat64.c: Likewise.
16846 * io/pipe.c: Likewise.
16847 * io/pipe2.c: Likewise.
16848 * io/poll.c: Likewise.
16849 * io/posix_fadvise.c: Likewise.
16850 * io/posix_fadvise64.c: Likewise.
16851 * io/posix_fallocate.c: Likewise.
16852 * io/posix_fallocate64.c: Likewise.
16853 * io/read.c: Likewise.
16854 * io/readlink.c: Likewise.
16855 * io/readlinkat.c: Likewise.
16856 * io/rmdir.c: Likewise.
16857 * io/sendfile.c: Likewise.
16858 * io/sendfile64.c: Likewise.
16859 * io/statfs.c: Likewise.
16860 * io/statfs64.c: Likewise.
16861 * io/statvfs.c: Likewise.
16862 * io/statvfs64.c: Likewise.
16863 * io/symlink.c: Likewise.
16864 * io/symlinkat.c: Likewise.
16865 * io/ttyname.c: Likewise.
16866 * io/ttyname_r.c: Likewise.
16867 * io/umask.c: Likewise.
16868 * io/unlink.c: Likewise.
16869 * io/unlinkat.c: Likewise.
16870 * io/utime.c: Likewise.
16871 * io/utimensat.c: Likewise.
16872 * io/write.c: Likewise.
16873 * io/xmknod.c: Likewise.
16874 * io/xmknodat.c: Likewise.
16875 * io/xstat.c: Likewise.
16876 * io/xstat64.c: Likewise.
16877 * login/getpt.c: Likewise.
16878 * login/grantpt.c: Likewise.
16879 * login/unlockpt.c: Likewise.
16880 * math/e_acoshl.c: Likewise.
16881 * math/e_acosl.c: Likewise.
16882 * math/e_asinl.c: Likewise.
16883 * math/e_atan2l.c: Likewise.
16884 * math/e_atanhl.c: Likewise.
16885 * math/e_coshl.c: Likewise.
16886 * math/e_expl.c: Likewise.
16887 * math/e_fmodl.c: Likewise.
16888 * math/e_gammal_r.c: Likewise.
16889 * math/e_hypotl.c: Likewise.
16890 * math/e_j0l.c: Likewise.
16891 * math/e_j1l.c: Likewise.
16892 * math/e_jnl.c: Likewise.
16893 * math/e_lgammal_r.c: Likewise.
16894 * math/e_log10l.c: Likewise.
16895 * math/e_log2l.c: Likewise.
16896 * math/e_logl.c: Likewise.
16897 * math/e_powl.c: Likewise.
16898 * math/e_rem_pio2l.c: Likewise.
16899 * math/e_sinhl.c: Likewise.
16900 * math/e_sqrtl.c: Likewise.
16901 * math/fclrexcpt.c: Likewise.
16902 * math/fedisblxcpt.c: Likewise.
16903 * math/feenablxcpt.c: Likewise.
16904 * math/fegetenv.c: Likewise.
16905 * math/fegetexcept.c: Likewise.
16906 * math/fegetround.c: Likewise.
16907 * math/feholdexcpt.c: Likewise.
16908 * math/fesetenv.c: Likewise.
16909 * math/fesetround.c: Likewise.
16910 * math/feupdateenv.c: Likewise.
16911 * math/fgetexcptflg.c: Likewise.
16912 * math/fraiseexcpt.c: Likewise.
16913 * math/fsetexcptflg.c: Likewise.
16914 * math/ftestexcept.c: Likewise.
16915 * math/k_cosl.c: Likewise.
16916 * math/k_rem_pio2l.c: Likewise.
16917 * math/k_sinl.c: Likewise.
16918 * math/k_tanl.c: Likewise.
16919 * math/s_asinhl.c: Likewise.
16920 * math/s_atanl.c: Likewise.
16921 * math/s_cbrtl.c: Likewise.
16922 * math/s_erfl.c: Likewise.
16923 * math/s_expm1l.c: Likewise.
16924 * math/s_log1pl.c: Likewise.
16925 * math/s_tanhl.c: Likewise.
16926 * misc/acct.c: Likewise.
16927 * misc/brk.c: Likewise.
16928 * misc/chflags.c: Likewise.
16929 * misc/chroot.c: Likewise.
16930 * misc/fchflags.c: Likewise.
16931 * misc/fgetxattr.c: Likewise.
16932 * misc/flistxattr.c: Likewise.
16933 * misc/fremovexattr.c: Likewise.
16934 * misc/fsetxattr.c: Likewise.
16935 * misc/fsync.c: Likewise.
16936 * misc/ftruncate.c: Likewise.
16937 * misc/futimes.c: Likewise.
16938 * misc/futimesat.c: Likewise.
16939 * misc/getdomain.c: Likewise.
16940 * misc/getdtsz.c: Likewise.
16941 * misc/gethostid.c: Likewise.
16942 * misc/gethostname.c: Likewise.
16943 * misc/getloadavg.c: Likewise.
16944 * misc/getpagesize.c: Likewise.
16945 * misc/getsysstats.c: Likewise.
16946 * misc/getxattr.c: Likewise.
16947 * misc/gtty.c: Likewise.
16948 * misc/ioctl.c: Likewise.
16949 * misc/lgetxattr.c: Likewise.
16950 * misc/listxattr.c: Likewise.
16951 * misc/llistxattr.c: Likewise.
16952 * misc/lremovexattr.c: Likewise.
16953 * misc/lsetxattr.c: Likewise.
16954 * misc/lutimes.c: Likewise.
16955 * misc/madvise.c: Likewise.
16956 * misc/mincore.c: Likewise.
16957 * misc/mlock.c: Likewise.
16958 * misc/mlockall.c: Likewise.
16959 * misc/mmap.c: Likewise.
16960 * misc/mprotect.c: Likewise.
16961 * misc/msync.c: Likewise.
16962 * misc/munlock.c: Likewise.
16963 * misc/munlockall.c: Likewise.
16964 * misc/munmap.c: Likewise.
16965 * misc/preadv.c: Likewise.
16966 * misc/preadv64.c: Likewise.
16967 * misc/ptrace.c: Likewise.
16968 * misc/pwritev.c: Likewise.
16969 * misc/pwritev64.c: Likewise.
16970 * misc/readv.c: Likewise.
16971 * misc/reboot.c: Likewise.
16972 * misc/remap_file_pages.c: Likewise.
16973 * misc/removexattr.c: Likewise.
16974 * misc/revoke.c: Likewise.
16975 * misc/select.c: Likewise.
16976 * misc/setdomain.c: Likewise.
16977 * misc/setegid.c: Likewise.
16978 * misc/seteuid.c: Likewise.
16979 * misc/sethostid.c: Likewise.
16980 * misc/sethostname.c: Likewise.
16981 * misc/setregid.c: Likewise.
16982 * misc/setreuid.c: Likewise.
16983 * misc/setxattr.c: Likewise.
16984 * misc/sstk.c: Likewise.
16985 * misc/stty.c: Likewise.
16986 * misc/swapoff.c: Likewise.
16987 * misc/swapon.c: Likewise.
16988 * misc/sync.c: Likewise.
16989 * misc/syncfs.c: Likewise.
16990 * misc/syscall.c: Likewise.
16991 * misc/truncate.c: Likewise.
16992 * misc/ualarm.c: Likewise.
16993 * misc/usleep.c: Likewise.
16994 * misc/ustat.c: Likewise.
16995 * misc/utimes.c: Likewise.
16996 * misc/vhangup.c: Likewise.
16997 * misc/writev.c: Likewise.
16998 * posix/_exit.c: Likewise.
16999 * posix/alarm.c: Likewise.
17000 * posix/execve.c: Likewise.
17001 * posix/fexecve.c: Likewise.
17002 * posix/fork.c: Likewise.
17003 * posix/fpathconf.c: Likewise.
17004 * posix/getaddrinfo.c: Likewise.
17005 * posix/getegid.c: Likewise.
17006 * posix/geteuid.c: Likewise.
17007 * posix/getgid.c: Likewise.
17008 * posix/getgroups.c: Likewise.
17009 * posix/getlogin.c: Likewise.
17010 * posix/getlogin_r.c: Likewise.
17011 * posix/getpgid.c: Likewise.
17012 * posix/getpid.c: Likewise.
17013 * posix/getppid.c: Likewise.
17014 * posix/getresgid.c: Likewise.
17015 * posix/getresuid.c: Likewise.
17016 * posix/getsid.c: Likewise.
17017 * posix/getuid.c: Likewise.
17018 * posix/glob64.c: Likewise.
17019 * posix/nanosleep.c: Likewise.
17020 * posix/pathconf.c: Likewise.
17021 * posix/pause.c: Likewise.
17022 * posix/posix_madvise.c: Likewise.
17023 * posix/pread.c: Likewise.
17024 * posix/pread64.c: Likewise.
17025 * posix/pwrite.c: Likewise.
17026 * posix/pwrite64.c: Likewise.
17027 * posix/sched_getaffinity.c: Likewise.
17028 * posix/sched_getp.c: Likewise.
17029 * posix/sched_gets.c: Likewise.
17030 * posix/sched_primax.c: Likewise.
17031 * posix/sched_primin.c: Likewise.
17032 * posix/sched_rr_gi.c: Likewise.
17033 * posix/sched_setaffinity.c: Likewise.
17034 * posix/sched_setp.c: Likewise.
17035 * posix/sched_sets.c: Likewise.
17036 * posix/sched_yield.c: Likewise.
17037 * posix/setgid.c: Likewise.
17038 * posix/setlogin.c: Likewise.
17039 * posix/setpgid.c: Likewise.
17040 * posix/setresgid.c: Likewise.
17041 * posix/setresuid.c: Likewise.
17042 * posix/setsid.c: Likewise.
17043 * posix/setuid.c: Likewise.
17044 * posix/sleep.c: Likewise.
17045 * posix/spawni.c: Likewise.
17046 * posix/sysconf.c: Likewise.
17047 * posix/times.c: Likewise.
17048 * posix/wait.c: Likewise.
17049 * posix/wait3.c: Likewise.
17050 * posix/wait4.c: Likewise.
17051 * posix/waitpid.c: Likewise.
17052 * resolv/gai_sigqueue.c: Likewise.
17053 * resource/getpriority.c: Likewise.
17054 * resource/getrlimit.c: Likewise.
17055 * resource/getrusage.c: Likewise.
17056 * resource/nice.c: Likewise.
17057 * resource/setpriority.c: Likewise.
17058 * resource/setrlimit.c: Likewise.
17059 * resource/ulimit.c: Likewise.
17060 * rt/aio_cancel.c: Likewise.
17061 * rt/aio_fsync.c: Likewise.
17062 * rt/aio_read.c: Likewise.
17063 * rt/aio_sigqueue.c: Likewise.
17064 * rt/aio_suspend.c: Likewise.
17065 * rt/aio_write.c: Likewise.
17066 * rt/clock_getres.c: Likewise.
17067 * rt/clock_gettime.c: Likewise.
17068 * rt/clock_nanosleep.c: Likewise.
17069 * rt/clock_settime.c: Likewise.
17070 * rt/lio_listio.c: Likewise.
17071 * rt/mq_close.c: Likewise.
17072 * rt/mq_getattr.c: Likewise.
17073 * rt/mq_notify.c: Likewise.
17074 * rt/mq_open.c: Likewise.
17075 * rt/mq_receive.c: Likewise.
17076 * rt/mq_send.c: Likewise.
17077 * rt/mq_setattr.c: Likewise.
17078 * rt/mq_timedreceive.c: Likewise.
17079 * rt/mq_timedsend.c: Likewise.
17080 * rt/mq_unlink.c: Likewise.
17081 * rt/shm_open.c: Likewise.
17082 * rt/shm_unlink.c: Likewise.
17083 * rt/timer_create.c: Likewise.
17084 * rt/timer_delete.c: Likewise.
17085 * rt/timer_getoverr.c: Likewise.
17086 * rt/timer_gettime.c: Likewise.
17087 * rt/timer_settime.c: Likewise.
17088 * setjmp/__longjmp.c: Likewise.
17089 * setjmp/setjmp.c: Likewise.
17090 * signal/kill.c: Likewise.
17091 * signal/killpg.c: Likewise.
17092 * signal/raise.c: Likewise.
17093 * signal/sigaction.c: Likewise.
17094 * signal/sigaltstack.c: Likewise.
17095 * signal/sigblock.c: Likewise.
17096 * signal/sigignore.c: Likewise.
17097 * signal/sigintr.c: Likewise.
17098 * signal/signal.c: Likewise.
17099 * signal/sigpause.c: Likewise.
17100 * signal/sigpending.c: Likewise.
17101 * signal/sigqueue.c: Likewise.
17102 * signal/sigreturn.c: Likewise.
17103 * signal/sigset.c: Likewise.
17104 * signal/sigsetmask.c: Likewise.
17105 * signal/sigstack.c: Likewise.
17106 * signal/sigsuspend.c: Likewise.
17107 * signal/sigtimedwait.c: Likewise.
17108 * signal/sigvec.c: Likewise.
17109 * signal/sigwait.c: Likewise.
17110 * signal/sigwaitinfo.c: Likewise.
17111 * signal/sysv_signal.c: Likewise.
17112 * socket/accept.c: Likewise.
17113 * socket/accept4.c: Likewise.
17114 * socket/bind.c: Likewise.
17115 * socket/connect.c: Likewise.
17116 * socket/getpeername.c: Likewise.
17117 * socket/getsockname.c: Likewise.
17118 * socket/getsockopt.c: Likewise.
17119 * socket/isfdtype.c: Likewise.
17120 * socket/listen.c: Likewise.
17121 * socket/recv.c: Likewise.
17122 * socket/recvfrom.c: Likewise.
17123 * socket/recvmsg.c: Likewise.
17124 * socket/send.c: Likewise.
17125 * socket/sendmsg.c: Likewise.
17126 * socket/sendto.c: Likewise.
17127 * socket/setsockopt.c: Likewise.
17128 * socket/shutdown.c: Likewise.
17129 * socket/sockatmark.c: Likewise.
17130 * socket/socket.c: Likewise.
17131 * socket/socketpair.c: Likewise.
17132 * stdio-common/ctermid.c: Likewise.
17133 * stdio-common/cuserid.c: Likewise.
17134 * stdio-common/remove.c: Likewise.
17135 * stdio-common/rename.c: Likewise.
17136 * stdio-common/renameat.c: Likewise.
17137 * stdio-common/tempname.c: Likewise.
17138 * stdlib/getcontext.c: Likewise.
17139 * stdlib/makecontext.c: Likewise.
17140 * stdlib/setcontext.c: Likewise.
17141 * stdlib/swapcontext.c: Likewise.
17142 * stdlib/system.c: Likewise.
17143 * streams/fattach.c: Likewise.
17144 * streams/fdetach.c: Likewise.
17145 * streams/getmsg.c: Likewise.
17146 * streams/getpmsg.c: Likewise.
17147 * streams/putmsg.c: Likewise.
17148 * streams/putpmsg.c: Likewise.
17149 * sysdeps/unix/bsd/getpt.c: Likewise.
17150 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17151 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17152 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17154 Likewise.
17155 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17156 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17157 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17158 * sysvipc/msgctl.c: Likewise.
17159 * sysvipc/msgget.c: Likewise.
17160 * sysvipc/msgrcv.c: Likewise.
17161 * sysvipc/msgsnd.c: Likewise.
17162 * sysvipc/semctl.c: Likewise.
17163 * sysvipc/semget.c: Likewise.
17164 * sysvipc/semop.c: Likewise.
17165 * sysvipc/semtimedop.c: Likewise.
17166 * sysvipc/shmat.c: Likewise.
17167 * sysvipc/shmctl.c: Likewise.
17168 * sysvipc/shmdt.c: Likewise.
17169 * sysvipc/shmget.c: Likewise.
17170 * termios/tcdrain.c: Likewise.
17171 * termios/tcflow.c: Likewise.
17172 * termios/tcflush.c: Likewise.
17173 * termios/tcgetattr.c: Likewise.
17174 * termios/tcgetpgrp.c: Likewise.
17175 * termios/tcsendbrk.c: Likewise.
17176 * termios/tcsetattr.c: Likewise.
17177 * termios/tcsetpgrp.c: Likewise.
17178 * time/adjtime.c: Likewise.
17179 * time/clock.c: Likewise.
17180 * time/getitimer.c: Likewise.
17181 * time/gettimeofday.c: Likewise.
17182 * time/setitimer.c: Likewise.
17183 * time/settimeofday.c: Likewise.
17184 * time/stime.c: Likewise.
17185 * time/time.c: Likewise.
17186
171872012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 17188
a20492cf
PT
17189 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17190 /usr/old/bin.
17191
72e182e3
PT
17192 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17193 instead of spaces.
17194 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17195
fbeafede
JM
171962012-11-03 Joseph Myers <joseph@codesourcery.com>
17197
5b5b04d6
JM
17198 [BZ #14796]
17199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17200 FE_TONEAREST before applying Dekker multiplication and Knuth
17201 addition. Clear inexact exceptions and check for exact zero
17202 results afterwards.
17203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17204 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17206 * math/libm-test.inc (fma_test): Add more tests.
17207 (fma_test_towardzero): Likewise.
17208 (fma_test_downward): Likewise.
17209 (fma_test_upward): Likewise.
17210 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17211 function.
17212 (libc_fesetround): New macro.
17213 (libc_fesetroundf): Likewise.
17214 (libc_fesetroundl): Likewise.
17215 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17216 function.
17217 (libc_fesetround_387): Likewise.
17218 (libc_fesetroundf): New macro.
17219 (libc_fesetround): Likewise.
17220 (libc_fesetroundl): Likewise.
17221 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17222 function.
17223 (libc_fesetroundf): New macro.
17224 (libc_fesetround): Likewise.
17225 (libc_fesetroundl): Likewise.
17226 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17227 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17228 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17229 libm_hidden_ver.
17230 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17231 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17232 libm_hidden_def.
17233 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17234 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17235 libm_hidden_ver.
17236 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17237 libm_hidden_def.
17238
fbeafede
JM
17239 [BZ #3439]
17240 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17241 integer constant usable in #if and use that to give value to enum
17242 constant.
17243 (FE_DIVBYZERO): Likewise.
17244 (FE_UNDERFLOW): Likewise.
17245 (FE_OVERFLOW): Likewise.
17246 (FE_INVALID): Likewise.
17247 (FE_INVALID_SNAN): Likewise.
17248 (FE_INVALID_ISI): Likewise.
17249 (FE_INVALID_IDI): Likewise.
17250 (FE_INVALID_ZDZ): Likewise.
17251 (FE_INVALID_IMZ): Likewise.
17252 (FE_INVALID_COMPARE): Likewise.
17253 (FE_INVALID_SOFTWARE): Likewise.
17254 (FE_INVALID_SQRT): Likewise.
17255 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17256 (FE_TONEAREST): Likewise.
17257 (FE_TOWARDZERO): Likewise.
17258 (FE_UPWARD): Likewise.
17259 (FE_DOWNWARD): Likewise.
17260 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17261 (FE_DIVBYZERO): Likewise.
17262 (FE_OVERFLOW): Likewise.
17263 (FE_UNDERFLOW): Likewise.
17264 (FE_INEXACT): Likewise.
17265 (FE_TONEAREST): Likewise.
17266 (FE_DOWNWARD): Likewise.
17267 (FE_UPWARD): Likewise.
17268 (FE_TOWARDZERO): Likewise.
17269 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17270 (FE_UNDERFLOW): Likewise.
17271 (FE_OVERFLOW): Likewise.
17272 (FE_DIVBYZERO): Likewise.
17273 (FE_INVALID): Likewise.
17274 (FE_TONEAREST): Likewise.
17275 (FE_TOWARDZERO): Likewise.
17276 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17277 (FE_OVERFLOW): Likewise.
17278 (FE_UNDERFLOW): Likewise.
17279 (FE_DIVBYZERO): Likewise.
17280 (FE_INEXACT): Likewise.
17281 (FE_TONEAREST): Likewise.
17282 (FE_TOWARDZERO): Likewise.
17283 (FE_UPWARD): Likewise.
17284 (FE_DOWNWARD): Likewise.
17285 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17286 (FE_DIVBYZERO): Likewise.
17287 (FE_OVERFLOW): Likewise.
17288 (FE_UNDERFLOW): Likewise.
17289 (FE_INEXACT): Likewise.
17290 (FE_TONEAREST): Likewise.
17291 (FE_DOWNWARD): Likewise.
17292 (FE_UPWARD): Likewise.
17293 (FE_TOWARDZERO): Likewise.
17294
105ca950
CM
172952012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17296
17297 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17298
a542b389
AS
172992012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17300
17301 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17302 commands. Quote $PWD.
17303 (blacklist_exports): Don't use remove_newlines. Replace "declare
17304 -x" by "export".
17305 (remove_newlines): Remove.
17306
f62c8abc
L
173072012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17308
17309 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17310 * stdlib/stdlib.h (atof): Moved to ...
17311 * include/bits/stdlib-float.h: Here. New file.
17312 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17313 * stdlib/bits/stdlib-float.h: New file.
17314 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17315 -mno-sse -mno-mmx.
17316 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17317 <xmmintrin.h>.
17318
0155d5b2
JM
173192012-11-02 Joseph Myers <joseph@codesourcery.com>
17320
a68d0680
JM
17321 * conform/conformtest.pl (@headers): Add fenv.h.
17322 * conform/data/fenv.h-data: New file.
17323 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17324 include of <math/fenv.h>.
17325
caf7f573
JM
17326 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17327 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17328 && !UNIX98]. Enables tests for XOPEN2K8.
17329 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17330 POSIX2008]: Likewise.
17331
6c073ad6
JM
17332 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17333 (struct rusage): Do not expect type or its members.
17334
0155d5b2
JM
17335 [BZ #3439]
17336 * math/math.h (FP_NAN): Define macro to integer constant usable in
17337 #if and use that to give value to enum constant.
17338 (FP_INFINITE): Likewise.
17339 (FP_ZERO): Likewise.
17340 (FP_SUBNORMAL): Likewise.
17341 (FP_NORMAL): Likewise.
17342
b5dcacb4
AS
173432012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17344
17345 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17346 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17347 arguments.
17348
f7934be8
RM
173492012-11-02 Roland McGrath <roland@hack.frob.com>
17350
17351 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17352 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17353 autoconf-time if not.
17354 * configure.in: Remove AC_PREREQ.
17355
d7d08bde
TMQMF
173562012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17357
17358 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17359 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17360 of the internal implementation.
17361
dcdae19a
JM
173622012-11-02 Joseph Myers <joseph@codesourcery.com>
17363
17364 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17365 except include of <misc/sys/syslog.h>.
17366
d6cffd3e
AS
173672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17368
17369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17370 function returns with a NULL context exit with zero.
17371
b3563932
TMQMF
173722012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17373
17374 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17375
b288a93d
L
173762012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17377
17378 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17379 (run_program_cmd): This.
17380 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17381 (tst_langinfo): New variable. Use it.
17382
a2421a68
SAS
173832012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17384
17385 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17386 floating point opcodes.
17387
6f796e1b
TS
173882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17389
7402596b
TS
17390 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17391 variable.
17392
d0d4f868
TS
17393 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17394
6f796e1b
TS
17395 * sysdeps/mach/hurd/powerpc: Remove directory.
17396 * sysdeps/mach/powerpc: Likewise.
17397
4da224a2
AS
173982012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17399
17400 * scripts/check-local-headers.sh: Ignore c++ headers.
17401
341dd673
TS
174022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17403
17404 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17405 __libc_cleanup_region_start argument.
17406
473611b2
JM
174072012-11-01 Joseph Myers <joseph@codesourcery.com>
17408
17409 [BZ #14784]
17410 [BZ #14785]
17411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17412 x * y using scaling, not as x * y + z.
17413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17414 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17415 * math/libm-test.inc (fma_test): Add more tests.
17416 (fma_test_towardzero): Likewise.
17417 (fma_test_downward): Likewise.
17418 (fma_test_upward): Likewise.
17419
4078da3d
TS
174202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17421
17422 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17423
903252aa
JM
174242012-10-31 Joseph Myers <joseph@codesourcery.com>
17425
17426 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17427 New variable.
17428
cbc818d0
TS
174292012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17430
17431 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17432
5a03cb1e
AS
174332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17434
17435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17436 Fix sort order.
17437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17438 Likewise.
17439
90aff2ff
TMQMF
174402012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17441
17442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17443 Fix the order of the list for glibc 2.17.
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17445 Likewise.
17446
1818fcb7
AS
174472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17448
17449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17450
ef82f4da
JM
174512012-10-31 Joseph Myers <joseph@codesourcery.com>
17452
16a0e2ec
JM
17453 [BZ #14610]
17454 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17455 for low part of x being zero before using __atanl (y).
17456 * math/libm-test.inc (atan2_test): Add another test.
17457
0eb69512
JM
17458 * manual/install.texi (Configuring and compiling): Document
17459 general use of test-wrapper and test-wrapper-env.
17460 * INSTALL: Regenerated.
17461
ef82f4da
JM
17462 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17463 (__fma): Do not extract and scale down low bits on after-rounding
17464 systems when result rounded to normal precision would have normal
17465 exponent.
17466 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17467 (__fmal): Do not extract and scale down low bits on after-rounding
17468 systems when result rounded to normal precision would have normal
17469 exponent.
17470 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17471 (__fmal): Do not extract and scale down low bits on after-rounding
17472 systems when result rounded to normal precision would have normal
17473 exponent.
17474 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17475 macro.
17476 (fma_test): Add more tests.
17477 (fma_test_towardzero): Likewise.
17478 (fma_test_downward): Likewise.
17479 (fma_test_upward): Likewise.
17480
954ef0d9
L
174812012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17482
17483 * sysdeps/i386/tininess.h: Renamed to ...
17484 * sysdeps/x86/tininess.h: This.
17485 * sysdeps/x86_64/tininess.h: Removed.
17486
df61ffb2
JM
174872012-10-30 Joseph Myers <joseph@codesourcery.com>
17488
17489 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17490 input. Use $(build-program-cmd).
17491 ($(objpfx)tst-array1-static.out): Likewise.
17492 ($(objpfx)tst-array2.out): Likewise.
17493 ($(objpfx)tst-array3.out): Likewise.
17494 ($(objpfx)tst-array4.out): Likewise.
17495 ($(objpfx)tst-array5.out): Likewise.
17496 ($(objpfx)tst-array5-static.out): Likewise.
17497
01767843
CM
174982012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17499
47cc1490
CM
17500 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17501 if defined.
17502
01767843
CM
17503 * nss/nsswitch.h (nss_interface_function): Provide new
17504 macro for use with NSS functions.
17505 * grp/initgroups.c: Use new macro.
17506 * nss/getXXbyYY.c: Likewise.
17507 * nss/getXXbyYY_r.c: Likewise.
17508 * nss/getXXent.c: Likewise.
17509 * nss/getXXent_r.c: Likewise.
17510 * sysdeps/posix/getaddrinfo.c: Likewise.
17511
8321aa97
AJ
175122012-10-30 Andreas Jaeger <aj@suse.de>
17513
17514 * po/ru.po: Update Russion translation from translation project.
17515
2a27fd6d
JM
175162012-10-30 Joseph Myers <joseph@codesourcery.com>
17517
8627a232
JM
17518 [BZ #14152]
17519 [BZ #14783]
17520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17521 result and shift together with sticky bit instead of replicating
17522 round-to-nearest rounding.
17523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17525 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17526 missing underflow exceptions.
17527 (fma_test_towardzero): Add more tests.
17528 (fma_test_downward): Likewise.
17529 (fma_test_upward): Likewise.
17530
2a27fd6d
JM
17531 [BZ #14047]
17532 * sysdeps/generic/tininess.h: New file.
17533 * sysdeps/i386/tininess.h: Likewise.
17534 * sysdeps/sh/tininess.h: Likewise.
17535 * sysdeps/x86_64/tininess.h: Likewise.
17536 * stdlib/tst-strtod-underflow.c: Likewise.
17537 * stdlib/tst-tininess.c: Likewise.
17538 * stdlib/strtod_l.c: Include <tininess.h>.
17539 (round_and_return): Do not set errno for exact underflow cases.
17540 Force an underflow exception when setting errno for underflow.
17541 Determine underflow based on rounding to normal precision if
17542 TININESS_AFTER_ROUNDING.
17543 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17544 ERANGE for exact underflow cases.
17545 * stdlib/Makefile (tests): Add tst-tininess and
17546 tst-strtod-underflow.
17547 ($(objpfx)tst-tininess): Use $(link-libm).
17548 ($(objpfx)tst-strtod-underflow): Likewise.
17549
e7170363
AJ
175502012-10-30 Andreas Jaeger <aj@suse.de>
17551
e5088dc6
AJ
17552 [BZ#14767]
17553 * elf/Makefile (tests): Remove conditional for have-initfini-array
17554 since this is now always required and the variable does not exist
17555 anymore.
17556 (tests-static): Likewise.
17557 (modules-names): Likewise.
17558
e7170363 17559 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17560
17561 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17562 merged with constructor/destructor.
17563 (init_array): Likewise.
17564 * elf/tst-array2dep.c (fini_array): Likewise.
17565 (init_array): Likewise.
17566
60457d8a
MF
175672012-10-29 Mike Frysinger <vapier@gentoo.org>
17568
17569 * manual/message.texi: Delete @cartouche tags.
17570
8bece752
PT
175712012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17572
94ce799f
PT
17573 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17574 EOPNOTSUPP.
17575 * sysdeps/mach/hurd/fsync.c: Likewise.
17576
8bece752
PT
17577 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17578 [_POSIX_REALTIME_SIGNALS]: Change condition to
17579 [_POSIX_REALTIME_SIGNALS > 0].
17580
86ebe6b1
AJ
175812012-10-27 Andreas Jaeger <aj@suse.de>
17582
17583 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17584 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17586 [__WORDSIZE != 64]: Likewise.
17587
54399c08
L
175882012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17589
17590 * iconvdata/tst-table.sh: Remove ${SHELL}.
17591 * iconvdata/tst-tables.sh: Likewise.
17592
e2211bed
DM
175932012-10-25 David S. Miller <davem@davemloft.net>
17594
17595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17596 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17597 of strtoull.
17598
f303f97c
DM
17599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17600 ifunc-impl-list.c
17601 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17602 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17603 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17604 file.
17605
1e9d84cd
RM
176062012-10-25 Roland McGrath <roland@hack.frob.com>
17607
17608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17609 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17610 __getdirentries.
17611
df381762
JM
176122012-10-25 Joseph Myers <joseph@codesourcery.com>
17613 Jim Blandy <jimb@codesourcery.com>
17614
17615 * scripts/cross-test-ssh.sh: New file.
17616 * manual/install.texi (Configuring and compiling): Document use of
17617 cross-test-ssh.sh.
17618 * INSTALL: Regenerated.
17619
bff64913
PT
176202012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17621
17622 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17623 EOPNOTSUPP.
17624
25fe8932
JM
176252012-10-25 Joseph Myers <joseph@codesourcery.com>
17626
17627 * Makeconfig (run-program-prefix): Fix comment.
17628
cc1290d0
JM
176292012-10-24 Joseph Myers <joseph@codesourcery.com>
17630 Jim Blandy <jimb@codesourcery.com>
17631
17632 * Makeconfig (test-wrapper): New variable,
17633 (test-wrapper-env): Likewise.
17634 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17635 (run-built-tests): Define to yes.
17636 (run-program-prefix): Use $(test-wrapper).
17637 (built-program-cmd): Likewise.
17638 * Rules (make-test-out): Use $(test-wrapper-env) and
17639 $(host-built-program-cmd).
17640 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17641 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17642 tst-pathopt.sh.
17643 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17644 $(test-wrapper-env) to tst-rtld-load-self.sh.
17645 ($(objpfx)order2.out): Use $(test-wrapper).
17646 ($(objpfx)tst-initorder.out): Likewise.
17647 ($(objpfx)tst-initorder2.out): Likewise.
17648 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17649 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17650 (test_wrapper_env): New variable. Use it to run ld.so.
17651 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17652 Use it to run ld.so.
17653 (test_wrapper_env): Likewise.
17654 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17655 $(test-wrapper) to run-iconv-test.sh.
17656 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17657 (ICONV): Use $test_wrapper.
17658 * posix/Makefile ($(objpfx)globtest.out): Pass
17659 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17660 globtest.sh, not $(run-program-prefix).
17661 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17662 (test_wrapper): Likewise.
17663 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17664 set together with run_via_rtld_prefix.
17665 (run_program_prefix): Define in terms of test_wrapper and
17666 run_via_rtld_prefix.
17667
6e6249d0
RM
176682012-10-24 Roland McGrath <roland@hack.frob.com>
17669
17670 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17671 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17672 Targets removed.
17673
17674 [BZ #14743]
17675 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17676 Declare __clock_getres, __clock_gettime, __clock_settime,
17677 __clock_nanosleep, and __clock_getcpuclockid.
17678 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17679 Remove librt_hidden_def (clock_gettime).
17680 * sysdeps/unix/clock_gettime.c: Likewise.
17681 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17682 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17683 * rt/clock_getres.c: Define __clock_getres as an alias.
17684 * sysdeps/posix/clock_getres.c: Likewise.
17685 * rt/clock_settime.c: Define __clock_settime as an alias.
17686 * sysdeps/unix/clock_settime.c: Likewise.
17687 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17688 * sysdeps/unix/clock_nanosleep.c: Likewise.
17689 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17690 * rt/clock-compat.c: New file.
17691 * rt/Makefile (librt-routines): Add clock-compat and move
17692 $(clock-routines) to ...
17693 (routines): ... here, new variable.
17694 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17695 Don't add get_clockfreq here.
17696 * rt/Versions (libc: GLIBC_2.17): New version set.
17697 Add clock_* symbols here.
17698 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17699 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17700 (GLIBC_2.17): Add clock_* symbols.
17701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17705 Likewise.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17707 Likewise.
17708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17712 * NEWS: Mention the move.
17713
17714 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17715 Use __open, __read, __close rather than their public counterparts.
17716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17717 (__get_clockfreq_via_cpuinfo): Likewise.
17718 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17719 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17720
17721 * config.h.in (HAVE_IFUNC): New #undef.
17722 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17723 was successful.
17724 * configure: Regenerated.
17725
0cae3f4b
MF
177262012-10-24 Mike Frysinger <vapier@gentoo.org>
17727
17728 * configure.in: Move READELF check to start of file.
17729 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17730 libc_cv_asm_gnu_indirect_function in the process.
17731 * configure: Regenerated.
17732
8175a253
MF
177332012-10-24 Mike Frysinger <vapier@gentoo.org>
17734
17735 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17736 send the output to /dev/null.
17737 (libc_cv_cc_with_libunwind): Likewise.
17738 (libc_cv_as_noexecstack): Likewise.
17739 * configure: Regenerate.
17740
0708a7d1
JM
177412012-10-24 Joseph Myers <joseph@codesourcery.com>
17742
10b40d85
JM
17743 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17744
0708a7d1
JM
17745 * posix/globtest.sh (TMPDIR): Do not set.
17746 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17747 (testout): Likewise.
17748
9fddec1a
AJ
177492012-10-24 Andreas Jaeger <aj@suse.de>
17750
3a8db22f
AJ
17751 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17752 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17753 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17754 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17755 posix_fadvise64, posix_fallocate64.
17756
9fddec1a
AJ
17757 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17758 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17759 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17760 Likewise.
17761 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17762 Likewise.
17763 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17764
17765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17766 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17767 <bits/fcntl-linux.h>.
17768 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17769
17770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17771 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17772 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17773 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17774 [__WORDSIZE != 64]: Likewise.
17775
ebfd1bbd
JM
177762012-10-23 Joseph Myers <joseph@codesourcery.com>
17777
03ac099f
JM
17778 * Makeconfig (run-built-tests): New variable.
17779 * Rules [$(cross-compiling) = yes]: Change condition to
17780 [$(run-built-tests) = no].
17781 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17782 to [$(run-built-tests) = yes].
17783 * elf/Makefile [$(cross-compiling) = no]: Likewise
17784 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17785 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17786 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17787 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17788 * io/Makefile [$(cross-compiling) = no]: Likewise.
17789 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17790 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17791 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17792 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17793 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17794 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17795 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17796 * string/Makefile [$(cross-compiling) = no]: Likewise.
17797
ebfd1bbd
JM
17798 * posix/Makefile ($(objpfx)globtest.out): Pass
17799 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17800 $(rtld-installed-name).
17801 * posix/globtest.sh (elf_objpfx): Remove variable.
17802 (rtld_installed_name): Likewise.
17803 (library_path): Likewise.
17804 (run_program_prefix): New variable. Use for running globtest
17805 binary.
17806
166bca24
JB
178072012-10-23 Jim Blandy <jimb@codesourcery.com>
17808 Joseph Myers <joseph@codesourcery.com>
17809
17810 * Makeconfig (host-built-program-cmd): New variable.
17811 * elf/Makefile (tst-stackguard1-ARGS): Use
17812 $(host-built-program-cmd).
17813 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17814 (tst-spawn-ARGS): Likewise.
17815 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17816
88866099
JM
178172012-10-23 Joseph Myers <joseph@codesourcery.com>
17818 Jim Blandy <jimb@codesourcery.com>
17819
17820 * Makeconfig (run-via-rtld-prefix): New variable.
17821 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17822 (built-program-cmd): Likewise.
17823
b4b4c296
AJ
178242012-10-22 Andreas Jaeger <aj@suse.de>
17825
17826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17827 __O_RSYNC if it exists, otherwise to O_SYNC.
17828
6fb54a22
JB
178292012-10-22 Jim Blandy <jimb@codesourcery.com>
17830 Joseph Myers <joseph@codesourcery.com>
17831
17832 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17833 /dev/null.
17834 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17835 from /dev/null
17836 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17837 /dev/null.
17838
481b90b9
AJ
178392012-10-22 Andreas Jaeger <aj@suse.de>
17840
2a0e2669
AJ
17841 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17842 Define always.
17843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17844
76e38f9a
AJ
17845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17846 bits/fcntl-linux.h.
17847
7cd37b43
AJ
17848 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17849 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17850
481b90b9
AJ
17851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17852 to __O_LARGEFILE.
17853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17854 to __O_LARGEFILE.
17855
aba75984
JB
178562012-10-21 Jim Blandy <jimb@codesourcery.com>
17857 Joseph Myers <joseph@codesourcery.com>
17858
17859 * config.make.in (NM): New variable.
17860
88d4247f
AJ
178612012-10-21 Andreas Jaeger <aj@suse.de>
17862
17863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17864 definitions and declarations that are provided by
17865 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17866
f2eed205
L
178672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17868
17869 [BZ #14683]
17870 * elf/Makefile (tests-static): Add tst-leaks1-static.
17871 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17872 ($(objpfx)tst-leaks1-static): New rule.
17873 ($(objpfx)tst-leaks1-static-mem): Likewise.
17874 (tst-leaks1-static-ENV): New macro.
17875 * elf/dl-open.c (dl_open_worker): Check the main application
17876 only if SHARED is defined.
17877 * elf/tst-leaks1-static.c: New file.
17878
335e6931
AJ
178792012-10-20 Andreas Jaeger <aj@suse.de>
17880
17881 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17882 generic values for Linux.
17883 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17884 and declarations that are provided by <bits/fcntl-linux.h> and
17885 include <bits/fcntl-linux.h>.
17886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17888
ac5c94d3
RM
178892012-10-20 Roland McGrath <roland@hack.frob.com>
17890
17891 * io/fcntl.h: Move include of <bits/types.h> to the top and
17892 include it unconditionally.
17893
de54b33a
L
178942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17895
228cfb01
L
17896 * wcsmbs/Makefile (tests-ifunc): New variable.
17897 (tests): Add $(tests-ifunc).
17898 * wcsmbs/test-wcschr-ifunc.c: New file.
17899 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17900 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17901 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17902 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17903 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17904
69f07e5f
L
17905 * string/Makefile (tests-ifunc): New variable.
17906 (tests): Add $(tests-ifunc).
17907 * string/test-memccpy.c (TEST_NAME): New macro.
17908 * string/test-memchr.c (TEST_NAME): Likewise.
17909 * string/test-memcmp.c (TEST_NAME): Likewise.
17910 * string/test-memcpy.c (TEST_NAME): Likewise.
17911 * string/test-memmem.c (TEST_NAME): Likewise.
17912 * string/test-memmove.c (TEST_NAME): Likewise.
17913 * string/test-memset.c (TEST_NAME): Likewise.
17914 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17915 * string/test-stpcpy.c (TEST_NAME): Likewise.
17916 * string/test-stpncpy.c (TEST_NAME): Likewise.
17917 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17918 * string/test-strcasestr.c (TEST_NAME): Likewise.
17919 * string/test-strcat.c (TEST_NAME): Likewise.
17920 * string/test-strchr.c (TEST_NAME): Likewise.
17921 * string/test-strcmp.c(TEST_NAME): Likewise.
17922 * string/test-strcpy.c (TEST_NAME): Likewise.
17923 * string/test-strcspn.c (TEST_NAME): Likewise.
17924 * string/test-strlen.c (TEST_NAME): Likewise.
17925 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17926 * string/test-strncmp.c (TEST_NAME): Likewise.
17927 * string/test-strncpy.c (TEST_NAME): Likewise.
17928 * string/test-strnlen.c (TEST_NAME): Likewise.
17929 * string/test-strpbrk.c (TEST_NAME): Likewise.
17930 * string/test-strrchr.c (TEST_NAME): Likewise.
17931 * string/test-strspn.c (TEST_NAME): Likewise.
17932 * string/test-strstr.c (TEST_NAME): Likewise.
17933 * string/test-bcopy-ifunc.c: New file.
17934 * string/test-bzero-ifunc.c: Likewise.
17935 * string/test-memccpy-ifunc.c: Likewise.
17936 * string/test-memchr-ifunc.c: Likewise.
17937 * string/test-memcmp-ifunc.c: Likewise.
17938 * string/test-memcpy-ifunc.c: Likewise.
17939 * string/test-memmem-ifunc.c: Likewise.
17940 * string/test-memmove-ifunc.c: Likewise.
17941 * string/test-mempcpy-ifunc.c: Likewise.
17942 * string/test-memset-ifunc.c: Likewise.
17943 * string/test-rawmemchr-ifunc.c: Likewise.
17944 * string/test-stpcpy-ifunc.c: Likewise.
17945 * string/test-stpncpy-ifunc.c: Likewise.
17946 * string/test-strcasecmp-ifunc.c: Likewise.
17947 * string/test-strcasestr-ifunc.c: Likewise.
17948 * string/test-strcat-ifunc.c: Likewise.
17949 * string/test-strchr-ifunc.c: Likewise.
17950 * string/test-strchrnul-ifunc.c: Likewise.
17951 * string/test-strcmp-ifunc.c: Likewise.
17952 * string/test-strcpy-ifunc.c: Likewise.
17953 * string/test-strcspn-ifunc.c: Likewise.
17954 * string/test-strlen-ifunc.c: Likewise.
17955 * string/test-strncasecmp-ifunc.c: Likewise.
17956 * string/test-strncat-ifunc.c: Likewise.
17957 * string/test-strncmp-ifunc.c: Likewise.
17958 * string/test-strncpy-ifunc.c: Likewise.
17959 * string/test-strnlen-ifunc.c: Likewise.
17960 * string/test-strpbrk-ifunc.c: Likewise.
17961 * string/test-strrchr-ifunc.c: Likewise.
17962 * string/test-strspn-ifunc.c: Likewise.
17963 * string/test-strstr-ifunc.c: Likewise.
17964
de54b33a
L
17965 * debug/Makefile (tests-ifunc): New variable.
17966 (tests): Add $(tests-ifunc).
17967 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17968 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17969 * debug/test-stpcpy_chk-ifunc.c: New file.
17970 * debug/test-strcpy_chk-ifunc.c: Likewise.
17971
88481c16
SP
179722012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17973
17974 [BZ #13601]
17975 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17976 header is not read in.
17977
135948bd
JM
179782012-10-19 Joseph Myers <joseph@codesourcery.com>
17979
89f1c388
JM
17980 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17981 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17982 directly. Pass built executable to script as
17983 $(built-program-cmd).
17984 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17985 $testprogram without using LD_LIBRARY_PATH and $ldso.
17986
e40a0d21
JM
17987 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17988 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17989 $(rtld-installed-name).
17990 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17991 (rtld_installed_name): Likewise.
17992 (library_path): Likewise.
17993 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17994 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17995 $(run-program-prefix) to tst-tables.sh.
17996 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17997 it to run tst-table-from and tst-table-to.
17998 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17999 Pass it to tst-table.sh.
18000 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18001 $(run-program-prefix) to tst-gettext.sh.
18002 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18003 tst-translit.sh.
18004 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18005 tst-gettext2.sh.
18006 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18007 to run tst-gettext.
18008 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18009 to run tst-gettext2.
18010 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18011 to run tst-translit.
18012 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18013 $(run-program-prefix) to tst-mtrace.sh.
18014 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18015 to run tst-mtrace.
18016 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18017 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18018 $(rtld-installed-name).
18019 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18020 (rtld_installed_name): Likewise.
18021 (run_program_prefix): New variable. Use it to run wordexp-test.
18022
728e272a
JM
18023 * Makeconfig (ARCH): Remove all definitions.
18024 (machine): Likewise.
18025 [ARCH]: Remove conditional code.
18026 [!objdir]: Give error.
18027 [!objdir] (objpfx): Remove.
18028 [!objdir] (common-objpfx): Likewise.
18029 [!objdir] (common-objdir): Likewise.
18030 * configure.in (config_makefile): Remove. Hardcode Makefile in
18031 AC_CONFIG_FILES call.
18032 * configure: Regenerated.
18033
d528cdcf
JM
18034 [BZ #13888]
18035 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18036 or TMPDIR.
18037 (testout): Likewise.
18038
135948bd
JM
18039 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18040 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18041 $(rtld-installed-name).
18042 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18043 (rtld_installed_name): Likwise.
18044 (runit): Remove function.
18045 (run_getconf): New variable, Use it for running getconf binary.
18046
38c78296
L
180472012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18048
18049 [BZ #14716]
18050 * string/test-memmem.c (check_result): New function.
18051 (do_one_test): Use it.
18052 (check1): New function.
18053 (test_main): Use it.
18054
d077f65f
MT
180552012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18056
18057 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18058
ced52c71
JM
180592012-10-18 Joseph Myers <joseph@codesourcery.com>
18060
18061 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18062 (_G_LSEEK64): Likewise.
18063 (_G_MMAP64): Likewise.
18064 (_G_FSTAT64): Likewise.
18065 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18066 (_G_LSEEK64): Likewise.
18067 (_G_MMAP64): Likewise.
18068 (_G_FSTAT64): Likewise.
18069 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18070 unconditional. Call __mmap64 directly.
18071 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18072 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18073 __lseek64 directly.
18074 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18075 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18076 __mmap64 directly.
18077 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18078 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18079 __lseek64 directly.
18080 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18081 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18082 __lseek64 directly.
18083 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18084 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18085 __lseek64 directly.
18086 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18087 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18088 __fxstat64 directly.
18089 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18090 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18091 unconditional.
18092 (freopen64) [!_G_OPEN64]: Remove conditional code.
18093 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18094 unconditional.
18095 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18096 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18097 unconditional.
18098 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18099 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18100 unconditional.
18101 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18102 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18103 unconditional.
18104 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18105 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18106 unconditional.
18107 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18108 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18109 unconditional.
18110 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18111 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18112 unconditional.
18113 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18114
b741de23
SP
181152012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18116
18117 [BZ #12140]
18118 * manual/memory.texi (Malloc Tunable Parameters): Add note
18119 about free list pointers overwriting some perturb bytes.
18120 Wording suggested by Roland McGrath.
18121
f9b9d9c9
JM
181222012-10-17 Joseph Myers <joseph@codesourcery.com>
18123
18124 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18125 (lgamma_test): Likewise.
18126 (tgamma_test): Likewise.
18127
172a631a
FW
181282012-10-16 Florian Weimer <fweimer@redhat.com>
18129
18130 [BZ #14700]
18131 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18132 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18133
e9f37252
MK
181342012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18135
18136 * NEWS: Mention BZ #14716.
18137 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18138 when removing AVAILABLE1_USES_J macro.
18139
d394eb74
L
181402012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18141
18142 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18143 (__bswap_64): __uint64_t for unsigned 64-bit int.
18144
ca38dc17
AS
181452012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18146
18147 * include/string.h (memmem): Declare libc hidden alias.
18148 * string/memmem.c (memmem): Define libc hidden alias.
18149 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18150 __read, __close instead of open, read, close.
18151
9a387d1f
L
181522012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18153
ac49ecaf
L
18154 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18155 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18156 global and hidden.
18157 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18158 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18159 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18160 Likewise.
18161 (__rawmemchr_sse2): Likewise.
18162 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18163 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18164 (__strchr_sse2): Likewise.
18165 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18166 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18167 (__strcasecmp_sse2): Likewise.
18168 (__strncasecmp_sse2): Likewise.
18169 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18170 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18171 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18172 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18173 (__strrchr_sse2): Likewise.
18174 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18175 ifunc-impl-list.c.
18176 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18177 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18178 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18179 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18180 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18181 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18182 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18183 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18184 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18185 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18186 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18187 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18188 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18189 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18190 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18191 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18192 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18193 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18194 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18195 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18196 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18197 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18198 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18199 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18200 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18202 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18203 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18204 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18205 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18206
b090e8ea
L
18207 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18208 global and hidden.
18209 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18210 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18211 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18212 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18213 Likewise.
18214 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18215 Likewise.
18216 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18217 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18218 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18219 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18220 ifunc-impl-list.c.
18221 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18222 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18223 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18224 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18225 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18226 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18227 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18228 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18229 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18230 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18231 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18232 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18233 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18234 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18235 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18236 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18238 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18239 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18240 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18241 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18242 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18243 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18244 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18246 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18247 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18248 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18249 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18250 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18251 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18252 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18253 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18254 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18255 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18256 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18257 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18258 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18259 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18260 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18261 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18262
11dd4af6
L
18263 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18264 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18265 * include/ifunc-impl-list.h: New file.
18266 * misc/ifunc-impl-list.c: Likewise.
18267 * misc/Makefile (routines): Add ifunc-impl-list.
18268 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18269 * string/test-string.h: Include <ifunc-impl-list.h>.
18270 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18271 impl_array): New variables.
18272 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18273 are defined.
18274 (test_init): Call __libc_ifunc_impl_list to initialize
18275 func_list if TEST_IFUNC and TEST_NAME are defined.
18276
9a387d1f
L
18277 * string/Makefile (strop-tests): Add bcopy and bzero.
18278 * string/test-bcopy.c: New file.
18279 * string/test-bzero.c: Likewise.
18280 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18281 defined.
18282 * string/test-memset.c: Support bzero test if TEST_BZERO is
18283 defined.
18284 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18285 __libc_memmove.
18286 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18287 __libc_memset.
18288 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18289 of memset.
18290
472371b9
JM
182912012-10-10 Joseph Myers <joseph@codesourcery.com>
18292
1e4a9536
JM
18293 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18294 * configure: Regenerated.
18295
d173d12e
JM
18296 * Makeconfig (+link-static-before-libc): Don't include
18297 $(link-static-libc).
18298
472371b9
JM
18299 * libio/libio.h (_IO_pos_t): Remove.
18300
89a3ad0b
AO
183012012-10-10 Alexandre Oliva <aoliva@redhat.com>
18302
18303 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18304 McGrath.
18305
e7451425
AO
183062012-10-10 Alexandre Oliva <aoliva@redhat.com>
18307
18308 * crypt/crypt-entry.c: Include fips-private.h.
18309 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18310 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18311 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18312 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18313
4ba74a35
AO
183142012-10-10 Alexandre Oliva <aoliva@redhat.com>
18315
18316 * crypt/crypt-private.h: Include stdbool.h.
18317 (_ufc_setup_salt_r): Return bool.
18318 * crypt/crypt-entry.c: Include errno.h.
18319 (__crypt_r): Return NULL with EINVAL for bad salt.
18320 * crypt/crypt_util.c (bad_for_salt): New.
18321 (_ufc_setup_salt_r): Check that salt is long enough and within
18322 the specified alphabet.
18323 * crypt/badsalttest.c: New file.
18324 * crypt/Makefile (tests): Add it.
18325 ($(objpfx)badsalttest): New.
18326
f96f1242
MK
183272012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18328
18329 * NEWS: Add entry for BZ #14602.
18330
0e8e0c1c
JM
183312012-10-09 Joseph Myers <joseph@codesourcery.com>
18332
18333 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18334 type-generic.
18335 * math/libm-test.inc: Update comment listing what functions and
18336 macros are tested.
18337 (isgreater_test): New function.
18338 (isgreaterequal_test): Likewise.
18339 (isless_test): Likewise.
18340 (islessequal_test): Likewise.
18341 (islessgreater_test): Likewise.
18342 (isunordered_test): Likewise.
18343 (main): Call the new functions.
18344
273edc5e
RM
183452012-10-09 Roland McGrath <roland@hack.frob.com>
18346
b8493de0
RM
18347 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18348 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18349 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18350 * sysdeps/i386/configure: Regenerated.
18351 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18352 * sysdeps/mach/configure: Regenerated.
18353 * sysdeps/mach/hurd/configure: Regenerated.
18354 * sysdeps/powerpc/configure: Regenerated.
18355 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18356 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18357 * sysdeps/s390/s390-32/configure: Regenerated.
18358 * sysdeps/s390/s390-64/configure: Regenerated.
18359 * sysdeps/sh/configure: Regenerated.
18360 * sysdeps/sparc/configure: Regenerated.
18361 * sysdeps/unix/sysv/linux/configure: Regenerated.
18362 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18363 * sysdeps/x86_64/configure: Regenerated.
18364
273edc5e
RM
18365 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18366 defined. Don't check if MAP is NULL.
18367
c8450f70
JM
183682012-10-09 Joseph Myers <joseph@codesourcery.com>
18369
18370 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18371 (_G_stat64): Likewise.
18372 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18373 (_G_stat64): Likewise.
18374 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18375 instead of struct _G_stat64.
18376 * libio/fileops.c (mmap_remap_check): Likewise.
18377 (decide_maybe_mmap): Likewise.
18378 (_IO_new_file_seekoff): Likewise.
18379 (_IO_file_stat): Likewise.
18380 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18381 _G_off64_t.
18382 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18383 instead of struct _G_stat64.
18384 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18385
57e605ba
MK
183862012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18387
18388 [BZ #14602]
18389 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18390 Replace with ...
18391 (CHECK_EOL): New macro.
18392 (two_way_short_needle): Check beginning of haystack for EOL. Use
18393 CHECK_EOL.
18394 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18395 Replace with CHECK_EOL.
18396 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18397 Replace with CHECK_EOL.
18398
ef1bb361
JM
183992012-10-08 Joseph Myers <joseph@codesourcery.com>
18400
18401 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18402 type-generic.
18403 * math/libm-test.inc: Update comment listing what functions and
18404 macros are tested.
18405 (finite_test): New function.
18406 (isinf_test): Likewise.
18407 (isnan_test): Likewise.
18408 (fpclassify_test): Test subnormal input.
18409 (isfinite_test): Likewise.
18410 (isnormal_test): Likewise.
18411 (main): Call the new functions.
18412
55f11534
JN
184132012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18414
18415 [BZ #14660]
18416 * Makerules (%.dynsym): Force C locale when running
18417 $(OBJDUMP) --dynamic-syms.
18418
1ab29350
AS
184192012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18420
18421 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18422 <stdint.h>.
18423
f1ecb7ef
DM
184242012-10-06 David S. Miller <davem@davemloft.net>
18425
18426 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18427 upper 32-bits of the length value in %o2 since we use branch-on-register
18428 tests which consider the entire 64-bit register.
18429
5d41d91a
L
184302012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18431
18432 * string/test-strstr.c (check2): Add a test for page boundary.
18433
3baddb72
DM
184342012-10-05 David S. Miller <davem@davemloft.net>
18435
18436 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18437 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18438 file.
18439 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18440 sysdep_routines.
18441 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18442 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18443 and bzero when HWCAP_SPARC_CRYPTO is present.
18444
9cee5585
L
184452012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18446
d7e0dab9
L
18447 [BZ #14602]
18448 * string/test-strstr.c (check2): New function.
18449 (test_main): Call check2.
18450
03759f47
L
18451 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18452 and bug-strchr1.
18453 * string/bug-strcasestr1.c (do_test): Moved to ...
18454 * string/test-strcasestr.c (check1): Here. New function.
18455 (do_one_test): Break out result checking code into ...
18456 (check_result): This. New function.
18457 (do_one_test): Call check_result.
18458 (test_main): Call check1.
18459 * string/bug-strchr1.c (do_test): Moved to ...
18460 * string/test-strchr.c (check1): Here. New function.
18461 (do_one_test): Break out result checking code into ...
18462 (check_result): This. New function.
18463 (do_one_test): Call check_result.
18464 (test_main): Call check1.
18465 * string/bug-strstr1.c (main): Moved to ...
046f153e 18466 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18467 (do_one_test): Break out result checking code into ...
18468 (check_result): This. New function.
18469 (do_one_test): Call check_result.
18470 (test_main): Call check1.
18471 * string/bug-strcasestr1.c: Removed.
18472 * string/bug-strchr1.c: Likewise.
18473 * string/bug-strstr1.c: Likewise.
18474
53cea63e
L
18475 * elf/Makefile (dl-routines): Add hwcaps.
18476 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18477 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18478 (_dl_important_hwcaps): Moved to ...
18479 * elf/dl-hwcaps.c: Here. New file.
18480 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18481
9cee5585 18482 [BZ #14557]
bb859b06
L
18483 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18484 if IS_IN_rtld isn't defined.
18485
9cee5585
L
18486 * elf/dl-support.c (_dl_sysinfo_map): New.
18487 Include "get-dynamic-info.h" and "setup-vdso.h".
18488 (_dl_non_dynamic_init): Call setup_vdso.
18489 * elf/dynamic-link.h: Don't include <assert.h>.
18490 (elf_get_dynamic_info): Moved to ...
18491 * elf/get-dynamic-info.h: Here. New file.
18492 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18493 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18494 * elf/setup-vdso.h: Here. New file.
18495 * elf/rtld.c: Include "setup-vdso.h".
18496 (dl_main): Call setup_vdso.
18497
23c31b76
JM
184982012-10-05 Joseph Myers <joseph@codesourcery.com>
18499
28234b07
JM
18500 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18501 creal in comment listing functions tested. List finite, isinf,
18502 isnan, isless, islessequal, isgreater, isgreaterequal,
18503 islessgreater, isunordered, lgamma_r and pow10 as functions and
18504 macros not tested. Mention which functions not tested are aliases
18505 for other functions. Fix typo. Note that signs of NaNs are not
18506 tested.
18507
23c31b76
JM
18508 * scripts/config.guess: Update from config.git.
18509 * scripts/config.sub: Likewise.
18510
9043e228
RM
185112012-10-04 Roland McGrath <roland@hack.frob.com>
18512
18513 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18514 * misc/madvise.c (madvise): Renamed to __madvise.
18515 Make madvise a weak alias.
18516 * include/sys/mman.h: Declare __madvise.
18517 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18518 * sysdeps/unix/syscalls.list
18519 (madvise): Make __madvise the strong name, and madvise a weak alias.
18520 * sysdeps/unix/sysv/linux/syscalls.list
18521 (madvise, mmap): Remove redundant entries.
18522 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18523 * malloc/malloc.c (mtrim): Likewise.
18524 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18525
f57f8055
RM
185262012-10-03 Roland McGrath <roland@hack.frob.com>
18527
18528 * sysdeps/mach/hurd/dl-cache.c: File removed.
18529 * config.h.in (USE_LDCONFIG): New #undef.
18530 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18531 * configure: Regenerated.
18532 * elf/Makefile (dl-routines): Add dl-cache only under
18533 [$(use-ldconfig) = yes].
18534 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18535 cache on [USE_LDCONFIG].
18536 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18537 [USE_LDCONFIG].
18538 * elf/rtld.c (dl_main): Likewise.
18539
5bb0c10a
PT
185402012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18541
18542 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18543 _SC_LEVEL4_CACHE_LINESIZE.
18544
010188c6
RM
185452012-10-03 Roland McGrath <roland@hack.frob.com>
18546
18547 * sysdeps/unix/bsd/confstr.h: File removed.
18548
b6c5ec07
AO
185492012-10-02 Alexandre Oliva <aoliva@redhat.com>
18550
18551 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18552 sys/sdt-config.h.
18553
408223d4
RM
185542012-10-02 Roland McGrath <roland@hack.frob.com>
18555
18556 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18557 Make 'mapoff' field ElfW(Off) rather than off_t.
18558
bb9510dc
DL
185592012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18560
fc997c6e
DL
18561 * nscd/Makefile: Remove nscd-cflags and all its users.
18562 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18563 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18564
bb9510dc
DL
18565 [BZ #10631]
18566 * malloc.c (malloc_printerr): Clarify error message.
18567
05699367
L
185682012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18569
18570 [BZ #14648]
18571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18572 Set bit_FMA_Usable if FMA is supported.
18573 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18574 macro.
18575 (bit_FMA4_Usable): Updated.
18576 (index_FMA_Usable): New macro.
18577 (CPUID_FMA): Likewise
18578 (HAS_FMA): Defined with bit_FMA_Usable.
18579
51367701
RM
185802012-10-01 Roland McGrath <roland@hack.frob.com>
18581
18582 * bits/types.h (__swblk_t): Type removed.
18583 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18584 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18586 (__SWBLK_T_TYPE): Likewise.
18587 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18588 (__SWBLK_T_TYPE): Likewise.
18589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18590 (__SWBLK_T_TYPE): Likewise.
18591 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18592 (__SWBLK_T_TYPE): Likewise.
18593
4d57bf63 185942012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18595 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18596
18597 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18598 (xdr_mapname): Use YPMAXMAP as maxsize.
18599 (xdr_peername): Use YPMAXPEER as maxsize.
18600 (xdr_keydat): Use YPAXRECORD as maxsize.
18601 (xdr_valdat): Use YPMAXRECORD as maxsize.
18602
93c65d43
RM
186032012-10-01 Roland McGrath <roland@hack.frob.com>
18604
497a03d6
RM
18605 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18606
93c65d43
RM
18607 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18608 * csu/init-first.c: ... here.
18609 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18610 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18611 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18612 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18613 * sysdeps/i386/init-first.c: File removed.
18614 * sysdeps/sh/init-first.c: File removed.
18615
bec749fd
JM
186162012-10-01 Joseph Myers <joseph@codesourcery.com>
18617
18618 [BZ #14645]
18619 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18620 if x * y might underflow to zero and z is zero.
18621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18623 * math/libm-test.inc (min_subnorm_value): New variable.
18624 (fma_test): Add more tests.
18625 (fma_test_towardzero): Likewise.
18626 (fma_test_downward): Likewise
18627 (fma_test_upward): Likewise.
18628 (initialize): Set min_subnorm_value.
18629
8ec5b013
JM
186302012-09-29 Joseph Myers <joseph@codesourcery.com>
18631
18632 [BZ #14638]
18633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18634 0 + 0.
18635 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18636 mode for addition resulting in exact zero.
18637 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18639 exact 0 + 0.
18640 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18642 * math/libm-test.inc (fma_test): Add more tests.
18643 (fma_test_towardzero): New function.
18644 (fma_test_downward): Likewise.
18645 (fma_test_upward): Likewise.
18646 (main): Call the new functions.
18647
b1fa802e
DM
186482012-09-28 David S. Miller <davem@davemloft.net>
18649
18650 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18651
d3b9fd9e
RM
186522012-09-28 Roland McGrath <roland@hack.frob.com>
18653
ea4d37b3
RM
18654 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18655 instead of SIGALRM.
18656
ac51c949
RM
18657 * sysdeps/gnu/_G_config.h: Moved to ...
18658 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18659 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18660 * sysdeps/generic/_G_config.h: ... here.
18661
28c195f7
RM
18662 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18663
848917f9
RM
18664 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18665
6bacf05b
RM
18666 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18667 Conditionalize target on [libnss_test1.so-version].
18668
91363dbb
RM
18669 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18670
cc87f7d8
RM
18671 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18672 (elfobjdir): Move out of conditionals.
18673
b1c608fe
RM
18674 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18675 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18676 (__nss_lookup_function): Conditionalize label remove_from_tree on
18677 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18678
1d9a6d96
DM
186792012-09-28 David S. Miller <davem@davemloft.net>
18680
18681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18682 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18683 file.
18684 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18685 sysdep_routines.
18686 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18688 when HWCAP_SPARC_CRYPTO is present.
18689
72581615
PT
186902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18691
18692 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18693
715a900c
JL
186942012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18695
18696 [BZ #6530]
18697 * stdio-common/vfprintf.c (process_string_arg): Revert
18698 2000-07-22 change.
18699
187002011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18701
18702 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18703 for testcase.
18704 * stdio-common/tst-sprintf.c: Include <locale.h>
18705 (main): Test sprintf's handling of incomplete multibyte
18706 characters.
18707
9bac1d86
L
187082012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18709
18710 * elf/dl-runtime.c (VERSYMIDX): Removed.
18711 * elf/dl-version.c (VERSYMIDX): Likewise.
18712 * elf/do-rel.h (VERSYMIDX): Likewise.
18713 (VALIDX): Likewise.
18714 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18715 * elf/rtld.c (VALIDX): Likewise.
18716 (ADDRIDX): Likewise.
9bac1d86
L
18717 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18718 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18719 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18720 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18721 (VALIDX): Likewise.
18722 (ADDRIDX): Likewise.
9bac1d86 18723
b31606c0
PT
187242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18725
18726 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18727
11541177
JL
187282012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18729
18730 [BZ #11438]
18731 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18732 to global scope.
18733 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18734 addresses are in the same scope as 192.0.2/24.
18735 * posix/gai.conf: Document new scope table defaults.
18736
adb26fae
SP
187372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18738
18739 [BZ #5298]
18740 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18741 for ftell. Compute offsets from write pointers instead.
18742 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18743
4573c6b0
SP
187442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18745
18746 [BZ #14543]
18747 * libio/Makefile (tests): New test case tst-fseek.
18748 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18749 combination works in wide mode.
18750 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18751 state when the external buffer state changes.
18752
aa9bbfe6
DM
187532012-09-27 David S. Miller <davem@davemloft.net>
18754
18755 [BZ #14376]
18756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18757 pass reloc->r_addend in as the 'high' argument to
18758 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18759
784421e7
DM
18760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18761
c39bc8b8
PT
187622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18763
18764 * rt/tst-aio2.c: Include <pthread.h>.
18765 * rt/tst-aio3.c: Likewise.
18766
1ccc2399
SE
187672012-09-27 Steve Ellcey <sellcey@mips.com>
18768
18769 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18770
31ed4153
L
187712012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18772
25f5f885
L
18773 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18774 contents on [SHARED].
31ed4153 18775
b7bfe116
MP
187762012-09-26 Marek Polacek <polacek@redhat.com>
18777
18778 [BZ #14530]
18779 [BZ #13741]
18780 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18781 for C++ and GCC <4.3 as well as for non GCC compilers.
18782
43c4edba
MT
187832012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18784
18785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18786
6a1bf82f
RM
187872012-09-25 Roland McGrath <roland@hack.frob.com>
18788
18789 * Makefile.in (all, install): Declare with .PHONY.
18790 Reported by Michael Hope <michael.hope@linaro.org>.
18791
8ad11b9a
TMQMF
187922012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18793
18794 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18795 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18796 system header.
18797 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18798 Likewise.
18799 (sydep_routines): Add the new and the internal functions.
18800 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18801 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18803 (GLIBC_2.17): Add the new function.
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18805 (GLIBC_2.17): Likewise.
18806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18807 (GLIBC_2.17): Likewise.
18808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18809 (GLIBC_2.17): Likewise.
18810 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18811
7e2fca8d
AM
188122012-09-25 Alan Modra <amodra@gmail.com>
18813
18814 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18815 Add release barrier before setting once_control to say
18816 initialisation is done. Add hints on lwarx. Use macro in
18817 place of isync.
18818 (clear_once_control): Add release barrier.
18819
b87c4b24
JM
188202012-09-25 Joseph Myers <joseph@codesourcery.com>
18821
d032e0d2
JM
18822 [BZ #13629]
18823 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18824 specially.
18825 * math/s_clog10.c (__clog10): Likewise.
18826 * math/s_clog10f.c (__clog10f): Likewise.
18827 * math/s_clog10l.c (__clog10l): Likewise.
18828 * math/s_clogf.c (__clogf): Likewise.
18829 * math/s_clogl.c (__clogl): Likewise.
18830 * math/Makefile (libm-calls): Add x2y2m1.
18831 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18832 (__x2y2m1): Likewise.
18833 (__x2y2m1l): Likewise.
18834 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18835 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18838 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18839 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18840 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18841 * sysdeps/i386/fpu/libm-test-ulps: Update.
18842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18843
b87c4b24
JM
18844 [BZ #14621]
18845 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18846 int as type of variable DEPTH.
18847 (glob): Use size_t instead of int as type of variables NEWCOUNT
18848 and OLD_PATHC.
18849
6d3bf199
LD
188502012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18851
22bf5c17
LD
18852 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18853 Add s_sincosf-sse2.
18854 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18855 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18856 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18857 macros for using routine as __sincosf_ia32.
18858 Use macro for function declaration and weak_alias.
18859 * sysdeps/i386/fpu/libm-test-ulps: Update.
18860
18861 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18863
18864 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18865 subnormal argument.
18866 * math/s_cexpf.c (__cexpf): Likewise.
18867 * math/s_csinf.c (__csinf): Likewise.
18868 * math/s_csinhf.c (__csinhf): Likewise.
18869 * math/s_ctanf.c (__ctanf): Likewise.
18870 * math/s_ctanhf.c (__ctanhf): Likewise.
18871 * math/s_ccosh.c (__ccoshf): Likewise.
18872 * math/s_cexp.c (__cexpl): Likewise.
18873 * math/s_csin.c (__csin): Likewise.
18874 * math/s_csinh.c (__csinh): Likewise.
18875 * math/s_ctan.c (__ctan): Likewise.
18876 * math/s_ctanh.c (ctanh): Likewise.
18877 * math/s_ccoshl.c (__ccoshl): Likewise.
18878 * math/s_cexpl.c (__cexpl): Likewise.
18879 * math/s_csinl.c (__csinl): Likewise.
18880 * math/s_csinhl.c (__csinhl): Likewise.
18881 * math/s_ctanl.c (__ctanl): Likewise.
18882 * math/s_ctanhl.c (__ctanhl): Likewise.
18883
203e5603
JM
188842012-09-25 Joseph Myers <joseph@codesourcery.com>
18885
18886 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18887 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18888 (_IO_off_t): Define to __off_t, not _G_off_t.
18889 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18890 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18891 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18892 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18893 type of __dummy and __dummy2 fields.
18894 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18895 (_G_ssize_t): Likewise.
18896 (_G_off_t): Likewise.
18897 (_G_pid_t): Likewise.
18898 (_G_uid_t): Likewise.
18899 (_G_wchar_t): Likewise.
18900 (_G_wint_t): Likewise.
18901 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18902 (_G_ssize_t): Likewise.
18903 (_G_off_t): Likewise.
18904 (_G_pid_t): Likewise.
18905 (_G_uid_t): Likewise.
18906 (_G_wchar_t): Likewise.
18907 (_G_wint_t): Likewise.
18908 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18909 (_G_ssize_t): Likewise.
18910 (_G_off_t): Likewise.
18911 (_G_pid_t): Likewise.
18912 (_G_uid_t): Likewise.
18913 (_G_wchar_t): Likewise.
18914 (_G_wint_t): Likewise.
18915
9fab36eb
SP
189162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18917
18918 * malloc/arena.c: Include malloc-sysdep.h.
18919 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18920 is sufficient to shrink the heap or an unmap is needed.
18921 * sysdeps/generic/malloc-sysdep.h: New file. Define
18922 new function check_may_shrink_heap.
18923 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18924 new function check_may_shrink_heap.
18925
2b4f00d1
SP
189262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18927
18928 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18929 comments.
18930
9a9028b1
DL
189312012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18932
57c69bef
DL
18933 * catgets/test-gencat.sh: Add "set -e".
18934 * elf/tst-pathopt.sh: Likewise.
18935 * grp/tst_fgetgrent.sh: Likewise.
18936 * iconvdata/run-iconv-test.sh: Likewise.
18937 * intl/tst-gettext.sh: Likewise.
18938 * intl/tst-gettext2.sh: Likewise.
18939 * intl/tst-gettext4.sh: Likewise.
18940 * intl/tst-gettext6.sh: Likewise.
18941 * intl/tst-translit.sh: Likewise.
18942 * io/ftwtest-sh: Likewise.
18943 * libio/test-freopen.sh: Likewise.
18944 * malloc/tst-mtrace.sh: Likewise.
18945 * posix/globtest.sh: Likewise.
18946 * posix/tst-getconf.sh: Likewise.
18947 * posix/wordexp-tst.sh: Likewise.
18948 * stdio-common/tst-printf.sh: Likewise.
18949 * stdio-common/tst-unbputc.sh: Likewise.
18950 * stdlib/tst-fmtmsg.sh: Likewise.
18951 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18952 * catgets/Makefile: Do not specify -e option when running
18953 testsuite shell scripts.
18954 * elf/Makefile: Likewise.
18955 * grp/Makefile: Likewise.
18956 * iconvdata/Makefile: Likewise.
18957 * intl/Makefile: Likewise.
18958 * io/Makefile: Likewise.
18959 * libio/Makefile: Likewise.
18960 * malloc/Makefile: Likewise.
18961 * posix/Makefile: Likewise.
18962 * stdio-common/Makefile: Likewise.
18963 * stdlib/Makefile: Likewise.
18964 * sysdeps/x86_64/Makefile: Likewise.
18965
9a9028b1
DL
18966 * io/ftwtest-sh: Add copyright header.
18967 * posix/globtest.sh: Likewise.
18968 * posix/tst-getconf.sh: Likewise.
18969 * posix/wordexp-tst.sh: Likewise.
18970 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18971
ced6f16e
L
189722012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18973
94b32c39
L
18974 [BZ #13679]
18975 * Makeconfig (+link): Defined as $(+link-static) if
18976 $(build-shared) isn't yes.
18977 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18978 isn't yes.
18979 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18980
189e935b
L
18981 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18982
ced6f16e
L
18983 [BZ #14562]
18984 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18985 new chunk size with MALLOC_ALIGN_MASK.
18986
a9f8e53a
JM
189872012-09-24 Joseph Myers <joseph@codesourcery.com>
18988
18989 [BZ #5044]
18990 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18991 <rounding-mode.h>.
18992 (__printf_fphex): Determine rounding using get_rounding_mode and
18993 round_away.
18994 * stdio-common/tst-printf-round.c (struct hex_test): New
18995 structure.
18996 (hex_tests): New variable.
18997 (test_hex_in_one_mode): New function.
18998 (do_test): Also run tests for hex float output.
18999
43153109
JM
190002012-09-21 Joseph Myers <joseph@codesourcery.com>
19001
19002 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19003 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19004 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19005 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19006 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19007 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19008 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19009 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19010
8a26625d
JM
190112012-09-20 Joseph Myers <joseph@codesourcery.com>
19012
19013 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19014 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19015 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19016 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19017
f3fd569c
DL
190182012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19019
19020 [BZ #14579]
19021 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19022 mode only.
19023 * elf/tst-rtld-load-self.sh: New test.
19024 * elf/Makefile: Run it.
19025
63bbedd4
JM
190262012-09-18 Joseph Myers <joseph@codesourcery.com>
19027
19028 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19029 (tst-writev-ENV): Remove.
19030 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19031
626f8b6a
CM
190322012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19033
19034 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19035
b7aaa4d6
JM
190362012-09-17 Joseph Myers <joseph@codesourcery.com>
19037
19038 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19039 unconditional.
19040 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19041 Likewise.
19042 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19043 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19044 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19045 Likewise.
19046
65513990
L
190472012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 [BZ #14587]
19050 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19051 * config.make.in (have-cpp-asm-debuginfo): Removed.
19052 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19053 * configure: Regenerated.
19054
784761be
JM
190552012-09-14 Joseph Myers <joseph@codesourcery.com>
19056
19057 [BZ #5044]
19058 * stdio-common/printf_fp.c: Include <stdbool.h> and
19059 <rounding-mode.h>.
19060 (___printf_fp): Determine rounding using get_rounding_mode and
19061 round_away.
19062 * stdio-common/tst-printf-round.c: New file.
19063 * stdio-common/Makefile (tests): Add tst-printf-round.
19064 (link-libm): New variable.
19065 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19066
9503345f
L
190672012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19068
19069 [BZ #14576]
19070 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19071 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19072 Likewise.
19073 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19074 Likewise.
19075
ad35fc00
JM
190762012-09-13 Joseph Myers <joseph@codesourcery.com>
19077
19078 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19079 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19080 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19081 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19082
6c9b0f68
JM
190832012-09-12 Joseph Myers <joseph@codesourcery.com>
19084
19085 [BZ #14518]
19086 * include/rounding-mode.h: New file.
19087 * sysdeps/generic/get-rounding-mode.h: Likewise.
19088 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19089 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19090 (MAX_VALUE): New macro.
19091 (MIN_VALUE): Likewise.
19092 (overflow_value): New function.
19093 (underflow_value): Likewise.
19094 (round_and_return): Use overflow_value and underflow_value to
19095 determine return values in overflow and underflow cases. Use
19096 round_away to determine rounding depending on rounding mode.
19097 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19098 determine return values in overflow and underflow cases.
19099 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19100 (struct test_results): New structure.
19101 (struct test): Use struct test_results to store expected results
19102 for all rounding modes.
19103 (TEST): Include expected results for all rounding modes.
19104 (test_in_one_mode): New function.
19105 (do_test): Use test_in_one_mode to compute and check results.
19106 Check results for all rounding modes.
19107 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19108 $(link-libm).
19109
19fcedd5
AM
191102012-12-09 Allan McRae <allan@archlinux.org>
19111
1e9d84cd 19112 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 19113
8bbfd2f1
JM
191142012-09-11 Joseph Myers <joseph@codesourcery.com>
19115
19116 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19117 (_G_int32_t): Likewise.
19118 (_G_uint16_t): Likewise.
19119 (_G_uint32_t): Likewise.
19120 (_G_HAVE_BOOL): Likewise.
19121 (_G_HAVE_ATEXIT): Likewise.
19122 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19123 (_G_HAVE_IO_FILE_OPEN): Likewise.
19124 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19125 (_G_int32_t): Likewise.
19126 (_G_uint16_t): Likewise.
19127 (_G_uint32_t): Likewise.
19128 (_G_HAVE_BOOL): Likewise.
19129 (_G_HAVE_ATEXIT): Likewise.
19130 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19131 (_G_HAVE_IO_FILE_OPEN): Likewise.
19132 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19133 (_G_int32_t): Likewise.
19134 (_G_uint16_t): Likewise.
19135 (_G_uint32_t): Likewise.
19136 (_G_HAVE_BOOL): Likewise.
19137 (_G_HAVE_ATEXIT): Likewise.
19138 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19139 (_G_HAVE_IO_FILE_OPEN): Likewise.
19140
b1dc5912
L
191412012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19142
19143 * csu/libc-tls.c: Update copyright years.
19144
0e886ef9
JM
191452012-09-10 Joseph Myers <joseph@codesourcery.com>
19146
28361c5e
JM
19147 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19148 [!_G_USING_THUNKS]: Remove conditional code.
19149 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19150 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19151
0e886ef9
JM
19152 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19153 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19154 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19155 (_G_VTABLE_LABEL_PREFIX): Likewise.
19156 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19157 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19158 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19159 (_G_VTABLE_LABEL_PREFIX): Likewise.
19160 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19161 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19162 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19163 (_G_VTABLE_LABEL_PREFIX): Likewise.
19164 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19165
bcba7aa2
L
191662012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19167
19168 * libio/Makefile: Include ../Makeconfig before tests.
19169 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19170 only if $(build-shared) is yes.
19171
06585ee8
L
19172 * iconv/gconv_db.c: Update copyright years.
19173
80ccd52c
LD
191742012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19175
19176 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19177 unwind info if defined PIC. Fix special cases description.
19178 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19179
19180 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19181 DP_HI_MASK entry.
19182 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19183
691bc9c1
L
191842012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19185
3d9b46b3
L
19186 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19187
de2139a9
L
19188 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19189 is NULL.
19190
5ca78dd0
L
19191 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19192 (LDLIBS-tst-chk4): This.
19193 (LDFLAGS-tst-chk5): Renamed to ...
19194 (LDLIBS-tst-chk5): This.
19195 (LDFLAGS-tst-chk6): Renamed to ...
19196 (LDLIBS-tst-chk6): This.
19197 (LDFLAGS-tst-lfschk4): Renamed to ...
19198 (LDLIBS-tst-lfschk4): This.
19199 (LDFLAGS-tst-lfschk5): Renamed to ...
19200 (LDLIBS-tst-lfschk5): This.
19201 (LDFLAGS-tst-lfschk6): Renamed to ...
19202 (LDLIBS-tst-lfschk6): This.
19203
691bc9c1
L
19204 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19205 on $(common-objpfx)soversions.mk.
19206
65cafb1c
JM
192072012-09-07 Joseph Myers <joseph@codesourcery.com>
19208
19209 [BZ #10014]
19210 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19211 example host name.
19212
c78ab094
SP
192132012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19214
19215 * malloc/arena.c (arena_get_retry): New function that gets
19216 another arena for the caller to try its request on.
19217 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19218 current arena cannot fulfill the request.
19219 (__libc_memalign): Likewise.
19220 (__libc_memalign): Likewise.
19221 (__libc_pvalloc): Likewise.
19222 (__libc_calloc): Likewise.
19223
01f49f59
JT
192242012-09-05 John Tobey <john.tobey@gmail.com>
19225
19226 [BZ #13542]
19227 * manual/arith.texi (Operations on Complex): Fix description
19228 of carg branch cut.
19229
4c23fed5
JM
192302012-09-06 Joseph Myers <joseph@codesourcery.com>
19231
1d3c8572
JM
19232 [BZ #10014]
19233 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19234 host name.
19235
4c23fed5
JM
19236 [BZ #10038]
19237 * manual/memory.texi (Memory): Make order of menu items match
19238 order of sections.
19239
04570aaa
L
192402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19241
19242 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19243 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19244 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19245
b80af2f4
L
192462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19247
19248 * csu/libc-tls.c (static_dtv): Renamed to ...
19249 (_dl_static_dtv): This. Make it global.
19250 (_dl_initial_dtv): Removed.
19251 (__libc_setup_tls): Updated.
19252 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19253 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19254 DL_INITIAL_DTV.
19255
2abe9f15
PM
192562012-09-06 Petr Machata <pmachata@redhat.com>
19257
19258 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19259 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19260 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19261 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19262
0948c3af
L
192632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19264
19265 [BZ #14545]
19266 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19267 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19268 freeing dtv[-1].
19269
a5055ad1
L
192702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19271
19272 [BZ #14544]
19273 * Makeconfig (link-static-before-libc): Replace $(+prector)
19274 with $(+prectorT).
19275 (link-static-after-libc): Replace $(+postctor) with
19276 $(+postctorT).
19277 (link-bounded): Replace $(+prector)/$(+postctor) with
19278 $(+prectorT)/$(+postctorT).
19279 (+prectorT): New macro.
19280 (+postctorT): Likewise.
19281
ed8c2ecd
JM
192822012-09-06 Joseph Myers <joseph@codesourcery.com>
19283
19284 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19285 (round_str): Handle values above the maximum for IBM long double
19286 as inexact.
19287 * stdlib/tst-strtod-round.c (tests): Regenerated.
19288
14c996c8
AK
192892012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19290
19291 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19292 assembler flag.
19293 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19294 zarch_nohighgprs around the zarch optimized routines.
19295 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19296 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19297 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19298 for zarch.
19299
430d6ce6
DM
193002012-09-05 David S. Miller <davem@davemloft.net>
19301
19302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19303
ff04dda4
DM
19304 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19305 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19306 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19307 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19308 entries.
19309
24d4e01b
AO
193102012-09-05 Alexandre Oliva <aoliva@redhat.com>
19311
19312 * malloc/arena.c: Fold copyright years.
19313 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19314
61d58174
AO
193152012-09-05 Alexandre Oliva <aoliva@redhat.com>
19316
19317 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19318
20196a5e
AO
193192012-09-05 Alexandre Oliva <aoliva@redhat.com>
19320
19321 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19322
5c447383
AO
193232012-09-05 Alexandre Oliva <aoliva@redhat.com>
19324
19325 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19326 change internal state upon failure.
19327
fad64255
AO
193282012-09-05 Alexandre Oliva <aoliva@redhat.com>
19329
19330 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19331 * malloc/memusage.c (mmap): Likewise.
19332 (mmap64, mremap): Likewise. Adjust name in comment.
19333
1ffb8c90
SP
193342012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19335
19336 * libio/fileops.c: Fix typos in comments.
19337 * libio/oldfileops.c: Likewise.
19338 * libio/wfileops.c: Likewise.
19339
6ef9cc37
SP
193402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19341
19342 [BZ #1349]
19343 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19344 (tst-malloc-usable-ENV): Set environment for test case.
19345 * malloc/hooks.c (malloc_check_get_size): New function to get
19346 requested size.
19347 * malloc/malloc.c (musable): Use malloc_check_get_size.
19348 * malloc/tst-malloc-usable.c: New test case.
19349
4d038ae3
AS
193502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19351
19352 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19353
c4e85184
AM
193542012-09-05 Allan McRae <allan@archlinux.org>
19355
b9dafc56 19356 [BZ #13966]
c4e85184
AM
19357 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19358 determine header location.
19359 * configure: Regenerated.
19360
e1343020
AS
193612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19362
19363 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19364 float format.
19365 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19366 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19367 format.
e1343020
AS
19368 (test): Regenerate.
19369
0a9f1987
DM
193702012-09-04 David S. Miller <davem@davemloft.net>
19371
19372 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19373 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19374 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19375
29237804
FW
193762012-09-04 Florian Weimer <fweimer@redhat.com>
19377
19378 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19379 failures.
19380
edb3cb88
FW
19381 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19382
60160d83
JM
193832012-09-04 Joseph Myers <joseph@codesourcery.com>
19384
19385 [BZ #9914]
19386 * libio/iogetdelim.c: Include <limits.h>.
19387 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19388 + len + 1 would overflow.
19389
bcd6c8dc
AJ
193902012-09-03 Andreas Jaeger <aj@suse.de>
19391
19392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19393 * sysdeps/i386/fpu/libm-test-ulps: Update.
19394
4ffffbd2
LD
193952012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19396
19397 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19398 Add s_sinf-sse2, s_conf-sse2.
19399
19400 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19401 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19402 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19403 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19404
19405 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19406 for using routine as __sinf_ia32.
19407 Use macro for function declaration and weak_alias.
19408 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19409 for using routine as __cosf_ia32.
19410 Use macro for function declaration and weak_alias.
19411
19412 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19413 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19414
19415 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19416 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19418
19419 * math/libm-test.inc (cos_test): Add more test cases.
19420 (sin_test): Likewise.
19421 (sincos_test): Likewise.
19422
511fa286
AK
194232012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19424
19425 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19426 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19427 hidden.
19428 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19429
5f30cfec
L
194302012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19431
19432 [BZ #14538]
19433 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19434 first element of the GOT.
19435 (elf_machine_load_address): Return the difference between
19436 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19437
0786794f
AM
194382012-09-01 Allan McRae <allan@archlinux.org>
19439
5f30cfec
L
19440 [BZ #13412]
19441 * configure.in (AWK): Require gawk version 3.0 or later.
19442 * configure: Regenerated.
0786794f 19443
26889eac
JM
194442012-09-01 Joseph Myers <joseph@codesourcery.com>
19445
19446 * sysdeps/unix/sysv/linux/kernel-features.h
19447 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19449 [__NR_clock_getres]: Make code unconditional.
19450 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19451 (clock_getcpuclockid): Remove code left unreachable by removal of
19452 conditionals.
19453 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19454 code unconditional.
19455 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19456 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19457 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19458 Make code unconditional.
19459 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19460 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19461 * sysdeps/unix/sysv/linux/clock_settime.c
19462 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19463 conditional code.
19464 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19465 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19466
d22e28b0
L
194672012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19468
19469 [BZ #14476]
19470 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19471 scripts/test-installation.pl.
19472
19473 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19474 and $ld_so_version if it is set.
19475
050af9c4
SP
194762012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19477
19478 [BZ #14516]
19479 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19480 failure if reading from procfs failed.
19481 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19482
ad845c0b
JM
194832012-08-27 Joseph Myers <joseph@codesourcery.com>
19484
19485 * sysdeps/unix/sysv/linux/kernel-features.h
19486 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19487 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19488 Remove conditional code.
19489 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19490 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19491 Remove conditional code.
19492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19493 * sysdeps/unix/sysv/linux/i386/fxstat.c
19494 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19496 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19497 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19499 * sysdeps/unix/sysv/linux/i386/lxstat.c
19500 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19502 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19503 Remove conditional code.
19504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19505 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19506 Remove conditional code.
19507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19508 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19509 <kernel-features.h>.
19510 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19511 Remove.
19512 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19513 Remove conditional code.
19514 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19515 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19516 Remove conditional.
19517
5dbf56af
MF
195182012-08-27 Mike Frysinger <vapier@gentoo.org>
19519
19520 [BZ #5400]
19521 * NEWS: Add fixed bug number.
19522
d6e70f43
JM
195232012-08-27 Joseph Myers <joseph@codesourcery.com>
19524
7efb4737
JM
19525 [BZ #14519]
19526 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19527 underflowing exponent in case of negative sign.
19528 * stdlib/tst-strtod-round-data: Add more tests.
19529 * stdlib/tst-strtod-round.c (tests): Regenerated.
19530
af92131a
JM
19531 [BZ #3479]
19532 * stdlib/strtod_l.c (NDIG): Remove.
19533 (HEXNDIG): Likewise.
19534 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19535 smallest representable value.
19536 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19537 lie within an exact representation of 1/2 ulp of the result.
19538 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19539 unconditionally.
19540 (TENS_P9_IDX): Define unconditionally.
19541 (TENS_P9_SIZE): Likewise.
19542 (TENS_P10_IDX): Likewise.
19543 (TENS_P10_SIZE): Likewise.
19544 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19545 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19546 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19547 entries for 10^2^13 and 10^2^14.
19548 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19549 (TENS_P13_IDX): Define.
19550 (TENS_P13_SIZE): Likewise.
19551 (TENS_P14_IDX): Likewise.
19552 (TENS_P14_SIZE): Likewise.
19553 (_fpioconst_pow10): Change array size to
19554 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19555 unconditional.
19556 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19557 1024]: Add entries for 10^2^13 and 10^2^14.
19558 [LAST_POW10 > _LAST_POW10]: Remove #error.
19559 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19560 (_fpioconst_pow10): Change array size to
19561 FPIOCONST_POW10_ARRAY_SIZE.
19562 * stdlib/gen-fpioconst.c: New file.
19563 * stdlib/gen-tst-strtod-round.c: Likewise.
19564 * stdlib/tst-strtod-round-data: Likewise.
19565 * stdlib/tst-strtod-round.c: Likewise.
19566 * stdlib/Makefile (tests): Add tst-strtod-round.
19567
d6e70f43
JM
19568 [BZ #14459]
19569 * stdlib/strtod_l.c: Include <stdint.h>.
19570 (NDEBUG): Do not define.
19571 (round_and_return): Change EXPONENT parameter to type intmax_t.
19572 Rearrange calculations to avoid internal overflow possibilities.
19573 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19574 Rearrange calculations to avoid internal overflow possibilities.
19575 Assert that number fits inside MPNSIZE limbs.
19576 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19577 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19578 calculations and add assertions to avoid internal overflow
19579 possibilities. Add casts to avoid signed/unsigned operations.
19580 * stdlib/tst-strtod-overflow.c: New file.
19581 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19582
1f529f7d
MP
195832012-08-25 Marek Polacek <polacek@redhat.com>
19584
19585 * time/time.h: Fix some typos in comments.
19586
59a629f1
RM
195872012-08-23 Roland McGrath <roland@hack.frob.com>
19588
19589 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19590 * posix/tst-rfc3484-2.c: Likewise.
19591 * posix/tst-rfc3484-3.c: Likewise.
19592
d3bafbc9
SM
195932012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19594
19595 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19596 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19597
4efcc022
JM
195982012-08-23 Joseph Myers <joseph@codesourcery.com>
19599
19600 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19601 #include of fxstatat64.c.
19602
3cc3ef96
RM
196032012-08-22 Roland McGrath <roland@hack.frob.com>
19604
f04e2132
RM
19605 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19606 * shadow/getspent_r.c: Likewise.
19607 * shadow/getspnam.c: Likewise.
19608 * shadow/getspnam_r.c: Likewise.
19609 * gshadow/getsgent.c: Likewise.
19610 * gshadow/getsgent_r.c: Likewise.
19611 * gshadow/getsgnam.c: Likewise.
19612 * gshadow/getsgnam_r.c: Likewise.
19613 * inet/getnetbyad.c: Likewise.
19614 * inet/getnetbyad_r.c: Likewise.
19615 * inet/getnetbynm.c: Likewise.
19616 * inet/getnetbynm_r.c: Likewise.
19617 * inet/getnetent.c: Likewise.
19618 * inet/getnetent_r.c: Likewise.
19619 * inet/getproto.c: Likewise.
19620 * inet/getproto_r.c: Likewise.
19621 * inet/getprtent.c: Likewise.
19622 * inet/getprtent_r.c: Likewise.
19623 * inet/getprtname.c: Likewise.
19624 * inet/getprtname_r.c: Likewise.
19625 * inet/getrpcbyname.c: Likewise.
19626 * inet/getrpcbyname_r.c: Likewise.
19627 * inet/getrpcbynumber.c: Likewise.
19628 * inet/getrpcbynumber_r.c: Likewise.
19629 * inet/getrpcent.c: Likewise.
19630 * inet/getrpcent_r.c: Likewise.
19631 * inet/getaliasent.c: Likewise.
19632 * inet/getaliasent_r.c: Likewise.
19633 * inet/getaliasname.c: Likewise.
19634 * inet/getaliasname_r.c: Likewise.
19635 * nscd/getgrgid_r.c: Likewise.
19636 * nscd/getgrnam_r.c: Likewise.
19637 * nscd/gethstbyad_r.c: Likewise.
19638 * nscd/gethstbynm3_r.c: Likewise.
19639 * nscd/getpwnam_r.c: Likewise.
19640 * nscd/getpwuid_r.c: Likewise.
19641 * nscd/getsrvbynm_r.c: Likewise.
19642 * nscd/getsrvbypt_r.c: Likewise.
19643 * nscd/gai.c: Likewise.
19644
c53d909c
RM
19645 * configure.in (build_nscd): New substituted variable, set
19646 by --disable-build-nscd and defaults to $use_nscd.
19647 * configure: Regenerated.
19648 * config.make.in (build-nscd): New substituted variable.
19649 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19650 Change conditional to require [$(build-nscd) = yes] as well.
19651 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19652
3cc3ef96
RM
19653 [BZ# 13696]
19654 * configure.in (use_nscd): New substituted variable, set by
19655 --disable-nscd. If enabled, define USE_NSCD.
19656 * configure: Regenerated.
19657 * config.h.in: Add USE_NSCD.
19658 * config.make.in (use-nscd): New substituted variable.
19659 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19660 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19661 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19662 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19663 (CFLAGS-getgrnam_r.c): Likewise.
19664 (CFLAGS-initgroups.c): Likewise.
19665 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19666 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19667 Variables removed.
19668 * inet/getnetgrent_r.c
19669 (nscd_setnetgrent): New function, broken out of ...
19670 (setnetgrent): ... here. Call it.
19671 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19672 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19673 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19674 * nscd/Makefile (routines, aux): Move definitions after include of
19675 Makeconfig. Conditionalize on [$(use-nscd) != no].
19676 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19677 Conditionalize on [USE_NSCD].
19678 (is_nscd, nscd_init_cb): Likewise.
19679 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19680 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19681 * nss/nss_db/db-init.c: Likewise.
19682 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19683 [USE_NSCD].
19684 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19685 (make_request): Use it.
19686 (cache_valid_p): New function.
19687 (__check_pf): Use it.
19688 * NEWS: Add item for --disable-nscd.
19689
07e51550
DL
196902012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19691
19692 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19693 to support sed >= 4.2.1-20-ga9bf076.
19694 * configure: Regenerated.
19695
35a5b08b
RM
196962012-08-22 Roland McGrath <roland@hack.frob.com>
19697
19698 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19699 Conditionalize whole body on [IREL].
19700
8479f23a
JL
197012012-08-22 Jeff Law <law@redhat.com>
19702
19703 [BZ #14505]
19704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19705 if the family is PF_UNSPEC.
19706
48da0b21
MF
197072012-08-22 Mike Frysinger <vapier@gentoo.org>
19708
19709 * Makerules (lib-version): Rename from V.
19710 (install-lib-nosubdir): Change V to lib-version.
19711
15d0da8c
WS
197122012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19713
19714 [BZ #14252]
19715 * powerpc32/power6/wcschr.c: New file.
19716 * powerpc32/power6/wcscpy.c: New file.
19717 * powerpc32/power6/wcsrchr.c: New file.
19718 * powerpc64/power6/wcschr.c: New file.
19719 * powerpc64/power6/wcscpy.c: New file.
19720 * powerpc64/power6/wcsrchr.c: New file.
19721
bcca0895
MK
197222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19723
19724 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19725 (two_way_short_needle): Use it.
5a4aaa33
RM
19726 * string/strstr.c (AVAILABLE1_USES_J): Define.
19727 * string/strcasestr.c: Likewise.
99677e57
MK
19728
19729 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19730 array references.
19731 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19732
400726de
MK
19733 [BZ #11607]
19734 * NEWS: Add an entry.
19735 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19736 define their defaults.
19737 (two_way_short_needle): Detect end-of-string on-the-fly.
19738 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19739 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19740 * string/bug-strcasestr1.c: New test.
19741 * string/Makefile: Run it.
19742
20a71f2c
MK
197432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19744
19745 [BZ #11607]
19746 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19747 the first character.
19748
21ad0558
RM
197492012-08-21 Roland McGrath <roland@hack.frob.com>
19750
19751 * csu/elf-init.c (__libc_csu_irel): Function removed.
19752 * csu/libc-start.c (apply_irel): New function.
19753 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19754
0e1d9911
JM
197552012-08-21 Joseph Myers <joseph@codesourcery.com>
19756
19757 * sysdeps/unix/sysv/linux/kernel-features.h
19758 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19759 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19760 <kernel-features.h>.
19761 [__NR_fadvise64_64]: Make code unconditional.
19762 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19763 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19764 !__NR_fadvise64_64)]: Likewise.
19765 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19766 !__NR_fadvise64_64))]: Likewise.
19767 [__NR_fadvise64]: Make code unconditional.
19768 [!__NR_fadvise64]: Remove conditional code.
19769 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19770 <kernel-features.h>.
19771 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19772 unconditional.
19773 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19774 conditional code.
19775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19776 not include <kernel-features.h>.
19777 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19778 unconditional.
19779 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19780 conditional code.
19781 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19782 include <kernel-features.h>.
19783 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19784 unconditional.
19785 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19786 conditional code.
19787
14a50c9d
WS
197882012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19789
19790 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19791 slight instruction rearrangements per scrollpipe analysis.
19792 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19793
c0f4faf0
RM
197942012-08-20 Roland McGrath <roland@hack.frob.com>
19795
696da859
RM
19796 * manual/syslog.texi (syslog; vsyslog, closelog):
19797 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19798 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19799
c0f4faf0
RM
19800 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19801 DSOCAPS to match condition on defining it.
19802
348363b2
JM
198032012-08-20 Joseph Myers <joseph@codesourcery.com>
19804
a35cbf28
JM
19805 * sysdeps/unix/sysv/linux/kernel-features.h
19806 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19808 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19809 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19811 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19812 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19814 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19815 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19816
445f7ecd
JM
19817 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19818 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19819
348363b2
JM
19820 * sysdeps/unix/sysv/linux/kernel-features.h
19821 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19822 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19823 unconditional.
19824 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19825 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19826 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19827 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19828 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19829 Make code unconditional.
19830 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19831 (__mmap64) [!__NR_mmap2]: Likewise.
19832 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19833 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19834 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19835 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19836 [__NR_mmap2]: Make code unconditional.
19837 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19838 (__mmap64) [!__NR_mmap2]: Likewise.
19839
bc5bc0e5
AK
198402012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19841
19842 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19843
88d506de
AJ
198442012-08-18 Andreas Jaeger <aj@suse.de>
19845
19846 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19847
493387d2
MF
198482012-08-18 Mike Frysinger <vapier@gentoo.org>
19849
19850 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19851 * include/unistd.h (__have_sock_cloexec): Likewise.
19852 (__have_pipe2): Likewise.
19853 (__have_dup3): Likewise.
19854
a277af22
MF
198552012-08-18 Mike Frysinger <vapier@gentoo.org>
19856
19857 [BZ #9685]
19858 * include/unistd.h (__have_pipe2): Change define into an extern int.
19859 (__have_dup3): Likewise.
19860 * socket/have_sock_cloexec.c: Include fcntl.h.
19861 (__have_pipe2): New variable.
19862 (__have_dup3): Likewise.
19863
fdab8fd3
MF
198642012-08-17 Mike Frysinger <vapier@gentoo.org>
19865
19866 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19867
31035e80
MP
198682012-08-17 Marek Polacek <polacek@redhat.com>
19869
19870 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19871 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19872
3bd9e993
RM
198732012-08-17 Roland McGrath <roland@hack.frob.com>
19874
c91c505f
RM
19875 * configure.in: Add AC_SUBST for sysheaders.
19876 * configure: Regenerated.
19877 * config.make.in (sysheaders): New substituted variable.
19878
7c6f9d53
RM
19879 * sysdeps/unix/mkfifo.c: Moved ...
19880 * sysdeps/posix/mkfifo.c: ... here.
19881 * sysdeps/unix/mkfifoat.c: Moved ...
19882 * sysdeps/posix/mkfifoat.c: ... here.
19883
19884 * sysdeps/unix/utime.c: Moved ...
19885 * sysdeps/posix/utime.c: ... here.
19886
19887 * sysdeps/unix/time.c: Moved ...
19888 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19889 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19890 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19891
19892 * sysdeps/unix/nice.c: Moved ...
19893 * sysdeps/posix/nice.c: ... here.
19894
19895 * sysdeps/unix/alarm.c: Moved ...
19896 * sysdeps/posix/alarm.c: ... here.
19897
3bd9e993
RM
19898 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19899
d1f09384
JL
199002012-08-17 Jeff Law <law@redhat.com>
19901
19902 * intl/Makefile (codeset_mo): New variable.
19903 ($(codeset_mo)): New target.
19904 (tst-codeset.out): Depend on that. Remove explicit rule.
19905 (tst-gettext3.out, tst-gettext5.out): Likewise.
19906 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19907 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19908 * intl/tst-codeset.sh: Remove.
19909 * intl/tst-gettext3.sh: Likewise.
19910 * intl/tst-gettext5.sh: Likewise.
19911
2ae1ae5c
RM
199122012-08-17 Roland McGrath <roland@hack.frob.com>
19913
c31fdb83
RM
19914 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19915 * sysdeps/unix/syscalls.list: ... here.
19916
a0844057
RM
19917 * sysdeps/posix/getaddrinfo.c
19918 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19919 (gaiconf_init, gaiconf_reload): Use them.
19920 [!_STATBUF_ST_NSEC]
19921 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19922 Define using time_t rather than struct timespec.
19923
750c1f2a
RM
19924 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19925 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19926 Macros removed.
19927 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19928 [!NO_THREADS].
19929 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19930 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19931 Likewise.
19932
2ae1ae5c
RM
19933 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19934 __libc_cleanup_push argument.
19935
e66a42f5
RM
19936 * bits/param.h: New file.
19937 * misc/sys/param.h: New file.
19938 * include/sys/param.h: New file.
19939 * misc/Makefile (headers): Add bits/param.h.
19940 * sysdeps/generic/sys/param.h: File removed.
19941 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19942 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19943 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19944 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19945
b7c08a66
RM
19946 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19947 last change.
19948
b2e1c562
RM
19949 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19950 [_IO_MTSAFE_IO].
19951 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19952 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19953 New macros.
19954
c75ccd4c
RM
19955 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19956 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19957 rather than -D_IO_MTSAFE_IO conditionally.
19958 * stdio-common/Makefile (CPPFLAGS): Likewise.
19959 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19960 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19961 Use $(libio-mtsafe).
19962 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19963 of -D_IO_MTSAFE_IO.
19964 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19965 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19966 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19967 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19968 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19969 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19970 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19971 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19972 (CFLAGS-fread_u_chk.c): Likewise.
19973 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19974 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19975 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19976 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19977 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19978 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19979 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19980 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19981 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19982
19983 * libio/Makefile: Test [$(libc-reentrant) = yes]
19984 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19985
19986 * Makeconfig
19987 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19988 * sysdeps/pthread/configure: File removed.
19989 * sysdeps/pthread/Makeconfig: New file.
19990 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19991 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19992
d9195db8
GB
199932012-08-16 Gary Benson <gbenson@redhat.com>
19994
19995 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19996 unmapping the first object in a namespace.
19997
86466cd9
RM
199982012-08-16 Roland McGrath <roland@hack.frob.com>
19999
20000 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20001 (__internal_setnetgrent): ... this. Add internal_function to
20002 definition. Add libc_hidden_def.
20003 (setnetgrent): Update caller.
20004 (internal_endnetgrent): Renamed to ...
20005 (__internal_endnetgrent): ... this. Add internal_function to
20006 definition. Add libc_hidden_def.
20007 (endnetgrent): Update caller.
20008 (internal_getnetgrent_r): Renamed to ...
20009 (__internal_getnetgrent_r): ... this. Add internal_function to
20010 definition. Add libc_hidden_def.
20011 (__getnetgrent_r): Update caller.
20012 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20013
c3c8283c
JM
200142012-08-16 Joseph Myers <joseph@codesourcery.com>
20015
20016 * stdlib/longlong.h: Update from GCC.
20017
db1ee0a8
RM
200182012-08-16 Roland McGrath <roland@hack.frob.com>
20019
20020 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20021 on _QL, which is set by umul_ppmm but never used.
20022 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20023 variables, which are set by GMP macros but never used.
20024 * stdio-common/_itowa.c (_itowa): Likewise.
20025 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20026 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20027
30f69637
CD
200282012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20029
20030 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20031 struct La_sh_regs is not constant.
20032 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20033 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20034 and struct La_sparc64_regs are not constant.
20035
93a78ac4
JM
200362012-08-16 Joseph Myers <joseph@codesourcery.com>
20037
20038 * sysdeps/unix/sysv/linux/kernel-features.h
20039 (__ASSUME_POSIX_TIMERS): Remove.
20040 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20041 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20042 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20043 Make code unconditional.
20044 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20045 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20046 Make code unconditional.
20047 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20048 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20049 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20050 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20051 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20052 Make code unconditional.
20053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20054 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20055 (__libc_missing_posix_timers): Remove.
20056
dd924cd7
RM
200572012-08-15 Roland McGrath <roland@hack.frob.com>
20058
4b4f2771
RM
20059 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20060 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20061
601c888b
RM
20062 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20063
176790a7
RM
20064 * elf/dl-sym.c: Include <stdlib.h>.
20065
329bc018
RM
20066 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20067 constants, which avoids warnings in 32-bit builds.
20068
e04e272d
RM
20069 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20070 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20071
952bf94a
RM
20072 * misc/lseek.c: File moved to ...
20073 * io/lseek.c: ... here.
20074
7c99b50a
RM
20075 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20076
dd924cd7
RM
20077 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20078 shifting LEN more than 31 bits at once.
20079
b3f479a8
LD
200802012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20081
20082 [BZ #14195]
8c4ae0d4
RM
20083 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20084 segmentation fault for a case of two empty input strings.
b3f479a8
LD
20085 * string/test-strncasecmp.c (check1): Renamed to...
20086 (bz12205): ...this.
20087 (bz14195): Add new testcase for two empty input strings and N > 0.
20088 (test_main): Call new testcase, adapt for renamed function.
20089
9c55864e
AJ
200902012-08-15 Andreas Jaeger <aj@suse.de>
20091
20092 [BZ #14090]
20093 * crypt/md5test2.c: New test, based on test supplied by Serge
20094 Belyshev <belyshev@depni.sinp.msu.ru>.
20095 * crypt/Makefile (xtests): Add md5test-giant..
20096 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20097
02dcb6c5
PE
200982012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20099
20100 [BZ #14090]
20101 * crypt/md5.c (md5_process_block): Don't assume the buffer
20102 length is less than 2**32.
20103 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20104 length is less than 2**64.
20105
a3f95dcc
RM
201062012-08-15 Roland McGrath <roland@hack.frob.com>
20107
be75d758
RM
20108 * string/str-two-way.h: Include <sys/param.h>.
20109 (MAX): Macro removed.
20110
7312ca90
RM
20111 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20112 Move #define and #undef of memmove to just before and after
20113 including <string.h>.
20114
9a0a5486
RM
20115 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20116 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20117 and after including <string.h>. Move declarations of
20118 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20119 to before #include "string/memmove.c".
20120
67cc348d
RM
20121 * include/dirent.h: Declare __getdirentries.
20122
a3f95dcc
RM
20123 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20124 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20125
ca98e171
MF
201262012-08-14 Mike Frysinger <vapier@gentoo.org>
20127
20128 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20129 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20130 * sysdeps/i386/configure: Regenerated.
20131 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20132 STABS_CURRENT_FILE, and STABS_FUN.
20133 (END): Remove call to STABS_FUN_END.
20134 (STABS_CURRENT_FILE1): Delete.
20135 (STABS_CURRENT_FILE): Likewise.
20136 (STABS_FUN): Likewise.
20137 (STABS_FUN_END): Likewise.
20138 (STABS_FUN2): Likewise.
20139 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20140 * sysdeps/x86_64/configure: Regenerated.
20141
5908bf46
RM
201422012-08-14 Roland McGrath <roland@hack.frob.com>
20143
20144 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 20145 * elf/dl-lookup.c: Likewise.
5908bf46 20146
f2c05b9e
JM
201472012-08-14 Joseph Myers <joseph@codesourcery.com>
20148
20149 * sysdeps/unix/sysv/linux/kernel-features.h
20150 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20151 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20152 unconditionally.
20153 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20154 unconditionally.
20155 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20156 condition on __ASSUME_CLONE_THREAD_FLAGS.
20157
e11f5155
AJ
201582012-08-14 Andreas Jaeger <aj@suse.de>
20159
20160 * sysdeps/i386/fpu/libm-test-ulps: Update.
20161
51a9ba86
MK
201622012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20163
2fdd4f78
AJ
20164 * include/atomic.h (atomic_exchange_and_add): Split into ...
20165 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20166 New atomic macros.
51a9ba86 20167
ba6cba9e
MT
201682012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20169
20170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20171
42443a47
JL
201722012-08-13 Jeff Law <law@redhat.com>
20173
20174 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20175 null byte in the output string.
20176
121dce05
JM
201772012-08-10 Joseph Myers <joseph@codesourcery.com>
20178
20179 * sysdeps/unix/sysv/linux/kernel-features.h
20180 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20181 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20182 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20183 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20184 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20185 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20186 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20187
bf51f568
JL
201882012-08-09 Jeff Law <law@redhat.com>
20189
20190 [BZ #13939]
20191 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20192 When avoid_arena is set, don't retry in the that arena. Pick the
20193 next one, whatever it might be.
20194 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20195 (arena_lock): Pass in new parameter to arena_get2.
20196 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20197 arena_get2.
20198 (__libc_malloc): Unify retrying after main arena failure with
20199 __libc_memalign version.
20200 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20201
f85fa270
L
202022012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20203
20204 [BZ #14166]
20205 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20206 to __redirect_strstr.
20207 (__strstr_sse42): Use typeof __redirect_strstr.
20208 (__strstr_ia32): Likewise.
20209 (__libc_strstr): New prototype.
20210 (strstr): Renamed to ...
20211 (__libc_strstr): This.
20212 (strstr): New strong alias of __libc_strstr.
20213 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20214 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20215 __redirect_time.
20216 Include <time.h>.
20217 (__libc_time): New prototype.
20218 (time_ifunc): Replace time with __libc_time.
20219 (time): New strong alias and hidden definition of __libc_time.
20220 (__GI_time): Remove strong alias.
20221 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20222 Include <stddef.h>.
20223 (memmove): Redefined to __redirect_memmove.
20224 (__memmove_sse2): Use typeof __redirect_memmove.
20225 (__memmove_ssse3): Likewise.
20226 (__memmove_ssse3_back): Likewise.
20227 (__libc_memmove): New prototype.
20228 (memmove): Renamed to ...
20229 (__libc_memmove): This.
20230 (memmove): New strong alias of __libc_memmove.
20231
33b4a91e
MS
202322012-08-08 Mark Salter <msalter@redhat.com>
20233
20234 * elf/elf.h
20235 (R_MN10300_TLS_GD): Define.
20236 (R_MN10300_TLS_LD): Likewise.
20237 (R_MN10300_TLS_LDO): Likewise.
20238 (R_MN10300_TLS_GOTIE): Likewise.
20239 (R_MN10300_TLS_IE): Likewise.
20240 (R_MN10300_TLS_LE): Likewise.
20241 (R_MN10300_TLS_DTPMOD): Likewise.
20242 (R_MN10300_TLS_DTPOFF): Likewise.
20243 (R_MN10300_TLS_TPOFF): Likewise.
20244 (R_MN10300_SYM_DIFF): Likewise.
20245 (R_MN10300_ALIGN): Likewise.
20246 (R_MN10300_NUM): Update.
20247
b36137f1
JM
202482012-08-08 Joseph Myers <joseph@codesourcery.com>
20249
20250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20251 Remove.
20252
cdd915fd
RM
202532012-08-08 Roland McGrath <roland@hack.frob.com>
20254
a2433aac
RM
20255 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20256
cdd915fd
RM
20257 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20258 sysdeps/unix -> sysdeps/posix move.
20259 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20260
bf9b740a
AM
202612012-08-07 Allan McRae <allan@archlinux.org>
20262
20263 [BZ #14303]
20264 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20265 (SUNOS_CPP): Likewise.
20266 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20267 not found.
20268 (open_input): Call CPP using execvp.
20269
93df14ee
JM
202702012-08-07 Joseph Myers <joseph@codesourcery.com>
20271
20272 * sysdeps/unix/sysv/linux/kernel-features.h
20273 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20274 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20275 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20276 (__ASSUME_WAITID_SYSCALL): Likewise.
20277 * sysdeps/unix/sysv/linux/dl-execstack.c
20278 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20279 code unconditional.
20280 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20281 conditional code.
20282 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20283 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20284 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20285 code.
20286 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20287 unconditional.
20288 [__ASSUME_WAITID_SYSCALL]: Likewise.
20289 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20290
d34689de
RM
202912012-08-07 Roland McGrath <roland@hack.frob.com>
20292
a281decc
RM
20293 * sysdeps/unix/closedir.c: Renamed to ...
20294 * sysdeps/posix/closedir.c: ... here.
20295 * sysdeps/unix/dirfd.c: Renamed to ...
20296 * sysdeps/posix/dirfd.c: ... here.
20297 * sysdeps/unix/dirstream.h: Renamed to ...
20298 * sysdeps/posix/dirstream.h: ... here.
20299 * sysdeps/unix/fdopendir.c: Renamed to ...
20300 * sysdeps/posix/fdopendir.c: ... here.
20301 * sysdeps/unix/opendir.c: Renamed to ...
20302 * sysdeps/posix/opendir.c: ... here.
20303 * sysdeps/unix/readdir.c: Renamed to ...
20304 * sysdeps/posix/readdir.c: ... here.
20305 * sysdeps/unix/readdir_r.c: Renamed to ...
20306 * sysdeps/posix/readdir_r.c: ... here.
20307 * sysdeps/unix/rewinddir.c: Renamed to ...
20308 * sysdeps/posix/rewinddir.c: ... here.
20309 * sysdeps/unix/seekdir.c: Renamed to ...
20310 * sysdeps/posix/seekdir.c: ... here.
20311 * sysdeps/unix/telldir.c: Renamed to ...
20312 * sysdeps/posix/telldir.c: ... here.
20313 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20314 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20315 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20316 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20317
22895b47
RM
20318 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20319 * bits/fcntl.h: ... here.
20320
707a53b6
RM
20321 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20322 not 0.
20323 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20324 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20325 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20326 (struct flock): Move l_start, l_len to the beginning.
20327 Use __pid_t for l_pid.
20328 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20329 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20330 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20331 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20332 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20333 [__USE_LARGEFILE64] (struct flock64): New type.
20334 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20335
f0bd3e25
RM
20336 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20337 * bits/dirent.h: ... here.
20338
d34689de
RM
20339 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20340 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20341
6dad2c06
JM
203422012-08-07 Joseph Myers <joseph@codesourcery.com>
20343
20344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20345 Change from 2.6.0 to 2.6.16.
20346 * sysdeps/unix/sysv/linux/configure: Regenerated.
20347 * sysdeps/unix/sysv/linux/kernel-features.h
20348 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20349 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20350 version.
20351 (__ASSUME_UTIMES): Likewise.
20352 (__ASSUME_CLONE_STOPPED): Remove.
20353 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20354 architectures, not kernel version.
20355 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20356 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20357 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20358 (__ASSUME_WAITID_SYSCALL): Likewise.
20359 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20360 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20361 * README: State 2.6.16 as minimum Linux kernel version. Do not
20362 refer to older versions.
20363
03af9520
RM
203642012-08-06 Roland McGrath <roland@hack.frob.com>
20365
8e49df1d
RM
20366 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20367 Define alphasort64 as an alias.
20368 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20369 Define versionsort64 as an alias.
20370 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20371 Define scandir64 as an alias.
20372 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20373 Define scandirat64 as an alias.
20374 * dirent/alphasort64.c (alphasort64):
20375 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20376 * dirent/versionsort64.c: Likewise.
20377 * dirent/scandir64.c: Likewise.
20378 * dirent/scandirat64.c: Likewise.
20379 * sysdeps/wordsize-64/alphasort.c: File removed.
20380 * sysdeps/wordsize-64/alphasort64.c: File removed.
20381 * sysdeps/wordsize-64/scandir.c: File removed.
20382 * sysdeps/wordsize-64/scandir64.c: File removed.
20383 * sysdeps/wordsize-64/scandirat.c: File removed.
20384 * sysdeps/wordsize-64/scandirat64.c: File removed.
20385 * sysdeps/wordsize-64/versionsort.c: File removed.
20386 * sysdeps/wordsize-64/versionsort64.c: File removed.
20387 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20388 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20389 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20391 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20393 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20394 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20395
20396 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20398 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20400 [defined __arch64__ || defined __sparcv9]
20401 (__INO_T_MATCHES_INO64_T): New macro.
20402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20403 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20404 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20405 * sysdeps/unix/sysv/linux/bits/dirent.h
20406 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20407 (_DIRENT_MATCHES_DIRENT64): New macro.
20408
03af9520
RM
20409 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20410 Define lockf64 as an alias.
20411 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20412 Define fseeko64 as an alias.
20413 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20414 Define ftello64 as an alias.
20415 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20416 Define _IO_fgetpos64 and fgetpos64 as aliases.
20417 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20418 Define _IO_fsetpos64 and fsetpos64 as aliases.
20419 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20420 Conditionalize body on this.
20421 * libio/fseeko64.c: Likewise.
20422 * libio/ftello64.c: Likewise.
20423 * libio/iofgetpos64.c: Likewise.
20424 * libio/iofsetpos64.c: Likewise.
20425 * sysdeps/wordsize-64/lockf.c: File removed.
20426 * sysdeps/wordsize-64/lockf64.c: File removed.
20427 * sysdeps/wordsize-64/fseeko.c: File removed.
20428 * sysdeps/wordsize-64/fseeko64.c: File removed.
20429 * sysdeps/wordsize-64/ftello.c: File removed.
20430 * sysdeps/wordsize-64/ftello64.c: File removed.
20431 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20432 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20433 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20434 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20435 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20436 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20437 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20438 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20439 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20440 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20441 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20442 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20443 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20444 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20445
20446 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20448 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20450 [defined __arch64__ || defined __sparcv9]
20451 (__OFF_T_MATCHES_OFF64_T): New macro.
20452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20453 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20455 (__OFF_T_MATCHES_OFF64_T): New macro.
20456
c5757acd
L
204572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20458
20459 * stdlib/secure-getenv.c (__secure_getenv): Replace
20460 GLIBC_2_16 with GLIBC_2_17.
20461
3a31811e
L
204622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20463
20464 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20465 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20466
faa2bccb
DM
204672012-08-03 David S. Miller <davem@davemloft.net>
20468
20469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20470
85fe1997
JM
204712012-08-03 Joseph Myers <joseph@codesourcery.com>
20472
20473 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20474 Remove.
20475 (__ASSUME_CORRECT_SI_PID): Likewise.
20476 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20477 (__ASSUME_TMPFS_NAME): Likewise.
20478 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20479 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20480 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20481 (HAVE_AUX_SECURE): Make definition unconditional.
20482 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20483 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20484
4f75b7a0
RM
204852012-08-03 Roland McGrath <roland@hack.frob.com>
20486
20487 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20488 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20489 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20490 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20491 __eloop_threshold instead of SYMLOOP_MAX.
20492
20493 * sysdeps/generic/eloop-threshold.h: New file.
20494 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20495 of MAXSYMLINKS.
20496 * elf/chroot_canon.c (chroot_canon): Likewise.
20497
7aab07e4
JM
204982012-08-03 Joseph Myers <joseph@codesourcery.com>
20499
20500 [BZ #13717]
20501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20502 Change to 2.6.0 everywhere.
20503 * sysdeps/unix/sysv/linux/configure: Regenerated.
20504 * sysdeps/unix/sysv/linux/kernel-features.h
20505 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20506 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20507 kernel versions.
20508 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20509 (__ASSUME_FUTEX_REQUEUE): Remove.
20510 (__ASSUME_STATFS64): Define unconditionally.
20511 (__ASSUME_AT_SECURE): Likewise.
20512 (__ASSUME_CORRECT_SI_PID): Likewise.
20513 (__ASSUME_TGKILL): Define without depending on kernel version for
20514 i386.
20515 (__ASSUME_UTIMES): Likewise.
20516 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20517 kernel version.
20518 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20519 (__ASSUME_TMPFS_NAME): Likewise.
20520 * README: Update reference to Linux kernel versions.
20521
b67e9372
MP
205222012-08-02 Marek Polacek <polacek@redhat.com>
20523
1f529f7d 20524 [BZ# 14150]
b67e9372
MP
20525 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20526 libc_cv_asm_type_prefix with %.
20527 * configure: Regenerated.
d2441631
RM
20528 * include/libc-symbols.h: Remove comment about
20529 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20530 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20531 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20532 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20533 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20534 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20535 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20536 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20537 * elf/tst-unique2mod1.c: Likewise.
20538 * elf/tst-unique1mod2.c: Likewise.
20539 * elf/tst-unique1mod1.c: Likewise.
20540 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20541 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20542 Replace ASM_TYPE_DIRECTIVE with .type.
20543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20544 * sysdeps/i386/sysdep.h: Likewise.
20545 * sysdeps/x86_64/sysdep.h: Likewise.
20546 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20548 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20549 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20550 * sysdeps/powerpc/powerpc32/sysdep.h:
20551 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20552 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20553 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20554 * sysdeps/i386/fpu/e_powf.S: Likewise.
20555 * sysdeps/i386/fpu/e_expl.S: Likewise.
20556 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20557 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20558 * sysdeps/i386/fpu/e_pow.S: Likewise.
20559 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20560 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20561 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20562 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20563 * sysdeps/i386/fpu/e_log2.S: Likewise.
20564 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20565 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20566 * sysdeps/i386/fpu/e_powl.S: Likewise.
20567 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20568 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20569 * sysdeps/i386/fpu/e_logl.S: Likewise.
20570 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20571 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20572 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20573 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20574 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20575 * sysdeps/i386/fpu/e_log.S: Likewise.
20576 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20577 * sysdeps/i386/fpu/e_logf.S: Likewise.
20578 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20579 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20580 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20581 * sysdeps/i386/fpu/e_log10.S: Likewise.
20582 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20583 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20584 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20585 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20586 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20587 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20588 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20589 * sysdeps/i386/i686/strtok.S: Likewise.
20590 * sysdeps/i386/i386-mcount.S: Likewise.
20591 * sysdeps/i386/strtok.S: Likewise.
20592 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20593 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20594 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20595 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20596 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20597 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20598 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20599 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20600 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20601 * sysdeps/x86_64/_mcount.S: Likewise.
20602 * sysdeps/x86_64/strtok.S: Likewise.
20603 * sysdeps/sh/_mcount.S: Likewise.
20604
2747bf9a
RM
206052012-08-01 Roland McGrath <roland@hack.frob.com>
20606
20607 * libio/iofopen.c: Include <fcntl.h>.
20608 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20609 (_IO_fopen64, fopen64): Define as aliases.
20610 * libio/iofopen64.c: Include <fcntl.h>.
20611 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20612 Conditionalize body on this.
20613 * sysdeps/wordsize-64/iofopen.c: File removed.
20614 * sysdeps/wordsize-64/iofopen64.c: File removed.
20615
3fb791b8
MP
206162012-08-01 Marek Polacek <polacek@redhat.com>
20617
20618 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20619 Use dlfcn directly instead of a variable.
20620 (binfmt-subdir): Do not define.
20621 (dlfcn): Likewise.
20622
a9f1039f
JM
206232012-08-01 Joseph Myers <joseph@codesourcery.com>
20624
23bddc06
JM
20625 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20626 Remove all definitions.
20627 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20628 <kernel-features.h>.
20629 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20630 (miss_F_GETOWN_EX): Remove all definitions.
20631 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20632 macro definition.
20633 [!__ASSUME_FCNTL64]: Remove conditional code.
20634 [__ASSUME_FCNTL64]: Make code unconditional.
20635 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20636 <kernel-features.h>.
20637 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20638 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20639 (lockf64) [__NR_fcntl64]: Make code unconditional.
20640 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20641
a9f1039f
JM
20642 * sysdeps/unix/sysv/linux/kernel-features.h
20643 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20644 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20645 Make code unconditional.
20646 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20647 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20649 [__NR_vfork]: Make code unconditional.
20650 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20651 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20653 [__NR_vfork]: Make code unconditional.
20654 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20655 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20656
09c0ee5f
RM
206572012-08-01 Roland McGrath <roland@hack.frob.com>
20658
48aec5b9
RM
20659 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20660 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20661
cd97c966
RM
20662 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20663 Define mkstemp64 as an alias.
3f55550c
RM
20664 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20665 Define mkstemps64 as an alias.
cd97c966
RM
20666 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20667 Define mkostemp64 as an alias.
b8625cfc
RM
20668 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20669 Define mkostemps64 as an alias.
cd97c966
RM
20670 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20671 Conditionalize body on this.
20672 * misc/mkostemp64.c: Likewise.
b8625cfc 20673 * misc/mkostemps64.c: Likewise.
3f55550c 20674 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20675 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20676 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20677 * sysdeps/wordsize-64/mkostemp.c: File removed.
20678 * sysdeps/wordsize-64/mkstemp.c: File removed.
20679 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20680 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20683
09c0ee5f
RM
20684 [BZ #14138]
20685 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20686 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20687 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20688 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20689
20690 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20691 compat_symbol macros from <shlib-compat.h> rather than the underlying
20692 default_symbol_version and symbol_version macros, so that DEFAULT
20693 lines in shlib-versions are respected.
20694 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20695
7e66ee51
FW
206962012-08-01 Florian Weimer <fweimer@redhat.com>
20697
20698 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20699 Declare with warn_unused_result.
20700 (setgid, setregid, setegid, setresgid): Likewise.
20701 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20702 Likewise.
20703 * WUR-REPORT: Remove set*id functions.
20704
d2a54255
PT
207052012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20706
20707 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20708
7ecdb005
RM
207092012-07-31 Roland McGrath <roland@hack.frob.com>
20710
b4180a5e 20711 [BZ #10191]
789bd351
RM
20712 * include/sys/socket.h (__libc_accept, __libc_accept4):
20713 Add attribute_hidden.
20714 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20715
40ce302d
RM
20716 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20717 use of PTR_MANGLE.
20718 * inet/getnetgrent_r.c (setup): Likewise.
20719
7ecdb005
RM
20720 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20721
e2eabb2c
DM
207222012-07-31 David S. Miller <davem@davemloft.net>
20723
20724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20725
d0419dbf
JM
207262012-07-31 Joseph Myers <joseph@codesourcery.com>
20727
20728 [BZ #13629]
20729 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20730 value between 1.0 and 2.0 and smaller part has absolute value less
20731 than 1.0.
20732 * math/s_clog10.c (__clog10): Likewise.
20733 * math/s_clog10f.c (__clog10f): Likewise.
20734 * math/s_clog10l.c (__clog10l): Likewise.
20735 * math/s_clogf.c (__clogf): Likewise.
20736 * math/s_clogl.c (__clogl): Likewise.
20737 * math/libm-test.inc (clog_test): Add more tests.
20738 (clog10_test): Likewise.
20739 * sysdeps/i386/fpu/libm-test-ulps: Update.
20740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20741
2bc13872
FW
207422012-07-31 Florian Weimer <fweimer@redhat.com>
20743
20744 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20745 Exit with zero in case no suitable GID is found, and write a
20746 message to standard error.
20747
bea9b193
RM
207482012-07-30 Roland McGrath <roland@hack.frob.com>
20749
20750 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20751 rather than to 1.
20752 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20753 (MAXPATHLEN): Removed.
20754 (NOGROUP, NODEV): New macros.
20755 (setbit, clrbit, isset, isclr): New macros.
20756 (howmany, roundup, powerof2): New macros.
20757 (DEV_BSIZE): New macro.
20758
20759 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20760 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20761
20762 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20763 definition on [!__NO_LONG_DOUBLE_MATH].
20764
20765 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20766 PTR_MANGLE and PTR_DEMANGLE.
20767
20768 * socket/accept4.c (accept4): Rename to __libc_accept4.
20769 Define accept4 as a weak alias.
20770
20771 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20772 on [_DIRENT_HAVE_D_TYPE].
20773 * io/ftw.c (ftw_dir): Likewise.
20774
20775 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20776
20777 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20778
20779 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20780 Use the BSD numbers rather than the arbitrary ones we had.
20781 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20782 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20783 (SIGXCPU, SIGXFSZ): New macros.
20784 (_NSIG): Now 32.
20785
20786 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20787 initializer on [_LIBC_REENTRANT].
20788
20789 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20790 definitions inside [_POSIX_MAPPED_FILES].
20791
20792 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20793
20794 * dirent/opendir.c: Include <fcntl.h>.
20795
20796 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20797 (__libc_getspecific): Likewise.
20798 (__libc_key_create): Likewise.
20799
20800 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20801 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20802 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20803 (tmpfile64): Define as alias.
20804 * sysdeps/wordsize-64/tmpfile.c: File removed.
20805 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20806 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20807 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20808
20809 * stdio-common/vfscanf.c: Include <stdbool.h>.
20810 * nss/makedb.c: Likewise.
20811 * stdio-common/_i18n_number.h: Likewise.
20812 * argp/argp-help.c: Likewise.
20813 * posix/wordexp.c: Likewise.
20814 * sysdeps/posix/spawni.c: Likewise.
20815 * nss/nss_files/files-initgroups.c: Likewise.
20816 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20817 * nss/nss_files/files-initgroups.c: Likewise.
20818 * nss/nss_db/db-netgrp.c: Likewise.
20819 * nss/nss_db/db-initgroups.c: Likewise.
20820 * io/fchmodat.c: Include <sys/stat.h>.
20821
20822 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20823 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20824
20825 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20826 [HAVE_MMAP].
20827
20828 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20829 Add multiple inclusion protection.
20830
e5abc686
DM
208312012-07-27 David S. Miller <davem@davemloft.net>
20832
20833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20834
815e6fa3
GB
208352012-07-27 Gary Benson <gbenson@redhat.com>
20836
20837 [BZ #14298]
20838 * elf/rtld.c: Include <stap-probe.h>.
20839 (dl_main): Added static probes "init_start" and "init_complete".
20840 * elf/dl-load.c: Include <stap-probe.h>.
20841 (lose): Take new parameter "nsid".
20842 Added static probe "map_failed".
20843 (_dl_map_object_from_fd): Pass namespace id to lose.
20844 Added static probe "map_start".
20845 (open_verify): Pass namespace id to lose.
20846 * elf/dl-open.c: Include <stap-probe.h>.
20847 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20848 and "reloc_complete".
20849 * elf/dl-close.c: Include <stap-probe.h>.
20850 (_dl_close_worker): Added static probes "unmap_start" and
20851 "unmap_complete".
20852 * elf/rtld-debugger-interface.txt: New file documenting the above.
20853
9f98c16c
RM
208542012-07-26 Roland McGrath <roland@hack.frob.com>
20855
20856 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20857 rather than a string variable.
20858 * sunrpc/rpc_main.c (h_output): Likewise.
20859 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20860
f3c22df3
PT
208612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20862
20863 * inet/check_native.c: New file.
20864
3129cfc6
JM
208652012-07-26 Joseph Myers <joseph@codesourcery.com>
20866
da865e95
JM
20867 [BZ #13629]
20868 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20869 if larger part has absolute value 1.0.
20870 * math/s_clog10.c (__clog10): Likewise.
20871 * math/s_clog10f.c (__clog10f): Likewise.
20872 * math/s_clog10l.c (__clog10l): Likewise.
20873 * math/s_clogf.c (__clogf): Likewise.
20874 * math/s_clogl.c (__clogl): Likewise.
20875 * math/libm-test.inc (clog_test): Add more tests.
20876 (clog10_test): Likewise.
20877 * sysdeps/i386/fpu/libm-test-ulps: Update.
20878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20879
3129cfc6
JM
20880 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20881 (pltexit): Likewise.
20882 (La_regs): Likewise.
20883 (La_retval): Likewise.
20884 (int_retval): Likewise.
20885 Update #error for removed macros to refer only to definitions in
20886 tst-audit.h.
20887 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20888 macro.
20889 (pltexit): Likewise.
20890 (La_regs): Likewise.
20891 (La_retval): Likewise.
20892 (int_retval): Likewise.
20893 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20894 macro.
20895 (pltexit): Likewise.
20896 (La_regs): Likewise.
20897 (La_retval): Likewise.
20898 (int_retval): Likewise.
20899 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20900 macro.
20901 (pltexit): Likewise.
20902 (La_regs): Likewise.
20903 (La_retval): Likewise.
20904 (int_retval): Likewise.
20905 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20906 macro.
20907 (pltexit): Likewise.
20908 (La_regs): Likewise.
20909 (La_retval): Likewise.
20910 (int_retval): Likewise.
20911 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20912 macro.
20913 (pltexit): Likewise.
20914 (La_regs): Likewise.
20915 (La_retval): Likewise.
20916 (int_retval): Likewise.
20917 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20918 macro.
20919 (pltexit): Likewise.
20920 (La_regs): Likewise.
20921 (La_retval): Likewise.
20922 (int_retval): Likewise.
20923 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20924 macro definitions in tst-audit.h.
20925 * sysdeps/i386/tst-audit.h: New file.
20926 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20927 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20928 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20929 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20930 * sysdeps/sh/tst-audit.h: Likewise.
20931 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20932 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20933 * sysdeps/x86_64/tst-audit.h: Likewise.
20934
bfc07087
AJ
209352012-07-26 Andreas Jaeger <aj@suse.de>
20936
b1b2aaf8
AJ
20937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20938 ptrace.
20939
20940 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20941 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20942 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20943 PTRACE_O_MASK.
20944 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20945 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20946 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20947
bfc07087
AJ
20948 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20949 value.
20950
20951 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20952 _sigsys.
20953 (si_call_addr, si_syscall, si_arch): Define new macro.
20954 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20955 _sigsys.
20956 (si_call_addr, si_syscall, si_arch): Define new marcro.
20957 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20958 _sigsys.
20959 (si_call_addr, si_syscall, si_arch): Define new macro.
20960 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20961 _sigsys.
20962 (si_call_addr, si_syscall, si_arch): Define new macro.
20963
89b4b02f
JM
209642012-07-25 Joseph Myers <joseph@codesourcery.com>
20965
20966 [BZ #13717]
20967 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20968 Change to 2.4.21 where previously 2.4.1.
20969 * sysdeps/unix/sysv/linux/configure: Regenerated.
20970 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20971 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20972 Linux kernel version.
20973 (__ASSUME_STD_AUXV): Remove.
20974 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20975 kernel version.
20976 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20977 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20978 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20979 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20980 (__ASSUME_NETLINK_SUPPORT): Likewise.
20981 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20982 (__no_netlink_support): Remove conditional definition.
20983 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20984 Remove.
20985 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20986 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20987 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20988 (if_nameindex_ioctl): Remove.
20989 (if_nameindex_netlink): Do not handle __no_netlink_support.
20990 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20991 code.
20992 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20993 Remove conditional code.
20994 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20995 code.
20996 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20997 unconditional.
20998 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20999 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21000 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21001 Remove.
21002 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21003 [!__ASSUME_STD_AUXV]: Remove conditional code.
21004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21005 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21006 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21008 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21009 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21010 code.
21011 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21013 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21014 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21015 conditional code.
21016 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21018 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21019 code.
21020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21021 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21022 conditional code.
21023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21024 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21025 code unconditional.
21026 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21027 conditional code.
21028 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21029 unconditional.
21030 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21031 conditional code.
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21033 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21034 unconditional.
21035 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21036 conditional code.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21038 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21039 code unconditional.
21040 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21041 conditional code.
21042 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21043 unconditional.
21044 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21045 conditional code.
21046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21047 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21048 code unconditional.
21049 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21050 conditional code.
21051 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21052 unconditional.
21053 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21054 conditional code.
21055
842a39cd
AS
210562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21057
21058 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21059 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21060 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21061 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21062 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21063 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21064 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21065 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21066 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21067 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21068 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21069 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21070 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21071 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21072 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21073 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21074 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21076 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21078 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21079 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21080 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21081
84b3fd84
FW
210822012-07-25 Florian Weimer <fweimer@redhat.com>
21083
21084 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
21085 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21086 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21087 Introduce __libc_secure_getenv.
0c7936d5
FW
21088 * stdlib/Versions (2.17): Add secure_getenv
21089 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21090 * stdlib/secure-getenv.c: Rename __secure_getenv to
21091 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21092 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
21093 * stdlib/tst-secure-getenv.c: New.
21094 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
21095 * manual/startup.texi (Environment Access): Document
21096 secure_getenv.
84b3fd84
FW
21097 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21098 __libc_secure_getenv.
21099 * inet/ruserpass.c (ruserpass): Likewise.
21100 * malloc/mtrace.c (mtrace): Likewise.
21101 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 21102 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
21103 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21104 * sysdeps/posix/tempname.c: Likewise. Evaluate
21105 HAVE_SECURE_GETENV.
21106 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 21107 __secure_getenv to __libc_secure_getenv.
84b3fd84 21108 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
21109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21110 Likewise.
21111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21112 Likewise.
21113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 21120
56e49b71
JM
211212012-07-25 Joseph Myers <joseph@codesourcery.com>
21122
21123 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21124 (struct La_i86_retval): Likewise.
21125 (struct La_x86_64_regs): Likewise.
21126 (struct La_x86_64_retval): Likewise.
21127 (struct La_x32_regs): Likewise.
21128 (struct La_x32_retval): Likewise.
21129 (struct La_ppc32_regs): Likewise.
21130 (struct La_ppc32_retval): Likewise.
21131 (struct La_ppc64_regs): Likewise.
21132 (struct La_ppc64_retval): Likewise.
21133 (struct La_sh_regs): Likewise.
21134 (struct La_sh_retval): Likewise.
21135 (struct La_s390_32_regs): Likewise.
21136 (struct La_s390_32_retval): Likewise.
21137 (struct La_s390_64_regs): Likewise.
21138 (struct La_s390_64_retval): Likewise.
21139 (struct La_sparc32_regs): Likewise.
21140 (struct La_sparc32_retval): Likewise.
21141 (struct La_sparc64_regs): Likewise.
21142 (struct La_sparc64_retval): Likewise.
21143 (struct audit_ifaces): Remove architecture-specific pltenter and
21144 pltexit members.
21145 * sysdeps/i386/ldsodefs.h: New file.
21146 * sysdeps/powerpc/ldsodefs.h: Likewise.
21147 * sysdeps/s390/ldsodefs.h: Likewise.
21148 * sysdeps/sh/ldsodefs.h: Likewise.
21149 * sysdeps/sparc/ldsodefs.h: Likewise.
21150 * sysdeps/x86_64/ldsodefs.h: Likewise.
21151
354691b7
MP
211522012-07-25 Marek Polacek <polacek@redhat.com>
21153
21154 [BZ #6808]
21155 * math/libm-test.inc (yn_test): Add another test.
21156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21157 to ERANGE when the result is +-Inf.
21158 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21159 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21160 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21161 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21162
bf9e2071
JM
211632012-07-24 Joseph Myers <joseph@codesourcery.com>
21164
21165 * conform/data/time.h-data (NULL): Use macro-constant. Require
21166 equal to 0.
21167 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21168 clock_t.
21169 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21170
57633811
TS
211712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21172
21173 * configure.in <sysdeps resolving>: Correct printing
21174 Implies_before.
21175 * configure: Regenerate.
21176
c23c33b0
TS
211772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21178
21179 * math/w_ilogb.c: Include <limits.h>.
21180 * math/w_ilogbl.c: Likewise.
21181
b5982523
JM
211822012-07-20 Joseph Myers <joseph@codesourcery.com>
21183
21184 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21185 va_copy. Document allowing for unavailable va_copy only as
21186 pre-C99 compatibility.
21187 * manual/string.texi (Copying and Concatenation): Use va_copy
21188 instead of __va_copy in concat example.
21189
ac4ea442
PT
211902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21191
21192 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21193 (__sendto): Use create_address_port. Initialize APORT and deallocate
21194 it if not null.
21195
f98eafbd
PT
21196 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21197 with O_NOLINK passed to __file_name_lookup.
21198
898c7aab
PT
21199 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21200 with O_NOLINK passed to __file_name_lookup.
21201
0ced335a
PT
21202 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21203 negative N or less than NGIDS.
21204
b3404dbd
PT
21205 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21206 type to string_t. Set ERANGE as errno and return it if NAME is not big
21207 enough. Use memcpy instead of strncpy.
21208
0f48659e
JM
212092012-07-20 Joseph Myers <joseph@codesourcery.com>
21210
21211 * elf/Makefile (check-data): Remove.
21212 (localplt.data): New vpath directive.
21213 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21214 instead of $(check-data).
21215 * scripts/data/localplt-generic.data: Move to ...
21216 * sysdeps/generic/localplt.data: ... here.
21217 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21218 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21219 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21221 ... here.
21222 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21224 ... here.
21225 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21227 ... here.
21228 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21230 ... here.
21231 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21233 ... here.
21234 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21236 ... here.
21237
d37cbdaa
AZ
212382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21239
21240 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21241 PPC32 and PPC64 files.
21242 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21243 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21244
46f85fc2
AK
212452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21246
21247 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21248 __makecontext_ret to ...
21249 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21250 ... here and call exit if uc_link is NULL. New file.
21251 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21252 __makecontext_ret.S.
21253 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21254 __makecontext_ret to ...
21255 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21256 ... here and call exit if uc_link is NULL. New file.
21257 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21258 __makecontext_ret.S.
21259
08f43f9b
AK
212602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21261
21262 * elf/elf.h (R_390_IRELATIVE): New definition.
21263 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21264 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21265 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21266 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21267 (elf_machine_lazy_rel): Likewise.
21268 * sysdeps/s390/dl-irel.h: New file.
21269 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21270 * sysdeps/s390/s390-64/memset.S: New asm code.
21271 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21272 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21273 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21274 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21275 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21276 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21278 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21279 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21280 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21281 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21282 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21283 * sysdeps/s390/s390-32/memset.S: New asm code.
21284 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21285
3b05db33
MP
212862012-07-17 Marek Polacek <polacek@redhat.com>
21287
21288 [BZ #14349]
21289 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21290 * sysdeps/s390/s390-64/configure.in: Likewise.
21291 * sysdeps/sparc/configure.in: Likewise.
21292 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21293 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21294 * sysdeps/i386/configure.in: Likewise.
21295 * sysdeps/x86_64/configure.in: Likewise.
21296 * sysdeps/sh/configure.in: Likewise.
21297 * sysdeps/s390/s390-32/configure: Regenerated.
21298 * sysdeps/s390/s390-64/configure: Likewise.
21299 * sysdeps/x86_64/configure: Likewise.
21300 * sysdeps/sh/configure: Likewise.
21301 * sysdeps/powerpc/powerpc64/configure: Likewise.
21302 * sysdeps/powerpc/powerpc32/configure: Likewise.
21303 * sysdeps/sparc/configure: Likwise.
21304 * sysdeps/i386/configure: Likewise.
21305
a66877c6
MP
21306 * elf/dl-open.c: Comment fixes.
21307
cfc82fd8
JM
213082012-07-17 Joseph Myers <joseph@codesourcery.com>
21309
bd29910a
JM
21310 * Makefile [CXX] (check-data): Remove.
21311 [CXX] (c++-types.data): New vpath directive.
21312 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21313 vpath. Do not allow for C++ type data being missing.
21314 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21315 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21316 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21317 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21318 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21319 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21320 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21322 ... here.
21323 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21325 ... here.
21326 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21328 ... here.
21329 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21331 ... here.
21332 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21334 ... here.
21335 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21337 ... here.
21338 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21340 ... here.
21341 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21343
cfc82fd8
JM
21344 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21345 definitions to architecture-specific files.
21346 (TLS_IE): Likewise.
21347 (TLS_LD): Likewise.
21348 (TLS_GD): Likewise.
21349 * sysdeps/i386/tls-macros.h: New file.
21350 * sysdeps/powerpc/tls-macros.h: Likewise.
21351 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21352 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21353 * sysdeps/sh/tls-macros.h: Likewise.
21354 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21355 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21356 * sysdeps/x86_64/tls-macros.h: Likewise.
21357
f7db3170
TS
213582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21359
07cbfc23
TS
21360 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21361 zero value for regular exit case.
21362
f7db3170
TS
21363 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21364 (__start_context): Preserve zero value for regular exit case.
21365
dc97c227
TS
213662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21367 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21368
21369 * manual/setjmp.texi (setcontext): Clarify normal process
21370 termination when uc_link is the null pointer.
21371 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21372 exit call.
21373
d0cd7d02
AS
213742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21375
21376 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21377 preprocessor. Test for each exception mask separately.
21378
dd318934
AJ
213792012-07-16 Andreas Jaeger <aj@suse.de>
21380
21381 * po/ru.po: Update from translation team.
21382
8048311a
JM
213832012-07-15 Joseph Myers <joseph@codesourcery.com>
21384
21385 * conform/data/string.h-data (NULL): Use macro-constant. Require
21386 equal to 0.
21387 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21388 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21389 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21390 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21391 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21392
b637d46e
AJ
213932012-07-13 Andreas Jaeger <aj@suse.de>
21394
21395 * po/fr.po: Update from translation team.
21396
541428fe
MP
213972012-07-12 Marek Polacek <polacek@redhat.com>
21398
21399 [BZ #14173]
21400 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21401 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21402 loop condition.
21403
ec332e94
JM
214042012-07-12 Joseph Myers <joseph@codesourcery.com>
21405
21406 [BZ #13717]
21407 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21408 Change to 2.4.1 where previously 2.4.0.
21409 * sysdeps/unix/sysv/linux/configure: Regenerated.
21410 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21411 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21412 version.
21413 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21414 (__ASSUME_AT_CLKTCK): Remove.
21415 (__ASSUME_AT_PAGESIZE): Likewise.
21416 (__ASSUME_AT_XID): Likewise.
21417 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21418 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21419 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21420 unconditionally.
21421 (HAVE_AUX_PAGESIZE): Likewise.
21422 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21423 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21424 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21425
7b6e99be
JB
214262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21427
21428 [BZ #14307]
21429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21430 the temporary buffer used to invoke __gethostbyname2_r,
21431 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21432 host_data / struct gaih_addrtuple.
21433 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21434 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21435 header file nss/nsswitch.h.
21436 * nss/nsswitch.h (global scope): Add definition of implementation
21437 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21438 resolv/nss_dns/dns-host.c).
21439
608404eb
AJ
214402012-07-11 Andreas Jaeger <aj@suse.de>
21441
21442 * po/fr.po: Update from translation team.
21443
71220aca
AJ
21444 * po/sv.po: Update from translation team
21445 * po/fr.po: Another update from translation team.
21446
28cfe843
AZ
214472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21448
21449 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21450 for subnormals or multiply small sinh result by itself.
21451 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21453
6b90f981
DM
214542012-07-11 David S. Miller <davem@davemloft.net>
21455
21456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21457
c6825772
AS
214582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21459
21460 [BZ #14347]
21461 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21462 (INTERNAL_MARK): Shift it here.
21463
7b8e0d49
MP
214642012-07-10 Marek Polacek <polacek@redhat.com>
21465
21466 [BZ #14151]
21467 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21468 libc_cv_asm_global_directive with .globl.
21469 * configure: Regenerated.
21470 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21471 with .globl.
21472 * sysdeps/i386/configure: Regenerated.
21473 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21474 with .globl.
21475 * sysdeps/x86_64/configure: Regenerated.
21476 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21477 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21478 * elf/tst-unique2mod2.c: Likewise.
21479 * elf/tst-unique2mod1.c: Likewise.
21480 * elf/tst-unique1mod2.c: Likewise.
21481 * elf/tst-unique1mod1.c: Likewise.
21482 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21483 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21484 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21485 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21486 * sysdeps/mach/sysdep.h: Likewise.
21487 * sysdeps/i386/sysdep.h: Likewise.
21488 * sysdeps/i386/i386-mcount.S: Likewise.
21489 * sysdeps/x86_64/_mcount.S: Likewise.
21490 * sysdeps/x86_64/sysdep.h: Likewise.
21491 * sysdeps/sh/_mcount.S: Likewise.
21492 * sysdeps/sh/sysdep.h: Likewise.
21493 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21494 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21495 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21496 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21497 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21498 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21499 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21500 * locale/localeinfo.h: Likewise.
21501 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21502 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21503
6c55cda3
RM
215042012-07-09 Roland McGrath <roland@hack.frob.com>
21505
21506 [BZ #14336]
21507 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21508 system".
21509 * manual/message.texi (The Uniforum approach): Likewise.
21510 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21511 (glibc iconv Implementation): Likewise.
21512
638a572e
JM
215132012-07-09 Joseph Myers <joseph@codesourcery.com>
21514
21515 [BZ #14337]
21516 * math/s_clog.c (__clog): Avoid scaling a value down where that
21517 could result in underflow.
21518 * math/s_clog10.c (__clog10): Likewise.
21519 * math/s_clog10f.c (__clog10f): Likewise.
21520 * math/s_clog10l.c (__clog10l): Likewise.
21521 * math/s_clogf.c (__clogf): Likewise.
21522 * math/s_clogl.c (__clogl): Likewise.
21523 * math/libm-test.inc (clog_test): Add more tests.
21524 (clog10_test): Likewise.
21525 * sysdeps/i386/fpu/libm-test-ulps: Update.
21526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21527
261f4859
AS
215282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21529
0abaf3e4
AS
21530 [BZ #14283]
21531 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21532 by 7 not 8 to examine high bit of fractional part.
21533
261f4859
AS
21534 [BZ #14042]
21535 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21536 for call to __mcount_internal.
21537 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21538 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21539 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21540
f17ac40d
JM
215412012-07-06 Joseph Myers <joseph@codesourcery.com>
21542
9ad63c23
JM
21543 [BZ #14154]
21544 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21545 approximation for values within 0x1p-13f of an odd multiple of
21546 pi/4.
21547 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21548 exception. Add more tests.
21549 * sysdeps/i386/fpu/libm-test-ulps: Update.
21550
f17ac40d
JM
21551 [BZ #6778]
21552 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21553 inputs and return -1 for them. Do not check for +Inf in case not
21554 reachable for +Inf.
21555 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21556 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21557 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21558 and return -1 for them. Do not check for +Inf in case not
21559 reachable for +Inf.
21560 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21561 define.
21562 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21563 and return -1 for them. Do not check for +Inf in case not
21564 reachable for +Inf.
21565 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21566 spurious underflow.
21567 * sysdeps/i386/fpu/libm-test-ulps: Update.
21568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21569
fb21f89b
MF
215702012-07-06 Mike Frysinger <vapier@gentoo.org>
21571
21572 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21573
cdfe2c5e
JM
215742012-07-05 Joseph Myers <joseph@codesourcery.com>
21575
21576 [BZ #14157]
21577 [BZ #14331]
21578 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21579 could result in spurious underflow. Scale down values above
21580 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21581 * math/s_csqrtf.c (__csqrtf): Likewise.
21582 * math/s_csqrtl.c (__csqrtl): Likewise.
21583 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21584 spurious underflow.
21585 * sysdeps/i386/fpu/libm-test-ulps: Update.
21586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21587
70d35b67
AS
215882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21589
704bc459
AS
21590 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21591 xopen-msg.sed.
21592 * catgets/xopen-msg.awk: New file.
21593 * catgets/xopen-msg.sed: Removed.
21594
70d35b67
AS
21595 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21596 po2text.sed.
21597 * intl/po2test.awk: New file.
21598 * intl/po2test.sed: Removed.
21599
ca61cf32
JM
216002012-07-04 Joseph Myers <joseph@codesourcery.com>
21601
21602 [BZ #14328]
21603 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21604 or multiply small sinh result by itself.
21605 * math/s_ctanf.c (__ctanf): Likewise.
21606 * math/s_ctanh.c (__ctanh): Likewise.
21607 * math/s_ctanhf.c (__ctanhf): Likewise.
21608 * math/s_ctanhl.c (__ctanhl): Likewise.
21609 * math/s_ctanl.c (__ctanl): Likewise.
21610 * math/libm-test.inc (ctan_test_tonearest): New function.
21611 (ctan_test_towardzero): Likewise.
21612 (ctan_test_downward): Likewise.
21613 (ctan_test_upward): Likewise.
21614 (ctanh_test_tonearest): Likewise.
21615 (ctanh_test_towardzero): Likewise.
21616 (ctanh_test_downward): Likewise.
21617 (ctanh_test_upward): Likewise.
21618 (main): Call these new functions.
21619 * sysdeps/i386/fpu/libm-test-ulps: Update.
21620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21621
ca48a46a
MF
216222012-07-03 Mike Frysinger <vapier@gentoo.org>
21623
21624 * .gitignore: Delete /ports entry.
21625
9d63d37d
AJ
216262012-07-03 Andreas Jaeger <aj@suse.de>
21627
21628 * po/bg.po: Update from translation team.
21629 * po/cs.po: Likewise.
21630 * po/de.po: Likewise.
21631 * po/hr.po: Likewise.
21632 * po/nl.pl: Likewise.
21633 * po/pl.po: Likewise.
21634 * po/vi.po: Likewise.
21635
370ca3d2
JM
216362012-07-03 Joseph Myers <joseph@codesourcery.com>
21637
95f5a9a8
JM
21638 * Makeconfig [!+link] (+link-before-libc): New variable.
21639 [!+link] (+link-after-libc): Likewise.
21640 [!+link] (+link-tests): Likewise.
21641 [!+link] (+link): Define in terms of $(+link-before-libc) and
21642 $(+link-after-libc).
21643 [!+link-static] (+link-static-before-libc): New variable.
21644 [!+link-static] (+link-static-after-libc): Likewise.
21645 [!+link-static] (+link-static-tests): Likewise.
21646 [!+link-static] (+link-static): Define in terms of
21647 $(+link-static-before-libc) and $(+link-static-after-libc).
21648 [build-shared] (link-libc-before-gnulib): New variable.
21649 [build-shared] (link-libc-tests): Likewise.
21650 [build-shared] (link-libc): Define in terms of
21651 $(link-libc-before-gnulib).
21652 [!build-shared] (link-libc-tests): New variable.
21653 (link-libc-static-tests): New variable.
21654 [!gnulib] (gnulib-arch): New variable.
21655 [!gnulib] (gnulib-tests): Likewise.
21656 [!gnulib] (static-gnulib-arch): Likewise.
21657 [!gnulib] (static-gnulib-tests): Likewise.
21658 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21659 Define with "=" instead of ":=".
21660 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21661 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21662 * Rules (binaries-all-notests): New variable.
21663 (binaries-all-tests): Likewise.
21664 (binaries-static-notests): Likewise.
21665 (binaries-static-tests): Likewise.
21666 (binaries-all): Define using $(binaries-all-notests) and
21667 $(binaries-all-tests).
21668 (binaries-static): Define using $(binaries-static-notests) and
21669 $(binaries-static-tests).
21670 (binaries-shared-tests): New variable.
21671 (binaries-shared-notests): Likewise.
21672 (binaries-shared): Remove variable.
21673 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21674 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21675 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21676 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21677 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21678 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21679 * elf/Makefile (sln-modules): New variable.
21680 (extra-objs): Add $(sln-modules:=.o).
21681 (ldconfig-modules): Add static-stubs.
21682 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21683 * elf/static-stubs.c: New file.
21684
7a845b2c
JM
21685 [BZ #14283]
21686 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21687 by 7 not 8 to examine high bit of fractional part. Use volatile
21688 variables when splitting into final array of floats if
21689 __FLT_EVAL_METHOD__ != 0.
21690 * math/libm-test.inc (cos_test): Add another test.
21691 (sin_test): Likewise.
21692 * sysdeps/i386/fpu/libm-test-ulps: Update.
21693
e2283f38
JM
21694 [BZ #14273]
21695 * math/libm-test.inc (cosh_test): Add more tests.
21696
370ca3d2
JM
21697 * version.h (RELEASE): Set to "development".
21698 (VERSION): Set to "2.16.90".
21699
ee9247c3
CD
217002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21701
21702 * NEWS: Update copyright. Remove last-updated date.
21703 Mention math library bug fixes and timezone data changes.
21704 * README: Mention GNU/Hurd, x32, and HPPA support status.
21705
4648c381
TS
217062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21707
21708 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21709
aac78a43
AJ
217102012-06-27 Andreas Jaeger <aj@suse.de>
21711
21712 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21713
ed3dbfad
AJ
217142012-06-25 Andreas Jaeger <aj@suse.de>
21715
21716 * sysdeps/s390/fpu/libm-test-ulps: Update.
21717
4d0ee855
AS
217182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21719 Thomas Schwinge <thomas@codesourcery.com>
21720
21721 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21722 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21724 fanotify_mark.
21725
af1bce34
TS
217262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21727
a9fa33ba
TS
21728 * sysdeps/mach/start.c: Remove file.
21729 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21730 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21731 * sysdeps/sh/init-first.c: Likewise.
21732
58f902b8
TS
21733 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21734 registers for frame unwinding purposes, add CFI directives.
21735 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21736 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21737 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21738 Likewise.
21739
1518f58b
TS
21740 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21741 __fortify_fail returning.
21742 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21743
db9b5059
TS
21744 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21745 sysdeps/sh/____longjmp_chk.S.
21746 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21747 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21748 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21749 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21750
967705fe
TS
21751 * sysdeps/sh/abort-instr.h: New file.
21752 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21753 process in case exit returns.
21754
a9def8c4
TS
21755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21756 initialize the GOT register before use.
21757
2a649725
TS
21758 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21759 calculation of ARGC > 4.
21760
af1bce34
TS
21761 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21762 meaningful names to some local labels.
21763
d230f50a
KK
217642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21765 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21766
21767 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21768 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21769 (__arch_compare_and_exchange_val_16_acq): Likewise.
21770 (__arch_compare_and_exchange_val_32_acq): Likewise.
21771 (atomic_exchange_and_add): Fix gUSA sequence.
21772 (atomic_add): Likewise.
21773 (atomic_add_negative): Likewise.
21774 (atomic_add_zero): Likewise.
21775 (atomic_bit_test_set): Likewise.
21776
0479b305
AS
217772012-06-22 Andreas Schwab <schwab@redhat.com>
21778
21779 [BZ #13579]
21780 * include/link.h (struct link_map): Add l_free_initfini.
21781 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21782 l_initfini.
21783 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21784 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21785 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21786 set.
21787
0e3933b9
CD
217882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21789
21790 * configure.in: Use AC_LANG_SOURCE.
21791 * configure: Regenerate.
21792
4248b1b1
RM
217932012-06-22 Roland McGrath <roland@hack.frob.com>
21794
21795 * configure.in (libc_cv_localstatedir): New substituted variable.
21796 * configure: Regenerated.
21797 * config.make.in (localstatedir): New variable, substituted from
21798 libc_cv_localstatedir.
21799 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21800 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21801 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21802 * sysdeps/gnu/configure: Regenerated.
21803
006dd861
JL
218042012-06-21 Jeff Law <law@redhat.com>
21805
21806 [BZ #14277]
21807 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21808 free. Simplify list management for _LIBC case.
21809
79662d42
JM
218102012-06-21 Joseph Myers <joseph@codesourcery.com>
21811
b7abb4bf
JM
21812 [BZ #14273]
21813 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21814 Clear sign bit of 64-bit integer value before comparing against
21815 overflow value.
21816
79662d42
JM
21817 * sysdeps/mach/configure: Regenerated.
21818
1f150908
L
218192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21820
21821 [BZ #14278]
21822 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21823
28363bbf
JL
218242012-06-21 Jeff Law <law@redhat.com>
21825
21826 [BZ #13882]
21827 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21828 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21829 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21830 * elf/dl-open.c (dl_open_worker): Likewise.
21831
09615db4
CD
218322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21833
21834 * scripts/list-sources.sh: Scan PORTS for translations.
21835 * po/libc.pot: Regenerated.
21836
2174c6dd
AJ
218372012-06-21 Andreas Jaeger <aj@suse.de>
21838
21839 [BZ #12194]
21840 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21841 warning.
21842 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21843 * bits/byteswap-16.h (__bswap_16): Likewise.
21844 * bits/byteswap.h (__bswap_constant_16): Likewise.
21845
3ee947b1
L
218462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21847
21848 [BZ #14117]
a2f34833
L
21849 * sysdeps/i386/fpu_control.h: Removed.
21850 * sysdeps/x86_64/fpu_control.h: Moved to ...
21851 * sysdeps/x86/fpu_control.h: Here.
21852
3ee947b1
L
21853 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21854 (_FPU_SETCW): Likewise.
21855
ed1825f8
L
218562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21857
25f1282a
L
21858 [BZ #14117]
21859 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21860 * sysdeps/x86/fpu/bits/mathinline.h: This.
21861 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21862
ed1825f8
L
21863 [BZ #14050]
21864 [BZ #14117]
21865 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21866 functions if __x86_64__ is defined.
21867
36d54b74
CLT
218682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21869
21870 * string/endian.h: Add !__ASSEMBLER__ condition for including
21871 conversion interfaces.
21872
10285c21
JM
218732012-06-15 Joseph Myers <joseph@codesourcery.com>
21874
21875 [BZ #14241]
21876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21877 of ABS(x) in calculating zero to negative powers other than odd
21878 integers.
21879 * math/libm-test.inc (pow_test): Add more tests.
21880
06c5abbd
AJ
218812012-06-15 Andreas Jaeger <aj@suse.de>
21882
21883 * manual/contrib.texi (Contributors): Update entry of Liubov
21884 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21885 Machado Filho.
21886
a3aeac40
CH
218872012-06-15 Cyril Hrubis <metan@ucw.cz>
21888
21889 * string/string.h: Add __wur to GNU version of strerror_r.
21890
49bdf4c1
L
218912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21892
21893 [BZ #14229]
21894 * string/Makefile (tests): Add tst-strtok_r.
21895 * string/tst-strtok_r.c: New file.
21896 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21897 RAX_LP/RDX_LP on SAVE_PTR.
21898
834f9b8d
RM
218992012-06-14 Roland McGrath <roland@hack.frob.com>
21900
21901 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21902
75fa1921
JM
219032012-06-14 Joseph Myers <joseph@codesourcery.com>
21904
21905 * libm_test.inc (csqrt_test): Allow more spurious underflow
21906 exceptions.
21907 (j0_test): Likewise.
21908 (j1_test): Likewise.
21909 (y0_test): Likewise.
21910 (y1_test): Likewise.
21911
771766df
CD
219122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21913
21914 * po/Makefile (libc.pot): Use UTF-8 charset.
21915
ceb9e56b
PP
219162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21917
21918 [BZ #14210]
21919 Suppress sign-conversion warning from FD_SET.
21920 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21921 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21922 not unsigned long int.
21923 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21924
ddb28975
L
219252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21926
21927 [BZ #14050]
21928 [BZ #14117]
21929 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21930 __extern_always_inline instead of __extern_inline.
21931 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21932 (__signbit): Likewise.
21933 (__signbitl): Support C++ namespace.
21934 (lrintf): New inline function.
21935 (lrint): Likewise.
21936 (llrintf): Likewise.
21937 (llrint): Likewise.
21938 (fmaxf): Likewise.
21939 (fmax): Likewise.
21940 (fminf): Likewise.
21941 (fmin): Likewise.
21942 (rint): Likewise.
21943 (rintf): Likewise.
21944 (ceil): Likewise.
21945 (ceilf): Likewise.
21946 (floor): Likewise.
21947 (floorf): Likewise.
21948 (nearbyint): Likewise.
21949 (nearbyintf): Likewise.
21950
d7b4fb26
TS
219512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21952
21953 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21954 non-default versions.
21955
eb55f5c2
RM
219562012-06-11 Roland McGrath <roland@hack.frob.com>
21957
21958 [BZ #14218]
21959 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21960
366af02c
TS
219612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21962
99ff6e5c
TS
21963 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21964 (FE_UPWARD, FE_DOWNWARD): Don't define.
21965 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21966 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21967
366af02c
TS
21968 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21969 reading it.
21970 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21971 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21972
793ea851
KK
219732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21974
21975 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21977 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21978 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21979
a728a38f
L
219802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21981
21982 [BZ #14117]
c08010c7
L
21983 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21984 * sysdeps/i386/fpu/Implies: New file.
21985 * sysdeps/x86_64/fpu/Implies: Likewise.
21986 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21987 * sysdeps/x86/fpu/bits/fenv.h: This.
21988
a728a38f
L
21989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21990 __SSE_MATH__.
21991
6e230d11
SP
219922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21993
21994 [BZ #14134]
21995 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21996 character 0xffff that matches the last element of the
21997 conversion table.
21998
1b671feb
AZ
219992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22000
22001 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22002 fmodl commit.
22003
6043738b
AZ
220042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22005
22006 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22007 values higher than 25.6283.
22008
34ae0b32
AZ
220092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22010
22011 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22012 subnormal exponent extraction and add some __builtin_expect.
22013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22014 Fix for subnormal mantissa calculation.
22015
1214ec8f
MF
220162012-06-04 Mike Frysinger <vapier@gentoo.org>
22017
22018 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22019 cpu2 is -1 and errno is not ENOSYS.
22020
f3d1f93c
L
220212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22022
22023 [BZ #14117]
0e4a3cd7
L
22024 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22025 * sysdeps/x86/bits/string.h: This.
22026 * sysdeps/x86_64/bits/string.h: Removed.
22027
6704c645
L
22028 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22029 if not compiling for x86-64, but compiling for >= i486.
22030
48495318
L
22031 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22032 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22033
14adcbfc
L
22034 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22035 New macro from Linux kernel 3.4.0.
22036 (FP_XSTATE_MAGIC2): Likewise.
22037 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22038 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22039 (struct _fpx_sw_bytes): New struct.
22040 (struct _xsave_hdr): Likewise.
22041 (struct _ymmh_state): Likewise.
22042 (struct _xstate): Likewise.
22043
68e408ab
L
22044 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22045 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22046 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22047 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22048 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22049 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22050
f3d1f93c
L
22051 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22052 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22053 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22054 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22055 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22056 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22057
d9dc34cd
TMQMF
220582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22059
22060 [BZ #13743]
22061 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22062 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22063 (sysdep_headers): Include sys/platform/ppc.h.
22064 * sysdeps/powerpc/test-gettimebase.c: Test for
22065 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22066 * manual/Makefile (appendices): Include platform.texi.
22067 * manual/contrib.texi (Contributors): Update @node pointers.
22068 * manual/maint.texi (Maintenance): Likewise.
22069 (Platform): New node.
22070 * manual/platform.texi: New file. Document the new features.
22071
4af3879c
SP
220722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22073 Jakub Jelinek <jakub@redhat.com>
22074
22075 [BZ #14188]
22076 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22077 where __builtin_expect is unavailable.
22078
2fd6ff13
DM
220792012-06-03 David S. Miller <davem@davemloft.net>
22080
22081 * stdlib/longlong.h: Updated from GCC.
22082
173f7220
AS
220832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22084
22085 [BZ #14042]
22086 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22087 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22088 __mcount_internal.
22089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22090 (GLIBC_2.16): Likewise.
22091
f34a1c6f
L
220922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22093
22094 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22095
88a4576f
JM
220962012-06-01 Joseph Myers <joseph@codesourcery.com>
22097
ea32bcdd
JM
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22099 (default-abi): New variable.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22101 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22102 variable.
22103 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22104 Likewise.
22105 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22106 Likewise.
22107 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22108 Likewise.
22109
88a4576f
JM
22110 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22111 definition. Document in comment.
22112
402fe938
DM
221132012-06-01 David S. Miller <davem@davemloft.net>
22114
22115 * stdlib/longlong.h: Updated from GCC.
22116
3553723f
L
221172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22118
22119 [BZ #14117]
3bd872c4
L
22120 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22121 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22122 sys/debugreg.h sys/io.h here.
22123 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22124 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22125 sys/io.h.
22126 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22127 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22128 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22129 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22130 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22131 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22132
3553723f
L
22133 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22134 Define only if __x86_64__ is defined.
22135
4842e4fe
JM
221362012-06-01 Joseph Myers <joseph@codesourcery.com>
22137
c5bfe3d5
JM
22138 [BZ #14048]
22139 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22140 Use int64_t for variable i.
22141 * math/libm-test.inc (fmod_test): Add more tests.
22142
4842e4fe
JM
22143 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22144 z computation is not scheduled after fetestexcept.
22145 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22146 Use math_force_eval instead of asm to ensure calculation scheduled
22147 before exception test.
22148 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22149 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22150
efb73488
AJ
221512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22152
22153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22154 computation is not scheduled after fetestexcept.
22155
29bcce7c
L
221562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22157
22158 [BZ #14117]
22159 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22160 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22161
73a68f94
AZ
221622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22163
22164 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22165 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22166
67b6df78
L
221672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22168
edf2933a 22169 [BZ #14117]
ebc64a18
L
22170 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22171 <bits/wordsize.h>.
22172 (__WCHAR_MIN): Support __WORDSIZE == 64.
22173 (__WCHAR_MAX): Likewise.
22174
edf2933a
L
22175 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22176 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22177
57c6cf40
L
22178 [BZ #14183]
22179 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22180 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22181
67b6df78 22182 [BZ #14117]
8eb6281e
L
22183 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22184 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22185
aac639f4
L
22186 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22187 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22188
67b6df78
L
22189 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22190 Defined to 1 if __x86_64__ isn't defined.
22191 (_STAT_VER_LINUX_OLD): New.
22192 (st_atime): Remove duplicate.
22193 (st_mtime): Likewise.
22194 (st_ctime): Likewise.
22195
1c2cfe81
DM
221962012-05-31 David S. Miller <davem@davemloft.net>
22197
22198 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22199 entries.
22200
5be8418c
AS
222012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22202
e7725326
AS
22203 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22204 gen-libm-test.pl.
22205
5be8418c
AS
22206 [BZ #14132]
22207 * elf/dl-reloc.c: Include <_itoa.h>.
22208 (_dl_reloc_bad_type): Remove use of INTUSE.
22209 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22210 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22211 * stdio-common/psiginfo.c (psiginfo): Likewise.
22212 * stdio-common/psignal.c (psignal): Likewise.
22213 * string/strsignal.c (strsignal): Likewise.
22214 * include/signal.h (_sys_siglist): Declare hidden proto.
22215 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22216 INTVARDEF with libc_hidden_data_def.
22217 * stdio-common/itoa-udigits.c: Likewise.
22218 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22219 (_itoa_lower_digits_internal): Remove declaration.
22220 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22221 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22222 (_sys_sigabbrev_internal): Remove aliases.
22223 (_sys_siglist): Define hidden alias.
22224
507352f1
MT
222252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22226
22227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22228 bits/sysctl.h.
22229
42bbb1c3
L
222302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22231
22232 [BZ #14117]
6bd784b6
L
22233 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22234 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22235
8bca20f0
L
22236 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22237 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22238 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22239 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22241 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22242
f9e890a9
L
22243 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22244 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22245 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22246
471101a1
L
22247 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22248 with __addr.
22249 (insw): Likewise.
22250 (insl): Likewise.
22251 (outsb): Likewise.
22252 (outsw): Likewise.
22253 (outsl): Likewise.
22254
6451c862
L
22255 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22257 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22258
a254b8c9
L
22259 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22260 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22262 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22263 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22264 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22265
b8dfdd92
L
22266 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22267 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22268
578cd270
L
22269 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22270 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22271
de662f5f
L
22272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22273 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22274 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22275
25653439
L
22276 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22277 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22278 to ...
22279 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22280
6bad24a0
L
22281 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22282 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22283 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22284
42bbb1c3
L
22285 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22286 for x86-64.
22287 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22288
2d10d547
JM
222892012-05-31 Joseph Myers <joseph@codesourcery.com>
22290
22291 * math/math.h (M_El): Use two more decimal places.
22292 (M_LOG2El): Likewise.
22293 (M_LOG10El): Likewise.
22294 (M_LN2l): Likewise.
22295 (M_LN10l): Likewise.
22296 (M_PIl): Likewise.
22297 (M_PI_2l): Likewise.
22298 (M_PI_4l): Likewise.
22299 (M_1_PIl): Likewise.
22300 (M_2_PIl): Likewise.
22301 (M_2_SQRTPIl): Likewise.
22302 (M_SQRT2l): Likewise.
22303 (M_SQRT1_2l): Likewise.
22304
f230c29b
DM
223052012-05-31 David S. Miller <davem@davemloft.net>
22306
22307 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22308 values between float registers.
22309 * sysdeps/sparc/sparc64/memset.S: Likewise.
22310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22311
fed806c3
MF
223122012-05-31 Mike Frysinger <vapier@gentoo.org>
22313
22314 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22315 -D_FORTIFY_SOURCE=1.
22316 (CPPFLAGS-tst-longjmp_chk.c): Define.
22317 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22318 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22319 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22320 CFLAGS-tst-wchar-h.c.
22321
30917259
MP
223222012-05-31 Marek Polacek <polacek@redhat.com>
22323
22324 [BZ #14132]
22325 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22326 __endmntent_internal): Remove declaration.
22327 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22328 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22329 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22330
1c58d5dc
DM
223312012-05-30 David S. Miller <davem@davemloft.net>
22332
22333 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22334 (___Q_simulate_exceptions): Use real FP ops rather than writing
22335 into the %fsr.
22336 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22337 Likewise.
22338
7dc00e0d
L
223392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22340
22341 [BZ #14117]
0bd53985
L
22342 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22343 * sysdeps/x86/bits/xtitypes.h: This.
22344
3a257e66
L
22345 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22346 * sysdeps/x86/bits/wordsize.h: This.
22347
62f62904
L
22348 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22349 * sysdeps/x86/bits/huge_vall.h: This.
22350
404fe9d9
L
22351 * sysdeps/i386/bits/select.h: Removed.
22352 * sysdeps/x86_64/bits/select.h: Renamed to ...
22353 * sysdeps/x86/bits/select.h: This.
22354
d48d0446
L
22355 * sysdeps/i386/bits/setjmp.h: Removed.
22356 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22357 * sysdeps/x86/bits/setjmp.h: This.
22358
7dc00e0d
L
22359 * sysdeps/i386/bits/mathdef.h: Removed.
22360 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22361 * sysdeps/x86/bits/mathdef.h: This.
22362
03277f8f
AS
223632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22364
22365 [BZ #14132]
22366 * include/sys/socket.h (__connect_internal)
22367 (__libc_sa_len_internal): Remove declaration.
22368 (__connect, __libc_sa_len): Declare hidden_proto.
22369 (SA_LEN): Remove use of INTUSE.
22370 * socket/connect.c: Add libc_hidden_def.
22371 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22372 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22373 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22374 alias.
22375 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22376 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22377 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22378 of adding _internal alias.
22379
13764867
L
223802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22381
22382 [BZ #14117]
6bd97696
L
22383 * sysdeps/i386/bits/link.h: Removed.
22384 * sysdeps/i386/bits/linkmap.h: Likewise.
22385 * sysdeps/x86_64/bits/link.h: Renamed to ...
22386 * sysdeps/x86/bits/link.h: This.
22387 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22388 * sysdeps/x86/bits/linkmap.h: This.
22389
f726f0bb
L
22390 * sysdeps/i386/bits/endian.h: Removed.
22391 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22392 * sysdeps/x86/bits/endian.h: This.
22393
13764867
L
22394 * sysdeps/i386/bits/byteswap.h: Removed.
22395 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22396 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22397 * sysdeps/x86/bits/byteswap.h: This.
22398 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22399 * sysdeps/x86/bits/byteswap-16.h: This.
22400 * sysdeps/i386/Implies: Add x86.
22401 * sysdeps/x86_64/Implies: Likewise.
22402
ae251b0b
DM
224032012-05-30 David S. Miller <davem@davemloft.net>
22404
22405 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22406 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22407 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22408 (FP_TRAPPING_EXCEPTIONS): Define.
22409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22410 (FP_TRAPPING_EXCEPTIONS): Define.
22411 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22412 subnormals only when inexact has been signalled or underflow
22413 exceptions are enabled.
22414 (_FP_PACK_CANONICAL): Likewise.
22415
d5c90867
L
224162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22417
22418 [BZ #14183]
22419 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22420 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22421
63f1549e
RH
224222012-05-30 Richard Henderson <rth@twiddle.net>
22423
8d8f2279
RH
22424 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22425 with #ifndef NOT_IN_libc.
22426
63f1549e
RH
22427 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22428 marked to avoid plt entry.
22429
0ab0291b
L
224302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22431
22432 [BZ #14112]
22433 * Makeconfig (default-abi): New macro.
22434 (abi-includes): Likewise.
22435 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22436 $(abi-$(default-abi)-lib-soname) for soname if defined.
22437 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22438 abi-variants.
22439 * Makefile (installed-stubs): Likewise.
22440 * include/stubs-biarch.h: Removed.
22441 * scripts/lib-names.awk: Only handle one library at a time.
22442 * scripts/soversions.awk: Remove WORDSIZE support.
22443 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22444 entries.
22445 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22446 Removed.
22447 (syscall-list-default-condition): Likewise.
22448 (syscall-list-default-condition): Likewise.
22449 (syscall-list-includes): Likewise.
22450 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22451 syscall-list-* with abi-*. Handle undefined abi-variants.
22452 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22453 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22454 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22455 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22456 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22457 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22458 Removed.
22459 (syscall-list-32-options): Likewise.
22460 (syscall-list-32-condition): Likewise.
22461 (syscall-list-64-options): Likewise.
22462 (syscall-list-64-condition): Likewise.
22463 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22464 macro.
22465 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22466 Renamed to ...
22467 (abi-*): This.
22468 (abi-64-ld-soname): New macro.
22469 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22470 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22471 Renamed to ...
22472 (abi-*): This.
22473 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22474 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22475
4da0431d
JM
224762012-05-30 Joseph Myers <joseph@codesourcery.com>
22477
3a85279c
JM
22478 * sysdeps/unix/sysv/linux/kernel-features.h
22479 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22480 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22481 include <kernel-features.h>.
22482 [!__NR_ftruncate64]: Remove conditional code.
22483 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22484 [__NR_ftruncate64]: Make code unconditional.
22485 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22486 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22487 include <kernel-features.h>.
22488 [!__NR_ftruncate64]: Remove conditional code.
22489 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22490 [__NR_ftruncate64]: Make code unconditional.
22491 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22493 include <kernel-features.h>.
22494 [!__NR_ftruncate64]: Remove conditional code.
22495 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22496 [__NR_ftruncate64]: Make code unconditional.
22497 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22499 include <kernel-features.h>.
22500 [!__NR_ftruncate64]: Remove conditional code.
22501 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22502 [__NR_ftruncate64]: Make code unconditional.
22503 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22504
4da0431d
JM
22505 * configure.in (libc_cv_fpie): Weaken to a compile test using
22506 LIBC_TRY_CC_OPTION.
22507 * configure: Regenerated.
22508
11ef492c
AK
225092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22510
22511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22515 Refreshed.
22516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22522 Refreshed.
22523
d66ef399
DM
225242012-05-27 David S. Miller <davem@davemloft.net>
22525
22526 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22527 (___Q_zero): New.
22528 (__Q_simulate_exceptions): Return void. Change to simulate
22529 exceptions by writing into the %fsr.
22530 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22531 (__Qp_handle_exceptions): Likewise.
22532 (numbers): Delete.
22533 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22534 __Qp_handle_exceptions.
22535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22536 __Qp_handle_exceptions.
22537 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22538 as unused and give dummy FP_RND_NEAREST initializer.
22539 (FP_INHIBIT_RESULTS): Define.
22540 (___Q_simulate_exceptions): Update declaration.
22541 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22542 formatting.
22543 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22544 as unused and give dummy FP_RND_NEAREST initializer.
22545 (__Qp_handle_exceptions): Update declaration.
22546 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22547 formatting.
22548
04fb54b5
TS
225492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22550
22551 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22552 the temporary FPU control word.
22553 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22554 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22555 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22556 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22557 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22558 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22559 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22560 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22561 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22562 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22563 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22564
3f99608f
KK
225652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22566
22567 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22568 fields.
22569
65a4de4e
CLT
225702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22571
22572 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22573 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22574 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22575 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22576 Likewise.
22577 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22578 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22579 Likewise.
22580
15749d40
UD
225812012-05-27 Ulrich Drepper <drepper@gmail.com>
22582
22583 * po/h.po: Update from translation team.
22584
25dbcb27
AS
225852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22586
3d3f8e55
AS
22587 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22588
25dbcb27
AS
22589 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22590 handling of denormals.
22591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22592 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22593 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22594 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22595 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22598 Likewise.
22599
7ad47a80 226002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22601
22602 [BZ #14152]
22603 * math/libm-test.inc (fma_test): Don't always expect underflow
22604 exception.
22605
9c6ea9fa
SP
226062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22607
22608 [BZ #12416]
22609 * elf/tst-execstack.c: Include stackinfo.h.
22610 (do_test): Adjust test case to ensure that pthread_getattr_np
22611 behaviour remains the same after marking stack executable.
22612
a8239222
JM
226132012-05-25 Joseph Myers <joseph@codesourcery.com>
22614
22615 * sysdeps/unix/sysv/linux/kernel-features.h
22616 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22617 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22618 kernel-features.h.
22619 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22620 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22621 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22622 kernel-features.h.
22623 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22624 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22625
918b5606
L
226262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22627
22628 * configure.in: Define the default includes to being none.
22629 * configure: Regenerated.
22630
3a097cc7
RM
226312012-05-25 Roland McGrath <roland@hack.frob.com>
22632
8422c9a5
RM
22633 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22634 * sysdeps/x86_64/setjmp.S: Likewise.
22635 * sysdeps/i386/bsd-setjmp.S: Likewise.
22636 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22637 * sysdeps/i386/setjmp.S: Likewise.
22638 * sysdeps/i386/__longjmp.S: Likewise.
22639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22640 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22641
3a097cc7
RM
22642 * include/stap-probe.h: New file.
22643 * configure.in: Handle --enable-systemtap.
22644 * configure: Regenerated.
22645 * config.h.in (USE_STAP_PROBE): New #undef.
22646 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22647 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22648 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22649
21708942
JM
226502012-05-25 Joseph Myers <joseph@codesourcery.com>
22651
22652 [BZ #13717]
22653 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22654 to 2.4.0 where earlier.
22655 * sysdeps/unix/sysv/linux/configure: Regenerated.
22656 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22657 <kernel-features.h>.
22658 [__ASSUME_32BITUIDS]: Make code unconditional.
22659 [!__ASSUME_32BITUIDS]: Remove conditional code.
22660 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22661 <kernel-features.h>.
22662 [__ASSUME_32BITUIDS]: Make code unconditional.
22663 [!__ASSUME_32BITUIDS]: Remove conditional code.
22664 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22665 [__ASSUME_32BITUIDS]: Make code unconditional.
22666 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22667 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22668 <kernel-features.h>.
22669 [__ASSUME_32BITUIDS]: Make code unconditional.
22670 [!__ASSUME_32BITUIDS]: Remove conditional code.
22671 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22672 <kernel-features.h>.
22673 [__ASSUME_32BITUIDS]: Make code unconditional.
22674 [!__ASSUME_32BITUIDS]: Remove conditional code.
22675 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22676 <kernel-features.h>.
22677 [__ASSUME_32BITUIDS]: Make code unconditional.
22678 [!__ASSUME_32BITUIDS]: Remove conditional code.
22679 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22680 <kernel-features.h>.
22681 [__ASSUME_32BITUIDS]: Make code unconditional.
22682 [!__ASSUME_32BITUIDS]: Remove conditional code.
22683 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22684 <kernel-features.h>.
22685 [__ASSUME_32BITUIDS]: Make code unconditional.
22686 [!__ASSUME_32BITUIDS]: Remove conditional code.
22687 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22688 <kernel-features.h>.
22689 [__ASSUME_32BITUIDS]: Make code unconditional.
22690 [!__ASSUME_32BITUIDS]: Remove conditional code.
22691 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22692 <kernel-features.h>.
22693 [__ASSUME_32BITUIDS]: Make code unconditional.
22694 [!__ASSUME_32BITUIDS]: Remove conditional code.
22695 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22696 <kernel-features.h>.
22697 [__ASSUME_32BITUIDS]: Make code unconditional.
22698 [!__ASSUME_32BITUIDS]: Remove conditional code.
22699 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22700 <kernel-features.h>.
22701 [__ASSUME_32BITUIDS]: Make code unconditional.
22702 [!__ASSUME_32BITUIDS]: Remove conditional code.
22703 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22704 <kernel-features.h>.
22705 [__ASSUME_32BITUIDS]: Make code unconditional.
22706 [!__ASSUME_32BITUIDS]: Remove conditional code.
22707 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22708 <kernel-features.h>.
22709 [__NR_setresgid] (__setresgid): Do not declare.
22710 [__ASSUME_32BITUIDS]: Make code unconditional.
22711 [!__ASSUME_32BITUIDS]: Remove conditional code.
22712 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22713 <kernel-features.h>.
22714 [__NR_setresuid] (__setresuid): Do not declare.
22715 [__ASSUME_32BITUIDS]: Make code unconditional.
22716 [!__ASSUME_32BITUIDS]: Remove conditional code.
22717 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22718 <kernel-features.h>.
22719 [__ASSUME_32BITUIDS]: Make code unconditional.
22720 [!__ASSUME_32BITUIDS]: Remove conditional code.
22721 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22722 <kernel-features.h>.
22723 [__ASSUME_32BITUIDS]: Make code unconditional.
22724 [!__ASSUME_32BITUIDS]: Remove conditional code.
22725 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22726 <kernel-features.h>.
22727 [__ASSUME_32BITUIDS]: Make code unconditional.
22728 [!__ASSUME_32BITUIDS]: Remove conditional code.
22729 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22730 <kernel-features.h>.
22731 [__ASSUME_32BITUIDS]: Make code unconditional.
22732 [!__ASSUME_32BITUIDS]: Remove conditional code.
22733 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22734 <kernel-features.h>.
22735 [__ASSUME_32BITUIDS]: Make code unconditional.
22736 [!__ASSUME_32BITUIDS]: Remove conditional code.
22737 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22738 <kernel-features.h>.
22739 [__ASSUME_32BITUIDS]: Make code unconditional.
22740 [!__ASSUME_32BITUIDS]: Remove conditional code.
22741 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22742 <kernel-features.h>.
22743 [__ASSUME_32BITUIDS]: Make code unconditional.
22744 [!__ASSUME_32BITUIDS]: Remove conditional code.
22745 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22746 <kernel-features.h>.
22747 [__ASSUME_32BITUIDS]: Make code unconditional.
22748 [!__ASSUME_32BITUIDS]: Remove conditional code.
22749 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22750 <kernel-features.h>.
22751 [__ASSUME_32BITUIDS]: Make code unconditional.
22752 [!__ASSUME_32BITUIDS]: Remove conditional code.
22753 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22754 <kernel-features.h>.
22755 [__ASSUME_32BITUIDS]: Make code unconditional.
22756 [!__ASSUME_32BITUIDS]: Remove conditional code.
22757 * sysdeps/unix/sysv/linux/kernel-features.h
22758 (__ASSUME_SETRESUID_SYSCALL): Remove.
22759 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22760 (__ASSUME_32BITUIDS): Likewise.
22761 (__ASSUME_LDT_WORKS): Likewise.
22762 (__ASSUME_O_DIRECTORY): Likewise.
22763 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22764 architecture but not kernel version.
22765 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22766 (__ASSUME_MMAP2_SYSCALL): Likewise.
22767 (__ASSUME_STAT64_SYSCALL): Likewise.
22768 (__ASSUME_IPC64): Likewise.
22769 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22770 <kernel-features.h>.
22771 [__ASSUME_32BITUIDS]: Make code unconditional.
22772 [!__ASSUME_32BITUIDS]: Remove conditional code.
22773 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22774 <kernel-features.h>.
22775 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22776 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22777 132096]: Remove conditional code.
22778 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22779 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22780 <kernel-features.h>.
22781 [__ASSUME_32BITUIDS]: Make code unconditional.
22782 [!__ASSUME_32BITUIDS]: Remove conditional code.
22783 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22784 <kernel-features.h>.
22785 [__ASSUME_32BITUIDS]: Make code unconditional.
22786 [!__ASSUME_32BITUIDS]: Remove conditional code.
22787 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22788 <kernel-features.h>.
22789 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22790 unconditional.
22791 (__setresgid): Do not declare.
22792 [__ASSUME_32BITUIDS]: Make code unconditional.
22793 [!__ASSUME_32BITUIDS]: Remove conditional code.
22794 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22795 <kernel-features.h>.
22796 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22797 unconditional.
22798 (__setresuid): Do not declare.
22799 [__ASSUME_32BITUIDS]: Make code unconditional.
22800 [!__ASSUME_32BITUIDS]: Remove conditional code.
22801 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22802 <kernel-features.h>.
22803 [__ASSUME_32BITUIDS]: Make code unconditional.
22804 [!__ASSUME_32BITUIDS]: Remove conditional code.
22805 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22806 <kernel-features.h>.
22807 [__ASSUME_32BITUIDS]: Make code unconditional.
22808 [!__ASSUME_32BITUIDS]: Remove conditional code.
22809
a386f1cc
RH
228102012-05-25 Richard Henderson <rth@twiddle.net>
22811
22812 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22813 dl_hwcap to ifunc resolver.
22814 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22815 elf_ifunc_invoke.
22816 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22817 dl_hwcap to ifunc resolver.
22818 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22819
b6550497
JM
228202012-05-24 Joseph Myers <joseph@codesourcery.com>
22821
22822 [BZ #14153]
22823 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22824 for |x| <= 2**-26, not 2**-57.
22825 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22826 exception.
22827
b0bc23a1
JL
228282012-05-24 Jeff Law <law@redhat.com>
22829
22830 * stdio-common/Makefile (tests): Add bug25.
22831 * stdio-common/bug25.c: New test.
22832
347c92e9
L
228332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22834
22835 [BZ #13576]
22836 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22837 multiple of MALLOC_ALIGNMENT in size.
22838 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22839
6bcc8b3f
JM
228402012-05-24 Joseph Myers <joseph@codesourcery.com>
22841
22842 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22843 Require >= 256.
22844 (FILENAME_MAX): Use macro-int-constant.
22845 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22846 (_IOFBF): Use macro-int-constant.
22847 (_IOLBF): Likewise.
22848 (_IONBF): Likewise.
22849 (SEEK_CUR): Likewise.
22850 (SEEK_END): Likewise.
22851 (SEEK_SET): Likewise.
22852 (TMP_MAX): Likewise.
22853 (EOF): Use macro-int-constant. Require < 0.
22854 (NULL): Use macro-constant. Require == 0.
22855 (stdin): Require type to be FILE *.
22856 (stdout): Likewise.
22857 (stderr): Likewise.
22858 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22859 macro-int-constant.
22860 (EXIT_SUCCESS): Likewise.
22861 (NULL): Use macro-constant. Require == 0.
22862 (RAND_MAX): Use macro-int-constant.
22863 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22864 [C99-based standards] (strtof): Require function.
22865 [C99-based standards] (strtold): Likewise.
22866 [C99-based standards] (strtoll): Likewise.
22867 [C99-based standards] (strtoull): Likewise.
22868 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22869 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22870 [ISO || ISO99 || ISO11] (math.h): Likewise.
22871 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22872 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22874
d18ea0c5
AS
228752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22876
22877 [BZ #14132]
56d25bb8
AS
22878 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22879 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22880 * intl/dgettext.c (DCGETTEXT): Likewise.
22881 * intl/gettext.c (DCGETTEXT): Likewise.
22882 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22883 * posix/regex_internal.h (gettext): Likewise.
22884 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22885 Remove declaration.
22886 * include/argz.h (__argz_count_internal)
22887 (__argz_stringify_internal): Remove declaration.
22888 (__argz_count, __argz_stringify): Declare hidden proto.
22889 * intl/dcgettext.c: Remove use of INTDEF.
22890 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22891 * string/argz-stringify.c: Likewise.
22892 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22893 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22894 Declare hidden proto.
d18ea0c5
AS
22895 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22896 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22897 Declare hidden proto.
22898 * include/stdio.h (__asprintf_internal): Don't declare.
22899 (__asprintf): Don't define as macro. Declare hidden proto.
22900 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22901 (__fsetlocking): Declare hidden proto.
22902 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22903 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22904 hidden proto.
22905 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22906 (_IO_setlinebuf): Remove use of INTUSE.
22907 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22908 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22909 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22910 Remove declaration.
22911 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22912 (_IO_do_flush): Remove use of INTUSE.
22913 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22914 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22915 (_IO_adjust_column, _IO_least_wmarker)
22916 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22917 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22918 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22919 (_IO_default_doallocate, _IO_wdefault_doallocate)
22920 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22921 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22922 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22923 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22924 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22925 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22926 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22927 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22928 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22929 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22930 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22931 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22932 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22933 proto.
22934 (_IO_flush_all_internal, _IO_adjust_column_internal)
22935 (_IO_default_uflow_internal, _IO_default_finish_internal)
22936 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22937 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22938 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22939 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22940 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22941 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22942 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22943 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22944 (_IO_file_close_internal, _IO_file_close_it_internal)
22945 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22946 (_IO_file_init_internal, _IO_file_attach_internal)
22947 (_IO_file_fopen_internal, _IO_file_read_internal)
22948 (_IO_file_sync_internal, _IO_file_seek_internal)
22949 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22950 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22951 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22952 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22953 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22954 (_IO_list_all_internal, _IO_link_in_internal)
22955 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22956 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22957 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22958 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22959 (_IO_do_write_internal, _IO_padn_internal)
22960 (_IO_getline_info_internal, _IO_getline_internal)
22961 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22962 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22963 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22964 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22965 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22966 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22967 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22968 with libc_hidden_ver, remove use of INTUSE.
22969 * libio/genops.c: Likewise.
22970 * libio/freopen.c: Likewise.
22971 * libio/freopen64.c: Likewise.
22972 * libio/iofclose.c: Likewise.
22973 * libio/iofdopen.c: Likewise.
22974 * libio/iofflush.c: Likewise.
22975 * libio/iofflush_u.c: Likewise.
22976 * libio/iofgets.c: Likewise.
22977 * libio/iofgets_u.c: Likewise.
22978 * libio/iofopen.c: Likewise.
22979 * libio/iofopncook.c: Likewise.
22980 * libio/iofread.c: Likewise.
22981 * libio/iofread_u.c: Likewise.
22982 * libio/ioftell.c: Likewise.
22983 * libio/iofwrite.c: Likewise.
22984 * libio/iogetline.c: Likewise.
22985 * libio/iogets.c: Likewise.
22986 * libio/iogetwline.c: Likewise.
22987 * libio/iopadn.c: Likewise.
22988 * libio/iopopen.c: Likewise.
22989 * libio/ioseekoff.c: Likewise.
22990 * libio/ioseekpos.c: Likewise.
22991 * libio/iosetbuffer.c: Likewise.
22992 * libio/iosetvbuf.c: Likewise.
22993 * libio/ioungetc.c: Likewise.
22994 * libio/ioungetwc.c: Likewise.
22995 * libio/iovdprintf.c: Likewise.
22996 * libio/iovsprintf.c: Likewise.
22997 * libio/iovsscanf.c: Likewise.
22998 * libio/memstream.c: Likewise.
22999 * libio/obprintf.c: Likewise.
23000 * libio/oldfileops.c: Likewise.
23001 * libio/oldiofclose.c: Likewise.
23002 * libio/oldiofdopen.c: Likewise.
23003 * libio/oldiofopen.c: Likewise.
23004 * libio/oldiopopen.c: Likewise.
23005 * libio/oldstdfiles.c: Likewise.
23006 * libio/putc.c: Likewise.
23007 * libio/setbuf.c: Likewise.
23008 * libio/setlinebuf.c: Likewise.
23009 * libio/stdfiles.c: Likewise.
23010 * libio/strops.c: Likewise.
23011 * libio/vasprintf.c: Likewise.
23012 * libio/vscanf.c: Likewise.
23013 * libio/vsnprintf.c: Likewise.
23014 * libio/vswprintf.c: Likewise.
23015 * libio/wfiledoalloc.c: Likewise.
23016 * libio/wfileops.c: Likewise.
23017 * libio/wgenops.c: Likewise.
23018 * libio/wmemstream.c: Likewise.
23019 * libio/wstrops.c: Likewise.
23020 * libio/__fpurge.c: Likewise.
23021 * libio/__fsetlocking.c: Likewise.
23022 * assert/assert.c: Likewise.
23023 * debug/fgets_chk.c: Likewise.
23024 * debug/fgets_u_chk.c: Likewise.
23025 * debug/fread_chk.c: Likewise.
23026 * debug/fread_u_chk.c: Likewise.
23027 * debug/gets_chk.c: Likewise.
23028 * debug/obprintf_chk.c: Likewise.
23029 * debug/vasprintf_chk.c: Likewise.
23030 * debug/vdprintf_chk.c: Likewise.
23031 * debug/vsnprintf_chk.c: Likewise.
23032 * debug/vsprintf_chk.c: Likewise.
23033 * malloc/mtrace.c: Likewise.
23034 * misc/error.c: Likewise.
23035 * misc/syslog.c: Likewise.
23036 * stdio-common/asprintf.c: Likewise.
23037 * stdio-common/fxprintf.c: Likewise.
23038 * stdio-common/getw.c: Likewise.
23039 * stdio-common/isoc99_fscanf.c: Likewise.
23040 * stdio-common/isoc99_scanf.c: Likewise.
23041 * stdio-common/isoc99_vfscanf.c: Likewise.
23042 * stdio-common/isoc99_vscanf.c: Likewise.
23043 * stdio-common/isoc99_vsscanf.c: Likewise.
23044 * stdio-common/printf-prs.c: Likewise.
23045 * stdio-common/printf_fp.c: Likewise.
23046 * stdio-common/printf_fphex.c: Likewise.
23047 * stdio-common/printf_size.c: Likewise.
23048 * stdio-common/putw.c: Likewise.
23049 * stdio-common/scanf.c: Likewise.
23050 * stdio-common/sprintf.c: Likewise.
23051 * stdio-common/tmpfile.c: Likewise.
23052 * stdio-common/vfprintf.c: Likewise.
23053 * stdio-common/vfscanf.c: Likewise.
23054 * stdlib/strfmon_l.c: Likewise.
23055 * sunrpc/openchild.c: Likewise.
23056 * sunrpc/xdr_stdio.c: Likewise.
23057 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23058 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23059
d6c33fda
RM
230602012-05-24 Roland McGrath <roland@hack.frob.com>
23061
c1487492
RM
23062 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23063
23064 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23065 in the third column, to generate for the shared library an IFUNC
23066 that uses _dl_vdso_vsym.
23067 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23068 * Makeconfig (object-suffixes-noshared): New variable.
23069
23070 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23071 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23072 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23073 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23074
d6c33fda
RM
23075 [BZ #14132]
23076 * include/sys/time.h (__gettimeofday): Remove macro.
23077 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23078 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23079 Remove INTDEF.
23080 (__gettimeofday): Add libc_hidden_def.
23081 (gettimeofday): Add libc_hidden_weak.
23082 * sysdeps/mach/gettimeofday.c: Likewise.
23083 * sysdeps/posix/gettimeofday.c: Likewise.
23084 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23085 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23086 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23087 (__gettimeofday_internal): Remove strong_alias.
23088 (__gettimeofday): Add libc_hidden_def.
23089 (gettimeofday): Add libc_hidden_weak.
23090 * sysdeps/unix/syscalls.list (gettimeofday):
23091 Remove __gettimeofday_internal alias.
23092
b5a2bbe6
L
230932012-05-24 Daniel Jacobowitz <drow@false.org>
23094 H.J. Lu <hongjiu.lu@intel.com>
23095
23096 [BZ #12495]
23097 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23098 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23099 (largebin_index_32_big): New.
23100 (largebin_index): Use it for 16-byte alignment.
23101 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23102 correction with front_misalign.
23103
cfba4fda
L
231042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23105
7f907421
L
23106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23108 Likewise.
23109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23110 Likewise.
23111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23112 Likewise.
23113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23114 Likewise.
23115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23116 Likewise.
23117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23118 Likewise.
23119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23120 Likewise.
23121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23122 Likewise.
23123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23124 Likewise.
23125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23126 Likewise.
23127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23128 Likewise.
23129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23130 Likewise.
23131
cfba4fda
L
23132 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23133 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23134
80bad0cc
JM
231352012-05-24 Joseph Myers <joseph@codesourcery.com>
23136
7a25eb06
JM
23137 [BZ #10846]
23138 [BZ #14036]
23139 * math/libm-test.inc (exp_test): Add test from bug 14036.
23140 (pow_test): Add test from bug 10846.
23141
795405f9
JM
23142 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23143 and other flags.
23144 (special_function): Do not include flags in test name.
23145 (parse_args): Likewise.
23146 * sysdeps/i386/fpu/libm-test-ulps: Update.
23147 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23148 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23149 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23151
80bad0cc
JM
23152 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23153 exceptions.
23154 * math/libm-test.inc ("Philosophy"): Update comment about
23155 exception testing.
23156 (UNDERFLOW_EXCEPTION): New macro.
23157 (UNDERFLOW_EXCEPTION_OK): Likewise.
23158 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23159 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23160 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23161 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23162 (INVALID_EXCEPTION_OK): Update value.
23163 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23164 (OVERFLOW_EXCEPTION_OK): Likewise.
23165 (IGNORE_ZERO_INF_SIGN): Likewise.
23166 (test_exceptions): Handle underflow exceptions.
23167 (acos_test): Update for underflow exception expectations.
23168 (cexp_test): Likewise.
23169 (clog_test): Likewise.
23170 (clog10_test): Likewise.
23171 (csqrt_test): Likewise.
23172 (ctan_test): Likewise.
23173 (ctanh_test): Likewise.
23174 (exp_test): Likewise.
23175 (exp10_test): Likewise.
23176 (exp2_test): Likewise.
23177 (expm1_test): Likewise.
23178 (fma_test): Likewise.
23179 (j0_test): Likewise.
23180 (jn_test): Likewise.
23181 (nexttoward_test): Likewise.
23182 (pow_test): Likewise.
23183 (scalbn_test): Likewise.
23184 (scalbln_test): Likewise.
23185 (tan_test): Likewise.
23186 (y1_test): Likewise.
23187 * sysdeps/i386/fpu/libm-test-ulps: Update.
23188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23189
9e0e3d0b
DM
231902012-05-23 David S. Miller <davem@davemloft.net>
23191
23192 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23193 (__libc_sigaction): Remove unused local variables.
23194
ccd0a08f
L
231952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23196
23197 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23198
62bdf9a6
PE
231992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23200
f8591f80
PE
23201 mktime: avoid signed integer overflow
23202 * time/mktime.c (__mktime_internal): Do not mishandle the case
23203 where diff == INT_MIN.
23204
94c7d826
PE
23205 mktime: simplify computation of average
23206 * time/mktime.c (ranged_convert): Use new time_t_avg function
23207 instead of rolling our own (probably-slower) code.
23208
ce73d683
PE
23209 mktime: do not assume signed right shift propagates sign bit
23210 * time/mktime.c (isdst_differ): New static function.
23211 (__mktime_internal): No need to normalize tm_isdst now.
23212 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23213 tm_isdst values.
23214
72a22e59
PE
23215 mktime: merge another wrapv change from gnulib
23216 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23217 from some compilers.
23218
68605433
PE
23219 mktime: remove incorrect attempt at unusual arithmetics
23220 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23221 The code didn't really work on such machines anyway.
23222 (TYPE_MINIMUM): Assume two's complement.
23223 (twos_complement_arithmetic): Verify that long_int and time_t
23224 are two's complement (or unsigned, in the latter case).
23225
03cf7fe3
PE
23226 mktime: check signed shifts on long_int and time_t, too
23227 * time/mktime.c (SHR): Check that shifts work as desired
23228 on the types long_int and time_t too, as SHR is used on
23229 such types.
23230
f04dfbc2
PE
23231 mktime: do not assume 'long' is wide enough
23232 * time/mktime.c (verify): Move decl up.
23233 (long_int): New type.
23234 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23235 to remove assumption in the code that 'long' is wide enough to
23236 store year values. This assumption is not true on x32 and on
23237 some non-glibc platforms.
23238
62bdf9a6
PE
23239 mktime: merge wrapv change from gnulib
23240 * time/mktime.c (WRAPV): New macro.
23241 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23242 (guess_time_tm, __mktime_internal): Do not assume that signed
23243 integer overflow wraps around; modern compilers generate code
23244 where this assumption is no longer valid.
23245
5e292e4f
L
232462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23247
23248 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23249 Replace "jmp L(pseudo_end)" with "ret".
23250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23251 Likewise.
23252
8caf8c87
AJ
232532012-05-23 Andreas Jaeger <aj@suse.de>
23254
23255 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23256 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23257
1a09dc56
AJ
232582012-05-23 Andreas Jaeger <aj@suse.de>
23259 Maximilian Attems <max@stro.at>
23260
23261 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23262 New macros.
23263
1c87aba0
L
232642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23265
23266 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23267 code so that pseudo_end is just ret and the stack pointer is
23268 correct also for static library in error case.
23269
40e45bd5
JM
232702012-05-23 Joseph Myers <joseph@codesourcery.com>
23271
c2670533
JM
23272 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23273 move to syscalls.list.
23274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23278
40e45bd5
JM
23279 * manual/install.texi (Running make install): Do not mention Linux
23280 kernel version for which pt_chown is not needed.
23281 (Linux): Do not mention problems with nscd with 2.0 kernels.
23282 * INSTALL: Regenerated.
23283
be08eda5
AJ
232842012-05-23 Andreas Jaeger <aj@suse.de>
23285
23286 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23287 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23288 macro.
23289 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23290 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23291 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23292 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23293 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23294 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23297 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23298 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23299 * sysdeps/unix/sysv/linux/bits/in.h
23300 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23301
a6a056bb
RM
233022012-05-22 Roland McGrath <roland@hack.frob.com>
23303
23304 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23305 (PREPARE_VERSION): Just use assert instead, it will be elided
23306 under [NDEBUG] anyway.
23307
c9009328
L
233082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23309
23310 * sysdeps/unix/sysv/linux/Makefile: Include
23311 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23312 (sysdep_routines): Remove sysctl.
c9009328
L
23313 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23314 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23315 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23316 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23317 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23318
73338355
AJ
233192012-05-22 Andreas Jaeger <aj@suse.de>
23320
23321 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23322 that pseudo_end is just ret and the stack pointer is correct also
23323 for static library in error case.
23324
d44638b0
PP
233252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23326
23327 [BZ #14122]
23328 * nss/nsswitch.c (defconfig_entries): New variable.
23329 (__nss_database_lookup): Don't leak defconfig entries.
23330 (nss_parse_service_list): Don't leak on error paths.
23331 (free_database_entries): New function.
23332 (free_defconfig): New function.
23333 (free_mem): Move common code to free_database_entries.
23334
31a39bd8
L
233352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23336
da0331a8
L
23337 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23338 Add arch_prctl.
23339 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23340
31a39bd8
L
23341 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23342 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23344 New macro.
23345 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23346 (INTERNAL_SYSCALL_TYPES): Likewise.
23347 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23348 (LOAD_REGS_TYPES_[1-6]): Likewise.
23349 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23350 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23351
45470df3
AZ
233522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23353
23354 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23355 copysignl for GLIBC_2_0.
23356 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23357 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23358 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23359 logbl for GLIBC_2_0.
23360 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23361 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23362
98a61bcb
L
233632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23364
a4f6e481
L
23365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23366 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23367
f63d5db6
L
23368 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23369 Use "neg %eax".
23370
98a61bcb
L
23371 * time/mktime.c: Update copyright years.
23372
95770f14
PE
233732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23374
6226efbd
PE
23375 mktime: merge comment-quoting-style change from gnulib
23376 * time/mktime.c: Quote 'like this' in comments.
23377 The GNU coding standards suggest that we no longer quote `like this',
23378 as "`" and "'" are typically rendered asymmetrically nowadays.
23379 The typical gnulib style is to quote 'like this' when quoting
23380 code, and "like this" when quoting English.
23381
b99e4f78
PE
23382 * time/mktime.c (compile-command): Add "-I.".
23383
643e01e6
PE
23384 mktime: merge mktime-internal.h change from gnulib
23385 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23386
2554247d
PE
23387 mktime: merge time_r change from gnulib
23388 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23389
826dd0ab
PE
23390 mktime: merge DEBUG change from gnulib
23391 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23392 case system <time.h> has a #define.
23393
bd83aabe
PE
23394 mktime: merge <sys/types.h> change from gnulib
23395 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23396 since <time.t> is now guaranteed to define time_t.
23397
95770f14
PE
23398 mktime: merge HAVE_CONFIG_H change from gnulib
23399 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23400
5e1a27a9
L
234012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23402
0e44a77e
L
23403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23404 Use "neg %eax".
23405
5e1a27a9
L
23406 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23407 __rlim_t cast.
23408 (struct rusage): Use anonymous union to pad each field to
23409 __syscall_slong_t.
23410
46259bec
DM
234112012-05-21 David S. Miller <davem@davemloft.net>
23412
23413 * Makefules (o-iterator): Remove .s cases.
23414 (compile-command.s): Delete.
23415 (COMPILE.s): Delete.
23416 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23417
59f0c22e
JM
234182012-05-21 Joseph Myers <joseph@codesourcery.com>
23419
23420 * configure.in (libc_cv_predef_stack_protector): Only consider
23421 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23422 * configure: Regenerated.
23423
20c07380
L
234242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23425
bbb3154b
L
23426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23427 New macro. Use R*LP on int and pointer.
23428 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23429 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23430 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23431 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23432
20c07380
L
23433 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23434 [__WORDSIZE_TIME64_COMPAT32] instead of
23435 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23436 (struct utmp): Likewise.
23437 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23438 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23439 Renamed to ...
23440 (__WORDSIZE_TIME64_COMPAT32): This.
23441 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23442 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23443 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23444 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23445 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23446 (__WORDSIZE_TIME64_COMPAT32): New macro.
23447
d8d1017e
AJ
234482012-05-21 Andreas Jaeger <aj@suse.de>
23449
23450 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23451 only if [SHARED]. Add prototype for __wcschr_ia32.
23452
6c7fb145
RM
234532012-05-21 Roland McGrath <roland@hack.frob.com>
23454
23455 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23456 of %rbp unmolested in the jmp_buf while mangling the low bits.
23457 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23458 unmolested high bits of %rbp while demangling the low bits.
23459 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23460
66274218
AJ
234612012-05-21 Andreas Jaeger <aj@suse.de>
23462
07c58f8f
AJ
23463 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23464 * sunrpc/svc_simple.c: Use it for registerrpc.
23465 * sunrpc/xcrypt.c: Use it for passwd2des.
23466
66274218
AJ
23467 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23468
61f65140
L
234692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23470
23471 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23472 Don't define if [__SYSCALL_WORDSIZE != 32].
23473 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23474 New macro.
23475
5fefb436
AJ
234762012-05-21 Bruno Haible <bruno@clisp.org>
23477 Andreas Jaeger <aj@suse.de>
23478
23479 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23480 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23481 inptr and inend for must_buffer_ch.
23482 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23483 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23484 * stdio-common/Makefile (tests): Remove bug15.
23485 (bug15-ENV): Remove macro.
23486 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23487 anymore.
23488
d8e272ab
AJ
234892012-05-19 Andreas Jaeger <aj@suse.de>
23490 Roland McGrath <roland@hack.frob.com>
23491
23492 * manual/contrib.texi: Completely rewritten. It contains now an
23493 alphabetical list of contributors and their contributions.
23494
4a56a162
RH
234952012-05-21 Richard Henderson <rth@twiddle.net>
23496
23497 * misc/getauxval.c (__getauxval): Use unsigned long int.
23498 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23499 (getauxval): Use unsigned long int.
23500
d024d23c
L
235012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23502
23503 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23504
cbc00a03
RM
235052012-05-21 Roland McGrath <roland@hack.frob.com>
23506
23507 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23508 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23509 __alignof__ (long double).
23510
478143fa
AZ
235112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23512
23513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23514
c7683a6d
RH
235152012-05-20 Richard Henderson <rth@twiddle.net>
23516
23517 * misc/getauxval.c: New file.
23518 * misc/sys/auxv.h: New file.
23519 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23520 (routines): Add getauxval.
23521 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23522 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23523 * elf/dl-sysdep.c (_dl_auxv): Remove.
23524 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23525 * elf/dl-support.c (_dl_auxv): New variable.
23526 (_dl_aux_init): Initialize it.
23527 * manual/startup.texi (Auxiliary Vector): New node.
23528 * sysdeps/generic/bits/hwcap.h: New file.
23529 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23530 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23531 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23532 * sysdeps/sparc/sysdep.h: ... here. Include it.
23533 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23536 Update.
c7683a6d
RH
23537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23545
a6f1845d
AZ
235462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23547
23548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23549
cbcbe830
DM
235502012-05-19 David S. Miller <davem@davemloft.net>
23551
23552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23553
e0b16cc2
JM
235542012-05-19 Joseph Myers <joseph@codesourcery.com>
23555
23556 [BZ #14123]
23557 * math/s_ccosh.c: Include <float.h>
23558 (__ccosh): Avoid internal overflow calculating sinh and cosh
23559 values before multiplying by sin and cos values.
23560 * math/s_ccoshf.c: Likewise.
23561 * math/s_ccoshl.c: Likewise.
23562 * math/s_csin.c: Likewise.
23563 * math/s_csinf.c: Likewise.
23564 * math/s_csinl.c: Likewise.
23565 * math/s_csinh.c: Likewise.
23566 * math/s_csinhf.c: Likewise.
23567 * math/s_csinhl.c: Likewise.
23568 * math/libm-test.inc (ccos_test): Add more tests.
23569 (ccosh_test): Likewise.
23570 (csin_test): Likewise.
23571 (csinh_test): Likewise.
23572 * sysdeps/i386/fpu/libm-test-ulps: Update.
23573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23574
6ad13e08
L
235752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23576
f66f0ce8
L
23577 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23578 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23579
6ad13e08
L
23580 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23581
b1d072a7
JM
235822012-05-19 Joseph Myers <joseph@codesourcery.com>
23583
23584 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23585 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23586 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23587 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23588 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23589 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23590 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23591 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23592 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23593 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23594 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23595 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23596 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23597 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23598 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23599 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23600 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23601 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23602 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23603 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23604 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23605 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23606 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23607 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23608 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23609 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23610 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23611 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23612 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23613 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23614 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23615
9eae47cb
AJ
236162012-05-18 Andreas Jaeger <aj@suse.de>
23617
23618 * csu/.gitignore: Delete.
23619
bb07f69f
L
236202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23621
23622 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23623 (timex): Use __syscall_slong_t.
23624
e6bdb741
AJ
236252012-05-18 Andreas Jaeger <aj@suse.de>
23626 Carlos O'Donell <carlos_odonell@mentor.com>
23627
23628 * manual/install.texi (Configuring and compiling): Update
23629 description about files modified in the source directory.
d6c33fda 23630 * INSTALL: Regenerated.
e6bdb741 23631
1b74487e
L
236322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23633
23634 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23635 value. Use "or" to set return value to -1.
23636 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23637 negate return value.
23638
a88b64b9
TMQMF
236392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23640
23641 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23642 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23643 failure if the compiler has Graphite support disabled.
23644 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23645 Likewise.
23646 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23647 CFLAGS-memmove.c): Likewise.
23648 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23649 Likewise.
23650
3707636e
L
236512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23652
610b8622
L
23653 * sysdeps/x86_64/x32/_itoa.h: New file.
23654
7cd195df
L
23655 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23656 getdents system call only if kernel and user dirents have the
23657 same d_ino and d_off.
23658
94b07d20
L
23659 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23660 LLONG_MAX != LONG_MAX.
23661 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23662 (_fitoa_word): Likewise.
23663
18298070
L
23664 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23665 years.
23666 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23667 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23668 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23669
553c7ea4
L
23670 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23671 include <bits/wordsize.h>. Check __x86_64__ instead of
23672 __WORDSIZE.
23673 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23674 if __x86_64__ is defined. Use anonymous union on fpstate.
23675
3707636e
L
23676 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23677 anonymous union.
23678
b53ef01a
AS
236792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23680
37fb1dc0
AS
23681 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23682 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23683 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23684 Refer to _rtld_local_ro instead of _rtld_global_ro.
23685 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23686 Likewise.
23687 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23688 Likewise.
23689 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23690 Likewise.
23691 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23692 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23693 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23694
b53ef01a
AS
23695 * sysdeps/powerpc/powerpc32/dl-machine.c
23696 (__elf_machine_runtime_setup) [PROF]: Don't reference
23697 _dl_prof_resolve.
23698
7a185db2
AJ
236992012-05-18 Andreas Jaeger <aj@suse.de>
23700
23701 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23702 function only available for GCCs before 3.4 since GCC 3.4
23703 introduced a builtin.
23704 (lrint): Likewise.
23705 (llrintf): Likewise.
23706 (llrint): Likewise.
23707 (fmaxf): Likewise.
23708 (fmax): Likewise.
23709 (fminf): Likewise.
23710 (fmin): Likewise.
23711 (rint): Likewise.
23712 (rintf): Likewise.
23713 (nearbyint): Likewise.
23714 (nearbyintf): Likewise.
23715 (ceil): Likewise.
23716 (ceilf): Likewise.
23717 (floor): Likewise.
23718 (floorf): Likewise.
23719
3e5aef87
L
237202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23721
428bd707
L
23722 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23723 on both fields and cast pointer to __syscall_ulong_t.
23724
3e5aef87
L
23725 * bits/types.h (__fsword_t): New type.
23726 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23727 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23729 (__FSWORD_T_TYPE): Likewise.
23730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23731 (__FSWORD_T_TYPE): Likewise.
23732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23733 (__FSWORD_T_TYPE): Likewise.
23734 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23735 (__FSWORD_T_TYPE): Likewise.
23736 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23737 __SWORD_TYPE with __fsword_t.
23738 (statfs64): Likewise.
23739
1ba7c3dc
DM
237402012-05-17 David S. Miller <davem@davemloft.net>
23741
23742 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23743
59910343
AJ
237442012-05-17 Andreas Jaeger <aj@suse.de>
23745
23746 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23747 warning.
23748
2e4c1e9e
L
237492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23750
23751 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23752
de7f5ce7
AJ
237532012-05-17 Andreas Jaeger <aj@suse.de>
23754
23755 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23756 when it is used.
23757
286abc3d
CM
237582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23759
23760 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23761
477cc68e
L
237622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23763
23764 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23765 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23766
1a0994f5
CD
237672012-05-17 Andreas Jaeger <aj@suse.de>
23768 Carlos O'Donell <carlos_odonell@mentor.com>
23769
23770 [BZ #14059]
23771 * sysdeps/x86_64/multiarch/init-arch.h
23772 (bit_YMM_Usable): Rename to...
23773 (bit_AVX_Usable): ... this.
23774 (bit_FMA4_Usable): New macro.
23775 (bit_XMM_state): New macro.
23776 (bit_YMM_state): New macro.
23777 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23778 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23779 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23780 (CPUID_OSXSAVE): New macro.
23781 (CPUID_AVX): New macro.
23782 (CPUID_FMA4): New macro.
23783 (index_YMM_Usable): Rename to...
23784 (index_AVX_Usable): ... this.
23785 (HAS_AVX): Use HAS_ARCH_FEATURE.
23786 (HAS_FMA4): Likewise.
23787 (HAS_YMM_USABLE): Remove.
23788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23789 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23790 are present.
23791 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23792 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23793 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23794 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23795 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23796
0af797de
CM
237972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23798
23799 * math/libm-test.c: Support platforms without multiple rounding modes.
23800 * math/bug-nextafter.c: Support platforms without FP exceptions.
23801 * math/bug-nexttoward.c: Likewise.
23802 * math/test-fenv.c: Likewise.
23803 * math/test-misc.c: Likewise.
23804 * stdlib/bug-getcontext.c: Likewise.
23805
e39745ff
AJ
238062012-05-17 Andreas Jaeger <aj@suse.de>
23807
23808 * manual/examples/search.c (critter_cmp): Change signature to
23809 avoid warnings.
23810 * manual/string.texi (Collation Functions): Likewise.
23811
48970aba
L
238122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23813
23814 * bits/types.h: Fold copyright years.
23815 * bits/typesizes.h: Likewise.
23816 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23818 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23820 * time/time.h: Likewise.
23821
bedee953
PP
238222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23823
23824 [BZ #208]
23825 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23826 in instead of returning them. Return void.
23827 (__libc_mallinfo): Accumulate over all arenas.
23828 (__malloc_stats): Adjust for change in int_mallinfo interface.
23829
61653dfb
RM
238302012-05-16 Roland McGrath <roland@hack.frob.com>
23831
30b99d79
RM
23832 [BZ #10375]
23833 * configure.in (NM): Add AC_CHECK_TOOL for it.
23834 (libc_extra_cflags): New substituted variable.
23835 Check for -fstack-protector being used implicitly.
23836 * configure: Regenerated.
23837 * config.make.in (config-extra-cflags): New variable,
23838 gets @libc_extra_cflags@.
23839 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23840
61653dfb
RM
23841 [BZ #10375]
23842 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23843 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23844 * configure: Regenerated.
23845 * config.make.in (CPPUNDEFS): New substituted variable.
23846 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23847 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23848 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23849
661768bb
L
238502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23851
23852 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23853 (mq_attr): Use __syscall_slong_t.
23854
d4261567
L
238552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23856
23857 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23858 Check __x86_64__ instead of __WORDSIZE.
23859 (_STAT_VER_LINUX): Likewise.
23860 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23861 __syscall_ulong_t and __syscall_slong_t.
23862 (stat64): Likewise.
23863
cf3ff365
L
238642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23865
23866 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23867
76cf3e4d
L
238682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23869
23870 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23871
a637753a
L
238722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23873
23874 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23875 __syscall_ulong_t.
23876
d5e05119
L
23877 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23878 include <bits/wordsize.h>. Check __x86_64__ instead of
23879 __WORDSIZE.
23880 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23881 defined.
23882 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23883
f62ee380
L
23884 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23885 include <bits/wordsize.h>. Check __x86_64__ instead of
23886 __WORDSIZE.
23887 (user_regs_struct): Use "__extension__ unsigned long long"
23888 instead of "unsigned long" if __x86_64__ is defined.
23889 (user): Likewise. Pad after pointer field if __ILP32__ is
23890 defined.
23891
4e124ced
JM
238922012-05-16 Joseph Myers <joseph@codesourcery.com>
23893
6a3951a0
JM
23894 * configure.in (makeinfo): Require version 4.5 or later. Allow
23895 versions 5 to 9.
23896 * configure: Regenerated.
23897 * manual/install.texi (texinfo): Increase version requirement to
23898 4.5 or later.
23899 * INSTALL: Regenerated.
23900
4e124ced
JM
23901 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23902
953ca31a
L
239032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23904
23905 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23906
617aca05
L
23907 * sysdeps/x86_64/x32/ffs.c: New file.
23908
5762f7ae
L
23909 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23910 __syscall_ulong_t.
23911 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23912 defined. Use __syscall_ulong_t.
23913 (shminfo): Use __syscall_ulong_t.
23914 (shm_info): Likewise.
23915
a26b6856
L
23916 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23917 __syscall_ulong_t.
23918
cb2b9ef7
L
23919 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23920 <bits/wordsize.h>.
23921 (msgqnum_t): Use __syscall_ulong_t.
23922 (msglen_t): Likewise.
23923 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23924 __syscall_ulong_t.
23925
34683bb0
L
23926 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23927 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23928
84a68786
L
23929 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23930
48baa5f1
L
23931 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23932 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23933
180be88b
L
23934 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23935 __syscall_slong_t.
23936
5e90c8ad
L
23937 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23938 include <bits/wordsize.h>. Check __x86_64__ instead of
23939 __WORDSIZE.
23940
23dfb58b
L
23941 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23942 "unsigned long long int" if __x86_64__ is defined.
23943 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23944
ce5d54b0
L
23945 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23946 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23947 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23948
13dc9eac
L
23949 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23950 <stdint.h>.
23951 (GET_PC): Cast to uintptr_t first.
23952 (GET_FRAME): Likewise.
23953 (GET_STACK): Likewise.
23954
a7895d15
L
23955 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23956 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23957 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23958 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23959 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23960 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23961 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23962 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23963 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23964 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23965 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23966 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23967 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23968 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23969 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23970 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23971 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23972 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23973 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23974 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23975 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23976 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23977 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23978 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23979 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23980 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23981 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23982 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23983 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23984
656416c9
AS
239852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23986
5bd66283
AS
23987 * Makerules (+depfiles): Also collect depfiles from .oS in
23988 $(extra-objs).
23989 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23990 .oS, $(libnldbl-routines)).
23991
656416c9
AS
23992 * Makerules (native-compile-mkdep-flags): Define.
23993 * sunrpc/Makefile (extra-objs): Add $(addprefix
23994 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23995 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23996 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23997 calling $(make-target-directory).
23998
a46f2169
L
239992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24000
24001 * bits/types.h (__snseconds_t): Removed.
24002 * time/time.h (struct timespec): Replace __snseconds_t with
24003 __syscall_slong_t.
24004 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24005 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24006 Likewise.
24007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24008 (__SNSECONDS_T_TYPE): Likewise.
24009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24010 (__SNSECONDS_T_TYPE): Likewise.
24011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24012 (__SNSECONDS_T_TYPE): Likewise.
24013
6af6528b
L
240142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24015
24016 * sysdeps/mach/hurd/bits/typesizes.h
24017 (__SYSCALL_SLONG_TYPE): New macro.
24018 (__SYSCALL_ULONG_TYPE): Likewise.
24019
de986b56
L
240202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24021
24022 * bits/types.h (__syscall_slong_t): New type.
24023 (__syscall_ulong_t): Likewise.
24024
24025 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24026 (__SYSCALL_ULONG_TYPE): Likewise.
24027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24028 (__SYSCALL_SLONG_TYPE): Likewise.
24029 (__SYSCALL_ULONG_TYPE): Likewise.
24030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24031 (__SYSCALL_SLONG_TYPE): Likewise.
24032 (__SYSCALL_ULONG_TYPE): Likewise.
24033 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24034 (__SYSCALL_SLONG_TYPE): Likewise.
24035 (__SYSCALL_ULONG_TYPE): Likewise.
24036
85736dc7
L
240372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24038
24039 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24040 Add sigaltstack-offsets.sym.
24041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24042 <sigaltstack-offsets.h>.
24043 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24044 longjmp_msg pointer.
24045 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24046 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24047 signal stack.
24048 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24049
cc03b296
JM
240502012-05-15 Joseph Myers <joseph@codesourcery.com>
24051
a9538892
JM
24052 * elf/stackguard-macros.h: Remove file.
24053 * sysdeps/generic/stackguard-macros.h: New file.
24054 * sysdeps/i386/stackguard-macros.h: Likewise.
24055 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24056 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24057 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24058 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24059 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24060 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24061 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24062 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24063 <elf/stackguard-macros.h>.
24064
cc03b296
JM
24065 [BZ #14109]
24066 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24067 __aligned__ in attribute.
24068 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24069 (gregset_t): Likewise.
24070
93171016
L
240712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24072
24073 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24074 * sysdeps/x86_64/64/Implies-after: Here. New file.
24075 * sysdeps/x86_64/x32/Implies-after: New file.
24076
d86813a0
L
240772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24078
24079 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24080 and access return value for _dl_profile_fixup. Use R10_LP to
24081 load frame size.
24082
2953ec75
L
240832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24084
24085 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24086
3b550e9e
L
240872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24088
24089 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24090 * sysdeps/x86_64/x32/sysdep.h: New file.
24091
eda41706
L
240922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24093
24094 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24095 * sysdeps/x86_64/setjmp.S: Likewise.
24096
9ea01d93
AZ
240972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24098
24099 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24100 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24101 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24102 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24103 remove unused global constant.
24104
02a91938
CM
241052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24106
24107 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24108 include of <not-cancel.h>.
24109
6540185f
RM
241102012-05-15 Roland McGrath <roland@hack.frob.com>
24111
24112 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24113
509072a0
AJ
241142012-05-15 Jeff Law <law@redhat.com>
24115 Andreas Jaeger <aj@suse.de>
24116
24117 [BZ #13594]
24118 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24119 out from...
24120 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24121 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24122 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24123 code changing __hst_map_handle.map.
24124
ba75122d
RM
241252012-05-15 Roland McGrath <roland@hack.frob.com>
24126
24127 * configure.in (sysnames): Look for Implies-before and Implies-after
24128 files.
24129 * configure: Regenerated.
24130
890d8bd8
L
241312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24132
24133 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24134 8-byte data alignment with LP_SIZE alignment.
24135
f6ee6623
L
241362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24137
24138 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24139 into R10_LP.
24140
ea2626f6
L
241412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24142
24143 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24144
085f715e
L
241452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24146
24147 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24148 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24149 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24150 Likewise.
24151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24152
be8498fc
L
241532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24154
24155 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24156 (stackinfo_sub_sp): Likewise.
24157
70bc83b9
L
241582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24159
24160 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24161 RAX_LP.
24162
9bc0b730
L
241632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24164
24165 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24166 into R*_LP.
24167
6d2850e7
L
241682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24169
24170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24171 sizes into R*_LP.
24172
3cb84561
L
241732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24174
24175 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24176
54e2ed81
L
241772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24178
24179 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24180 into R11_LP and load __x86_64_shared_cache_size_half into
24181 R8_LP.
24182
8a17f349
L
241832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24184
24185 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24186 R8_LP.
24187
777b1eea
AZ
241882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24189
24190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24191 logb for POWER7.
24192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24193 logbf for POWER7.
24194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24195 logbl for POWER7.
24196 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24197 powerpc32/power7/fpu/s_logb.c via #include.
24198 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24199 powerpc32/power7/fpu/s_logbf.c via #include.
24200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24201 powerpc32/power7/fpu/s_logbl.c via #include.
24202
d20d4ac2
JM
242032012-05-15 Joseph Myers <joseph@codesourcery.com>
24204
24205 * README.libm: Remove file.
24206
6cdef1ab
L
242072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24208
24209 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24210 count for x32. Use R*_LP and omit operand-size suffix.
24211
0b254d8f
L
242122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24213
24214 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24215 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24216 * sysdeps/x86_64/x32/shlib-versions: New file.
24217
ceb809dc
RM
242182012-05-14 Roland McGrath <roland@hack.frob.com>
24219
24220 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24221 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24222 Use _dl_fatal_printf instead.
24223
37f1abd4
JM
242242012-05-14 Joseph Myers <joseph@codesourcery.com>
24225
24226 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24227 set if not set by the user. Do not allow for being unset.
24228 * sysdeps/unix/sysv/linux/configure: Regenerated.
24229
11de3a33
L
242302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24231
24232 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24233 the `q' suffix from lea and replace .quad with ASM_ADDR.
24234
e02f153a
L
242352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24236
24237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24238 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24239 instead of $17.
24240 (PTR_DEMANGLE): Likewise.
24241
520ae0fd
L
242422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24243
24244 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24245 (LP_OP): Likewise.
24246 (ASM_ADDR): Likewise.
24247 (RAX_LP): Likewise.
24248 (RBP_LP): Likewise.
24249 (RBX_LP): Likewise.
24250 (RCX_LP): Likewise.
24251 (RDI_LP): Likewise.
24252 (RSI_LP): Likewise.
24253 (RSP_LP): Likewise.
24254 (R8_LP): Likewise.
24255 (R9_LP): Likewise.
24256 (R10_LP): Likewise.
24257 (R10_LP): Likewise.
24258 (R11_LP): Likewise.
24259 (R12_LP): Likewise.
24260 (R13_LP): Likewise.
24261 (R14_LP): Likewise.
24262 (R15_LP): Likewise.
24263
b985be81
L
242642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24265
24266 * sysdeps/x86_64/x32/dl-machine.h: New file.
24267
6a4888ff
AJ
242682012-05-14 Andreas Jaeger <aj@suse.de>
24269
24270 * manual/Makefile (subdir): Remove export of subdir.
24271 (all): Remove target.
24272 (.PHONY): Remove all from list.
24273 (mkinstalldirs): Remove.
24274 (.PHONY): Remove installdirs from list.
24275 ($(inst_infodir)/libc.info): Use make-target-directory.
24276 (installdirs): Remove.
24277 (subdir_%): Remove.
24278 (glibc-targets): Remove.
24279 (lib): Remove.
24280 (stubs): Remove.
24281 ($(objpfx)stubs ../po/manual.pot): Remove.
24282 ($(objpfx)stamp%): Remove.
24283 (make-target-directory): Remove.
24284 (subdir_install): Remove.
24285 (routines): Remove.
24286 (aux): Remove.
24287 (sources): Remove.
24288 (objects): Remove.
24289 (headers): Remove.
24290
24291 [BZ #13750]
24292 * manual/.gitignore: Remove, it's not needed anymore.
24293 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24294 all files in it.
24295 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24296 directory.
24297 (texis): Renamed to $(objpfx)texis.
24298 (texis-path): New, contains path to generated files.
24299 (chapters.%): Use texis-path for complete path, add extra argument
24300 libc-texinfo.sh.
24301 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24302 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24303 (summary,texi, stamp-summary): Use complete path of
24304 files. Generate files in build dir.
24305 (dir-add.texi): Build in build dir.
24306 (libm-err.texi,stamp-libm-err): Likewise.
24307 (version.texi, stamp-version): Likewise.
24308 (.%c.texi): Likewise.
24309 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24310 (mostlyclean): Remove target.
24311 (realclean): Remove target.
24312 (generated): Add new variable with contents from mostlyclean and
24313 realclean, remove entries duplicated in common-mostlyclean, add
24314 stamp-libm-err and stamp-version.
24315 (generated-dirs): Add libc directory.
24316 ($(inst_infodir)/libc.info): Install files from build dir.
24317
24318 * manual/install.texi (Configuring and compiling): Adjust since
24319 the info files are not part of the tar ball anymore.
24320
7ac77294
AJ
243212012-05-14 Andreas Jaeger <aj@suse.de>
24322
24323 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24324 variable.
24325
ffb7875d
JM
243262012-05-14 Joseph Myers <joseph@codesourcery.com>
24327
24328 [BZ #13717]
24329 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24330 to 2.2.0 where earlier.
24331 * sysdeps/unix/sysv/linux/configure: Regenerated.
24332 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24333 Remove conditional code.
24334 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24335 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24336 Remove conditional code.
24337 [!__NR_lchown]: Likewise.
24338 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24339 [__NR_lchown]: Likewise.
24340 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24341 comment referencing __ASSUME_LCHOWN_SYSCALL.
24342 * sysdeps/unix/sysv/linux/i386/sigaction.c
24343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24345 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24346 Remove conditional code.
24347 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24348 (__protocol_available): Remove #if 0 code.
24349 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24350 conditional code.
24351 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24352 * sysdeps/unix/sysv/linux/kernel-features.h
24353 (__ASSUME_GETCWD_SYSCALL): Don't define.
24354 (__ASSUME_REALTIME_SIGNALS): Likewise.
24355 (__ASSUME_PREAD_SYSCALL): Likewise.
24356 (__ASSUME_PWRITE_SYSCALL): Likewise.
24357 (__ASSUME_POLL_SYSCALL): Likewise.
24358 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24359 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24360 non-SPARC.
24361 (__ASSUME_SIOCGIFNAME): Don't define.
24362 (__ASSUME_MSG_NOSIGNAL): Likewise.
24363 (__ASSUME_SENDFILE): Define unconditionally.
24364 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24365 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24366 conditional code.
24367 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24368 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24369 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24370 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24371 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24372 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24373 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24375 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24376 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24378 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24381 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24384 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24387 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24390 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24396 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24398 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24399 Remove conditional code.
24400 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24401 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24402 Remove conditional code.
24403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24404 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24405 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24406 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24407 Remove conditional code.
24408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24409 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24410 Remove conditional code.
24411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24412 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24413 Remove conditional code.
24414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24415 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24416 Remove conditional code.
24417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24418 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24419 Remove conditional code.
24420 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24421 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24422 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24424 * sysdeps/unix/sysv/linux/sigaction.c
24425 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24426 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24427 * sysdeps/unix/sysv/linux/sigpending.c
24428 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24429 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24430 * sysdeps/unix/sysv/linux/sigprocmask.c
24431 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24432 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24433 * sysdeps/unix/sysv/linux/sigsuspend.c
24434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24436 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24437 (__libc_missing_rt_sigs): Remove.
24438 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24439 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24440 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24441 Remove conditional code.
24442 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24443 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24444 return 1.
24445 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24446 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24447 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24448 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24449
1bfb7291
AJ
244502012-05-14 Andreas Jaeger <aj@suse.de>
24451
caae5a81
AJ
24452 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24453 it's not used in glibc.
24454 (__coshm1): Likewise.
24455 (__acosh1p): Likewise.
24456 (__sgn): Likewise.
24457
1bfb7291
AJ
24458 * manual/string.texi (Copying and Concatenation): Add missing
24459 variable in concat example.
24460 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24461
c044d724
L
244622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24463
144c5467 24464 [BZ #14103]
c044d724
L
24465 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24466 __builtin_clzl with __builtin_clzll.
24467
2523c62b
L
244682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24469
24470 [BZ #14104]
24471 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24472 libc_freeres_ptr.
24473
d7bb4c42
LD
244742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24475
24476 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24477 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24478 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24480
9dc4e1fb
MF
244812012-05-14 Mike Frysinger <vapier@gentoo.org>
24482
24483 * NEWS: Update ia64 info.
24484
c7df0112
AS
244852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24486
24487 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24488 used as bcopy.
24489
dc70356c
TS
244902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24491
24492 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24493 * sysdeps/unix/syscalls.list (dup3): Likewise.
24494 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24495 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24496
9fb1a21f
L
244972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24498
24499 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24500 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24501
4822a2a5
L
245022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24503
24504 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24505 thread pointer.
24506 (TLS_IE): Use mov/add instead of movq/addq to load thread
24507 pointer.
24508 (TLS_GD_PREFIX): New.
24509 (TLS_GD): Use it.
24510
842b81d6
DM
245112012-05-11 David S. Miller <davem@davemloft.net>
24512
24513 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24514 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24515 (_FPU_SETCW): Likewise.
24516
1cf463cd
L
245172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24518
24519 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24520 is 32-byte aligned.
24521
60cc4a18
AS
245222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24523
24524 [BZ #11837]
24525 * iconvdata/gb18030.c: Update tables.
24526 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24527 characters specially.
24528 (BODY for TO_LOOP): Add encoding of missing ranges.
24529
febb44a4
TS
245302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24531
24532 [BZ #13673]
24533 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24534 * sysdeps/mach/hurd/dup3.c: Likewise.
24535 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24536 * sysdeps/powerpc/memmove.c:: Likewise.
24537
0a10fb9e
L
245382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24539
24540 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24541 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24542
df8a552f
L
245432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24544
24545 * elf/elf.h (R_X86_64_RELATIVE64): New.
24546 (R_X86_64_NUM): Updated.
24547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24548 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24549 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24550 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24551 tst-quad1pie tst-quad2pie
24552 (modules-names): Add tst-quadmod1 tst-quadmod2.
24553 ($(objpfx)tst-quad1): New dependency.
24554 ($(objpfx)tst-quad2): Likewise.
24555 ($(objpfx)tst-quad1pie): Likewise.
24556 ($(objpfx)tst-quad2pie): Likewise.
24557 * sysdeps/x86_64/tst-quad1.c: New file.
24558 * sysdeps/x86_64/tst-quad1pie.c: New file.
24559 * sysdeps/x86_64/tst-quad2.c: Likewise.
24560 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24561 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24562 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24563 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24564 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24565
f34d6f84
ST
245662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24567
f42d41d1
ST
24568 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24569 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24570 * streams/stropts.h (t_scalar_t): Define type.
24571
3c3571fc
ST
24572 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24573 (_PATH_PRESERVE): Set to "/var/lib".
24574 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24575
61f06bd3
ST
24576 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24577 instead of int.
24578
918d4d71
ST
24579 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24580 if __dir_mkfile succeeded.
24581
f34d6f84
ST
24582 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24583 checking for _hurd_dtablesize. Unlock it right after having
24584 finished _hurd_dtable allocation.
24585
10589b4a
TS
245862012-05-10 Thomas Schwinge <thomas@schwinge.name>
24587
674cdbc7
TS
24588 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24589 * sysdeps/mach/hurd/configure: Regenerated.
24590 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24591 special-casing to...
24592 * sysdeps/gnu/configure.in: ... this new file.
24593 * sysdeps/unix/sysv/linux/configure: Regenerated.
24594 * sysdeps/gnu/configure: New generated file.
24595
8e41b99f
TS
24596 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24597 for Linux: use nsec instead of usec, as well as:
24598 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24599 members of type struct timespec.
24600 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24601 New macros.
24602 (struct stat64): Likewise.
24603 (_STATBUF_ST_NSEC): New macro.
24604 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24605
10589b4a
TS
24606 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24607 __strtoul_internal rather than strtoul.
24608
63643c85
PT
246092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24610
24611 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24612 and reject them.
24613
3faebe6a
ST
246142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24615
24616 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24617 which preserves existing values.
24618 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24619
c6474b07
PT
246202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24621
24622 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24623 TIMEOUT values. Return EINVAL for NFDS values either negative or
24624 greater than FD_SETSIZE.
24625
1043890b
ST
246262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24627
24628 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24629 allocated, call __vm_protect to finish enabling the existing space, and
24630 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24631 allocate the remainder.
24632
37ed8b9b
PT
246332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24634
24635 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24636 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24637
db653660
ST
246382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24639
37ed8b9b
PT
24640 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24641 sysdeps/mach/hurd/readlink.c.
b29d4053 24642
db653660
ST
24643 * posix/tst-sysconf.c (posix_options): Only use
24644 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24645 _POSIX_SYNCHRONIZED_IO when they are defined
24646 * sysdeps/mach/hurd/bits/posix_opt.h:
24647 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24648 (_XOPEN_REALTIME): Undefine macro.
24649 (_XOPEN_REALTIME_THREADS): Undefine macro.
24650 (_XOPEN_SHM): Undefine macro.
24651 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24652 macro to -1.
24653 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24654 macro to -1.
24655 (_POSIX_ASYNC_IO): Undefine macro.
24656 (_POSIX_PRIORITIZED_IO): Undefine macro.
24657 (_POSIX_SPIN_LOCKS): Define macro to -1.
24658
ee16e894
ST
24659 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24660 SA_NODEFER, SA_RESETHAND.
24661 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24662 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24663 F_DUPFD_CLOEXEC.
24664
6103ae3b
TS
246652012-05-10 Thomas Schwinge <thomas@schwinge.name>
24666
24667 * elf/Makefile (pldd-modules): Define unconditionally.
24668
80b4e5f3
TS
246692012-05-10 Thomas Schwinge <thomas@schwinge.name>
24670
24671 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24672
edadcbd6
ST
246732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24674
24675 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24676 Return ENOENT when name is empty.
24677 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24678
80694780
TS
246792012-05-10 Thomas Schwinge <thomas@schwinge.name>
24680
1792c087
TS
24681 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24682
80694780
TS
24683 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24684
6b645f0d
ST
246852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24686
80694780
TS
24687 Fix mlock in all cases except non-readable pages.
24688 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24689 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24690
6b645f0d
ST
24691 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24692 (__mkdir): When path is `/', just fail with EEXIST.
24693 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24694
e468f8a3
TS
246952012-05-10 Thomas Schwinge <thomas@schwinge.name>
24696
24697 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24698 <sys/uio.h> (for writev).
24699 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24700 and <sys/param.h> (for MIN).
24701
a4186cff
PT
247022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24703
24704 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24705 REQUESTED_TIME. Properly set the remaining time and return EINTR
24706 if interrupted.
24707
510bbf14
TS
247082012-05-10 Thomas Schwinge <thomas@schwinge.name>
24709
24710 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24711 Depend on against $(link-rpcuserlibs).
24712
5d5722e8
ST
247132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24714
a4186cff
PT
24715 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24716 (__libc_stack_end): Do not use attribute_relro.
24717 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24718 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24719 to libthread-provided value.
a4186cff
PT
24720 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24721 attribute_relro.
5d5722e8 24722
37233df9
TS
247232012-05-10 Thomas Schwinge <thomas@schwinge.name>
24724
be971a2b
TS
24725 [BZ #3748]
24726 * bits/libc-lock.h (__libc_once_get): New macro.
24727 * sysdeps/mach/bits/libc-lock.h: Likewise.
24728 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24729 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24730 instead of using implementation details.
24731
37233df9
TS
24732 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24733 * libio/freopen.c: Likewise.
24734 * libio/freopen64.c: Likewise.
24735 * misc/syslog.c: Likewise.
24736 * nscd/connections.c: Likewise.
24737 * nscd/netgroupcache.c: Likewise.
24738 * sysdeps/posix/getcwd.c: Likewise.
24739
38de94a5
RM
247402012-05-10 Roland McGrath <roland@hack.frob.com>
24741
24742 * math/w_ilogbf.c: Add #include <limits.h>.
24743
67530489
ST
247442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24745
a4186cff 24746 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24747 path instead of returning without unlocking.
24748
67530489
ST
24749 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24750 immediate-write ioctls.
24751 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24752
5aa3a74a
TS
247532012-05-10 Thomas Schwinge <thomas@schwinge.name>
24754
18bad2ae
TS
24755 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24756 __builtin_frame_address instead of making assumptions about the
24757 location of the return address relative to DATA. Force early load of
24758 the return address.
24759 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24760 __builtin_frame_address.
24761
5aa3a74a
TS
24762 dup3 for GNU Hurd.
24763 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24764 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24765 implement dup3 and do some further code clean-ups.
24766 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24767 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24768
ecd0de9a
ST
247692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24770
cd9fa985
ST
24771 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24772
a4186cff
PT
24773 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24774 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24775 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24776 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24777 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24778 d->port.lock.
802ca5a5 24779
a4186cff
PT
24780 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24781 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24782 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24783
bcf55240
TS
247842012-05-10 Thomas Schwinge <thomas@schwinge.name>
24785
6960eb42
TS
24786 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24787 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24788 definitions.
24789
eb43375f
TS
24790 accept4 for GNU Hurd.
24791 * include/sys/socket.h (__libc_accept4): New prototype.
24792 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24793 to implement __libc_accept4.
24794 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24795 __libc_accept4.
24796 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24797
bcf55240
TS
24798 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24799 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24800 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24801 signal-defines.sym.
24802
6178c55b
ST
248032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24804
a4186cff 24805 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24806
6f080c2f
TS
248072012-05-10 Thomas Schwinge <thomas@schwinge.name>
24808
24809 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24810 assertion on O_CLOEXEC flag.
24811 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24812 * hurd/intern-fd.c: Likewise.
24813 * hurd/port2fd.c: Likewise.
24814
bcfe3a54
ST
248152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24816
24817 [BZ #3906]
24818 * bits/in.h (IPV6_PKTINFO): Define new macro.
24819 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24820
89c9aa49
AZ
248212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24822
24823 [BZ #13954]
24824 [BZ #13955]
24825 [BZ #13956]
24826 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24828 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24829 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24831 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24832 * math/libm-test.inc (logb_test) : Additional logb tests.
24833
021db4be
AJ
248342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24835 Andreas Jaeger <aj@suse.de>
24836
24837 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24838 * configure: Regenerated.
24839 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24840 * config.make.in (link-obsolete-rpc): New substituted variable.
24841 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24842 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24843 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24844 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24845 so that libc.a contains the symbols.
24846 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24847 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24848 * sunrpc/auth_none.c: Likewise.
24849 * sunrpc/auth_unix.c: Likewise.
24850 * sunrpc/authdes_prot.c: Likewise.
24851 * sunrpc/authuxprot.c: Likewise.
24852 * sunrpc/clnt_gen.c: Likewise.
24853 * sunrpc/clnt_perr.c: Likewise.
24854 * sunrpc/clnt_raw.c: Likewise.
24855 * sunrpc/clnt_simp.c: Likewise.
24856 * sunrpc/clnt_tcp.c: Likewise.
24857 * sunrpc/clnt_udp.c: Likewise.
24858 * sunrpc/clnt_unix.c: Likewise.
24859 * sunrpc/des_crypt.c: Likewise.
24860 * sunrpc/des_soft.c: Likewise.
24861 * sunrpc/get_myaddr.c: Likewise.
24862 * sunrpc/key_call.c: Likewise.
24863 * sunrpc/key_prot.c: Likewise.
24864 * sunrpc/netname.c: Likewise.
24865 * sunrpc/pm_getmaps.c: Likewise.
24866 * sunrpc/pm_getport.c: Likewise.
24867 * sunrpc/pmap_clnt.c: Likewise.
24868 * sunrpc/pmap_prot.c: Likewise.
24869 * sunrpc/pmap_prot2.c: Likewise.
24870 * sunrpc/pmap_rmt.c: Likewise.
24871 * sunrpc/publickey.c: Likewise.
24872 * sunrpc/rpc_cmsg.c: Likewise.
24873 * sunrpc/rpc_common.c: Likewise.
24874 * sunrpc/rpc_dtable.c: Likewise.
24875 * sunrpc/rpc_prot.c: Likewise.
24876 * sunrpc/rpc_thread.c: Likewise.
24877 * sunrpc/rtime.c: Likewise.
24878 * sunrpc/svc.c: Likewise.
24879 * sunrpc/svc_auth.c: Likewise.
24880 * sunrpc/svc_raw.c: Likewise.
24881 * sunrpc/svc_run.c: Likewise.
24882 * sunrpc/svc_tcp.c: Likewise.
24883 * sunrpc/svc_udp.c: Likewise.
24884 * sunrpc/svc_unix.c: Likewise.
24885 * sunrpc/svcauth_des.c: Likewise.
24886 * sunrpc/xcrypt.c: Likewise.
24887 * sunrpc/xdr.c: Likewise.
24888 * sunrpc/xdr_array.c: Likewise.
24889 * sunrpc/xdr_float.c: Likewise.
24890 * sunrpc/xdr_intXX_t.c: Likewise.
24891 * sunrpc/xdr_mem.c: Likewise.
24892 * sunrpc/xdr_rec.c: Likewise.
24893 * sunrpc/xdr_ref.c: Likewise.
24894 * sunrpc/xdr_sizeof.c: Likewise.
24895 * sunrpc/xdr_stdio.c: Likewise.
24896
b5c086a2
RM
248972012-05-10 Roland McGrath <roland@hack.frob.com>
24898
24899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24900 change. Update copyright years.
24901
6d74dd09
JM
249022012-05-10 Joseph Myers <joseph@codesourcery.com>
24903
24904 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24905
28e72501
MK
249062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24907 Joseph Myers <joseph@codesourcery.com>
24908 Paul Pluzhnikov <ppluzhnikov@google.com>
24909
24910 [BZ #14012]
24911 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24912 requiring rpcgen.
24913 [cross-compiling] (extra-libs): Likewise.
24914 [cross-compiling] (extra-libs-others): Likewise.
24915 [cross-compiling] (librpcsvc-routines): Likewise.
24916 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24917 [cross-compiling] (omit-deps): Likewise.
24918 (sunrpc-CPPFLAGS): New variable.
24919 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24920 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24921 (cross-rpcgen-objs): New variable.
24922 (extra-objs): Append $(cross-rpcgen-objs).
24923 ($(cross-rpcgen-objs)): New rule.
24924 ($(objpfx)cross-rpcgen): Likewise.
24925 (rpcgen-cmd): Define to use $(built-program-file). Expand
24926 comment.
24927 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24928 ($(objpfx)x%.stmp): Likewise.
24929 * sunrpc/proto.h [IS_IN_build] (_): Define.
24930 [IS_IN_build] (_libc_intl_domainname): Likewise.
24931
c8c59454
L
249322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24933
24934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24935 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24936 and R_X86_64_TPOFF64.
24937
6f27cd16
JM
249382012-05-10 Joseph Myers <joseph@codesourcery.com>
24939
24940 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24941 sysdeps/unix/sysv/syscalls.list.
24942 (stime): Likewise.
24943 (utime): Likewise.
24944 * sysdeps/unix/sysv/syscalls.list: Remove file.
24945
02467e1c
PE
249462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24947
24948 [BZ #3440]
24949 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24950 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24951 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24952 (__LC_IDENTIFICATION): Make these macros useful in #if
24953 expressions, as required by C99.
24954
da392631
AS
249552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24956
24957 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24958 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24959 after this.
24960
8115f29b
L
249612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24962
24963 * stdlib/longlong.h: Updated from GCC.
24964
bdd74070
AJ
249652012-05-09 Andreas Jaeger <aj@suse.de>
24966
edfe0dbe
AJ
24967 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24968 default is first entry.
24969 (run_mode): Set type.
24970 (main): Remove informal message about syslog.
24971 (options): Fix typo.
24972
bcfe3a54
ST
24973 [BZ #14053]
24974 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24975 to asm.
bcfe3a54
ST
24976 (lrint): Likewise.
24977 (llrintf): Likewise.
24978 (llrint): Likewise.
24979 (rint): Likewise.
24980 (rintf): Likewise.
24981 (nearbyint): Likewise.
24982 (nearbyintf): Likewise.
bdd74070 24983
91d8d69e
AJ
249842012-05-09 Andreas Jaeger <aj@suse.de>
24985 Pedro Alves <palves@redhat.com>
24986
24987 * nscd/nscd.c (run_mode): Use enum.
24988 (main): Cleanup coding style issue.
24989
bb90b80b
AJ
249902012-05-09 Alexandre Oliva <aoliva@redhat.com>
24991 Andreas Jaeger <aj@suse.de>
24992
bcfe3a54
ST
24993 * nscd/nscd.c (go_background): Replaced with...
24994 (run_mode): ... this.
bb90b80b 24995 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24996 (options): Add -F --foreground.
24997 (main): Implement it.
24998 (parse_opt): Parse it.
bb90b80b 24999
1a4b75a1
AJ
250002012-05-09 Andreas Jaeger <aj@suse.de>
25001
25002 [BZ #14083]
25003 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25004 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25005 -Wconversion warning.
25006 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25007 Likewise.
25008
b1cc2472
JM
250092012-05-09 Joseph Myers <joseph@codesourcery.com>
25010
25011 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25012 == 0.
25013 (LC_ALL): Use macro-int-constant.
25014 (LC_COLLATE): Likewise.
25015 (LC_CTYPE): Likewise.
25016 (LC_MESSAGES): Likewise.
25017 (LC_MONETARY): Likewise.
25018 (LC_NUMERIC): Likewise.
25019 (LC_TIME): Likewise.
25020 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25021 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25023 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25024 Specify type.
25025 [C99-based standards] (float_t): Expect type.
25026 [C99-based standards] (double_t): Expect type.
25027 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25028 type.
25029 [C99-based standards] (HUGE_VALL): Likewise.
25030 [C99-based standards] (INFINITY): Likewise.
25031 [C99-based standards] (NAN): Likewise.
25032 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25033 [C99-based standards] (FP_NAN): Likewise.
25034 [C99-based standards] (FP_NORMAL): Likewise.
25035 [C99-based standards] (FP_SUBNORMAL): Likewise.
25036 [C99-based standards] (FP_ZERO): Likewise.
25037 [C99-based standards] (FP_FAST_FMA): Use
25038 optional-macro-int-constant. Specify type. Require == 1.
25039 [C99-based standards] (FP_FAST_FMAF): Likewise.
25040 [C99-based standards] (FP_FAST_FMAL): Likewise.
25041 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25042 [C99-based standards] (FP_ILOGBNAN): Likewise.
25043 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25044 Specify type.
25045 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25046 [C99-based standards] (math_errhandling): Specify type.
25047 [ISO99 || ISO11] (signgam): Do not allow.
25048 [non-C99-based standards] (copysignf): Do not allow.
25049 [non-C99-based standards] (exp2f): Likewise.
25050 [non-C99-based standards] (log2f): Likewise.
25051 [non-C99-based standards] (modff): Allow.
25052 [non-C99-based standards] (erff): Do not allow.
25053 [non-C99-based standards] (erfcf): Likewise.
25054 [non-C99-based standards] (gammaf): Likewise.
25055 [non-C99-based standards] (hypotf): Likewise.
25056 [non-C99-based standards] (j0f): Likewise.
25057 [non-C99-based standards] (j1f): Likewise.
25058 [non-C99-based standards] (jnf): Likewise.
25059 [non-C99-based standards] (lgammaf): Likewise.
25060 [non-C99-based standards] (tgammaf): Likewise.
25061 [non-C99-based standards] (y0f): Likewise.
25062 [non-C99-based standards] (y1f): Likewise.
25063 [non-C99-based standards] (ynf): Likewise.
25064 [non-C99-based standards] (isnanf): Likewise.
25065 [non-C99-based standards] (acoshf): Likewise.
25066 [non-C99-based standards] (asinhf): Likewise.
25067 [non-C99-based standards] (atanhf): Likewise.
25068 [non-C99-based standards] (cbrtf): Likewise.
25069 [non-C99-based standards] (expm1f): Likewise.
25070 [non-C99-based standards] (ilogbf): Likewise.
25071 [non-C99-based standards] (log1pf): Likewise.
25072 [non-C99-based standards] (logbf): Likewise.
25073 [non-C99-based standards] (nextafterf): Likewise.
25074 [non-C99-based standards] (remainderf): Likewise.
25075 [non-C99-based standards] (rintf): Likewise.
25076 [non-C99-based standards] (scalbf): Likewise.
25077 [non-C99-based standards] (copysignl): Likewise.
25078 [non-C99-based standards] (exp2l): Likewise.
25079 [non-C99-based standards] (log2l): Likewise.
25080 [non-C99-based standards] (modfl): Allow.
25081 [non-C99-based standards] (erfl): Do not allow.
25082 [non-C99-based standards] (erfcl): Likewise.
25083 [non-C99-based standards] (gammal): Likewise.
25084 [non-C99-based standards] (hypotl): Likewise.
25085 [non-C99-based standards] (j0l): Likewise.
25086 [non-C99-based standards] (j1l): Likewise.
25087 [non-C99-based standards] (jnl): Likewise.
25088 [non-C99-based standards] (lgammal): Likewise.
25089 [non-C99-based standards] (tgammal): Likewise.
25090 [non-C99-based standards] (y0l): Likewise.
25091 [non-C99-based standards] (y1l): Likewise.
25092 [non-C99-based standards] (ynl): Likewise.
25093 [non-C99-based standards] (isnanl): Likewise.
25094 [non-C99-based standards] (acoshl): Likewise.
25095 [non-C99-based standards] (asinhl): Likewise.
25096 [non-C99-based standards] (atanhl): Likewise.
25097 [non-C99-based standards] (cbrtl): Likewise.
25098 [non-C99-based standards] (expm1l): Likewise.
25099 [non-C99-based standards] (ilogbl): Likewise.
25100 [non-C99-based standards] (log1pl): Likewise.
25101 [non-C99-based standards] (logbl): Likewise.
25102 [non-C99-based standards] (nextafterl): Likewise.
25103 [non-C99-based standards] (remainderl): Likewise.
25104 [non-C99-based standards] (rintl): Likewise.
25105 [non-C99-based standards] (scalbl): Likewise.
25106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25107 [non-C99-based standards] (FP_*): Do not allow.
25108 [C99-based standards] (FP_*): Change to
25109 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25110 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25111 allow.
25112 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25113 (SIG_ERR): Likewise.
25114 [X/Open-based standards] (SIG_HOLD): Likewise.
25115 (SIG_IGN): Likewise.
25116 (SIGABRT): Use macro-int-constant. Specify type. Require
25117 positive value.
25118 (SIGFPE): Likewise.
25119 (SIGILL): Likewise.
25120 (SIGINT): Likewise.
25121 (SIGSEGV): Likewise.
25122 (SIGTER): Likewise.
25123 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25124 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25125 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25126 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25127 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25128 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25129 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25130 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25131 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25132 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25133 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25134 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25135 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25136 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25137 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25138 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25139 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25140 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25141 [X/Open-based standards] (SIGTRAP): Likewise.
25142 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25143 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25144 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25145 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25146 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25147 allow.
25148
b9f1922d
IW
251492012-05-08 Ian Wienand <ianw@vmware.com>
25150
25151 [BZ #14080]
25152 * time/tzset.c (__tzset_parse_tz): Update default rules for
25153 daylight time changes in the Energy Policy Act of 2005.
25154
1db86e88
AJ
251552012-05-09 Andreas Jaeger <aj@suse.de>
25156
25157 [BZ #13983]
25158 * elf/ldconfig.c (parse_conf): Change string to make clear that
25159 ldconfig only issued a warning if ld.so.conf does not exist.
25160
dee4a4e3
DM
251612012-05-08 David S. Miller <davem@davemloft.net>
25162
ee0db190
DM
25163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25164 movxtod instead of popping the value on the stack.
25165
dee4a4e3
DM
25166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25167
6a43ec98
CD
251682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25169
25170 * config.h.in: Add HAVE_ARM_PCS_VFP.
25171
05c2c961
RMG
251722012-05-08 Roland Mc Grath <roland@hack.frob.com>
25173
bcfe3a54
ST
25174 [BZ #13979]
25175 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25176 checking but the checks are disabled for any reason.
05c2c961 25177
4b30f61a
L
251782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25179
25180 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25181 and ELF64_R_TYPE with ELFW(R_TYPE).
25182
eee2bc67
JM
251832012-05-08 Joseph Myers <joseph@codesourcery.com>
25184
7ea5391a
JM
25185 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25186 (ulimit): Likewise.
25187
eee2bc67
JM
25188 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25189 (settimeofday): Likewise.
25190
abb66a67
MF
251912012-05-08 Mike Frysinger <vapier@gentoo.org>
25192
25193 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25194 a struct th_u2 inside the union, and move tu_block/tu_code into
25195 a new th_u3 union of tu_block/tu_code inside of that. Move
25196 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25197 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25198 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25199 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25200 (th_stuff): Change to th_u1.tu_stuff.
25201 (th_data): Define.
25202 (th_msg): Change to th_u1.th_u2.tu_data.
25203
7f18b530
DM
252042012-05-07 David S. Miller <davem@davemloft.net>
25205
05760585
DM
25206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25207
7f18b530
DM
25208 [BZ #14074]
25209 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25210 (SETUP_PIC_REG): Use it.
25211 (SETUP_PIC_REG_LEAF): Use it.
25212
495fd99f
JM
252132012-05-07 Joseph Myers <joseph@codesourcery.com>
25214
25215 [BZ #13885]
25216 [BZ #13923]
25217 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25218 USE_AS_EXPM1L.
25219 (EXPL_FINITE): Likewise.
25220 (FLDLOG): Likewise.
25221 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25222 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25223 e_expl.S.
25224 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25225 USE_AS_EXPM1L.
25226 (EXPL_FINITE): Likewise.
25227 (FLDLOG): Likewise.
25228 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25229 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25230 e_expl.S.
25231 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25232 test of -max_value argument for long double.
25233 * sysdeps/i386/fpu/libm-test-ulps: Update.
25234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25235
6693d694
DM
252362012-05-06 David S. Miller <davem@davemloft.net>
25237
25238 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25239 quad soft-float symbols whose references which are compiler
25240 generated.
25241 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25242
6c23e11c
JM
252432012-05-06 Joseph Myers <joseph@codesourcery.com>
25244
d8b82cad
JM
25245 [BZ #13884]
25246 [BZ #13914]
25247 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25248 USE_AS_EXP10L.
25249 (EXPL_FINITE): Likewise.
25250 (FLDLOG): Likewise.
25251 (c0): Likewise.
25252 (c1): Likewise.
25253 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25254 Adjust comments for base varying.
25255 (__expl_finite): Change alias to EXPL_FINITE.
25256 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25257 e_expl.S.
25258 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25259 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25260 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25261 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25262 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25263 USE_AS_EXP10L.
25264 (EXPL_FINITE): Likewise.
25265 (FLDLOG): Likewise.
25266 (c0): Likewise.
25267 (c1): Likewise.
25268 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25269 Adjust comments for base varying.
25270 (__expl_finite): Change alias to EXPL_FINITE.
25271 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25272 tests for bugs.
25273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25274
6c23e11c
JM
25275 [BZ #14064]
25276 * math/libm-test.inc (check_float_internal): Correct ulp
25277 calculation for subnormal expected results.
25278
29ba805c
AJ
252792012-05-06 Andreas Jaeger <aj@suse.de>
25280
25281 * Makeconfig (+math-flags): New, set to -frounding-math.
25282 (+cflags): Add +math-flags so that all of glibc gets compiled with
25283 it.
25284
25285 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25286
7b17aeda
JM
252872012-05-05 Joseph Myers <joseph@codesourcery.com>
25288
5779f134
JM
25289 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25290 Disable one test.
25291
41498f4d
JM
25292 [BZ #13787]
25293 [BZ #13922]
25294 [BZ #14036]
25295 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25296 (__ieee754_expl): Allow for and saturate large arguments.
25297 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25298 (u_threshold): Likewise.
25299 (__exp): Call __ieee754_exp before checking for overflow and
25300 underflow.
25301 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25302 (u_threshold): Likewise.
25303 (__expf): Call __ieee754_expf before checking for overflow and
25304 underflow.
25305 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25306 (u_threshold): Likewise.
25307 (__expl): Call __ieee754_expl before checking for overflow and
25308 underflow.
25309 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25310 (__ieee754_expl): Allow for and saturate large arguments.
25311 * math/libm-test.inc (exp_test): Add another test. Do not allow
25312 missing overflow exception on overflow.
25313 (expm1_test): Do not allow missing overflow exception on overflow.
25314
6698b8bf
JM
25315 * sysdeps/i386/fpu/e_expl.c: Move to ...
25316 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25317 rather than using inline asm.
25318 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25319 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25320 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25321
7b17aeda
JM
25322 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25323 (nice): Likewise.
25324 (poll): Likewise.
25325 (signal): Likewise.
25326 (time): Likewise.
25327 (times): Likewise.
25328
f7c85819
JM
253292012-05-04 Joseph Myers <joseph@codesourcery.com>
25330
25331 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25332 sysdeps/unix/common/syscalls.list.
25333 (fchmod): Likewise.
25334 (fchown): Likewise.
25335 (ftruncate): Likewise.
25336 (getrusage): Likewise.
25337 (gettimeofday): Likewise.
25338 (setpgid): Likewise.
25339 (setregid): Likewise.
25340 (setreuid): Likewise.
25341 (sigaction): Likewise.
25342 (truncate): Likewise.
25343 (vhangup): Likewise.
25344 * sysdeps/unix/common/syscalls.list: Remove file.
25345 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25346 * sysdeps/unix/sysv/linux/Implies: Likewise.
25347
336270d0
L
253482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25349
25350 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25352 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25353 Moved to ...
25354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25355 Here.
25356 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25357 to ...
25358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25359 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25360 to ...
25361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25362 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25363 to ...
25364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25365 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25366 to ...
25367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25368 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25369 to ...
25370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25371 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25372 to ...
25373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25374 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25375 to ...
25376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25377 Here.
25378 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25379 to ...
25380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25381 Here.
25382 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25383 to ...
25384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25385 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25386 Moved to ...
25387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25388 Here.
25389 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25390 to ...
25391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25392
d128e450
JM
253932012-05-04 Joseph Myers <joseph@codesourcery.com>
25394
fa8ee516
JM
25395 * sysdeps/unix/common/bits/dirent.h: Remove file.
25396 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25397
d128e450
JM
25398 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25399 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25400 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25401 * sysdeps/unix/bsd/isatty.c: Likewise.
25402 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25403 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25404 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25405
ff8faaf0 254062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25407
62881be4 25408 [BZ #13563]
31dc8730
AZ
25409 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25410 long double comparison inaccuracies.
25411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25413
6fef930c
AS
254142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25415
25416 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25418
8f203e6c
JM
254192012-05-04 Joseph Myers <joseph@codesourcery.com>
25420
25421 [BZ #14049]
25422 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25423 nonzero digits before rounding a hex value.
25424 * stdlib/tst-strtod.c (tests): Add another test.
25425
5197d9c2
AK
254262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25427
25428 * sysdeps/s390/fpu/libm-test-ulps: Update.
25429
f0c1dedf
AJ
254302012-05-03 Andreas Jaeger <aj@suse.de>
25431
25432 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25433 does not get optimized out.
25434 (malloc_opt_barrier): New.
25435
a65ef2ae 254362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25437 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25438
2b942cb7 25439 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25440 intermediate file deletion.
2b942cb7 25441 (generated): Add .symlist files.
a65ef2ae 25442
54b71e02
JM
254432012-05-03 Joseph Myers <joseph@codesourcery.com>
25444
25445 [BZ #13775]
25446 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25447 Redirect under this condition.
25448 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25449 [__USE_GNU] (__dprintf_chk): Not under this condition.
25450 [__USE_GNU] (__vdprintf_chk): Likewise.
25451 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25452 under this condition.
25453 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25454 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25455 [__USE_XOPEN2K8] (vdprintf): Likewise.
25456 [__USE_GNU] (__dprintf_chk): Not under this condition.
25457 [__USE_GNU] (__vdprintf_chk): Likewise.
25458 [__USE_GNU] (dprintf): Likewise.
25459 [__USE_GNU] (vdprintf): Likewise.
25460
d3dfcc41
RM
254612012-05-03 Roland McGrath <roland@hack.frob.com>
25462
25463 * elf/Makefile (common-generated): Set this instead of generated for
25464 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25465 $(all-built-dso)-derived lists.
25466
7ac30cc5
AJ
254672012-05-03 Andreas Jaeger <aj@suse.de>
25468
0c51e550
AJ
25469 * sysdeps/i386/fpu/libm-test-ulps: Update.
25470
7ac30cc5
AJ
25471 * FAQ: Removed.
25472 * FAQ.in: Likewise.
25473 * scripts/gen-FAQ.pl: Likewise.
25474 * manual/install.texi (Installation): Point to online location of
25475 FAQ.
25476 * Makefile (files-for-dist): Remove FAQ.
25477 (FAQ): Remove.
25478
d4c2917f
AM
254792012-05-02 Allan McRae <allan@archlinux.org>
25480
25481 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25482 (LDFLAGS-reldepmod5.so): Likewise.
25483 (LDFLAGS-reldep6mod1.so): Likewise.
25484 (LDFLAGS-reldep6mod4.so): Likewise.
25485 (LDFLAGS-reldep8mod3.so): Likewise.
25486 (LDFLAGS-unload4mod1.so): Likewise.
25487 (LDFLAGS-unload4mod2.so): Likewise.
25488 (LDFLAGS-tst-initorder): Likewise.
25489 (LDFLAGS-tst-initordera2.so): Likewise.
25490 (LDFLAGS-tst-initordera3.so): Likewise.
25491 (LDFLAGS-tst-initordera4.so): Likewise.
25492 (LDFLAGS-tst-initorderb2.so): Likewise.
25493 (LDFLAGS-noload): Likewise.
25494 (LDFLAGS-next): Likewise.
25495 (LDFLAGS-order2mod1.so): Likewise.
25496 (LDFLAGS-order2mod2.so): Likewise.
25497 (LDFLAGS-tst-initorder2): Likewise.
25498 (LDFLAGS-tst-initorder2a.so): Likewise.
25499 (LDFLAGS-tst-initorder2b.so): Likewise.
25500 (LDFLAGS-tst-initorder2c.so): Likewise.
25501 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25502
d77f993f
DM
255032012-05-02 David S. Miller <davem@davemloft.net>
25504
25505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25506
171a70b4
PP
255072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25508
25509 [BZ #14055]
25510 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25511
0be196ad
AJ
255122012-05-02 Andreas Jaeger <aj@suse.de>
25513
25514 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25515 since we manipulate rounding mode.
25516 (CPPFLAGS-test-idouble.c): Likewise.
25517 (CPPFLAGS-test-ifloat.c): Likewise.
25518 (CFLAGS-test-ldouble.c): Likewise.
25519 (CFLAGS-test-double.c): Likewise.
25520 (CFLAGS-test-float.c): Likewise.
25521 (CFLAGS-test-misc.c): Likewise.
25522 (CFLAGS-test-test-fenv.c): Likewise.
25523
4f9d04aa
AZ
255242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25525
2b942cb7
RM
25526 [BZ #2550]
25527 [BZ #2570]
25528 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25529 comparisons to determine direction to adjust input.
4f9d04aa 25530
82a79e7d
RM
255312012-05-01 Roland McGrath <roland@hack.frob.com>
25532
f5a01ca9
RM
25533 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25534 output to the target.
25535
90fe4186
RM
25536 * scripts/localplt.awk: New file.
25537 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25538 (check-localplt-CFLAGS): Variable removed.
25539 ($(all-built-dso:=.jmprel)): New static pattern rule.
25540 (generated): Add those targets.
25541 (localplt-built-dso): New variable.
25542 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25543
25544 * elf/check-localplt.c: File removed.
25545
82397ed6
RM
25546 * scripts/check-execstack.awk: New file.
25547 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25548 (check-execstack-CFLAGS): Variable removed.
25549 ($(objpfx)check-execstack.h): Target removed.
25550 ($(objpfx)execstack-default): New target.
25551 (generated): Add that instead of check-execstack.h.
25552 ($(all-built-dso:=.phdr)): New static pattern rule.
25553 (generated): Add those targets.
25554 * elf/check-execstack.c: File removed.
25555
82a79e7d
RM
25556 * scripts/check-textrel.awk: New file.
25557 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25558 (check-textrel-CFLAGS): Variable removed.
25559 (all-built-dso): Use := to define.o
25560 ($(all-built-dso:=.dyn)): New static pattern rule.
25561 (generated): Add those targets.
25562 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25563 * config.make.in (READELF): New substituted variable.
25564 * elf/check-textrel.c: File removed.
25565
62fde54f 255662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25567
615605c9
JM
25568 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25569 allow.
25570 * conform/data/ctype.h-data [C99-based standards] (isblank):
25571 Expect function.
25572 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25573 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25574 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25575 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25576 Specify type. Require positive value.
25577 (EILSEQ): Likewise.
25578 (ERANGE): Likewise.
25579 [ISO || POSIX] (EILSEQ): Do not expect.
25580 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25581 Specify type. Require positive value.
25582 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25583 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25584 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25585 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25586 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25587 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25588 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25589 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25590 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25591 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25592 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25593 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25594 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25595 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25596 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25597 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25598 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25599 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25600 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25601 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25602 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25603 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25604 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25605 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25606 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25607 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25608 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25609 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25610 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25611 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25612 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25613 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25614 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25615 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25616 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25617 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25618 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25619 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25620 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25621 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25622 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25623 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25624 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25625 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25626 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25627 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25629 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25630 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25635 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25636 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25637 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25638 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25639 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25640 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25641 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25646 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25647 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25648 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25649 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25650 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25652 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25654 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25655 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25656 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25657 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25658 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25659 Require >= 2.
25660 (FLT_ROUNDS): Expect as macro, not constant.
25661 (FLT_MANT_DIG): Use macro-int-constant.
25662 (DBL_MANT_DIG): Likewise.
25663 (LDBL_MANT_DIG): Likewise.
25664 (FLT_DIG): Likewise.
25665 (DBL_DIG): Likewise.
25666 (LDBL_DIG): Likewise.
25667 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25668 (DBL_MIN_EXP): Likewise.
25669 (LDBL_MIN_EXP): Likewise.
25670 (FLT_MAX_EXP): Use macro-int-constant.
25671 (DBL_MAX_EXP): Likewise.
25672 (LDBL_MAX_EXP): Likewise.
25673 (FLT_MAX_10_EXP): Likewise.
25674 (DBL_MAX_10_EXP): Likewise.
25675 (LDBL_MAX_10_EXP): Likewise.
25676 (FLT_MAX): Use macro-constant.
25677 (DBL_MAX): Likewise.
25678 (LDBL_MAX): Likewise.
25679 (FLT_EPSILON): Use macro-constant. Give upper bound.
25680 (DBL_EPSILON): Likewise.
25681 (LDBL_EPSILON): Likewise.
25682 (FLT_MIN): Likewise.
25683 (DBL_MIN): Likewise.
25684 (LDBL_MIN): Likewise.
25685 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25686 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25687 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25688 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25689 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25690 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25691 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25692 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25693 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25694 [ISO11] (FLT_TRUE_MIN): Likewise.
25695 [ISO11] (LDBL_TRUE_MIN): Likewise.
25696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25697 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25698 (SCHAR_MIN): Use macro-int-constant. Specify type.
25699 (SCHAR_MAX): Likewise.
25700 (UCHAR_MAX): Likewise.
25701 (CHAR_MIN): Likewise.
25702 (CHAR_MAX): Likewise.
25703 (MB_LEN_MAX): Use macro-int-constant.
25704 (SHRT_MIN): Use macro-int-constant. Specify type.
25705 (SHRT_MAX): Likewise.
25706 (USHRT_MAX): Likewise.
25707 (INT_MAX): Likewise.
25708 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25709 bound negative.
25710 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25711 bound with "U".
25712 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25713 bound with "L".
25714 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25715 bound negative. Suffix upper bound with "L".
25716 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25717 bound with "UL".
25718 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25719 Specify type.
25720 [C99-based standards] (LLONG_MAX): Likewise.
25721 [C99-based standards] (ULLONG_MAX): Likewise.
25722 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25723 == 0.
25724 [ISO11] (max_align_t): Require type.
25725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25726
c9140a62
JM
25727 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25728 from $CFLAGS, without defining away __attribute__ calls.
25729 (checknamespace): Use $CFLAGS_namespace.
25730
9af0bf29
JM
25731 * conform/conformtest.pl (@keywords): Only include C99 keywords
25732 for standards based on C99 or C11.
25733
343222a2
JM
25734 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25735 Disable tests.
25736 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25737 UNIX98]: Likewise.
25738
661f8cf0
JM
25739 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25740 usability of symbols in #if.
25741
ee74b9cb
JM
25742 * conform/conformtest.pl: If macro or constant types start
25743 "promoted:", expect the symbol to be of the following type
25744 promoted by the integer promotions.
62fde54f 25745
aafc49b3
JM
25746 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25747 in one place. Also handle "macro-constant".
25748
fefdf574
JM
25749 * conform/conformtest.pl: Only accept expected macro values with
25750 "==". Parse all "macro" lines in one place.
25751 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25752
f2d922fe
JM
25753 * conform/conformtest.pl: Handle braced types on "constant" lines
25754 instead of handling "typed-constant".
25755 * conform/data/signal.h-data: Use "constant" instead of
25756 "typed-constant".
25757
d22956c9
JM
25758 * conform/conformtest.pl: Handle "optional-" at start of lines in
25759 one place rather than duplicating several cases. Handle each
25760 format of "macro" line with initial "optional-".
25761
028e2e38
JM
25762 * conform/conformtest.pl: Only accept expected constant or
25763 optional-constant values with "==". Parse all "constant" lines in
25764 one place. Parse all "optional-constant" lines in one place.
25765 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25766 * conform/data/fmtmsg.h-data: Likewise.
25767 * conform/data/netinet/in.h-data: Likewise.
25768 * conform/data/tar.h-data: Likewise.
25769 * conform/data/limits.h-data: Use "==" form on "constant" and
25770 "optional-constant" lines.
25771
1b8f2850
JM
25772 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25773 Use -std=c99 for XOPEN2K.
25774 (@knownproblems): Remove.
25775 (newtoken): Don't check %isknown.
25776
a05a144b
JM
25777 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25778 Do not expect macro.
25779 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25780 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25781 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25782 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25783 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25784 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25785 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25786 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25787 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25788 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25789 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25790 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25791 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25792 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25793 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25794 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25795 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25796 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25797 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25798 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25799 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25800 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25801 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25802 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25803 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25804 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25805 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25806 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25807 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25808 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25809 [XPG3] (acosh): Likewise.
25810 [XPG3] (asinh): Likewise.
25811 [XPG3] (atanh): Likewise.
25812 [XPG3] (cbrt): Likewise.
25813 [XPG3] (expm1): Likewise.
25814 [XPG3] (ilogb): Likewise.
25815 [XPG3] (log1p): Likewise.
25816 [XPG3] (logb): Likewise.
25817 [XPG3] (nextafter): Likewise.
25818 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25819 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25820 [XPG3] (remainder): Likewise.
25821 [XPG3] (rint): Likewise.
25822 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25823 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25824 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25825 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25826 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25827 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25828 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25829 [UNIX98 || XOPEN2K] (scalb): Expect.
25830 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25831 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25832 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25833 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25834 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25835 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25836 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25837 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25838 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25839 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25840 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25841 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25842 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25843 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25844 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25845 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25846 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25847 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25848 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25849 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25850 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25851 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25852 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25853 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25854 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25855 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25856 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25857 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25858 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25859 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25860 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25861 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25862 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25863 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25864 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25865 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25866 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25867 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25868 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25869 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25870 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25871 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25872 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25873 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25874 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25875 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25876 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25877 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25878 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25879 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25880 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25881 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25882 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25883 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25884 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25885 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25886 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25887 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25888 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25889 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25890 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25891 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25892 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25893 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25894 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25895 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25896 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25897 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25898 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25899 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25904 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25905 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25906 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25907 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25908 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25909 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25910 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25911 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25912 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25913 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25914 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25915 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25916 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25917 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25930 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25931 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25967
73c5ebe3
JM
25968 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25969 _XOPEN_SOURCE_EXTENDED for XPG4.
25970
39c33b6c
JM
25971 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25972
62fde54f
JM
25973 * Makeconfig (localtime): Remove variable.
25974 (inst_localtime-file): Likewise.
25975
0741d64c
AS
259762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25977
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25979 Update.
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25981 Update.
25982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25983 Update.
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25985 Update.
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25987 Update.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25989 Update.
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25991 Update.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25993 Update.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25995 Update.
25996
7cb029ee
JM
259972012-05-01 Joseph Myers <joseph@codesourcery.com>
25998
25999 [BZ #2550]
26000 [BZ #2570]
26001 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26002 comparisons to determine direction to adjust input.
26003 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26004 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26005 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26006 Likewise.
26007 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26008 Likewise.
26009 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26010 Likewise.
26011 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26012 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26013 Likewise.
26014 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26015 Likewise.
26016 * math/libm-test.inc (nexttoward_test): Add more tests.
26017
412bd966
AS
260182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26019
26020 [BZ #14040]
26021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26022 in version GLIBC_2.1, not GLIBC_2.0.
26023 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26024 Likewise.
26025
9568c0c2
JM
260262012-04-30 Joseph Myers <joseph@codesourcery.com>
26027
adfbc8ac
JM
26028 [BZ #13942]
26029 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26030 (1 - x) * (1 + x).
26031 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26032 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26033 * math/libm-test.inc (acos_test): Add more tests.
26034 (asin_test): Likewise.
26035 * sysdeps/i386/fpu/libm-test-ulps: Update.
26036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26037
5ba3cc69
JM
26038 [BZ #14034]
26039 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26040 of square root.
26041 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26042 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26043 * math/libm-test.inc (acos_test_tonearest): New function.
26044 (acos_test_towardzero): Likewise.
26045 (acos_test_downward): Likewise.
26046 (acos_test_upward): Likewise.
26047 (asin_test_tonearest): Likewise.
26048 (asin_test_towardzero): Likewise.
26049 (asin_test_downward): Likewise.
26050 (asin_test_upward): Likewise.
26051 (main): Call the new functions.
26052 * sysdeps/i386/fpu/libm-test-ulps: Update.
26053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26054
9568c0c2
JM
26055 [BZ #13884]
26056 [BZ #13924]
26057 * math/e_exp10.c: Include <float.h>.
26058 (__ieee754_exp10): Handle underflow here rather than multiplying
26059 large negative argument by M_LN10.
26060 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26061 of __ieee754_expf.
26062 * math/e_exp10l.c: Include <float.h>.
26063 (__ieee754_exp10l): Handle underflow here rather than multiplying
26064 large negative argument by M_LN10l.
26065 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26066 spurious overflow exception on underflow.
26067
5ac3ea17
MP
260682012-04-29 Marek Polacek <polacek@redhat.com>
26069
26070 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26071 (__fortify_function): New macro.
26072 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26073 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26074 __extern_always_inline.
26075 * libio/bits/stdio2.h: Likewise.
26076 * libio/bits/stdio.h: Likewise.
26077 * string/string.h: Likewise.
26078 * string/bits/string3.h: Likewise.
26079 * include/stdio.h: Likewise.
26080 * stdlib/bits/stdlib.h: Likewise.
26081 * stdlib/stdlib.h: Likewise.
26082 * rt/bits/mqueue2.h: Likewise.
26083 * rt/mqueue.h: Likewise.
26084 * posix/bits/unistd.h: Likewise.
26085 * posix/unistd.h: Likewise.
26086 * io/bits/poll2.h: Likewise.
26087 * io/bits/fcntl2.h: Likewise.
26088 * io/fcntl.h: Likewise.
26089 * io/sys/poll.h: Likewise.
26090 * misc/bits/syslog.h: Likewise.
26091 * misc/bits/syslog-ldbl.h: Likewise.
26092 * misc/sys/syslog.h: Likewise.
26093 * socket/bits/socket2.h: Likewise.
26094 * socket/sys/socket.h: Likewise.
26095 * debug/tst-chk1.c: Likewise.
26096 * wcsmbs/bits/wchar2.h: Likewise.
26097 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26098 * wcsmbs/wchar.h: Likewise.
26099
ecf0ebfb
AJ
261002012-04-29 Andreas Jaeger <aj@suse.de>
26101
26102 * Makerules (tests): Remove enable-check-abi protection.
26103 (check-abi-warn): Remove.
26104 (check-abi-%): Remove check-abi-warn usage.
26105
26106 * configure.in: Remove check-abi configure option.
26107 * configure: Regenerated.
26108 * config.make.in (enable-check-abi): Remove.
26109
6d5c57fa
AS
261102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26111
24c5d07e 26112 [BZ #14033]
ded5180a
AS
26113 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26114 double functions to double *_finite functions.
26115
7e0d315d
AS
26116 [BZ #13941]
26117 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26118 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26119 LDBL_MIN_EXP.
26120 * stdio-common/Makefile (tests): Add tst-sprintf3.
26121 * stdio-common/tst-sprintf3.c: New file.
26122
6d5c57fa
AS
26123 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26124 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26125
0749ff8b
JM
261262012-04-28 Joseph Myers <joseph@codesourcery.com>
26127
26128 * conform/conformtest.pl: Remove duplicate typed-constant
26129 handling.
26130
8dbd5d7b
DM
261312012-04-28 David S. Miller <davem@davemloft.net>
26132
26133 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26134 (check-abi-%): Remove AWK script prerequisite and explicit
26135 abilist directory.
26136 (check-abi): Rewrite to just diff the symlist with the abilist.
26137 (config-tls, config-abi-config): Delete, no longer used.
26138 (update-abi-%): Remove AWK script and explicit abilist directory.
26139 (update-abi): Rewrite to simply compare and conditionally copy the
26140 symlist and the sysdep abilist file. Remove update-abi-config
26141 checks.
26142 * abilist/ld.abilist: Remove.
26143 * abilist/libBrokenLocale.abilist: Remove.
26144 * abilist/libanl.abilist: Remove.
26145 * abilist/libcrypt.abilist: Remove.
26146 * abilist/libdl.abilist: Remove.
26147 * abilist/librt.abilist: Remove.
26148 * abilist/libthread_db.abilist: Remove.
26149 * abilist/libutil.abilist: Remove.
26150 * scripts/extract-abilist.awk: Remove.
26151 * scripts/merge-abilist.awk: Remove.
26152 * sysdeps/generic/libcidn.abilist: New file.
26153 * sysdeps/generic/libnss_compat.abilist: New file.
26154 * sysdeps/generic/libnss_db.abilist: New file.
26155 * sysdeps/generic/libnss_dns.abilist: New file.
26156 * sysdeps/generic/libnss_files.abilist: New file.
26157 * sysdeps/generic/libnss_hesiod.abilist: New file.
26158 * sysdeps/generic/libnss_nis.abilist: New file.
26159 * sysdeps/generic/libnss_nisplus.abilist: New file.
26160 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26161 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26162 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26163 file.
26164 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26165 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26166 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26167 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26168 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26169 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26170 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26171 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26172 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26173 file.
26174 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26175 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26176 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26177 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26178 file.
26179 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26180 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26181 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26182 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26183 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26184 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26185 file.
26186 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26187 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26188 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26189 file.
26190 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26192 New file.
26193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26194 New file.
26195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26196 New file.
26197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26198 New file.
26199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26200 New file.
26201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26202 New file.
26203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26204 New file.
26205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26206 New file.
26207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26208 New file.
26209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26210 New file.
26211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26212 New file.
26213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26214 New file.
26215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26216 New file.
26217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26218 file.
26219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26220 New file.
26221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26222 New file.
26223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26224 file.
26225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26226 New file.
26227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26228 New file.
26229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26230 file.
26231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26232 New file.
26233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26234 New file.
26235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26236 New file.
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26238 New file.
26239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26240 New file.
26241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26242 New file.
26243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26245 file.
26246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26247 New file.
26248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26249 file.
26250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26251 file.
26252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26253 file.
26254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26255 file.
26256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26257 file.
26258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26259 New file.
26260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26261 file.
26262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26263 file.
26264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26265 New file.
26266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26267 file.
26268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26270 file.
26271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26272 New file.
26273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26274 file.
26275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26276 file.
26277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26278 file.
26279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26280 file.
26281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26282 file.
26283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26284 New file.
26285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26286 file.
26287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26288 file.
26289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26290 New file.
26291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26292 file.
26293 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26294 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26295 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26296 file.
26297 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26298 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26299 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26300 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26301 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26302 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26303 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26304 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26305 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26306 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26309 file.
26310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26311 New file.
26312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26313 file.
26314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26315 file.
26316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26317 file.
26318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26319 file.
26320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26321 file.
26322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26323 New file.
26324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26325 New file.
26326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26327 file.
26328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26329 New file.
26330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26331 file.
26332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26334 file.
26335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26336 New file.
26337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26338 file.
26339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26340 file.
26341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26342 file.
26343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26344 file.
26345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26346 file.
26347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26348 New file.
26349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26350 New file.
26351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26352 file.
26353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26354 New file.
26355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26356 file.
26357
41d73a1b
JM
263582012-04-28 Joseph Myers <joseph@codesourcery.com>
26359
26360 * conform/conformtest.pl: Fix typo in handling typed-constant from
26361 allow-header.
26362
28aeeda4
JM
263632012-04-27 Joseph Myers <joseph@codesourcery.com>
26364
adae8f5e
JM
26365 * README: Cut down references to pre-2.6 Linux kernels and
26366 Linuxthreads. Update lists of configurations in libc and ports
26367 and sort alphabetically. Say "or newer" with Linux kernel version
26368 requirements.
26369
28aeeda4
JM
26370 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26371
a462cb63
RA
263722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26373
26374 [BZ #887]
26375 * math/libm-test.inc (logb_test_downward): New test to expose
26376 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26377 rounding mode.
26378
6ad3493e
JM
263792012-04-27 Joseph Myers <joseph@codesourcery.com>
26380
26381 [BZ #14027]
26382 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26383 to be done.
26384 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26385 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26386
2ce4f015
JM
263872012-04-26 Joseph Myers <joseph@codesourcery.com>
26388
5aeb141a
JM
26389 * sysdeps/unix/i386/brk.S: Remove file.
26390 * sysdeps/unix/i386/dl-brk.S: Likewise.
26391 * sysdeps/unix/i386/pipe.S: Likewise.
26392 * sysdeps/unix/i386/sigreturn.S: Likewise.
26393 * sysdeps/unix/i386/syscall.S: Likewise.
26394 * sysdeps/unix/i386/vfork.S: Likewise.
26395 * sysdeps/unix/i386/wait.S: Likewise.
26396
7143acae
JM
26397 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26398 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26399
2ce4f015
JM
26400 * configure.in (arm*-none*): Do not allow without
26401 --enable-hacker-mode.
26402 (netbsd*): Remove case setting base_os.
26403 (386bsd*): Likewise.
26404 (freebsd*): Likewise.
26405 (bsdi*): Likewise.
26406 (osf*): Likewise.
26407 (sunos*): Likewise.
26408 (ultrix*): Likewise.
26409 (newsos*): Likewise.
26410 (dynix*): Likewise.
26411 (*bsd*): Likewise.
26412 (sysv*): Likewise.
26413 (isc*): Likewise.
26414 (esix*): Likewise.
26415 (sco*): Likewise.
26416 (minix*): Likewise.
26417 (irix4*): Likewise.
26418 (irix6*): Likewise.
26419 (solaris[2-9]*): Likewise.
26420 (none): Likewise.
26421 * configure: Regenerated.
26422
0ac229c8
AZ
264232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26424
26425 [BZ #11521]
26426 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26427 overflow or cancellation in calculating denominator.
26428 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26430 down expression to avoid unexpected rounding in newer GCCs.
26431 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26432
33f244f4
DM
264332012-04-26 David S. Miller <davem@davemloft.net>
26434
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26436 long-double compat symbols.
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26450
cfa1f3e8
DM
264512012-04-25 David S. Miller <davem@davemloft.net>
26452
26453 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26454 HWCAP_* values only after the memory barriers have been defined.
26455 (atomic_full_barrier): Define.
26456 (atomic_read_barrier): Define.
26457 (atomic_write_barrier): Define.
26458
6e236b92
SP
264592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26460
26461 * shlib-versions: Add libgcc_s version information.
26462 * sysdeps/generic/libgcc_s.h: Remove.
26463 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26464 libgcc_s.h.
26465 * sysdeps/gnu/unwind-resume.c: Likewise.
26466 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26467
aab39a09
DM
264682012-04-25 David S. Miller <davem@davemloft.net>
26469
26470 * sysdeps/unix/sparc/brk.S: Delete.
26471 * sysdeps/unix/sparc/dl-brk.S: Delete.
26472 * sysdeps/unix/sparc/pipe.S: Delete.
26473 * sysdeps/unix/sparc/sysdep.S: Delete.
26474 * sysdeps/unix/sparc/sysdep.h: Delete.
26475 * sysdeps/unix/sparc/vfork.S: Delete.
26476 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26477 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26478 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26479 ret_ERRVAL, r0, r1, MOVE): Define.
26480 (JUMPTARGET): Remove.
26481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26482 sysdeps/unix/sparc/sysdep.h
26483 (ENTRY, END): Remove.
26484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26485
a3cc4f48
JM
264862012-04-25 Joseph Myers <joseph@codesourcery.com>
26487
2ed8cda2
JM
26488 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26489 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26490 -DIS_IN_build.
26491
35d76d59
JM
26492 * timezone/README: Update upstream location and email address for
26493 tzcode and tzdata.
26494 * timezone/zdump.c: Update from tzcode 2012b.
26495 * timezone/zic.c: Likewise.
26496
a3cc4f48
JM
26497 * configure.in (libc_cv_as_needed): Remove test.
26498 * configure: Regenerated.
26499 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26500 conditional definition.
26501 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26502 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26503 * config.make.in (have-as-needed): Remove variable.
26504
ceab42c3
SP
265052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26506 Paul Pluzhnikov <ppluzhnikov@google.com>
26507
26508 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26509 strings correctly.
26510
3ce2865f
CLT
265112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26512
26513 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26514 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26515 * sysdeps/sh/strlen.S: Likewise.
26516
f37e0d68
JM
265172012-04-24 Joseph Myers <joseph@codesourcery.com>
26518
ae186e9a
JM
26519 * sysdeps/unix/fork.S: Remove file.
26520 * sysdeps/unix/i386/fork.S: Likewise.
26521 * sysdeps/unix/sparc/fork.S: Likewise.
26522
b96914af
JM
26523 * sysdeps/unix/system.c: Remove file.
26524 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26525
f37e0d68
JM
26526 * sysdeps/unix/getegid.S: Remove file.
26527 * sysdeps/unix/geteuid.S: Likewise.
26528
87ef29ca
RM
265292012-04-24 Roland McGrath <roland@hack.frob.com>
26530
83bcd236
RM
26531 * scripts/check-localplt.awk: New file.
26532 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26533 of diff.
26534 * scripts/data/localplt-generic.data: Add a comment.
26535
87ef29ca
RM
26536 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26537 NODE when __dir_mkfile failed.
26538 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26539 Reported by Ludovic Courtès <ludo@gnu.org>.
26540
e5a6e567
AJ
265412012-04-24 Andreas Jaeger <aj@suse.de>
26542
26543 * Makerules (common-clean): Also remove gen-as-const-headers
26544 files.
26545
c1820385
JM
265462012-04-24 Joseph Myers <joseph@codesourcery.com>
26547
26548 * Makerules (native-compile): Do not change working directory for
26549 build. Use $(OUTPUT_OPTION) in command.
26550 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26551
94e02fc4
AZ
265522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26553
26554 [BZ #13886]
26555 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26556 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26557 * math/libm-test.inc (floor_test): Add more tests.
26558 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26559
3a533ca3
JM
265602012-04-24 Joseph Myers <joseph@codesourcery.com>
26561
940ab4b3
JM
26562 * sysdeps/unix/getdents.c: Remove file.
26563 * sysdeps/unix/sysv/getdents.c: Likewise.
26564 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26565
90e037bd
JM
26566 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26567 sysdeps/unix/mman/syscalls.list.
26568 (mmap): Likewise.
26569 (mprotect): Likewise.
26570 (msync): Likewise.
26571 (munmap): Likewise.
26572 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26573 * sysdeps/unix/mman/syscalls.list: Remove.
26574 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26575
3a533ca3
JM
26576 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26577 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26578 * configure: Regenerated.
26579 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26580 $(libgcc_s_suffix).
26581 * config.make.in (libgcc_s_suffix): Remove variable.
26582
1ad743de
JM
265832012-04-23 Joseph Myers <joseph@codesourcery.com>
26584
4ad451e2
JM
26585 * sysdeps/unix/sysv/gethostname.c: Move to ...
26586 * sysdeps/posix/gethostname.c: ... here.
26587
5e37ce39
JM
26588 * sysdeps/unix/execve.S: Remove file.
26589
1ad743de
JM
26590 * sysdeps/unix/_exit.S: Remove file.
26591
4e681b5b
AJ
265922012-04-23 Andreas Jaeger <aj@suse.de>
26593
26594 [BZ #13739]
26595 * manual/Makefile: Remove make dist support, there's no
26596 need for a stand-alone documentation tar ball.
26597 (TEXI2DVI): Define always, it's not in Makeconfig.
26598 (dist): Removed.
26599 (tar-it): Removed.
26600 (edition): Removed.
26601 (glibc-doc-$(edition).tar): Removed
26602 (%.Z): Removed.
26603 (%.gz): Removed.
26604 (%.uu): Removed.
26605 (ETAGS): Remove, it's in Makeconfig.
26606 (move-if-change): Remove, it's in Makeconfig.
26607
38686a03 266082012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26609
26610 [BZ #13970]
26611 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26612 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26613 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26614 (strtod_l, strtof_l, strtold_l): Remove __wur.
26615 It is not necessarily an error to ignore strtol's return value.
26616 One can reliably look at the stored endptr to decide whether
26617 the number had valid syntax.
26618
7c0616fa
AJ
266192012-04-21 Andreas Jaeger <aj@suse.de>
26620
803cb6b7 26621 [BZ #13739]
7c0616fa
AJ
26622 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26623
b0fe253f
JM
266242012-04-21 Joseph Myers <joseph@codesourcery.com>
26625
26626 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26627 * sysdeps/unix/sysv/Versions: Remove file.
26628
8280f22d
MT
266292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26630
26631 [BZ #13927]
26632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26633
75ce411f 266342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26635
26636 [BZ #7064]
26637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26638 version from __vm86.
26639
097d59fa
JM
266402012-04-20 Joseph Myers <joseph@codesourcery.com>
26641
a90f3bcb
JM
26642 * sysdeps/unix/common/lxstat.c: Remove file.
26643 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26644
edc7ea78
JM
26645 * sysdeps/unix/sysv/Makefile: Remove file.
26646
cb78c221
JM
26647 * sysdeps/unix/sysv/direct.h: Remove file.
26648
efa6a45f
JM
26649 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26650 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26651 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26652 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26653 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26654 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26655 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26656
9c9f2d0c
JM
26657 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26658
4541c83b
JM
26659 * sysdeps/unix/xmknod.c: Remove file.
26660 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26661
f5d153a0
JM
26662 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26663
aa746595
JM
26664 * sysdeps/unix/sysv/i386/time.S: Remove file.
26665
cce5905e
JM
26666 * sysdeps/unix/fxstat.c: Remove file.
26667 * sysdeps/unix/xstat.c: Likewise.
26668 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26669
37fa3841
JM
26670 * sysdeps/unix/sysv/sigaction.c: Remove file.
26671
ff1962a3
JM
26672 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26673 (sysdep_headers): Remove variable.
26674 [termio.h not in sysdep_headers] (generated): Likewise.
26675 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26676 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26677 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26678 * sysdeps/unix/sysv/tcflow.c: Likewise.
26679 * sysdeps/unix/sysv/tcflush.c: Likewise.
26680 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26681 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26682 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26683 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26684 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26685
e7740d31
JM
26686 * sysdeps/unix/siglist.c: Remove file.
26687
ee06f18b
JM
26688 * sysdeps/unix/getppid.S: Remove file.
26689
097d59fa
JM
26690 * sysdeps/unix/mkdir.c: Remove file.
26691 * sysdeps/unix/rmdir.c: Likewise.
26692
ff3d51ec
AS
266932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26694
26695 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26696 ERR_MAX value.
26697 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26698 errlist-compat value.
26699
50f81fd7
DM
267002012-04-18 David S. Miller <davem@davemloft.net>
26701
26702 * sysdeps/generic/memcopy.h (reg_char): Delete.
26703 * debug/strcat_chk.c: Use char, not reg_char.
26704 * debug/strcpy_chk.c: Likewise.
26705 * debug/strncat_chk.c: Likewise.
26706 * debug/strncpy_chk.c: Likewise.
26707 * string/memchr.c: Likewise.
26708 * string/memrchr.c: Likewise.
26709 * string/rawmemchr.c: Likewise.
26710 * string/strcat.c: Likewise.
26711 * string/strchr.c: Likewise.
26712 * string/strchrnul.c: Likewise.
26713 * string/strcmp.c: Likewise.
26714 * string/strcpy.c: Likewise.
26715 * string/strncat.c: Likewise.
26716 * string/strncmp.c: Likewise.
26717 * string/strncpy.c: Likewise.
26718
8ff41c46
WS
267192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26720
26721 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26722 __builtin_memcopy is called when src and dest ranges are known to not
26723 overlap.
26724
6b652f46
WS
267252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26726
26727 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26728 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26729 fwd_align_merge macro call.
26730 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26731 bwd_align_merge macro call.
26732 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26733
b282631e
WS
267342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26735
26736 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26737 bwd_align_merge macros.
26738 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26739 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26740 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26741
95aa737c
DM
267422012-04-18 David S. Miller <davem@davemloft.net>
26743
26744 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26745
7a99a614
AJ
267462012-04-18 Andreas Jaeger <aj@suse.de>
26747
26748 [BZ# 6794]
26749 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26750 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26751 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26752
26753 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26754 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26756
26757 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26758 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26759 Adjust for changed ldbl-128 files.
26760
26761 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26762 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26763 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26764
e5270c23
DM
267652012-04-17 David S. Miller <davem@davemloft.net>
26766
26767 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26768
fb5e92c9
AS
267692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26770
26771 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26772 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26773 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26774 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26775 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26776 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26777
76da7265
AZ
267782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26779
26780 [BZ #6794]
26781 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26782 * math/libm-test.inc: Add ilogb errno and exception tests.
26783 * math/w_ilogb.c: New file: ilogb wrapper.
26784 * math/w_ilogbf.c: New file: ilogbf wrapper.
26785 * math/w_ilogbl.c: New file: ilogbl wrapper.
26786 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26787 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26788 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26789 exception being thrown with 0.0 as argument.
26790 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26791 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26792 exception being thrown with 0.0 as argument.
26793 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26794 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26795 exception being thrown with 0.0 as argument.
26796 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26797 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26798 exception being thrown with 0.0 as argument.
26799 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26800 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26801 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26802 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26803 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26804 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26805 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26806 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26807 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26808
0396e69d
PB
268092012-04-17 Petr Baudis <pasky@ucw.cz>
26810
26811 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26812 with altivec.
26813
750b5926
MP
268142012-04-16 Marek Polacek <polacek@redhat.com>
26815
26816 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26817
751728a1
MP
268182012-04-16 Marek Polacek <polacek@redhat.com>
26819
26820 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26821 operands of fdivp instruction.
26822
34a27407
L
268232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26824
26825 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26826 * elf/tst-auditmod3b.c: Likewise.
26827 * elf/tst-auditmod4b.c: Likewise.
26828 * elf/tst-auditmod5b.c: Likewise.
26829 * elf/tst-auditmod6b.c: Likewise.
26830 * elf/tst-auditmod6c.c: Likewise.
26831 * elf/tst-auditmod7b.c: Likewise.
26832 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26833 * sysdeps/x86_64/preconfigure.in: Likewise.
26834 * sysdeps/x86_64/preconfigure: Regenerated.
26835
7e73e17d
L
268362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26837
26838 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26839 __ILP32__.
26840
c7a6ab72
AB
268412012-04-13 Antoine Balestrat <merkil33@gmail.com>
26842
26843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26844 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26845
a9e8e0e0
CL
268462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26847
26848 [BZ #13973]
26849 * locale/iso-639.def: Fix gl language name. Spotted by
26850 Yaron Shahrabani.
26851
ec98af7d
RM
268522012-04-12 Roland McGrath <roland@hack.frob.com>
26853
26854 [BZ #2074]
26855 * libio/libio.h (__io_write_fn): Update comment.
26856
247c3ede
PB
268572012-04-12 Petr Baudis <pasky@ucw.cz>
26858
26859 [BZ #2074]
26860 * stdio.texi (Hook Functions): The user provided writer function
26861 is not allowed to return -1.
26862
55939d6d
DM
268632012-04-11 David S. Miller <davem@davemloft.net>
26864
26865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26866
90020f5a
MF
268672012-04-11 Mike Frysinger <vapier@gentoo.org>
26868
26869 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26870 Add a leading slash to rtkaio.
26871
288f9098
JM
268722012-04-11 Jim Meyering <meyering@redhat.com>
26873
90020f5a
MF
26874 [BZ #11959]
26875 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26876 It is not necessarily an error to ignore fwrite's return
26877 value. One can reliably use ferror to test for errors after
26878 the fact.
288f9098 26879
4be2b570
L
268802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26881
26882 * bits/types.h (__snseconds_t): New type.
26883 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26884
26885 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26887 (__SNSECONDS_T_TYPE): Likewise.
26888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26889 (__SNSECONDS_T_TYPE): Likewise.
26890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26891 (__SNSECONDS_T_TYPE): Likewise.
26892
288f9098 268932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26894
26895 [BZ #2636]
26896 * manual/time.texi (Processor Time): Return type of times is
26897 elapsed real time since an arbitrary point in the past.
26898 (CPU Time): Move CLK_TCK from here...
26899 (Processor Time): ...to here. Correct description.
26900 * manual/conf.texi (Constants for Sysconf): Correct description of
26901 _SC_CLK_TCK.
26902
d7dd4413
DM
269032012-04-10 David S. Miller <davem@davemloft.net>
26904
26905 [BZ #13967]
26906 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26907 where the is a gap between DT_REL(A) and DT_JMPREL.
26908
b46068fc
L
269092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26910
26911 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26912 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26913 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26914
73d65cc3
SP
269152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26916
26917 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26918 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26919 (dl_main): Handle --inhibit-cache.
26920 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26921 _dl_inhibit_cache.
26922 * elf/dl-load.c (_dl_map_object): Use it.
26923 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26924
bcc8d661
JM
269252012-04-09 Joseph Myers <joseph@codesourcery.com>
26926
8f9a2fae
JM
26927 [BZ #13872]
26928 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26929 (__ieee754_powl): Saturate large exponents rather than testing for
26930 overflow of y*log2(x).
26931 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26932 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26933 exceptions.
26934
bcc8d661
JM
26935 [BZ #11521]
26936 * math/s_ctan.c: Include <float.h>.
26937 (__ctan): Avoid internal overflow or cancellation in calculating
26938 denominator.
26939 * math/s_ctanf.c: Likewise.
26940 * math/s_ctanl.c: Likewise.
26941 * math/s_ctanh.c: Likewise.
26942 * math/s_ctanhf.c: Likewise.
26943 * math/s_ctanhl.c: Likewise.
26944 * math/libm-test.inc (ctan_test): Add more tests.
26945 (ctanh_test): Likewise.
26946 * sysdeps/i386/fpu/libm-test-ulps: Update.
26947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26948
823fbbb4
AJ
269492012-04-09 Andreas Jaeger <aj@suse.de>
26950
03879793
AJ
26951 [BZ #6894]
26952 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26953 is an optional BSD extension.
26954
823fbbb4
AJ
26955 [BZ #10254]
26956 * manual/stdio.texi (Opening Streams): Document additional fopen
26957 parameters.
26958
8de131cb
RM
269592012-04-09 Roland McGrath <roland@hack.frob.com>
26960
26961 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26962 %eax without telling the compiler.
26963
c0ed9d7d
CD
269642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26965
26966 [BZ # 13963]
26967 * manual/install.texi: Use sourceware.org.
26968
c483f6b4
JM
269692012-04-09 Joseph Myers <joseph@codesourcery.com>
26970
d7dd9453
JM
26971 [BZ #13873]
26972 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26973 (__ieee754_pow): Generate overflow and underflow using huge*huge
26974 and tiny*tiny rather than just returning constant infinity or zero
26975 for large exponents.
26976 * math/libm-test.inc (pow_test): Require overflow exceptions for
26977 applicable cases of large exponents.
26978
c483f6b4
JM
26979 [BZ #706]
26980 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26981 (__ieee754_pow): Use iterative multiplication algorithm only for
26982 integer exponents with absolute value below 1024. Check for odd
26983 integer exponents when using algorithm for real exponents.
26984 * math/libm-test.inc (pow_test): Add more tests.
26985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26986
d2de7579
JM
269872012-04-08 Joseph Myers <joseph@codesourcery.com>
26988
26989 [BZ #13705]
26990 * math/libm-test.inc (exp_test): Do not allow overflow exception
26991 on underflow test.
26992
f77f1232
AJ
269932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26994
26995 [BZ #13705]
26996 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26997 instead of __kernel_standard_f.
26998
3884932b
MF
269992012-04-08 Mike Frysinger <vapier@gentoo.org>
27000
27001 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27002 * sysdeps/x86_64/memset_chk.S: Likewise.
27003
54472e9c
AJ
270042012-04-08 Andreas Jaeger <aj@suse.de>
27005
6ab0fbfc
AJ
27006 [BZ #10153]
27007 * manual/startup.texi (Environment Access): Describe return value
27008 for putenv and setenv.
27009
61efba8c
AJ
27010 [BZ #6895]
27011 * manual/filesys.texi (Directory Entries): Add description for
27012 DT_LNK.
27013
95c3f29a
AJ
27014 [BZ #6890]
27015 * manual/filesys.texi (Directory Entries): Clarify that it's file
27016 system not operating system in the description of DT_UNKNOWN.
27017
54472e9c
AJ
27018 [BZ #6578]
27019 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27020
624254b1
SC
270212012-04-08 Stephen Compall <s11@member.fsf.org>
27022
27023 [BZ #6649]
27024 * manual/llio.texi (Opening and Closing Files): Add cross
27025 reference to explain mode argument.
27026
1e4920e0
MF
270272012-04-07 Mike Frysinger <vapier@gentoo.org>
27028
27029 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27030 * sysdeps/x86_64/memset_chk.S: Likewise.
27031
5ed848f3
DM
270322012-04-07 David S. Miller <davem@davemloft.net>
27033
27034 * elf/elf.h (R_SPARC_WDISP10): Define.
27035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27036 R_SPARC_SIZE32.
27037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27038 R_SPARC_SIZE64 and R_SPARC_H34.
27039
96154cd8
CD
270402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27041
27042 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27043 conditions and remove no longer applicable assertion.
27044
9904dc47
L
270452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27046
27047 * bits/byteswap.h: Include <features.h>.
27048 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27049 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27050
f8887d0a
L
270512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27052
27053 * bits/byteswap.h (__bswap_16): Removed.
27054 Include <bits/byteswap-16.h> to get __bswap_16.
27055 * sysdeps/i386/bits/byteswap.h: Likewise.
27056 * sysdeps/s390/bits/byteswap.h: Likewise.
27057 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27058 * bits/byteswap-16.h: New file.
27059 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27060 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27061 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27062 * string/Makefile (headers): Add bits/byteswap-16.h.
27063
62470f60
PP
270642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27065
27066 [BZ #13895]
27067 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27068 extra indirection.
27069 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27070 * nss/tst-nss-static.c: New.
27071
4dad7bab
RM
270722012-04-06 Robert Millan <rmh@gnu.org>
27073
27074 [BZ #6486]
27075 * manual/llio.texi (File Position Primitive): lseek
27076 refers to WHENCE when it really means OFFSET.
27077
e9142a17
AJ
270782012-04-06 Andreas Jaeger <aj@suse.de>
27079
2c040eff
AJ
27080 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27081 strncmp declarations.
27082
e9142a17
AJ
27083 * abilist/libc.abilist: Add __poll and __ppoll.
27084
ff9f1c5f
DM
270852012-04-05 David S. Miller <davem@davemloft.net>
27086
dcd2ae90
DM
27087 * scripts/check-local-headers.sh: Accept a host triplet in the
27088 path matched by the exclude regexp.
27089
993eb054
DM
27090 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27091 definition.
27092 * sysdeps/powerpc/powerpc32/dl-machine.h
27093 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27094 * sysdeps/s390/s390-32/dl-machine.h
27095 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27096 * sysdeps/sparc/sparc32/dl-machine.h
27097 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27098 * sysdeps/sparc/sparc64/dl-machine.h
27099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27100
ff9f1c5f
DM
27101 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27102 lazy binding.
48e2e132 27103 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
27104 undefined symbol errors.
27105
48e2e132 27106 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
27107 DT_NEEDED entries.
27108
e80d6f94
MM
271092012-04-05 Michael Matz <matz@suse.de>
27110
27111 [BZ #13592]
27112 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27113
349fa79f
AJ
271142012-04-05 Andreas Jaeger <aj@suse.de>
27115
27116 [BZ #13908]
27117 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27118 comment.
27119
f402708f
KK
271202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27121
27122 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27123 which ROUND is no valid rounding mode.
27124
2ecccfc9
KK
271252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27126
27127 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27128 read again.
27129 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27130
8a53f50f
KK
271312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27132
27133 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27134 an exception using FPU order intentionally.
27135
271362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27137
27138 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27139 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27140 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27141 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27142
d653abb7
SJ
271432012-04-05 Simon Josefsson <simon@josefsson.org>
27144
27145 [BZ #12340]
27146 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27147 EINVAL when BUFLEN is too smal.
27148
c3b1bf7d
TS
271492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27150
27151 [BZ #13553]
27152 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27153 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27154
b1aa60f3
AJ
271552012-04-03 Andreas Jaeger <aj@suse.de>
27156
c3b1bf7d 27157 [BZ #13938]
67f60a26
AJ
27158 * manual/setjmp.texi (System V contexts): Fix sentence.
27159
b1aa60f3
AJ
27160 [BZ #13926]
27161 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27162 New macro for this case.
27163 [!__GNUC__] (__bswap_64): New inline function for this case.
27164 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27165 * bits/byteswap.h: Likewise.
27166 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27167 ull, guard with __GLIBC_HAVE_LONG_LONG.
27168
27169 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27170 __GLIBC_HAVE_LONG_LONG.
27171
27172 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27173 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27174
39c59c35
TMQMF
271752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27176
27177 [BZ #13691]
27178 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27179 inptr and inend, rather than using last_ch.
27180
135ffda8
DM
271812012-04-02 David S. Miller <davem@davemloft.net>
27182
27183 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27184 * stdio-common/printf-parse.h (read_int): Change return type to
27185 'int', return -1 on INT_MAX overflow.
27186 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27187 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27188 overflows INT_MAX. Check for overflow of in-format-string precision
27189 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27190 SIZE_MAX not INT_MAX for integer overflow test.
27191 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27192 skip the construct in the format string but do not record anything.
27193 * stdio-common/bug22.c: Adjust to test both width/prevision
27194 INT_MAX overflow as well as total length INT_MAX overflow. Check
27195 explicitly for proper errno values.
27196
228c019e
TS
271972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27198
302cadd3
TS
27199 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27200 CHAR_MAX.
27201 * string/test-strcmp.c [! WIDE]: Likewise.
27202 * time/tst-mktime2.c: Likewise for INT_MAX.
27203 * string/test-string.h: #include <sys/param.h> for MIN.
27204
228c019e
TS
27205 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27206 * sysdeps/i386/init-first.c (init): Likewise.
27207 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27208 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27209 * sysdeps/sh/init-first.c (init): Likewise.
27210
cfa633f5
UD
272112012-04-01 Ulrich Drepper <drepper@gmail.com>
27212
27213 * po/ru.po: Update from translation team.
d1635ef8 27214 * po/vi.po: Likewise.
cfa633f5 27215
6cd0a5ea
SP
272162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27217
27218 * resolv/nss_dns/dns-host.c: Merge copyright years.
27219
4b43400f
LD
272202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27221
27222 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27223 Optimize memcpy with prefetch if
27224 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27225 src, dst pointers have unequal 16 byte alignments.
27226
48c41d04
SP
272272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27228
27229 [BZ #13928]
27230 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27231 from a CNAME entry and return the minimum ttl for the query.
27232 (gaih_getanswer_slice): Likewise.
27233
b8dc394d
JL
272342012-03-30 Jeff Law <law@redhat.com>
27235
27236 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27237 due to long keys.
27238 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27239 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27240
2f5a5ed0
JL
27241 * resolv/nss_dns/dns-host.c: Update copyright year.
27242
1d39e359
UD
272432012-03-30 Ulrich Drepper <drepper@gmail.com>
27244
c030f70c 27245 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 27246 requests to save a system call. Fix check that all bytes are sent.
c030f70c 27247
1d39e359
UD
27248 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27249 comments for sendmmsg.
27250
272512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
27252
27253 [BZ #13691]
27254 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27255 with only 1 character between 0x0041 and 0x01b0.
27256 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27257 * wcsmbs/tst-mbsnrtowcs.c: New file.
27258
20fde227
DM
272592012-03-29 David S. Miller <davem@davemloft.net>
27260
27261 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27262 small copies by hand.
27263
984a4237
JL
272642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27265
27266 [BZ #13761]
27267 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27268 _nss_compat_initgroups_dyn): Fall back to malloc/free
27269 for large group memberships.
27270
18c9d62b
DM
272712012-03-28 David S. Miller <davem@davemloft.net>
27272
88d85d4f
DM
27273 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27274 that branches into memcpy.
27275 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27278 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27280 bits.
27281 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27282 implementation too.
27283 * sysdeps/sparc/mempcpy.S: New file.
27284
e5aa83e1
DM
27285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27286 the IFUNC routine in the libc case.
27287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27288
88570753
DM
27289 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27290 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27291 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27292 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27293 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27294 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27295 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27296 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27297
249d7567
DM
27298 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27299 loop to 256 bytes instead of 64 bytes and fix test signedness.
27300
18c9d62b
DM
27301 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27302 * sysdeps/sparc/sparc32/Makefile: rather than here...
27303 * sysdeps/sparc/sparc64/Makefile: and here.
27304
05f3d1f6
UD
273052012-03-28 Ulrich Drepper <drepper@gmail.com>
27306
27307 * malloc/mallocbug.c: Avoid warnings about unused variables.
27308
86ae07a8
JL
273092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27310
27311 [BZ #13760]
27312 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27313 in the right place. Discard and retry query if response is
27314 larger than input buffer size.
27315
41bf21a1
JM
273162012-03-28 Joseph Myers <joseph@codesourcery.com>
27317
d6270972
JM
27318 [BZ #369]
27319 [BZ #2678]
27320 [BZ #3866]
27321 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27322 x for large integer exponent.
27323 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27324 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27325 sign of result as needed afterwards.
27326 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27327 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27328 result for underflowing pow the same as for overflow.
27329 (__kernel_standard_l): Handle powl overflow and underflow here
27330 rather than calling __kernel_standard.
27331 * math/libm-test.inc (pow_test): Add more tests.
27332
414fca03 27333 [BZ #3868]
41bf21a1
JM
27334 [BZ #13879]
27335 [BZ #13910]
27336 [BZ #13911]
27337 [BZ #13912]
27338 [BZ #13913]
27339 [BZ #13915]
27340 [BZ #13916]
27341 [BZ #13917]
27342 [BZ #13918]
27343 [BZ #13919]
27344 [BZ #13920]
27345 [BZ #13921]
27346 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27347 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27348 (__kernel_standard_l): New function.
27349 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27350 __kernel_standard.
27351 * math/w_acosl.c (__acosl): Likewise.
27352 * math/w_asinl.c (__asinl): Likewise.
27353 * math/w_atan2l.c (__atan2l): Likewise.
27354 * math/w_atanhl.c (__atanhl): Likewise.
27355 * math/w_coshl.c (__coshl): Likewise.
27356 * math/w_exp10l.c (__exp10l): Likewise.
27357 * math/w_exp2l.c (__exp2l): Likewise.
27358 * math/w_fmodl.c (__fmodl): Likewise.
27359 * math/w_hypotl.c (__hypotl): Likewise.
27360 * math/w_j0l.c (__j0l, __y0l): Likewise.
27361 * math/w_j1l.c (__j1l, __y1l): Likewise.
27362 * math/w_jnl.c (__jnl, __ynl): Likewise.
27363 * math/w_lgammal.c (__lgammal): Likewise.
27364 * math/w_log10l.c (__log10l): Likewise.
27365 * math/w_log2l.c (__log2l): Likewise.
27366 * math/w_logl.c (__logl): Likewise.
27367 * math/w_powl.c (__powl): Likewise.
27368 * math/w_remainderl.c (__remainderl): Likewise.
27369 * math/w_scalbl.c (sysv_scalbl): Likewise.
27370 * math/w_sinhl.c (__sinhl): Likewise.
27371 * math/w_sqrtl.c (__sqrtl): Likewise.
27372 * math/w_tgammal.c (__tgammal): Likewise.
27373 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27374 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27375 * math/libm-test.inc (acos_test): Add more tests.
27376 (acosh_test): Likewise.
27377 (asin_test): Likewise.
27378 (atanh_test): Likewise.
27379 (exp_test): Likewise.
27380 (exp10_test): Likewise.
27381 (exp2_test): Likewise.
27382 (expm1_test): Likewise.
27383 (lgamma_test): Likewise.
27384 (log_test): Likewise.
27385 (log10_test): Likewise.
27386 (log1p_test): Likewise.
27387 (log2_test): Likewise.
27388 (pow_test): Do not allow some spurious overflow exceptions.
27389 (sqrt_test): Add more tests.
27390 (tgamma_test): Likewise.
27391 (y0_test): Likewise.
27392 (y1_test): Likewise.
27393 (yn_test): Likewise.
27394
dd62fda6
AB
273952012-03-27 Anton Blanchard <anton@samba.org>
27396
27397 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27398 MAP_HUGETLB.
27399 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27400 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27401 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27402
1e3cdfda
AJ
274032012-03-27 David S. Miller <davem@davemloft.net>
27404
b855ab85
DM
27405 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27406
1e3cdfda
AJ
27407 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27408 have-as-vis3 check.
27409
274102012-03-27 Andreas Jaeger <aj@suse.de>
27411
27412 * sysdeps/x86_64/elf/configure.in: Moved to ...
27413 * sysdeps/x86_64/configure.in: ... here.
27414 * sysdeps/x86_64/elf/start.S: Moved to ...
27415 * sysdeps/x86_64/start.S: ... here.
27416 * sysdeps/x86_64/elf/configure: Delete.
27417
27418 * sysdeps/x86_64/configure.in: Merge contents from
27419 sysdeps/i386/configure.in (without i686 check).
27420
27421 * sysdeps/i386/elf/Versions: Merge into ...
27422 * sysdeps/i386/Versions: ... this.
27423 * sysdeps/i386/elf/Versions: Delete file.
27424 * sysdeps/i386/elf/start.S: Moved to ...
27425 * sysdeps/i386/start.S: ...here.
27426 * sysdeps/i386/elf/configure.in: Merge into...
27427 * sysdeps/i386/configure.in: ...here.
27428 * sysdeps/i386/elf/configure.in: Delete file.
27429 * sysdeps/i386/elf/configure: Delete file.
27430
27431 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27432 * debug/backtracesyms.c: ... here.
27433 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27434 * debug/backtracesymsfd.c: ... here.
27435 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27436 * sysdeps/generic/ifunc-sel.h: ... here.
27437
27438 * sysdeps/unix/i386/start.c: Delete file.
27439 * sysdeps/unix/sparc/start.c: Delete file.
27440 * sysdeps/unix/start.c: Delete file.
27441
27442 * sysdeps/sh/elf/configure.in: Moved to ...
27443 * sysdeps/sh/configure.in: ... here.
27444 * sysdeps/sh/elf/start.S: Moved to ...
27445 * sysdeps/sh/start.S: ... here.
27446 * sysdeps/sh/elf/configure: Delete file.
27447
27448 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27449 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27450 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27451 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27452 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27453 * sysdeps/powerpc/powerpc64/start.S: here.
27454 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27455 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27456 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27457 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27458 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27459
27460 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27461 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27462 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27463 * sysdeps/powerpc/powerpc32/start.S: ... here.
27464 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27465 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27466 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27467
27468 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27469 * sysdeps/powerpc/ifunc-sel.h: ... here.
27470 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27471 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27472
27473 * sysdeps/sparc/elf/configure.in: Moved to ...
27474 * sysdeps/sparc/configure.in: ... here.
27475 * sysdeps/sparc/elf/configure: Delete file.
27476 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27477 * sysdeps/sparc/sparc32/start.S: ... here.
27478 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27479 * sysdeps/sparc/sparc64/start.S: ... here.
27480 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27481 * sysdeps/sparc/sparc32/Makefile: ... this.
27482 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27483 * sysdeps/sparc/sparc64/Makefile: ... this.
27484
27485 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27486 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27487 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27488 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27489 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27490 * sysdeps/s390/s390-32/setjmp.S: ... here.
27491 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27492 * sysdeps/s390/s390-32/configure.in: ... here.
27493 * sysdeps/s390/s390-32/elf/configure: Delete file.
27494 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27495 * sysdeps/s390/s390-32/start.S: ... here.
27496
27497 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27498 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27499 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27500 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27501 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27502 * sysdeps/s390/s390-64/setjmp.S: ... here.
27503 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27504 * sysdeps/s390/s390-64/configure.in: ... here
27505 * sysdeps/s390/s390-64/elf/configure: Delete file.
27506 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27507 * sysdeps/s390/s390-64/start.S: ... here.
27508 * sysdeps/s390/s390-64/elf/configure: Delete.
27509
27510 * configure.in: Remove support for elf directories in sysdeps.
27511
27512 * configure: Regenerated.
27513 * sysdeps/i386/configure: Regenerated.
27514 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27515 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27516 * sysdeps/s390/s390-32/configure: Regenerated.
27517 * sysdeps/s390/s390-64/configure: Regenerated.
27518 * sysdeps/sh/configure: Regenerated.
27519 * sysdeps/sparc/configure: Regenerated.
27520 * sysdeps/x86_64/configure: Regenerated.
27521
a3f61311
AS
275222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27523
c876e002
AS
27524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27525
a3f61311
AS
27526 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27527 denormal result into account.
27528
ac4c54f0
RM
275292012-03-25 Roland McGrath <roland@hack.frob.com>
27530
27531 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27532 Reported by Allan McRae <allan@archlinux.org>.
27533
6a9b9c02
JL
275342012-03-23 Jeff Law <law@redhat.com>
27535
27536 * nss/getnssent.c (__nss_getent): Fix typo.
27537
4c42a0c1
DM
275382012-03-23 David S. Miller <davem@davemloft.net>
27539
27540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27541
1532c7ac
L
275422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27543
27544 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27545 to pad to uint64_t for each field.
27546 (dl_tls_index): Replace unsigned long with uint64_t.
27547
3ff42526
PP
275482012-03-23 Daniel Jacobowitz <dmj@google.com>
27549 Paul Pluzhnikov <ppluzhnikov@google.com>
27550
27551 [BZ #6528]
27552 * grp/Makefile (otherlibs): Don't set it.
27553 * inet/Makefile (otherlibs): Likewise.
27554 * login/Makefile (otherlibs): Likewise.
27555 * nscd/Makefile (otherlibs): Likewise.
27556 * posix/Makefile (otherlibs): Likewise.
27557 * pwd/Makefile (otherlibs): Likewise.
27558 * rt/Makefile (otherlibs): Likewise.
27559 * sunrpc/Makefile (otherlibs): Likewise.
27560 * nss/Makefile (otherlibs): Likewise.
27561 Add libnss_files to routines and static-only-routines.
27562 ($(objpfx)getent): Remove rule.
27563 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27564 static-only-routines.
27565
7c69cd14
JM
275662012-03-22 Joseph Myers <joseph@codesourcery.com>
27567
27568 [BZ #13892]
27569 * math/s_cexp.c: Include <float.h>.
27570 (__cexp): Handle exp result overflowing not necessarily
27571 overflowing both real and imaginary parts of result.
27572 * math/s_cexpf.c: Likewise.
27573 * math/s_cexpl.c: Likewise.
27574 * math/libm-test.inc (cexp_test): Add more tests.
27575 * sysdeps/i386/fpu/libm-test-ulps: Update.
27576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27577
81b035fe
L
275782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27579
27580 * include/link.h (ELFW): New macro.
27581 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27582 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27583
1da7940c
L
275842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27585
27586 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27587 with uint64_t.
27588
b749dbb9
L
275892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27590
27591 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27592 declaration.
27593 (struct La_x32_retval): Likewise.
27594
2ff87f3f
L
275952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27596
27597 * sysdeps/x86_64/preconfigure.in: New file.
27598 * sysdeps/x86_64/preconfigure: New generated file.
27599
c0df8e69
JM
276002012-03-22 Joseph Myers <joseph@codesourcery.com>
27601
48e44791
JM
27602 [BZ #13824]
27603 * math/e_exp2l.c: Include <float.h>.
27604 (__ieee754_exp2l): Handle overflow and underflow cases
27605 separately. Only pass fractional part of argument to
27606 __ieee754_expl.
27607 * math/libm-test.inc (exp2_test): Add more tests.
27608
c0df8e69
JM
27609 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27610 negating x to take absolute value.
27611 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27612 Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27614 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27615 Likewise.
27616 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27617 computing low part if x was negated.
27618 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27619
c8e43ba7
L
276202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27621
27622 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27623 la_x32_gnu_pltexit.
27624 (pltexit): Cast int_retval to ptrdiff_t.
27625 * elf/tst-auditmod3b.c: Likewise.
27626 * elf/tst-auditmod4b.c: Likewise.
27627 * elf/tst-auditmod5b.c: Likewise.
27628 * elf/tst-auditmod6b.c: Likewise.
27629 * elf/tst-auditmod6c.c: Likewise.
27630 * elf/tst-auditmod7b.c: Likewise.
27631
27632 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27633 and x32_gnu_pltexit.
27634
27635 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27636 __ELF_NATIVE_CLASS.
27637 (La_x32_regs): New macro.
27638 (La_x32_retval): Likewise.
27639 (la_x32_gnu_pltenter): New function prototype.
27640 (la_x32_gnu_pltexit): Likewise.
27641
7998fa78
AS
276422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27643
dcb33988
AS
27644 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27645 exponent.
27646
233fc563
AS
27647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27648
7998fa78
AS
27649 * configure.in (libc_cv_cc_nofma): Check for option to disable
27650 generation of FMA instructions.
27651 * configure: Regenerate.
27652 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27653 * sysdeps/ieee754/dbl-64/Makefile: New file.
27654 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27655 Remove brandred-fma4.
27656 (CFLAGS-brandred-fma4.c): Remove.
27657 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27659 define.
27660 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27661 define.
27662
8e95c99a
L
276632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27664
27665 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27666 LLONG_MAX != LONG_MAX.
27667 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27668 (_fitoa_word): Likewise.
27669 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27670 LLONG_MAX != LONG_MAX.
27671 * stdio-common/_itowa.h: Include <_itoa.h>.
27672 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27673 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27674 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27675 only if not defined.
27676 (_ITOA_WORD_TYPE): Likewise.
27677 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27678 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27679
6f4db457
DM
276802012-03-21 David S. Miller <davem@davemloft.net>
27681
27682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27683
7785fe5a
L
276842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27685
27686 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27687 of x86_64 when setting libc_cv_slibdir, libdir and
27688 libc_cv_localedir.
27689 * sysdeps/unix/sysv/linux/configure: Regenerated.
27690
4535cd55
JM
276912012-03-21 Joseph Myers <joseph@codesourcery.com>
27692
27693 * manual/lang.texi (Old Varargs): Remove section.
27694 (How Variadic): Update menu.
27695 (va_start): Do not mention varargs.h.
27696
17228132
TS
276972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27698 Joseph Myers <joseph@codesourcery.com>
27699
27700 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27701 link test.
27702 * configure: Regenerated.
27703
8149f976
TS
277042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27705
05f3d1f6
UD
27706 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27707 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27708 conformtest.pl
8149f976 27709
1a4ac776
JM
277102012-03-21 Joseph Myers <joseph@codesourcery.com>
27711
be22ce65
JM
27712 * NOTES: Remove.
27713 * Makefile (files-for-dist): Remove NOTES.
27714 (NOTES): Remove rule.
27715 * README: Don't refer to NOTES.
27716 * manual/creature.texi: Don't include macros.texi.
27717 * manual/intro.texi (creature.texi): Remove comment referring to
27718 NOTES.
27719
40b601fb
JM
27720 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27721 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27722 * configure: Regenerated.
27723 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27724 LIBC_TRY_CC_OPTION.
27725 (libc_cv_as_i686): Likewise.
27726 (libc_cv_cc_avx): Likewise.
27727 (libc_cv_cc_sse2avx): Likewise.
27728 (libc_cv_cc_fma4): Likewise.
27729 (libc_cv_cc_novzeroupper): Likewise.
27730 * sysdeps/i386/configure: Regenerated.
27731
1a4ac776
JM
27732 [BZ #13883]
27733 * sysdeps/i386/fpu/s_cexp.S: Remove.
27734 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27735 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27736 * math/libm-test.inc (cexp_test): Add more tests.
27737 * sysdeps/i386/fpu/libm-test-ulps: Update.
27738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27739
a458e7fe
AM
277402012-03-21 Allan McRae <allan@archlinux.org>
27741
27742 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27743
0cb7efc5
JM
277442012-03-21 Joseph Myers <joseph@codesourcery.com>
27745
27746 [BZ #13871]
27747 * math/w_exp2.c: Do not include <float.h>.
27748 (o_threshold, u_threshold): Remove.
27749 (__exp2): Calculate result before checking finiteness and calling
27750 __kernel_standard.
27751 * math/w_exp2f.c: Likewise.
27752 * math/w_exp2l.c: Likewise.
27753 * math/libm-test.inc (exp2_test): Require overflow exception for
27754 1e6 input.
2460d3aa
JM
27755
27756 [BZ #3866]
27757 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27758 range of signed 64-bit integers before using fistpll. Remove
27759 checks for whether integers fit in mantissa bits.
27760 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27761 the range of signed 32-bit integers before using fistpl. Remove
27762 checks for whether integers fit in mantissa bits.
27763 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27764 (__ieee754_powl): Test for y outside the range of signed 64-bit
27765 integers before using fistpll. Reduce 64-bit values to 63-bit
27766 ones as needed.
27767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27768 divide-by-zero is raised for zero to large negative powers.
27769 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27770 (__ieee754_powl): Test for y outside the range of signed 64-bit
27771 integers before using fistpll. Reduce 64-bit values to 63-bit
27772 ones as needed.
27773 * math/libm-test.inc (pow_test): Add more tests.
27774
eb96ffb0
L
277752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27776
27777 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27778 <stdio-common/_itoa.h>.
27779 * debug/segfault.c: Likewise.
27780 * elf/dl-cache.c: Likewise.
27781 * elf/dl-minimal.c: Likewise.
27782 * elf/dl-misc.c: Likewise.
27783 * elf/dl-sysdep.c: Likewise.
27784 * elf/dl-version.c: Likewise.
27785 * elf/rtld.c: Likewise.
27786 * hurd/hurdsock.c: Likewise.
27787 * hurd/lookup-retry.c: Likewise.
27788 * malloc/malloc.c: Likewise.
27789 * malloc/mtrace.c: Likewise.
27790 * nscd/nscd_getgr_r.c: Likewise.
27791 * nscd/nscd_getpw_r.c: Likewise.
27792 * nscd/nscd_getserv_r.c: Likewise.
27793 * posix/getopt_init.c: Likewise.
27794 * posix/wordexp.c: Likewise.
27795 * stdio-common/_itoa.c: Likewise.
27796 * stdio-common/printf_fphex.c: Likewise.
27797 * stdio-common/vfprintf.c: Likewise.
27798 * string/_strerror.c: Likewise.
27799 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27800 * sysdeps/i386/i686/hp-timing.h: Likewise.
27801 * sysdeps/mach/_strerror.c: Likewise.
27802 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27803 * sysdeps/mach/hurd/sethostid.c: Likewise.
27804 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27805 * sysdeps/mach/xpg-strerror.c: Likewise.
27806 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27807 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27808 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27809 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27810 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27811 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27812 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27813 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27814 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27815 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27816 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27817 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27818 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27819 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27820 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27821 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27822 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27823 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27824 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27825 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27826 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27827
27828 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27829
27830 * stdio-common/_itoa.h: Moved to ...
27831 * sysdeps/generic/_itoa.h: Here.
27832
27833 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27834
27835 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27836 instead of "_itoa.h" and "_itowa.h".
27837 * stdio-common/vfprintf.: Likewise.
27838
d1af992d
L
278392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27840
27841 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27842 <bits/wordsize.h>.
27843 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27844 (__signbit): Likwise.
27845 (llrintf): Likwise.
27846 (llrint): Likwise.
27847
114883e0
L
278482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27849
27850 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27851 __WORDSIZE != 64.
27852
c135cc1b
JM
278532012-03-20 Joseph Myers <joseph@codesourcery.com>
27854
27855 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27856 OVERFLOW_EXCEPTION_OK.
27857 * math/libm-test.inc ("Philosophy"): Update comment about
27858 exception testing.
27859 (OVERFLOW_EXCEPTION): Define.
27860 (OVERFLOW_EXCEPTION_OK): Likewise.
27861 (INVALID_EXCEPTION_OK): Renumber.
27862 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27863 (IGNORE_ZERO_INF_SIGN): Likewise.
27864 (test_exceptions): Handle FE_OVERFLOW.
27865 (exp10_test): Expect overflow exceptions.
27866 (exp2_test): Likewise.
27867 (expm1_test): Likewise.
27868 (nextafter_test): Likewise.
27869 (pow_test): Likewise.
27870 (scalbn_test): Likewise.
27871 (scalbln_test): Likewise.
27872
95443d88
L
278732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27874
27875 * sysdeps/x86_64/bits/atomic.h
27876 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27877 64bit integer.
27878 (atomic_exchange_acq): Likewise.
27879 (__arch_exchange_and_add_body): Likewise.
27880 (__arch_add_body): Likewise.
27881 (atomic_add_negative): Likewise.
27882 (atomic_add_zero): Likewise.
27883
490df6c4
L
278842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27885
c2722551 27886 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27887 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27888
5e52b189
L
278892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27890
27891 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27892 Check __x86_64__ instead of __WORDSIZE.
27893
a9879d4c
L
278942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27895
27896 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27897
5df98260
DM
278982012-03-19 David S. Miller <davem@davemloft.net>
27899
e1497744
DM
27900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27901
5df98260
DM
27902 * sysdeps/sparc/fpu/fenv_private.h: New file.
27903 * sysdeps/sparc/fpu/math_private.h: Use it.
27904 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27905 Remove.
27906 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27907 (libc_feholdexcept_setroundl): Remove.
27908 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27909 Remove.
27910 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27911 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27912
b4c35121
L
279132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27914
27915 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27916 int64_t instead of long int.
27917 (INSERT_WORDS64): Likwise.
27918
56965fd7
L
279192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27920
27921 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27922 _Unwind_GetCFA return to _Unwind_Ptr first.
27923
83d1aec8
JM
279242012-03-19 Joseph Myers <joseph@codesourcery.com>
27925
1897ad44
JM
27926 [BZ #13629]
27927 * math/s_clog.c: Include <float.h>.
27928 (__clog): Scale large or subnormal inputs.
27929 * math/s_clogf.c: Likewise.
27930 * math/s_clogl.c: Likewise.
27931 * math/s_clog10.c: Include <float.h>.
27932 (M_LOG10_2): Define.
27933 (__clog10): Scale large or subnormal inputs.
27934 * math/s_clog10f.c: Likewise.
27935 * math/s_clog10l.c: Likewise.
27936 * math/libm-test.inc (clog_test): Add more tests.
27937 (clog10_test): Likewise.
27938 * sysdeps/i386/fpu/libm-test-ulps: Update.
27939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27940
7726d6a9
JM
27941 [BZ #11451]
27942 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27943 x and y.
27944 * math/libm-test.inc (atan2_test): Add another test.
27945
83d1aec8
JM
27946 * Makerules (common-objdir-compile): Remove.
27947 * sysdeps/unix/Makefile (config-generated): Do not add
27948 $(unix-generated) to variable.
27949 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27950 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27951 Remove rule.
27952 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27953 Likewise.
27954 [generic bits/local_lim.h] (before-compile): Do not append to
27955 variable.
27956 [generic bits/local_lim.h] (common-generated): Likewise.
27957 [generic sys/param.h] (before-compile): Do not append to variable.
27958 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27959 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27960 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27961 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27962 include.
27963 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27964 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27965 [generic sys/param.h] ($(addprefix
27966 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27967 [generic sys/param.h] (common-generated): Do not append to
27968 variable.
27969 [generic sys/param.h] (sysdep_headers): Likewise.
27970 [generic bits/errno.h] (before-compile): Do not append to
27971 variable.
27972 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27973 rule.
27974 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27975 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27976 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27977 [generic bits/errno.h] (common-generated): Do not append to
27978 variable.
27979 [generic bits/ioctls.h] (before-compile): Do not append to
27980 variable.
27981 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27982 rule.
27983 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27984 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27985 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27986 rule.
27987 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27988 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27989 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27990 [generic bits/ioctls.h] (common-generated): Do not append to
27991 variable.
27992 [generic sys/syscall.h] (syscall.h): Remove variable.
27993 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27994 rule.
27995 [generic sys/syscall.h] (before-compile): Do not append to
27996 variable.
27997 [generic sys/syscall.h] (common-generated): Likewise.
27998 * sysdeps/unix/errnos-tmpl.c: Remove file.
27999 * sysdeps/unix/errnos.awk: Likewise.
28000 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28001 * sysdeps/unix/ioctls.awk: Likewise.
28002 * sysdeps/unix/mk-local_lim.c: Likewise.
28003 * sysdeps/unix/snarf-ioctls: Likewise.
28004
4851a949
RH
280052012-03-19 Richard Henderson <rth@twiddle.net>
28006
bd37f2ee
RH
28007 * sysdeps/i386/fpu/fenv_private.h: New file.
28008 * sysdeps/i386/fpu/math_private.h: Use it.
28009 (math_opt_barrier, math_force_eval): Remove.
28010 (libc_feholdexcept_setround_53bit): Remove.
28011 (libc_feupdateenv_53bit): Remove.
28012 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28013 (math_opt_barrier, math_force_eval): Remove.
28014 (libc_feholdexcept): Remove.
28015 (libc_feholdexcept_setround): Remove.
28016 (libc_fetestexcept, libc_fesetenv): Remove.
28017 (libc_feupdateenv_test): Remove.
28018 (libc_feupdateenv, libc_feholdsetround): Remove.
28019 (libc_feresetround): Remove.
28020
d0adc922
RH
28021 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28022 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28023
0fe0f1f8
RH
28024 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28025 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28026 (libc_feupdateenv_testl): New.
28027 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28028 (libc_feupdateenv_testf): New.
28029 (libc_feupdateenv): Use libc_feupdateenv_test.
28030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28031 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28032
eb92c487
RH
28033 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28034 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28035 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28036 (libc_feresetround_noex): New.
28037 (libc_feresetround_noexf): New.
28038 (libc_feresetround_noexl): New.
28039 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28040 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28041 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28042 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28043 SET_RESTORE_ROUND.
28044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28045 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28046 (__cos): Likewise.
28047 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28048 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28049 SET_RESTORE_ROUND_NOEX.
28050 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28051 SET_RESTORE_ROUND_NOEXF.
28052 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28053 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28054 (libc_feholdsetroundf): New.
28055 (libc_feresetround, libc_feresetroundf): New.
28056
7d2e8012
RH
28057 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28058 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28059 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28060
b4dabbb4
RH
28061 * sysdeps/generic/math_private.h: Include <fenv.h>.
28062 (default_libc_feholdexcept): New.
28063 (default_libc_feholdexcept_setround): New.
28064 (default_libc_fesetenv, default_libc_feupdateenv): New.
28065 (libc_feholdexcept): Only define if undefined.
28066 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28067 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28068 (libc_feholdexcept_setroundl): Likewise.
28069 (libc_feholdexcept_setround_53bit): Likewise.
28070 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28071 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28072 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28073 (libc_feupdateenv_53bit): Likewise.
28074 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28075 (libc_feholdexcept): Convert from macro to inline function.
28076 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28077 (libc_fesetenv, libc_feupdateenv): Likewise.
28078
4851a949
RH
28079 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28080 not previously defined.
28081 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28082 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28083 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28084 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28085 * sysdeps/ieee754/flt-32/math_private.h: New file.
28086 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28087 math_private.h below SET_FLOAT_WORD.
28088 (__isnan, __isinf_ns, __finite): Remove.
28089 (__isnanf, __isinf_nsf, __finitef): Remove.
28090
e79d442e
AS
280912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28092
28093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28094
90b80344
DM
280952012-03-17 David S. Miller <davem@davemloft.net>
28096
28097 [BZ #6471]
28098 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28099 for 2.16.
28100
edc21804
DM
281012012-03-16 David S. Miller <davem@davemloft.net>
28102
77e927af
DM
28103 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28104 warnings.
28105
374976dd
DM
28106 [BZ #6471]
28107 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28108 properly.
28109 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28110 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28111 sysdep_routines when subdir is sysvipc.
28112 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28113 __getshmlba helper.
28114
edc21804
DM
28115 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28116
473c3ef3
L
281172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28118
28119 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28120 [__LP64__].
28121
eb0f39b6
L
281222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28123
28124 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28125 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28126 (__lround): Renamed to ...
28127 (__llround): This. Replace long int with long long int.
28128 Define lround functions as aliases of llround functions.
28129 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28130
6b6cd74b
L
281312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28132
28133 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28134 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28135 adresses to uintptr_t. Replace "long int" and "unsigned long
28136 int" with "greg_t" on va_arg.
28137
f1a77b01
L
281382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28139
28140 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28141 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28142
28143 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28144 Move e_machine check before EI_CLASS check. Handle x32
28145 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28146 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28147 SKIP_EM_IA_64 and include
28148 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28149
28150 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28151 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28152 (add_system_dir): New macro.
28153
28154 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28155 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28156
11b90b9f
JM
281572012-03-16 Joseph Myers <joseph@codesourcery.com>
28158
c36e1d23
JM
28159 [BZ #2551]
28160 [BZ #2552]
28161 [BZ #2553]
28162 [BZ #2554]
28163 [BZ #2562]
28164 [BZ #2563]
28165 [BZ #2565]
28166 [BZ #2566]
28167 [BZ #2576]
28168 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28169 (y0): Likewise.
28170 * math/w_j0f.c (j0f): Likewise.
28171 (y0f): Likewise.
28172 * math/w_j0l.c (__j0l): Likewise.
28173 (__y0l): Likewise.
28174 * math/w_j1.c (j1): Likewise.
28175 (y1): Likewise.
28176 * math/w_j1f.c (j1f): Likewise.
28177 (y1f): Likewise.
28178 * math/w_j1l.c (__j1l): Likewise.
28179 (__y1l): Likewise.
28180 * math/w_jn.c (jn): Likewise.
28181 (yn): Likewise.
28182 * math/w_jnf.c (jnf): Likewise.
28183 (ynf): Likewise.
28184 * math/w_jnl.c (__jnl): Likewise.
28185 (__ynl): Likewise.
28186 * math/libm-test.inc (j0_test): Add more tests.
28187 (j1_test): Likewise.
28188 (jn_test): Likewise. Add trailing semicolon to existing test.
28189 (y0_test): Likewise.
28190 (y1_test): Likewise.
28191 * sysdeps/i386/fpu/libm-test-ulps: Update.
28192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28193
11b90b9f
JM
28194 [BZ #13851]
28195 [BZ #13854]
28196 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28197 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28198 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28199 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28200 (__tanl): Set errno for infinite argument.
28201 * sysdeps/i386/fpu/mptan.c: Remove.
28202 * sysdeps/i386/fpu/s_tan.S: Likewise.
28203 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28204 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28205 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28206 * math/libm-test.inc (tan_test): Add more tests and enable more
28207 tests for double and long double.
28208 * sysdeps/i386/fpu/libm-test-ulps: Update.
28209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28210
6a1bd2a1
JK
282112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28212
28213 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28214 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28215
10a803e0
RM
282162012-03-16 Roland McGrath <roland@hack.frob.com>
28217
28218 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28219 * configure.in: Use it for both main tree and add-ons.
28220 * configure: Regenerated.
28221
f196c7f7
L
282222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28223
28224 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28225
8848d99d
JM
282262012-03-16 Joseph Myers <joseph@codesourcery.com>
28227
96cbe7f4
JM
28228 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28229 in comment.
28230
8848d99d
JM
28231 [BZ #13851]
28232 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28233 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28234 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28235 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28236 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28237 infinite argument.
28238 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28239 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28240 != 0 for prec == 2.
28241 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28242 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28243 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28244 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28245 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28246 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28247 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28248 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28249 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28250 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28251 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28252 * math/libm-test.inc (cos_test): Add more tests and enable more
28253 tests for long double.
28254 (sin_test): Likewise.
28255 (sincos_test): Likewise.
28256 * sysdeps/i386/fpu/libm-test-ulps: Update.
28257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28258
dd7f4703
DM
282592012-03-16 David S. Miller <davem@davemloft.net>
28260
28261 * sysdeps/sparc/fpu/math_private.h: New file.
28262
006f1daa
DM
282632012-03-15 David S. Miller <davem@davemloft.net>
28264
c0c83bc8
DM
28265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28266 file.
e6a62e18 28267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
28268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28269 file.
e6a62e18
DM
28270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28276 sysdep routines.
28277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28278
88cb87d9
DM
28279 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28280 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28281
006f1daa 28282 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28284 sparc-ifunc.h
006f1daa 28285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28287 Likewise.
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28289 Likewise.
006f1daa
DM
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28294 Likewise.
006f1daa
DM
28295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28300 Likewise.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28302 Likewise.
006f1daa
DM
28303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28321 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28327
11e0098e
AS
283282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28329
28330 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28331 scaling.
28332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28333
e85b09d0
AJ
283342012-03-15 Andreas Jaeger <aj@suse.de>
28335
28336 [BZ #13852]
28337 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28338 ieee754/flt-32 implementation for sin, cos and sincos.
28339 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28340 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28341 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28342 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28343 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28344 ieee754/flt-32 implementation for tan.
28345
28346 * math/libm-test.inc (cos_test): Enable some large input tests for
28347 float as well
28348 (sin_test): Likewise.
28349 (sincos_test): Likewise.
28350 (tan_test): Add tests for large input.
28351
28352 * sysdeps/i386/fpu/libm-test-ulps: Update.
28353
81c64153
AJ
283542012-03-15 Andreas Jaeger <aj@suse.de>
28355
28356 [BZ #13658]
28357 * math/libm-test.inc (cos_test): Add more test cases.
28358 (sin_test): Likewise.
28359 (sincos_test): Likewise.
28360
7bbfa5c6
AJ
283612012-03-15 Andreas Jaeger <aj@suse.de>
28362
28363 [BZ #13837]
28364 * math/libm-test.inc (cos_test): Add a test case for large input
28365 value.
28366 (sin_test): Likewise.
28367 (sincos_test): Likewise.
28368
283692012-03-15 Andreas Jaeger <aj@suse.de>,
28370 Joseph Myers <joseph@codesourcery.com>
28371
28372 [BZ #13658]
0671f479 28373 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28374 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28375 * sysdeps/i386/fpu/branred.c: Likewise.
28376 * sysdeps/i386/fpu/dosincos.c: Likewise.
28377 * sysdeps/i386/fpu/mpa.c: Likewise.
28378 * sysdeps/i386/fpu/s_cos.S: Likewise.
28379 * sysdeps/i386/fpu/s_sin.S: Likewise.
28380 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28381 * sysdeps/i386/fpu/sincos32.c: Likewise.
28382
28383 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28384 Define.
28385 (libc_feupdateenv_53bit): Define.
28386 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28387 Define.
28388 (libc_feupdateenv_53bit): Define.
28389
28390 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28391 53 bit (without extend i386 double precision).
28392
28393 * math/libm-test.inc (sincos_test): Add tests for large input.
28394 (sin): Likewise.
28395 (cos): Likewise.
28396
28397 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28398
9cad04ea
AS
283992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28400
28401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28402
f7062b9a
DM
284032012-03-15 David S. Miller <davem@davemloft.net>
28404
28405 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28406 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28407 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28408 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28421 file.
f7062b9a 28422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28424 file.
f7062b9a 28425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28427 file.
f7062b9a 28428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28430 file.
f7062b9a
DM
28431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28433 fmin/fmax sysdep routines.
28434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28435
7bd951ff
DM
284362012-03-14 David S. Miller <davem@davemloft.net>
28437
559398ab
DM
28438 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28442 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28443 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28467 routines.
28468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28469 file.
559398ab 28470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28472 file.
559398ab 28473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28475 file.
559398ab 28476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28478 file.
559398ab 28479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28481 file.
559398ab 28482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28484 file.
28485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28486 file.
28487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28488 file.
28489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28490 file.
28491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28492 New file.
28493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28494 file.
28495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28496 file.
559398ab 28497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28499 file.
559398ab 28500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28502 file.
559398ab 28503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28505 file.
559398ab 28506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28508 VIS3 routines.
559398ab
DM
28509
28510 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28511 New file.
28512
5a1c1e32
DM
28513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28514
eae47a36
DM
28515 * sysdeps/sparc/configure.in: New file.
28516 * sysdeps/sparc/configure: Generate.
28517 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28518 * configure: Regenerate.
28519 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28520 * config.make.in (have-as-vis3): New.
28521 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28522 available use -Av9d instead of -Av9a.
28523 * sysdeps/sparc/sparc64/Makefile: Likewise.
28524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28526 New file.
28527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28528 file.
28529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28530 New file.
28531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28532 file.
eae47a36
DM
28533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28534 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28535 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28536 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28538
c0c83bc8
DM
28539 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28540 fzeros/fnegs to load 0x80000000 into a float register instead of
28541 using the stack.
7bd951ff
DM
28542 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28543
bd951ccb
JM
285442012-03-14 Joseph Myers <joseph@codesourcery.com>
28545
28546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28547 bits/syscall.h.
28548 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28549 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28550 ($(inst_includedir)/bits/syscall.h): Remove rule.
28551 ($(objpfx)bits/syscall.d): Include instead of
28552 $(objpfx)syscall-list.d.
28553 (generated): Change syscall-list.h and syscall-list.d to
28554 bits/syscall.h and bits/syscall.d.
28555
bb4e6db2
RM
285562012-03-14 Roland McGrath <roland@hack.frob.com>
28557
28558 [BZ #13846]
28559 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28560
aa4a2ae1
JM
285612012-03-14 Joseph Myers <joseph@codesourcery.com>
28562
e456826d
JM
28563 [BZ #13841]
28564 * math/s_csqrt.c: Include <float.h>.
28565 (__csqrt): Scale large or subnormal inputs.
28566 * math/s_csqrtf.c: Likewise.
28567 * math/s_csqrtl.c: Likewise.
28568 * math/libm-test.inc (csqrt_test): Add more tests.
28569 * sysdeps/i386/fpu/libm-test-ulps: Update.
28570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28571
aa4a2ae1
JM
28572 [BZ #13840]
28573 * math/libm-test.inc (hypot_test): Add more tests.
28574
7c10fd35
DM
285752012-03-13 David S. Miller <davem@davemloft.net>
28576
28577 [BZ #13840]
28578 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28579 double-precision for the calculation instead of scaling.
28580
f453b98b
JM
285812012-03-13 Joseph Myers <joseph@codesourcery.com>
28582
28583 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28584 manipulate bits before adding and subtracting TWO52[sx].
28585 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28586 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28587 Likewise.
28588 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28589
09a3453f
DM
285902012-03-13 David S. Miller <davem@davemloft.net>
28591
8e59da90
DM
28592 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28593 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28595 rtld-global-offsets.h
28596 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28597
2a8ab7f2
DM
28598 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28599 large parameters.
28600
10f62770
DM
28601 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28602
5f0bdb18
DM
28603 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28604 'err' in the ifdef scope in which it is actually used.
28605
09a3453f
DM
28606 * nss/nss_db/db-init.c: Include string.h
28607
b4b2eb5e
DM
286082012-03-12 David S. Miller <davem@davemloft.net>
28609
98bb2f1c
DM
28610 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28611 masking out of the most significant byte of random value used.
28612 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28613 Fix coding style in previous change.
28614
b4b2eb5e
DM
28615 * sysdeps/unix/sysv/linux/kernel-features.h
28616 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28617 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28618 expression.
28619 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28620 later.
28621
6e226b09
DM
286222012-03-11 David S. Miller <davem@davemloft.net>
28623
a1bcbd40
DM
28624 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28625 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28626 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28627 for 'resultvar' otherwise things get truncated on 64-bit.
28628
cb9d6174
DM
28629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28630 Fix masking out of the most significant byte of random value used.
28631
6e226b09
DM
28632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28633
058c132d
AS
286342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28635
28636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28637
2d2cd515
DM
286382012-03-09 David S. Miller <davem@davemloft.net>
28639
28640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28641 variables with appropriate CPP guards.
28642 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28643 frame pointer, not the stack pointer. Correct layout comments. Fix test
28644 on resulting framesize and the management of the outregs buffer for pltexit.
28645 Preserve floating point return values across _dl_call_pltexit call.
28646 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28647 framesize and the management of the outregs buffer for pltexit.
28648 Preserve floating point return values across _dl_call_pltexit
28649 call.
28650 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28651 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28652 (print_exit): Fix format string for return register value.
28653
9a07f9d0
JM
286542012-03-10 Joseph Myers <joseph@codesourcery.com>
28655
28656 * sunrpc/Makefile (others): Add rpcgen.
28657 ($(objpfx)rpcgen): Remove special build rule and dependency on
28658 libc.
28659 * sunrpc/rpcgen.c: New file.
28660
547b5e30
PE
286612012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28662
c524201a
PE
28663 [BZ #13673]
28664 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28665 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28666 * sysdeps/i386/crti.S: Likewise.
28667 * sysdeps/i386/crtn.S: Likewise.
28668 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28669 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28670 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28671 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28672 * sysdeps/sh/crti.S: Likewise.
28673 * sysdeps/sh/crtn.S: Likewise.
28674 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28675
7b6235f2
PE
28676 [BZ #13673]
28677 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28678 with URL.
28679 * locale/programs/locfile-kw.gperf: Likewise.
28680 * locale/programs/charmap-kw.h: Regenerated.
28681 * locale/programs/locfile-kw.h: Likewise.
28682
547b5e30
PE
28683 [BZ #13673]
28684 * intl/plural.y: Replace FSF snail mail address with URL.
28685 * intl/plural.c: Regenerated.
28686
5f0a5dae
RH
286872012-03-09 Richard Henderson <rth@twiddle.net>
28688
28689 * include/math_private.h: Remove file.
28690 * math/math_private.h: Move file ...
28691 * sysdeps/generic/math_private.h: ... here.
28692
b8c03620
RH
28693 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28694 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28695 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28696
4e234f5d 28697 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28698 and <math_private.h>.
28699 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28700 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28701 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28702 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28703 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28704 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28705 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28706 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28710 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28711 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28712 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28713 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28724 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28726 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28728 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28729 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28731 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28732 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28733 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28734 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28735 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28736 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28737 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28739 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28740 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28741 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28742 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28743 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28744 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28745 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28746 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28747 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28748 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28749 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28750 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28751 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28752 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28753 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28754 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28755 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28756 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28757 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28758 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28765 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28767 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28768 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28769 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28770 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28771 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28781 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28787 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28788 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28789 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28790 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28791 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28792 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28793 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28794 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28796 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28799 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28800 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28801 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28802 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28803 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28804 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28805 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28806 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28807 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28809 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28810 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28811 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28812 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28813 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28814 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28815 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28816 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28817 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28818 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28819 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28820 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28821 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28822 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28823 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28824 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28825 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28826 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28827 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28828 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28829 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28830 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28831 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28832 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28833 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28834 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28835 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28836 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28837 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28838 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28839 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28840 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28841 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28842 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28843 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28844 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28845 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28846 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28847 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28848 * sysdeps/ieee754/k_standard.c: Likewise.
28849 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28853 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28858 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28859 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28862 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28866 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28872 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28873 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28876 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28877 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28879 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28880 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28881 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28882 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28884 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28887 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28888 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28889 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28890 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28891 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28892 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28893 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28894 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28897 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28900 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28901 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28902 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28903 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28904 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28905 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28906 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28907 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28908 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28909 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28910 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28911 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28912 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28915 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28916 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28922 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28923 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28926 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28964 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28966 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28967 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28968 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28971 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28976 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28981 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28983 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28989 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28990 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28993 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28996 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28997 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28998 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28999 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29007 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29009 * sysdeps/ieee754/s_lib_version.c: Likewise.
29010 * sysdeps/ieee754/s_matherr.c: Likewise.
29011 * sysdeps/ieee754/s_signgam.c: Likewise.
29012 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29013 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29014 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29015 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29016 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29017 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29018 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29019 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29020 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29021 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29023 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29024 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29025 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29026 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29027 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29028 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29029 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29030 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29031 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 29033
1991fa03
JM
290342012-03-09 Joseph Myers <joseph@codesourcery.com>
29035
29036 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29037 * sunrpc/rpc_main.c: Likewise.
29038 * sunrpc/rpc_svcout.c: Likewise.
29039
60d6f5a6
DM
290402012-03-09 David S. Miller <davem@davemloft.net>
29041
29042 * include/math_private.h: New file.
29043
4962050e
JM
290442012-03-09 Joseph Myers <joseph@codesourcery.com>
29045
02a6f887
JM
29046 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29047 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29048 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29049 from <bits/socket_type.h>.
29050 (enum __socket_type): Don't define here.
29051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29053 bits/socket_type.h.
29054
c6e013c1
JM
29055 [BZ #13566]
29056 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29057 checking __USE_GNU.
29058
4962050e
JM
29059 * Makerules ($(inst_includedir)/%.h): New rule.
29060 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29061 (install-others): Remove variable setting.
29062 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29063
38842f45
RH
290642012-03-08 Richard Henderson <rth@twiddle.net>
29065
67bb6da6
RH
29066 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29067 from macro to inline function; merge with the
29068 !__LIBC_INTERNAL_MATH_INLINES version.
29069 (__ieee754_sqrtf): Likewise.
29070
15194b4b
RH
29071 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29072 to inline function.
29073 (__rintf, __floor, __floorf): Likewise.
29074
64e21ede
RH
29075 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29076 macro to inline function.
29077 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29078
38842f45
RH
29079 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29080 not <math/math_private.h>.
29081
c64bf5fe
DM
290822012-03-08 David S. Miller <davem@davemloft.net>
29083
29084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29085 copyright year.
29086 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29087
82d86f28
TS
290882012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29089
29090 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29091 normalization.
29092 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29093 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29094
aea5d727
UD
290952012-03-08 Ulrich Drepper <drepper@gmail.com>
29096
29097 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29098 be defined individually, they must be defined as a block. Define
29099 S for printing a string instead of hidint the different by using a
29100 macro for adding the 'l'.
29101 * stdio-common/tst-fphex-wide.c: Adjust.
29102
70bca0a3
MP
291032012-03-07 Marek Polacek <polacek@redhat.com>
29104
29105 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29106
65b81130
MP
291072012-03-08 Marek Polacek <polacek@redhat.com>
29108
29109 [BZ #13806]
29110 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29111 * stdio-common/tst-fphex.c: Define a few macros to make the
29112 test reusable. Use them.
29113 * stdio-common/tst-fphex-wide.c: New file.
29114
07037eeb
JM
291152012-03-08 Joseph Myers <joseph@codesourcery.com>
29116
a7a93d50
JM
29117 [BZ #6911]
29118 * manual/macros.texi (gnusystems): New macro.
29119 (nongnusystems): Likewise.
29120 (gnulinuxhurdsystems): Likewise.
29121 (gnuhurdsystems): Likewise..
29122 (gnulinuxsystems): Likewise.
29123 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29124 variants of the GNU system, not "GNU system".
29125 * manual/conf.texi: Likewise.
29126 * manual/errno.texi: Likewise. Update example of errno macro
29127 expansion.
29128 * manual/filesys.texi: Likewise.
29129 (getumask): Document as specific to GNU/Hurd.
29130 * manual/install.texi: Likewise. Reword some references to
29131 GNU/Linux.
29132 * manual/intro.texi: Likewise.
29133 * manual/io.texi: Likewise.
29134 (File Name Portability): Detail which constraints are inapplicable
29135 to all GNU systems and which are only inapplicable to GNU/Hurd.
29136 * manual/job.texi: Likewise.
29137 * manual/llio.texi: Likewise.
29138 (O_NOCTTY): Document as present on GNU/Linux.
29139 * manual/maint.texi: Likewise.
29140 * manual/memory.texi: Likewise.
29141 * manual/pattern.texi: Likewise.
29142 * manual/pipe.texi: Likewise.
29143 * manual/process.texi: Likewise.
29144 * manual/resource.texi: Likewise.
29145 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29146 child on GNU/Hurd.
29147 * manual/setjmp.texi: Likewise.
29148 * manual/signal.texi: Likewise.
29149 * manual/startup.texi: Likewise.
29150 * manual/stdio.texi: Likewise.
29151 * manual/terminal.texi: Likewise.
29152 (ONLCR): Document as POSIX.
29153 (OXTABS): Document availability on GNU/Linux as XTABS.
29154 (ONOEOT): Document availability separately from other bits.
29155 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29156 * manual/time.texi: Likewise.
29157 * manual/users.texi: Likewise.
29158 * INSTALL: Regenerated.
29159 * sysdeps/gnu/errlist.c: Regenerated.
29160
07037eeb
JM
29161 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29162 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29163 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29164 puts.
29165 * configure: Regenerated.
29166
d1d3431a
JM
291672012-03-07 Joseph Myers <joseph@codesourcery.com>
29168
af6a1e37
JM
29169 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29170 default includes instead of AC_HEADER_CHECK.
29171 * sysdeps/i386/configure: Regenerated.
29172
d1d3431a
JM
29173 [BZ #10716]
29174 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29175 * math/s_cacoshf.c (__cacoshf): Likewise.
29176 * math/s_cacoshl.c (__cacoshl): Likewise.
29177 * math/s_casinh.c (__casinh): Set signs of result from argument.
29178 * math/s_casinhf.c (__casinhf): Likewise.
29179 * math/s_casinhl.c (__casinhl): Likewise.
29180 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29181 (casinh_test): Add more tests.
29182 * sysdeps/i386/fpu/libm-test-ulps: Update.
29183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29184
482ff4da
UD
291852012-03-07 Ulrich Drepper <drepper@gmail.com>
29186
872fda05
UD
29187 * po/zh_TW.po: Update from translation team.
29188
a4300c7a
UD
29189 * login/Makefile (distribute): Remove variable.
29190 * catgets/Makefile: Likewise.
29191 * mach/Makefile: Likewise.
29192 * malloc/Makefile: Likewise.
29193 * misc/Makefile: Likewise.
29194 * iconv/Makefile: Likewise.
29195 * nscd/Makefile: Likewise.
29196 * hurd/Makefile: Likewise.
29197 * manual/Makefile: Likewise.
29198 * locale/Makefile: Likewise.
29199 * intl/Makefile: Likewise.
29200 * conform/Makefile: Likewise.
29201 * nss/Makefile: Likewise.
29202 * time/Makefile: Likewise.
29203 * soft-fp/Makefile: Likewise.
29204 * dirent/Makefile: Likewise.
29205 * gmon/Makefile: Likewise.
29206 * po/Makefile: Likewise.
29207 * rt/Makefile: Likewise.
29208 * socket/Makefile: Likewise.
29209 * math/Makefile: Likewise.
29210 * signal/Makefile: Likewise.
29211 * debug/Makefile: Likewise.
29212 * elf/Makefile: Likewise.
29213 * timezone/Makefile: Likewise.
29214 * stdlib/Makefile: Likewise.
29215 * iconvdata/Makefile: Likewise.
29216 * sunrpc/Makefile: Likewise.
29217 * io/Makefile: Likewise.
29218 * argp/Makefile: Likewise.
29219 * inet/Makefile: Likewise.
29220 * hesiod/Makefile: Likewise.
29221 * grp/Makefile: Likewise.
29222 * csu/Makefile: Likewise.
29223 * wctype/Makefile: Likewise.
29224 * crypt/Makefile: Likewise.
29225 * libio/Makefile: Likewise.
29226 * string/Makefile: Likewise.
29227 * nis/Makefile: Likewise.
29228 * resolv/Makefile: Likewise.
29229 * stdio-common/Makefile: Likewise.
29230 * wcsmbs/Makefile: Likewise.
29231 * dlfcn/Makefile: Likewise.
29232 * posix/Makefile: Likewise.
29233
3b7c4e74 29234 [BZ #6959]
482ff4da
UD
29235 * timezone/Makefile: Don't install timezone files, just the programs
29236 and scripts.
29237
f72ed77d
UD
292382012-03-06 Ulrich Drepper <drepper@gmail.com>
29239
a000466f
UD
29240 * nss/databases.def: Add missing gshadow entry.
29241
f72ed77d
UD
29242 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29243
a53b7a4e
MP
292442012-03-06 Marek Polacek <polacek@redhat.com>
29245
29246 [BZ #13726]
29247 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29248 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29249 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29250 * stdio-common/tst-long-dbl-fphex.c: New file.
29251
e9258400
DM
292522012-03-06 David S. Miller <davem@davemloft.net>
29253
29254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29255 (set_obp_int): New function.
29256 (get_obp_int): New function.
29257 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
29258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29259 Avoid unused variable warnings on 'val' and use builtin_expect.
29260 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29261 __builtin_expect.
e9258400
DM
29262 (INLINE_CLONE_SYSCALL): Likewise.
29263
3bd2c723
DM
292642012-03-05 David S. Miller <davem@davemloft.net>
29265
29266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29267
bbb78d03
AS
292682012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29269
884c5db4
AS
29270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29271
bbb78d03
AS
29272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29273 only for |x| >= 40.
29274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29275
1c9f702a 292762012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
29277
29278 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29279 Replace gettimeofday with __vdso_gettimeofday.
29280
7be16f82
RM
29281 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29282 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29283 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29284
29285 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29286 time with __vdso_time.
29287
ed58a00f
JM
292882012-03-05 Joseph Myers <joseph@codesourcery.com>
29289
29290 * manual/lang.texi (size_t): Note types to which size_t may be
29291 equivalent with the GNU C Library, but do not describe when
29292 differences between them are significant.
29293
30ee4ced
AJ
292942012-03-05 Andreas Jaeger <aj@suse.de>
29295
29296 * sysdeps/i386/fpu/libm-test-ulps: Update.
29297
b7cd39e8
JM
292982012-03-05 Joseph Myers <joseph@codesourcery.com>
29299
29300 [BZ #3976]
29301 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29302 (__ieee754_pow): Save and restore rounding mode and use
29303 round-to-nearest for main computations.
29304 * math/libm-test.inc (pow_test_tonearest): New function.
29305 (pow_test_towardzero): Likewise.
29306 (pow_test_downward): Likewise.
29307 (pow_test_upward): Likewise.
29308 (main): Call the new functions.
29309 * sysdeps/i386/fpu/libm-test-ulps: Update.
29310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29311
29312 [BZ #3976]
29313 * math/libm-test.inc (cosh_test_tonearest): New function.
29314 (cosh_test_towardzero): Likewise.
29315 (cosh_test_downward): Likewise.
29316 (cosh_test_upward): Likewise.
29317 (sinh_test_tonearest): Likewise.
29318 (sinh_test_towardzero): Likewise.
29319 (sinh_test_downward): Likewise.
29320 (sinh_test_upward): Likewise.
29321 (main): Call the new functions.
29322 * sysdeps/i386/fpu/libm-test-ulps: Update.
29323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29324
6c6a98c9
TV
293252012-03-05 Tom de Vries <tom@codesourcery.com>
29326
29327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29328 default stack guard is set in last bytes.
29329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29330
21bb2d2e 293312012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29332
21bb2d2e 29333 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29334
21bb2d2e
AJ
29335 [BZ #13656]
29336 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29337 possibly allocate from heap instead of stack.
29338 * stdio-common/bug-vfprintf-nargs.c: New file.
29339 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29340
c6922934
AS
293412012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29342
29343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29344
bc957d53
MP
293452012-03-03 Marek Polacek <polacek@redhat.com>
29346
29347 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29348 * math/math_private.h: Likewise.
29349 * stdlib/tst-strtod.c: Likewise.
29350 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29351 * sysdeps/x86_64/bits/atomic.h: Likewise.
29352
6358490d
DM
293532012-03-02 David S. Miller <davem@davemloft.net>
29354
29355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29359 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29360 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29361 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29362 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29363
01ae168d
RM
293642012-03-02 Roland McGrath <roland@hack.frob.com>
29365
d9a17c07
RM
29366 [BZ #13792]
29367 * manual/examples/README: New file, says the example source files
29368 can be used under GPL>=2.
29369 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29370 line containing just "*/".
29371 * manual/examples/add.c: Add copyright header (GPL>=2).
29372 * manual/examples/argp-ex1.c: Likewise.
29373 * manual/examples/argp-ex2.c: Likewise.
29374 * manual/examples/argp-ex3.c: Likewise.
29375 * manual/examples/argp-ex4.c: Likewise.
29376 * manual/examples/atexit.c: Likewise.
29377 * manual/examples/db.c: Likewise.
29378 * manual/examples/dir.c: Likewise.
29379 * manual/examples/dir2.c: Likewise.
29380 * manual/examples/execinfo.c: Likewise.
29381 * manual/examples/filecli.c: Likewise.
29382 * manual/examples/filesrv.c: Likewise.
29383 * manual/examples/fmtmsgexpl.c: Likewise.
29384 * manual/examples/genpass.c: Likewise.
29385 * manual/examples/inetcli.c: Likewise.
29386 * manual/examples/inetsrv.c: Likewise.
29387 * manual/examples/isockad.c: Likewise.
29388 * manual/examples/longopt.c: Likewise.
29389 * manual/examples/memopen.c: Likewise.
29390 * manual/examples/memstrm.c: Likewise.
29391 * manual/examples/mkfsock.c: Likewise.
29392 * manual/examples/mkisock.c: Likewise.
29393 * manual/examples/mygetpass.c: Likewise.
29394 * manual/examples/pipe.c: Likewise.
29395 * manual/examples/popen.c: Likewise.
29396 * manual/examples/rprintf.c: Likewise.
29397 * manual/examples/search.c: Likewise.
29398 * manual/examples/select.c: Likewise.
29399 * manual/examples/setjmp.c: Likewise.
29400 * manual/examples/sigh1.c: Likewise.
29401 * manual/examples/sigusr.c: Likewise.
29402 * manual/examples/stpcpy.c: Likewise.
29403 * manual/examples/strdupa.c: Likewise.
29404 * manual/examples/strftim.c: Likewise.
29405 * manual/examples/strncat.c: Likewise.
29406 * manual/examples/subopt.c: Likewise.
29407 * manual/examples/swapcontext.c: Likewise.
29408 * manual/examples/termios.c: Likewise.
29409 * manual/examples/testopt.c: Likewise.
29410 * manual/examples/testpass.c: Likewise.
29411 * manual/examples/timeval_subtract.c: Likewise.
29412
01ae168d
RM
29413 [BZ #13792]
29414 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29415 function to ...
29416 * manual/timeval_subtract.c.texi: ... here, new file.
29417
49efa33d
DM
294182012-03-02 David S. Miller <davem@davemloft.net>
29419
29420 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29421
28afd92d
JM
294222012-03-02 Joseph Myers <joseph@codesourcery.com>
29423
804360ed
JM
29424 [BZ #3976]
29425 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29426 (__sin): Save and restore rounding mode and use round-to-nearest
29427 for all computations.
29428 (__cos): Save and restore rounding mode and use round-to-nearest
29429 for all computations.
29430 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29431 <fenv.h>.
29432 (tan): Save and restore rounding mode and use round-to-nearest for
29433 all computations.
29434 * math/libm-test.inc (cos_test_tonearest): New function.
29435 (cos_test_towardzero): Likewise.
29436 (cos_test_downward): Likewise.
29437 (cos_test_upward): Likewise.
29438 (sin_test_tonearest): Likewise.
29439 (sin_test_towardzero): Likewise.
29440 (sin_test_downward): Likewise.
29441 (sin_test_upward): Likewise.
29442 (tan_test_tonearest): Likewise.
29443 (tan_test_towardzero): Likewise.
29444 (tan_test_downward): Likewise.
29445 (tan_test_upward): Likewise.
29446 (main): Call the new functions.
29447 * sysdeps/i386/fpu/libm-test-ulps: Update.
29448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29449
a6d06d7b
JM
29450 [BZ #10135]
29451 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29452 small n, then large n, before computing and testing k+n.
29453 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29455 Likewise.
29456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29457 Likewise.
29458 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29459 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29460 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29461 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29462 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29463 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29465 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29466 * math/libm-test.inc (scalbn_test): Add more tests.
29467 (scalbln_test): Likewise.
29468
07e12bb3
JM
29469 * manual/filesys.texi (mode_t): Describe constraints on size and
29470 signedness, not exact equivalence to a particular type.
29471 (ino_t): Likewise.
29472 (ino64_t): Likewise.
29473 (dev_t): Likewise.
29474 (nlink_t): Likewise.
29475 (blkcnt_t): Likewise.
29476 (blkcnt64_t): Likewise.
29477 * manual/llio.texi (off_t): Likewise.
29478
28afd92d
JM
29479 [BZ #3976]
29480 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29481 (__ieee754_exp): Save and restore rounding mode and use
29482 round-to-nearest for all computations.
29483 * math/libm-test.inc (exp_test_tonearest): New function.
29484 (exp_test_towardzero): Likewise.
29485 (exp_test_downward): Likewise.
29486 (exp_test_upward): Likewise.
29487 (main): Call the new functions.
29488 * sysdeps/i386/fpu/libm-test-ulps: Update.
29489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29490
b1eeb65d
CD
294912012-03-01 Chris Demetriou <cgd@google.com>
29492
29493 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29494 have predictable order.
29495
53362a4b
DM
294962012-03-01 David S. Miller <davem@davemloft.net>
29497
3c969083
DM
29498 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29499
759707de
DM
29500 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29501 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29502 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29503 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29504
dfdb8ff2
DM
29505 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29506 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29507 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29509 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29510 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29511 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29512 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29513 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29514
ead89f96
DM
29515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29516
7f66bd07
DM
29517 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29518 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29519 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29520
53362a4b
DM
29521 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29522 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29523 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29524 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29525 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29526 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29528 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29529 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29530 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29531 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29532 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29534 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29535 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29537 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29538 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29539 * sysdeps/sparc/elf/configure: Regenerated.
29540
7b1902cb
JM
295412012-03-01 Joseph Myers <joseph@codesourcery.com>
29542
bec039bc
JM
29543 * configure.in (AS, LD): Require binutils 2.20 or later.
29544 * configure: Regenerated.
29545 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29546 as required minimum version.
29547 * INSTALL: Regenerated.
29548
7b1902cb
JM
29549 [BZ #2541]
29550 [BZ #4108]
29551 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29552 before squaring exponent.
29553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29554 bottom long double and 27 bits of top long double before squaring
29555 exponent.
29556 * math/libm-test.inc (erfc_test): Add more tests.
29557 * sysdeps/i386/fpu/libm-test-ulps: Update.
29558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29560
f775c276
KT
295612012-03-01 Kai Tietz <ktietz@redhat.com>
29562
29563 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29564 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29565 containing bit-fields.
29566 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29567 * soft-fp/single.h (_FP_UNION_S): Likewise.
29568 * soft-fp/double.h (_FP_UNION_D): Likewise.
29569
5b8a4d4a
JM
295702012-02-29 Joseph Myers <joseph@codesourcery.com>
29571
0bab47b6
JM
29572 [BZ #13786]
29573 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29574 not include ../strcmp.S.
29575 [USE_AS_STRNCASECMP_L]: Likewise.
29576 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29577 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29578 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29579 (__strncasecmp_l_ia32): Define as alias to
29580 __strncasecmp_l_nonascii.
29581
0fcad3e2
JM
29582 [BZ #5794]
29583 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29584 * sysdeps/i386/fpu/libm-test-ulps: Update.
29585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29586
5b8a4d4a
JM
29587 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29589
8fdceb2e
JL
295902012-02-29 Jeff Law <law@redhat.com>
29591
29592 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29593 out of bounds read.
29594
1f393a11
MP
295952012-02-29 Marek Polacek <polacek@redhat.com>
29596
29597 [BZ #13706]
29598 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29599 * elf/Makefile: Add rules to run tst-unused-dep.out.
29600
8847f037
DM
296012012-02-28 David S. Miller <davem@davemloft.net>
29602
29603 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29604 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29605 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29606 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29607 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29608 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29609
169d7f11
JM
296102012-02-29 Joseph Myers <joseph@codesourcery.com>
29611
29612 * math/libm-test.inc (llround_test): Move one test from
29613 lround_test. Use TEST_f_L in moved test.
29614 (lround_test): Move misplaced test to llround_test. Add testcase
29615 from bug 2561.
29616
39adf059
UD
296172012-02-28 Ulrich Drepper <drepper@gmail.com>
29618
29619 * sysdeps/x86_64/fpu/e_expf.S: New file.
29620 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29621
71b5d1c5
SB
296222012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29623
29624 [BZ #13637]
29625 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29626 of remain_len that may cause incomplete multi-byte character and
29627 false match.
29628 * posix/bug-regex33.c: New file.
29629 * posix/Makefile (tests): Add bug-regex33.
29630
1f77f049
JM
296312012-02-28 Joseph Myers <joseph@codesourcery.com>
29632
29633 * manual/macros.texi: New file.
29634 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29635 * manual/libc.texinfo: Include macros.texi.
29636 * manual/creatute.texi: Likewise.
29637 * manual/install.texi: Likewise.
29638 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29639 @glibcadj{} in references to the GNU C Library.
29640 * manual/charset.texi: Likewise.
29641 * manual/conf.texi: Likewise.
29642 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29643 when not using those macros.
29644 * manual/creature.texi: Likewise.
29645 * manual/crypt.texi: Likewise.
29646 * manual/errno.texi: Likewise.
29647 * manual/filesys.texi: Likewise.
29648 * manual/header.texi: Likewise.
29649 * manual/install.texi: Likewise.
29650 * manual/intro.texi: Likewise.
29651 * manual/io.texi: Likewise.
29652 * manual/job.texi: Likewise.
29653 * manual/lang.texi: Likewise.
29654 * manual/libc.texiinfo: Likewise.
29655 * manual/llio.texi: Likewise.
29656 * manual/locale.texi: Likewise.
29657 * manual/maint.texi: Likewise.
29658 * manual/math.texi: Likewise.
29659 * manual/memory.texi: Likewise.
29660 * manual/message.texi: Likewise.
29661 * manual/nss.texi: Likewise.
29662 * manual/pattern.texi: Likewise.
29663 * manual/process.texi: Likewise.
29664 * manual/resource.texi: Likewise.
29665 * manual/search.texi: Likewise.
29666 * manual/setjmp.texi: Likewise.
29667 * manual/signal.texi: Likewise.
29668 * manual/socket.texi: Likewise.
29669 * manual/startup.texi: Likewise.
29670 * manual/stdio.texi: Likewise.
29671 * manual/string.texi: Likewise.
29672 * manual/sysinfo.texi: Likewise.
29673 * manual/syslog.texi: Likewise.
29674 * manual/terminal.texi: Likewise.
29675 * manual/time.texi: Likewise.
29676 * manual/users.texi: Likewise.
29677 * INSTALL: Regenerated.
29678 * NOTES: Regenerated.
d40c5d54 29679 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29680
450bf206
AS
296812012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29682
29683 * include/dirent.h: Include <dirstream.h> before
29684 <dirent/dirent.h>.
29685
741a235b
DM
296862012-02-28 David S. Miller <davem@davemloft.net>
29687
29688 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29689 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29690 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29691 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29692
d6b5aa58
DM
296932012-02-27 David S. Miller <davem@davemloft.net>
29694
1aff59a3
DM
29695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29697 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29698 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29699
d6b5aa58
DM
29700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29701 frame pointer instead of stack pointer relative arg slot.
29702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29705
433f48bf
CD
297062012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29707
29708 [BZ #3992]
29709 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29710
d674b76d
DM
297112012-02-27 David S. Miller <davem@davemloft.net>
29712
29713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29717 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29718 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29719 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29720 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29721
0e7727f7
JM
297222012-02-27 Joseph Myers <joseph@codesourcery.com>
29723
29724 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29725 later. Allow versions 5-9.
43be4ca2 29726 * configure: Regenerated.
0e7727f7
JM
29727 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29728 required minimum version and 4.6 as recommended version. Do not
29729 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29730 * INSTALL: Regenerated.
0e7727f7 29731
a78bc654
DM
297322012-02-27 David S. Miller <davem@davemloft.net>
29733
428d5830
DM
29734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29740 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29741 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29742
a78bc654
DM
29743 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29744 manipulate bits before adding and subtracting TWO112[sx].
29745 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29746
4579f81c
RM
297472012-02-27 Roland McGrath <roland@hack.frob.com>
29748
36c8acb4
RM
29749 [BZ #13775]
29750 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29751 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29752 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29753 being in POSIX, because they are in 1003.1-2008.
29754
84ad622b
RM
29755 * rt/tst-aio.c: Include <fcntl.h>.
29756 * rt/tst-aio7.c: Likewise.
29757 * rt/tst-aio64.c: Likewise.
29758
4579f81c
RM
29759 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29760
abd923db
JM
297612012-02-27 Joseph Myers <joseph@codesourcery.com>
29762
29763 * manual/install.texi (--with-headers): Describe headers as
29764 interface headers, not private headers.
29765 (Specific advice for GNU/Linux systems): Describe use of headers
29766 from "make headers_install", not private headers from older
29767 kernels.
43be4ca2 29768 * INSTALL: Regenerated.
abd923db
JM
29769 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29770 Change to 2.6.19.
29771 * sysdeps/unix/sysv/linux/configure: Regenerated.
29772
6664049b
JM
29773 * manual/llio.texi (fclean): Remove documentation.
29774
bb8b6697
JM
29775 * manual/Makefile (libc-texi-generated): New variable. Include
29776 version.texi.
29777 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29778 $(libc-texi-generated), not duplicated list of files.
29779 (version.texi, stamp-version): New rules.
29780 (realclean): Remove $(libc-texi-generated), not individual files
29781 from that list. Do not remove dir-add.texinfo.
29782 * manual/libc.texinfo: Comment out uses of edition numbers and
29783 references to printed manual. Remove last-updated dates.
29784 (EDITION): Comment out.
29785 (ISBN): Likewise.
29786 (VERSION, UPDATED): Remove.
29787 (version.texi): Include.
29788
12e5c3b9
AS
297892012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29790
29791 * sysdeps/posix/spawni.c: Include <signal.h>.
29792 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29793 * sysdeps/pthread/aio_fsync.c: Likewise.
29794
4efeffc1 297952012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29796
ba63ba08
UD
29797 * conform/Makefile (tests): Run only when not cross-compiling and
29798 when fast-check is not defined.
29799
d94a4670
UD
29800 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29801 * conform/data/limits.h-data: Fixes for POSIX2008.
29802 * conform/run-conformtest.sh: Run all tests.
29803 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29804 headers.
29805 * include/bits/dlfcn.h: Likewise.
29806 * include/langinfo.h: Likewise.
29807 * include/monetary.h: Likewise.
29808 * include/sys/poll.h: Likewise.
29809
29810 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29811 for __USE_GNU.
29812 * posix/spawn.h: Define __need_sigset_t.
29813 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29814 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29815 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29816 to get sigevent_t only.
29817 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29818 only for __USE_GNU.
29819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29820 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29821 process_vm_writev only for __USE_GNU.
29822 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29823
29824 * conform/Makefile: For now ignore errors from run-conformtest.
29825 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29826 POSIX to avoid namespace pollution. Don't prepend headers.
29827 * conform/data/aio.h-data: Fixes for POSIX testing.
29828 * conform/data/fcntl.h-data: Likewise.
29829 * conform/data/glob.h-data: Likewise.
29830 * conform/data/grp.h-data: Likewise.
29831 * conform/data/pthread.h-data: Likewise.
29832 * conform/data/pwd.h-data: Likewise.
29833 * conform/data/signal.h-data: Likewise.
29834 * conform/data/spawn.h-data: Likewise.
29835 * conform/data/stdio.h-data: Likewise.
29836 * conform/data/stdlib.h-data: Likewise.
29837 * conform/data/stropts.h-data: Likewise.
29838 * conform/data/sys/mman.h-data: Likewise.
29839 * conform/data/sys/stat.h-data: Likewise.
29840 * conform/data/sys/types.h-data: Likewise.
29841 * conform/data/sys/wait.h-data: Likewise.
29842 * conform/data/time.h-data: Likewise.
29843 * conform/data/unistd.h-data: Likewise.
29844 * conform/data/utime.h-data: Likewise.
29845
29846 * io/sys/stat.h: fchmod was always in POSIX.
29847 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29848 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29849 * rt/aio.h: Define __need_timespec before including <time.h>.
29850 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29851 struct. Add forward declaration of pthread_attr_t and use it in
29852 sigevent.
29853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29854 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29855 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29856 always remove CLK_TCK definition.
29857
c20105c3
AS
298582012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29859
29860 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29861
7a270350
UD
298622012-02-25 Ulrich Drepper <drepper@gmail.com>
29863
31341567
UD
29864 * conform/run-conformtest.sh: New file.
29865 * conform/Makefile: Run run-conformtest for tests.
29866 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29867 support.
29868
29869 * conform/data/uchar.h-data: New file.
29870 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29871 * conform/data/arpa/inet.h-data: Likewise.
29872 * conform/data/assert.h-data: Likewise.
29873 * conform/data/complex.h-data: Likewise.
29874 * conform/data/cpio.h-data: Likewise.
29875 * conform/data/ctype.h-data: Likewise.
29876 * conform/data/dirent.h-data: Likewise.
29877 * conform/data/dlfcn.h-data: Likewise.
29878 * conform/data/errno.h-data: Likewise.
29879 * conform/data/fcntl.h-data: Likewise.
29880 * conform/data/float.h-data: Likewise.
29881 * conform/data/fmtmsg.h-data: Likewise.
29882 * conform/data/fnmatch.h-data: Likewise.
29883 * conform/data/ftw.h-data: Likewise.
29884 * conform/data/glob.h-data: Likewise.
29885 * conform/data/grp.h-data: Likewise.
29886 * conform/data/iconv.h-data: Likewise.
29887 * conform/data/inttypes.h-data: Likewise.
29888 * conform/data/langinfo.h-data: Likewise.
29889 * conform/data/libgen.h-data: Likewise.
29890 * conform/data/limits.h-data: Likewise.
29891 * conform/data/locale.h-data: Likewise.
29892 * conform/data/math.h-data: Likewise.
29893 * conform/data/monetary.h-data: Likewise.
29894 * conform/data/mqueue.h-data: Likewise.
29895 * conform/data/ndbm.h-data: Likewise.
29896 * conform/data/net/if.h-data: Likewise.
29897 * conform/data/netdb.h-data: Likewise.
29898 * conform/data/netinet/in.h-data: Likewise.
29899 * conform/data/nl_types.h-data: Likewise.
29900 * conform/data/poll.h-data: Likewise.
29901 * conform/data/pthread.h-data: Likewise.
29902 * conform/data/pwd.h-data: Likewise.
29903 * conform/data/regex.h-data: Likewise.
29904 * conform/data/sched.h-data: Likewise.
29905 * conform/data/search.h-data: Likewise.
29906 * conform/data/semaphore.h-data: Likewise.
29907 * conform/data/setjmp.h-data: Likewise.
29908 * conform/data/signal.h-data: Likewise.
29909 * conform/data/spawn.h-data: Likewise.
29910 * conform/data/stdarg.h-data: Likewise.
29911 * conform/data/stdio.h-data: Likewise.
29912 * conform/data/stdlib.h-data: Likewise.
29913 * conform/data/string.h-data: Likewise.
29914 * conform/data/strings.h-data: Likewise.
29915 * conform/data/stropts.h-data: Likewise.
29916 * conform/data/sys/ipc.h-data: Likewise.
29917 * conform/data/sys/mman.h-data: Likewise.
29918 * conform/data/sys/msg.h-data: Likewise.
29919 * conform/data/sys/resource.h-data: Likewise.
29920 * conform/data/sys/select.h-data: Likewise.
29921 * conform/data/sys/sem.h-data: Likewise.
29922 * conform/data/sys/shm.h-data: Likewise.
29923 * conform/data/sys/socket.h-data: Likewise.
29924 * conform/data/sys/stat.h-data: Likewise.
29925 * conform/data/sys/statvfs.h-data: Likewise.
29926 * conform/data/sys/time.h-data: Likewise.
29927 * conform/data/sys/timeb.h-data: Likewise.
29928 * conform/data/sys/times.h-data: Likewise.
29929 * conform/data/sys/types.h-data: Likewise.
29930 * conform/data/sys/uio.h-data: Likewise.
29931 * conform/data/sys/un.h-data: Likewise.
29932 * conform/data/sys/utsname.h-data: Likewise.
29933 * conform/data/sys/wait.h-data: Likewise.
29934 * conform/data/syslog.h-data: Likewise.
29935 * conform/data/tar.h-data: Likewise.
29936 * conform/data/termios.h-data: Likewise.
29937 * conform/data/utime.h-data: Likewise.
29938 * conform/data/utmpx.h-data: Likewise.
29939 * conform/data/varargs.h-data: Likewise.
29940 * conform/data/wchar.h-data: Likewise.
29941 * conform/data/wctype.h-data: Likewise.
29942 * conform/data/wordexp.h-data: Likewise.
29943
29944 * include/stropts.h: New file.
29945 * include/uchar.h: New file.
29946 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29947 * include/assert.h: Likewise.
29948 * include/ctype.h: Likewise.
29949 * include/dirent.h: Likewise.
29950 * include/dlfcn.h: Likewise.
29951 * include/fcntl.h: Likewise.
29952 * include/fnmatch.h: Likewise.
29953 * include/glob.h: Likewise.
29954 * include/grp.h: Likewise.
29955 * include/libio.h: Likewise.
29956 * include/locale.h: Likewise.
29957 * include/math.h: Likewise.
29958 * include/net/if.h: Likewise.
29959 * include/netdb.h: Likewise.
29960 * include/netinet/in.h: Likewise.
29961 * include/pthread.h: Likewise.
29962 * include/pwd.h: Likewise.
29963 * include/regex.h: Likewise.
29964 * include/sched.h: Likewise.
29965 * include/search.h: Likewise.
29966 * include/setjmp.h: Likewise.
29967 * include/signal.h: Likewise.
29968 * include/stdio.h: Likewise.
29969 * include/stdlib.h: Likewise.
29970 * include/string.h: Likewise.
29971 * include/sys/cdefs.h: Likewise.
29972 * include/sys/mman.h: Likewise.
29973 * include/sys/msg.h: Likewise.
29974 * include/sys/resource.h: Likewise.
29975 * include/sys/select.h: Likewise.
29976 * include/sys/socket.h: Likewise.
29977 * include/sys/stat.h: Likewise.
29978 * include/sys/statvfs.h: Likewise.
29979 * include/sys/time.h: Likewise.
29980 * include/sys/times.h: Likewise.
29981 * include/sys/uio.h: Likewise.
29982 * include/sys/utsname.h: Likewise.
29983 * include/sys/wait.h: Likewise.
29984 * include/termios.h: Likewise.
29985 * include/time.h: Likewise.
29986 * include/ulimit.h: Likewise.
29987 * include/unistd.h: Likewise.
29988 * include/utime.h: Likewise.
29989 * include/wchar.h: Likewise.
29990 * include/wctype.h: Likewise.
29991 * include/wordexp.h: Likewise.
29992
29993 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29994
7a270350
UD
29995 * time/time.h: TIME_UTC must be a macro.
29996 Make timespec_get available for ISO C11 only as well.
29997
7724defc
UD
299982012-02-24 Ulrich Drepper <drepper@gmail.com>
29999
30000 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30001 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30002
6b1d1d46
JM
300032012-02-24 Joseph Myers <joseph@codesourcery.com>
30004
30005 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 30006
0f8bbd69
JM
300072012-02-24 Joseph Myers <joseph@codesourcery.com>
30008
30009 * manual/texinfo.tex: Update to version 2012-01-19.16.
30010
66ab80bc
JM
300112012-02-24 Joseph Myers <joseph@codesourcery.com>
30012
30013 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30014
74981cc5
RM
300152012-02-24 Roland McGrath <roland@hack.frob.com>
30016
ee968201
RM
30017 [BZ #13738]
30018 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30019 * manual/fdl-1.3.texi: New file.
30020 * manual/fdl-1.1.texi: File removed.
30021
74981cc5
RM
30022 [BZ #13738]
30023 * manual/libc.texinfo (FDL_VERSION): New @set.
30024 Use it for mention of FDL in cover text.
30025 (Documentation License): Use it in @include file name.
30026
7bb764bc
JM
300272012-02-22 Joseph Myers <joseph@codesourcery.com>
30028 Roland McGrath <roland@hack.frob.com>
30029
30030 [BZ #5461]
30031 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30032 not LONG_LONG_MAX and LONG_LONG_MIN.
30033 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30034 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30035 name.
30036 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30037
6cbeae47
JM
300382012-02-22 Joseph Myers <joseph@codesourcery.com>
30039
30040 [BZ #2547]
30041 [BZ #11365]
30042 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30043 manipulate bits before adding and subtracting TWO23[sx].
30044 * math/libm-test.inc (nearbyint_test): Add more tests.
30045
fe45ce09
JM
300462012-02-22 Joseph Myers <joseph@codesourcery.com>
30047
30048 [BZ #2548]
30049 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30050 bits before adding and subtracting TWO23[sx].
30051 * math/libm-test.inc (rint_test): Add more tests.
30052 (rint_test_tonearest): Likewise.
30053 (rint_test_towardzero): Likewise.
30054 (rint_test_downward): Likewise.
30055 (rint_test_upward: Likewise.
30056
ff3b3d82
JM
300572012-02-22 Joseph Myers <joseph@codesourcery.com>
30058
30059 [BZ #10110]
30060 * include/stdc-predef.h: New file. Extracted from features.h.
30061 * include/features.h: Include stdc-predef.h.
30062 * Makefile (headers): Add stdc-predef.h.
30063 * CONFORMANCE (Compiler limitations): Update.
30064
ef0aab35
JM
300652012-02-22 Joseph Myers <joseph@codesourcery.com>
30066
30067 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30068
58639409
DM
300692012-02-21 David S. Miller <davem@davemloft.net>
30070
30071 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30072 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30073
c0e70b25
DM
300742012-02-20 David S. Miller <davem@davemloft.net>
30075
30076 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30077 using a normal save/restore sequence, rather than allocating a
30078 dummy stack frame just to store a frame pointer and restore.
30079 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30080
fb06851d
JM
300812012-02-21 Joseph Myers <joseph@codesourcery.com>
30082
30083 * manual/install.texi: Fix stray word in line-wrapped comment.
30084
7a8b71c3
DM
300852012-02-20 David S. Miller <davem@davemloft.net>
30086
d510c123
DM
30087 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30088 both binutils and gcc support GOTDATA.
30089
0722d7c2
DM
30090 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30091 "rd %pc" in the PIC register setup sequences.
30092
3d2b3019
DM
30093 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30094 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30095 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30096 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30097 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30100 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30102 (SYSCALL_ERROR_HANDLER): Likewise.
30103 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30104 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30106 (SYSCALL_ERROR_HANDLER): Likewise.
30107
c80098a9
DM
30108 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30109 (HAVE_GCC_GOTDATA): New.
30110 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30111 relocation support in both binutils and gcc.
30112 * sysdeps/sparc/elf/configure: Regenerate.
30113
3a2545a0
DM
30114 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30115 * sysdeps/sparc/sparc32/elf/configure: Delete.
30116 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30117 * sysdeps/sparc/sparc64/elf/configure: Delete.
30118 * sysdeps/sparc/elf/configure.in: New file.
30119 * sysdeps/sparc/elf/configure: Generate.
30120
7a8b71c3
DM
30121 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30122 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30123 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30124 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30125 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30126
f1e86fca
JM
301272012-02-21 Joseph Myers <joseph@codesourcery.com>
30128
30129 * manual/install.texi: Do not mention specific glibc version
30130 numbers.
30131 * manual/libc.texinfo (VERSION, UPDATED): Update.
30132 (@copying): Use @copyright{} and range of years.
30133
0e7dfaef
JM
301342012-02-21 Joseph Myers <joseph@codesourcery.com>
30135
30136 [BZ #13695]
30137 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30138 [crti.S not in sysdirs] (generated): Do not append.
30139 [crti.S not in sysdirs] (omit-deps): Likewise.
30140 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30141 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30142 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30143 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30144 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30145 Likewise.
30146 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30147 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30148 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30149 * csu/defs.awk: Remove file.
30150 * sysdeps/generic/initfini.c: Likewise.
30151 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30152 variable.
30153 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30154 Likewise.
30155
599af3ca
JM
301562012-02-20 Joseph Myers <joseph@codesourcery.com>
30157
30158 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30159 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30160 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30161 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30162 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30163 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30164 <bits/epoll.h>.
30165 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30166 (__EPOLL_PACKED): Define to empty if not defined by
30167 <bits/epoll.h>.
30168 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30170 bits/epoll.h.
30171
0e499750
JM
301722012-02-20 Joseph Myers <joseph@codesourcery.com>
30173
30174 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30175 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30176 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30177 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30178 <bits/timerfd.h>.
30179 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30181 bits/timerfd.h.
30182
5ad91f6e
JM
301832012-02-20 Joseph Myers <joseph@codesourcery.com>
30184
30185 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30186 in C locale.
30187 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30188 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30189 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30191
06b99b02
AJ
301922012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30193
30194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30195 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30196
7638c0fd
AS
301972012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30198
30199 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30200 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30201 defined.
30202 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30203 Likewise.
30204 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30205 entry for 2.16.
30206
92221550
AJ
302072012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30208
30209 * math/w_acos.c: Use non-signaling floating-point comparisons.
30210 * math/w_acosf.c: Likewise.
30211 * math/w_acosh.c: Likewise.
30212 * math/w_acoshf.c: Likewise.
30213 * math/w_acoshl.c: Likewise.
30214 * math/w_acosl.c: Likewise.
30215 * math/w_asin.c: Likewise.
30216 * math/w_asinf.c: Likewise.
30217 * math/w_asinl.c: Likewise.
30218 * math/w_atanh.c: Likewise.
30219 * math/w_atanhf.c: Likewise.
30220 * math/w_atanhl.c: Likewise.
30221 * math/w_exp2.c: Likewise.
30222 * math/w_exp2f.c: Likewise.
30223 * math/w_exp2l.c: Likewise.
30224 * math/w_j0.c: Likewise.
30225 * math/w_j0f.c: Likewise.
30226 * math/w_j0l.c: Likewise.
30227 * math/w_j1.c: Likewise.
30228 * math/w_j1f.c: Likewise.
30229 * math/w_j1l.c: Likewise.
30230 * math/w_jn.c: Likewise.
30231 * math/w_jnf.c: Likewise.
30232 * math/w_log.c: Likewise.
30233 * math/w_log10.c: Likewise.
30234 * math/w_log10f.c: Likewise.
30235 * math/w_log10l.c: Likewise.
30236 * math/w_log2.c: Likewise.
30237 * math/w_log2f.c: Likewise.
30238 * math/w_log2l.c: Likewise.
30239 * math/w_logf.c: Likewise.
30240 * math/w_logl.c: Likewise.
30241 * math/w_sqrt.c: Likewise.
30242 * math/w_sqrtf.c: Likewise.
30243 * math/w_sqrtl.c: Likewise.
30244 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30245 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30247 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30248 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30249
ebaf36eb
JM
302502012-02-19 Joseph Myers <joseph@codesourcery.com>
30251
30252 [BZ #9739]
30253 * manual/string.texi (strnlen): Use correct parameter name in
30254 equivalent expression.
30255
71c254a6
JM
302562012-02-19 Joseph Myers <joseph@codesourcery.com>
30257
30258 [BZ #11174]
30259 * manual/users.texi (seteuid): Consistently use neweuid for
30260 argument name.
30261
16d2c631
JM
302622012-02-19 Joseph Myers <joseph@codesourcery.com>
30263
30264 [BZ #13704]
30265 * manual/nss.texi (Services in the NSS configuration): Correct
30266 list of services in example configuration file.
30267
cd837b09
NB
302682012-02-19 Nick Bowler <nbowler@draconx.ca>
30269
30270 [BZ #11322]
30271 * manual/arith.texi: Remove statements about negative zero
30272 behaving identically to zero.
30273
02c4bbad
JM
302742012-02-18 Joseph Myers <joseph@codesourcery.com>
30275
30276 [BZ #5993]
30277 * manual/install.texi: Do not document upgrading from libc5.
30278
366842e7
JM
302792012-02-18 Joseph Myers <joseph@codesourcery.com>
30280
30281 [BZ #4596]
30282 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30283
dd54084d
DM
302842012-02-18 David S. Miller <davem@davemloft.net>
30285
30286 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30287 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30288 %o7 across the call.
30289 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30290 instead.
30291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30292 SETUP_PIC_REG_LEAF.
30293 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30294 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30295 * sysdeps/sparc/crtn.S: Likewise.
30296
2bcc53a3
UD
302972012-02-17 Ulrich Drepper <drepper@gmail.com>
30298
30299 * aout/Makefile: Remove.
30300
09c093b5
RK
303012012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30302
30303 [BZ #13058]
30304 * manual/examples/argp-ex1.c (main): Format definition in GNU
30305 style.
30306 * manual/examples/argp-ex2.c (main): Likewise.
30307 * manual/examples/argp-ex3.c (main): Likewise.
30308 * manual/examples/argp-ex4.c (main): Likewise.
30309 * manual/examples/longopt.c (main): Use new-style prototype
30310 definition.
30311 * manual/examples/strncat.c (main): Specify return type and use
30312 (void) for arguments.
30313 * manual/examples/subopt.c (main): Use char **argv argument.
30314
2ee633a2
JM
303152012-02-17 Joseph Myers <joseph@codesourcery.com>
30316
30317 [BZ #5077]
30318 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30319 rounding modes.
30320
0520adde
FB
303212012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30322
30323 [BZ #6907]
30324 * manual/string.texi (strchr): Change when strchrnul is
30325 recommended.
30326
3f4081cd
DGM
303272012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30328
30329 [BZ #174]
30330 * manual/locale.texi (setlocale): Document LOCPATH.
30331
d1b10e78
JM
303322012-02-17 Joseph Myers <joseph@codesourcery.com>
30333
30334 [BZ #10210]
30335 * manual/process.texi (execle): Move @dots{} before last argument.
30336
79c6869c
PB
303372012-02-17 Paul Bolle <pebolle@tiscali.nl>
30338
30339 [BZ #12047]
30340 * manual/charset.texi (Generic Charset Conversion): Fix typo
30341 (LC_TYPE -> LC_CTYPE).
30342
cc6e48bc
NB
303432012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30344
30345 [BZ #5805]
30346 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30347 (scalbnf): Likewise.
30348 (scalbnl): Likewise.
30349 (scalbln): Likewise.
30350 (scalblnf): Likewise.
30351 (scalblnl): Likewise.
30352 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30353 (vwarnx): Likewise.
30354 (verr): Likewise.
30355 (verrx): Likewise.
30356 * manual/filesys.texi (telldir): Use braces around return type.
30357 * manual/llio.texi (mmap): Add space after comma.
30358 (mmap64): Likewise.
30359 * manual/math.texi (jn): Use @var{} on parameter names.
30360 (jnf): Likewise.
30361 (jnl): Likewise.
30362 (yn): Likewise.
30363 (ynf): Likewise.
30364 (ynl): Likewise.
30365 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30366 line.
30367 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30368 "...".
30369 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30370 (sched_get_priority_max): Likewise.
30371 * manual/signal.texi (sigvec): Add space after comma.
30372 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30373 names.
30374 (if_indextoname): Likewise.
30375 (if_freenameindex): Likewise.
30376 (sendto): Use ',' instead of '.' in prototype.
30377 * manual/startup.texi (syscall): Use @dots{} instead of literal
30378 "...".
30379 * manual/stdio.texi (__fpending): Separate initial words of
30380 paragraph from @deftypefun line.
30381 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30382 "...".
30383 (vsyslog): Use @var{} on parameter names.
30384 * manual/terminal.texi (stty): Use @var{} on parameter names.
30385 * manual/users.texi (getutmp): Use @var{} on parameter names.
30386 (getutmpx): Likewise.
30387
5b23062f
JM
303882012-02-17 Joseph Myers <joseph@codesourcery.com>
30389
30390 [BZ #6884]
30391 * manual/stdio.texi (fopen): Fix typos in description of
30392 ",ccs=STRING".
30393
8dee4833
AJ
303942012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30395
30396 [BZ #4026]
30397 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30398 get clock_id definition.
30399
9078ce93
TS
304002012-02-17 Thomas Schwinge <thomas@schwinge.name>
30401
30402 [BZ #4822]
30403 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30404 (madvise): Cast every argument to void on its own.
30405
3835c55f
JM
304062012-02-17 Joseph Myers <joseph@codesourcery.com>
30407
30408 [BZ #9902]
30409 * manual/startup.texi (Exit Status): Fix typo.
30410
35c47e37
JM
304112012-02-17 Joseph Myers <joseph@codesourcery.com>
30412
30413 [BZ #10140]
30414 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30415 * manual/examples/argp-ex2.c: Likewise.
30416 * manual/examples/argp-ex3.c: Likewise.
30417
e3b69ca7
RH
304182012-02-16 Richard Henderson <rth@redhat.com>
30419
30420 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30421 * sysdeps/s390/s390-32/initfini.c: Remove.
30422 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30423 * sysdeps/s390/s390-64/initfini.c: Remove.
30424
df83af67
KK
304252012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30426
30427 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30428 compiler output for sysdeps/generic/initfini.c.
30429 * sysdeps/sh/elf/initfini.c: Remove file.
30430
f63f3380
DM
304312012-02-16 David S. Miller <davem@davemloft.net>
30432
fb59b3a4
DM
30433 [BZ #11494]
30434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30435
f63f3380
DM
30436 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30437 * sysdeps/sparc/crti.S: New file.
30438 * sysdeps/sparc/crtn.S: New file.
30439 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30440 * sysdeps/sparc/sparc64/Makefile: Likewise.
30441
df6a4a4a
MF
304422012-02-15 Mike Frysinger <vapier@gentoo.org>
30443
6dd8f3dc 30444 [BZ #3335]
df6a4a4a
MF
30445 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30446
1cac7236
RM
304472012-02-15 Roland McGrath <roland@hack.frob.com>
30448
d2c736f8
RM
30449 [BZ #4822]
30450 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30451
1cac7236
RM
30452 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30453 (write, read, close): Likewise.
30454 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30455
8e475601
JM
304562012-02-15 Joseph Myers <joseph@codesourcery.com>
30457
30458 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30459 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30460 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30461 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30462 <bits/signalfd.h>.
30463 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30465 bits/signalfd.h.
30466
ed656b40
MP
304672012-02-14 Marek Polacek <polacek@redhat.com>
30468
30469 * sysdeps/x86_64/crti.S: New file.
30470 * sysdeps/x86_64/crtn.S: New file.
30471 * sysdeps/x86_64/elf/initfini.c: Remove file.
30472
2a979d3a
JM
304732012-02-13 Joseph Myers <joseph@codesourcery.com>
30474
30475 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30476 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30477 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30478 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30479 <bits/inotify.h>.
30480 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30482 bits/inotify.h.
30483
2a418ac3
JM
304842012-02-13 Joseph Myers <joseph@codesourcery.com>
30485
30486 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30487 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30488 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30489 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30490 <bits/eventfd.h>.
30491 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30493 bits/eventfd.h.
30494
fb779be7
TS
304952012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30496
e19e83c5
RM
30497 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30498 __feraiseexcept instead of feraiseexcept.
7c35ffed 30499
fb779be7
TS
30500 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30501 nanosleep invocations.
30502 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30503 strings, and add error checking for a nanosleep invocations.
30504
59ba27a6
PE
305052012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30506
30507 Replace FSF snail mail address with URLs, as per GNU coding standards.
30508 Most of the snail mail addresses were wrong anyway, and omitting
30509 them makes the source code easier to maintain. Almost all of the
30510 changes are to license notices and to locale LC_IDENTIFICATION
30511 addresses, except for this one:
30512 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30513 not its snail mail address.
30514
57b957eb
RH
305152012-02-09 Richard Henderson <rth@twiddle.net>
30516
af850b1c
RH
30517 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30518 of kernel-features.h.
30519
57b957eb
RH
30520 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30521
6b73181a
MP
305222012-02-08 Marek Polacek <polacek@redhat.com>
30523
30524 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30525 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30526 * sysdeps/gnu/_G_config.h: Likewise.
30527 * sysdeps/generic/_G_config.h: Likewise.
30528
26ecc33a
AS
305292012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30530
6c6dbc63
AS
30531 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30532 tests.
30533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30534
e216c012
AS
30535 * sysdeps/powerpc/powerpc32/crti.S: New file.
30536 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30537 * sysdeps/powerpc/powerpc64/crti.S: New file.
30538 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30539
26ecc33a
AS
30540 * Makeconfig (have-initfini): Don't set.
30541 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30542 * configure.in (nopic_initfini): Don't substitute.
30543 * config.h.in (HAVE_INITFINI): Don't #undef.
30544 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30545 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30546
3add8e13
JM
305472012-02-08 Joseph Myers <joseph@codesourcery.com>
30548
30549 Support crti.S and crtn.S provided directly by architectures.
30550 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30551 [crti.S in sysdirs] (omit-deps): Likewise.
30552 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30553 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30554 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30555 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30556 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30557 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30558 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30559 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30560 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30561 compiler output for sysdeps/generic/initfini.c.
30562 * sysdeps/i386/elf/Makefile: Remove file.
30563 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30564
a22f12b4
MP
305652012-02-07 Marek Polacek <polacek@redhat.com>
30566
30567 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30568 * sysdeps/gnu/_G_config.h: Likewise.
30569 * sysdeps/mach/hurd/_G_config.h: Likewise.
30570
148cf100
MP
305712012-02-07 Marek Polacek <polacek@redhat.com>
30572
30573 * math/Makefile (tests): Add tst-CMPLX2.
30574 * math/tst-CMPLX2.c: New file.
30575
cfdc0dd7
AS
305762012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30577
84ba42c4
AS
30578 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30579
cfdc0dd7
AS
30580 * math/libm-test.inc (jn_test): Add missing L suffix.
30581
622c86f4
MP
305822012-02-06 Marek Polacek <polacek@redhat.com>
30583
30584 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30585 * sysdeps/i386/fpu/e_powf.S: Likewise.
30586 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30587 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30588 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30589 * sysdeps/i386/fpu/e_pow.S: Likewise.
30590 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30591 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30592 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30593 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30594 * sysdeps/i386/fpu/e_log2.S: Likewise.
30595 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30596 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30597 * sysdeps/i386/fpu/e_powl.S: Likewise.
30598 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30599 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30600 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30601 * sysdeps/i386/fpu/e_logl.S: Likewise.
30602 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30603 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30604 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30605 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30607 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30608 * sysdeps/i386/fpu/e_log.S: Likewise.
30609 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30610 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30611 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30612 * sysdeps/i386/fpu/e_logf.S: Likewise.
30613 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30614 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30615 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30616 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30617 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30618 * sysdeps/i386/fpu/e_log10.S: Likewise.
30619 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30620 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30621 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30622 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30623 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30624 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30625 * sysdeps/i386/asm-syntax.h: Likewise.
30626 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30629 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30630 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30631 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30632 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30633 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30634 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30635 * sysdeps/powerpc/sysdep.h: Likewise.
30636 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30637 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30638
d4a54ac6
JM
306392012-02-06 Joseph Myers <joseph@codesourcery.com>
30640
30641 [BZ #411]
30642 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30643
314054ea
JM
306442012-02-06 Joseph Myers <joseph@codesourcery.com>
30645
30646 * sysdeps/i386/sysdep.h: Include <features.h>.
30647 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30648 version.
30649
d8e0ca50
JM
306502012-02-05 Joseph Myers <joseph@codesourcery.com>
30651
30652 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30653 Define.
30654 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30655 LOAD_PIC_REG_STR.
30656
b1da7dd9
JM
306572012-02-03 Joseph Myers <joseph@codesourcery.com>
30658
30659 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30660 (SETUP_PIC_REG): Use GET_PC_THUNK.
30661 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30662 macro.
30663
9a1d9254
JM
306642012-02-03 Joseph Myers <joseph@codesourcery.com>
30665
30666 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30667 for non-PIC compilation.
30668 (SETUP_PIC_REG): Add .p2align directive.
30669 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30670 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30671 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30672 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30673 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30674 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30676 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30677 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30678 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30679 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30680 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30681 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30682 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30683 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30684 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30685 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30686 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30687 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30688 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30689 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30690 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30691 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30692 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30695 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30697 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30698 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30699 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30700 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30701 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30702 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30703 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30704 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30705 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30706 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30707 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30708 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30709 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30710
65dc3b75
JM
307112012-02-03 Joseph Myers <joseph@codesourcery.com>
30712
30713 * math/tst-CMPLX.c: Include <stdio.h>.
30714
d55bf177
JM
307152012-01-31 Joseph Myers <joseph@codesourcery.com>
30716
30717 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30718 float.
30719 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30720 * sysdeps/sparc/bits/mathdef.h: Likewise.
30721
69db4f8f
MP
307222012-01-31 Marek Polacek <polacek@redhat.com>
30723
30724 * libio/libio.h: Don't define _PARAMS.
30725 * locale/programs/config.h: Don't define PARAMS.
30726 * stdlib/strtol_l.c: Likewise.
30727 (__strtol_l): Remove PARAMS from the prototype.
30728
41b81892
UD
307292012-01-31 Ulrich Drepper <drepper@gmail.com>
30730
3b49edc0
UD
30731 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30732 names. Just use the correct names. Remove unnecessary wrapper
30733 functions.
30734 * malloc/arena.c: Likewise.
30735 * malloc/hooks.c: Likewise.
30736
41b81892
UD
30737 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30738 ARENA_TEST says not to. Simplify test for creation of a new arena.
30739 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30740
27a25b6e
UD
307412012-01-30 Ulrich Drepper <drepper@gmail.com>
30742
30743 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30744 into tail calls.
30745 (update_get_addr): New function.
30746 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30747 GET_ADDR_MODULE parameter.
30748
c8a89e7d
JM
307492012-01-30 Joseph Myers <joseph@codesourcery.com>
30750
30751 * crypt/cert.c: Remove __STDC__ conditionals.
30752 * crypt/crypt-entry.c: Likewise.
30753 * crypt/crypt_util.c: Likewise.
30754 * libio/filedoalloc.c: Likewise.
30755 * libio/fileops.c: Likewise.
30756 * libio/genops.c: Likewise.
30757 * libio/iofclose.c: Likewise.
30758 * libio/iofdopen.c: Likewise.
30759 * libio/iofopen.c: Likewise.
30760 * libio/iofopen64.c: Likewise.
30761 * libio/iogetdelim.c: Likewise.
30762 * libio/iopopen.c: Likewise.
30763 * libio/obprintf.c: Likewise.
30764 * libio/oldfileops.c: Likewise.
30765 * libio/oldiofclose.c: Likewise.
30766 * libio/oldiofdopen.c: Likewise.
30767 * libio/oldiofopen.c: Likewise.
30768 * libio/oldiopopen.c: Likewise.
30769 * libio/wfiledoalloc.c: Likewise.
30770 * libio/wgenops.c: Likewise.
30771 * locale/programs/xmalloc.c: Likewise.
30772 * misc/syslog.c: Likewise.
30773 * stdio-common/xbug.c: Likewise.
30774 * string/memchr.c: Likewise.
30775 * string/memcmp.c: Likewise.
30776 * string/memrchr.c: Likewise.
30777 * string/rawmemchr.c: Likewise.
30778 * sysdeps/posix/getcwd.c: Likewise.
30779 * time/strftime_l.c: Likewise.
30780
3b100462
JM
307812012-01-30 Joseph Myers <joseph@codesourcery.com>
30782
30783 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30784 * config.make.in (config-cflags-sse2avx): Define.
30785 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30786 Fix typo.
30787
607998af
CM
307882012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30789
30790 * scripts/config.guess: Update from upstream config git repository.
30791 * scripts/config.sub: Likewise.
30792
3601428f
CM
307932012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30794
3ac8b282
CM
30795 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30796 (EM_NUM): Update.
30797 (R_TILEPRO_*, R_TILEGX_*): New macros.
30798
e034841e
CM
30799 * scripts/firstversions.awk: Fix bug in version range handling.
30800
540d7568
CM
30801 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30802
3601428f
CM
30803 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30804
463de862
CM
30805 * include/sys/epoll.h: New file.
30806 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30807 libc_hidden_def.
30808
73139a76
UD
308092012-01-28 Ulrich Drepper <drepper@gmail.com>
30810
96bc5b45
UD
30811 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30812 Avoid unnecessary __WORDSIZE == 64 test.
30813 (fmaxf): Use VEX format if possible.
30814 (fmax): Likewise.
30815 (fminf): Likewise.
30816 (fmin): Likewise.
30817
56f6f6a2
UD
30818 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30819 * math/math_private.h: Remove libc_fegetround* and
30820 libc_fesetround*.
30821 * sysdeps/i386/configure.in: Check for -msse2avx.
30822 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30823 also if SSE2AVX is defined.
30824 Remove libc_fegetround* and libc_fesetround*.
30825 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30826 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30827 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30828 of HAS_YMM_USABLE.
30829 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30830 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30832 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30833 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30834
73139a76
UD
30835 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30836
d73f93a4
AZ
308372012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30838
30839 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30840 size is not set.
30841 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30842
6ee65ed6
UD
308432012-01-27 Ulrich Drepper <drepper@gmail.com>
30844
30845 [BZ #13618]
30846 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30847 relocation.
30848 * Makeconfig (libm): Define.
30849 * elf/Makefile: Add rules to build and run tst-relsort1.
30850 * elf/tst-relsort1.c: New file.
30851 * elf/tst-relsort1mod1.c: New file.
30852 * elf/tst-relsort1mod2.c: New file.
30853
8db21882
JM
308542012-01-27 Joseph Myers <joseph@codesourcery.com>
30855
30856 * math/s_ldexp.c: Remove __STDC__ conditionals.
30857 * math/s_ldexpf.c: Likewise.
30858 * math/s_ldexpl.c: Likewise.
30859 * math/s_nextafter.c: Likewise.
30860 * math/s_nexttowardf.c: Likewise.
30861 * math/s_significand.c: Likewise.
30862 * math/s_significandf.c: Likewise.
30863 * math/s_significandl.c: Likewise.
30864 * math/w_jnl.c: Likewise.
30865 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30866 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30867 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30868 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30869 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30884 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30885 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30886 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30887 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30888 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30889 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30890 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30891 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30892 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30893 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30895 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30896 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30897 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30898 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30899 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30900 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30901 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30902 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30903 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30904 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30905 * sysdeps/ieee754/k_standard.c: Likewise.
30906 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30907 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30908 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30909 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30910 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30911 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30913 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30914 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30915 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30916 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30917 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30918 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30919 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30920 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30922 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30923 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30924 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30925 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30926 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30927 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30928 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30929 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30930 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30931 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30932 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30933 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30934 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30937 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30938 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30941 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30942 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30944 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30945 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30946 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30948 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30949 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30950 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30951 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30952 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30954 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30955 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30956 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30957 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30958 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30959 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30961 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30964 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30965 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30966 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30967 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30968 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30970 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30971 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30972 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30977 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30978 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30979 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30980 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30981 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30982 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30984 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30985 * sysdeps/ieee754/s_matherr.c: Likewise.
30986 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30987 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30988 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30990
965a54a4
JM
309912012-01-26 Joseph Myers <joseph@codesourcery.com>
30992
30993 * crypt/md5.h: Remove __STDC__ conditionals.
30994 * libio/libioP.h: Likewise.
30995 * locale/programs/config.h: Likewise.
30996 * sysdeps/generic/sysdep.h: Likewise.
30997 * sysdeps/i386/asm-syntax.h: Likewise.
30998 * sysdeps/s390/asm-syntax.h: Likewise.
30999 * sysdeps/unix/sysdep.h: Likewise.
31000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31002
7071ad79
JM
310032012-01-26 Joseph Myers <joseph@codesourcery.com>
31004
31005 * libio/libio.h: Remove __STDC__ conditionals.
31006 * malloc/obstack.h: Likewise.
31007 * math/complex.h: Likewise.
31008 * math/math.h: Likewise.
31009 * sysdeps/generic/_G_config.h: Likewise.
31010 * sysdeps/gnu/_G_config.h: Likewise.
31011 * sysdeps/mach/hurd/_G_config.h: Likewise.
31012 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31013 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31014 * sysdeps/sparc/bits/mathdef.h: Likewise.
31015
afc5ed09
UD
310162012-01-26 Ulrich Drepper <drepper@gmail.com>
31017
31018 [BZ #13583]
31019 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 31020 Clean up HAS_* macros.
afc5ed09 31021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
31022 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31023 possible.
31024 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31025 HAS_AVX.
31026 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31027 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31028 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31029 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31030 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 31031
bdb6de1d
JM
310322012-01-25 Joseph Myers <joseph@codesourcery.com>
31033
31034 * elf/tst-unique3.cc (gets): Remove declaration.
31035 * elf/tst-unique3lib.cc (gets): Likewise.
31036 * elf/tst-unique3lib2.cc (gets): Likewise.
31037 * elf/tst-unique4.cc (gets): Likewise.
31038
b15549e6
UD
310392012-01-24 Ulrich Drepper <drepper@gmail.com>
31040
31041 * include/stdio.h: Add C++ protection. Add gets declarations and
31042 definitions.
31043 * debug/tst-chk1.c: Don't declare gets here.
31044 * stdio-common/tst-gets.c: Likewise.
31045
a037381f
JM
310462012-01-24 Joseph Myers <joseph@codesourcery.com>
31047
31048 * posix/glob: Remove directory.
31049
f1d4aa75
JM
310502012-01-24 Joseph Myers <joseph@codesourcery.com>
31051
31052 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31053
81c0c964
PT
310542012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31055
31056 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31057 of the non-standard EPFNOSUPPORT.
31058
0ea698ae
ST
310592011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31060
31061 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31062 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31063 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31064
d220b117
UD
310652012-01-21 Ulrich Drepper <drepper@gmail.com>
31066
31067 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31068
3e1aa84e
UD
310692012-01-20 Ulrich Drepper <drepper@gmail.com>
31070
31071 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31072 transient errors.
31073 * nscd/grpcache.c (cache_addgr): Likewise.
31074 * nscd/hstcache.c (cache_addhst): Likewise.
31075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31076 * nscd/pwdcache.c (cache_addpw): Likewise.
31077 * nscd/servicescache.c (cache_addserv): Likewise.
31078
400aa020
UD
310792012-01-16 Ulrich Drepper <drepper@gmail.com>
31080
d77e7869
UD
31081 * malloc/malloc.c: Various cleanups.
31082 * malloc/hooks.c: Likewise.
31083
400aa020
UD
31084 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31085 * stdlib/bug-fmtmsg1.c: New file.
31086
31087 * stdlib/fmtmsg.c (init): Add missing unlock.
31088 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31089
e0a309cf
MP
310902012-01-12 Marek Polacek <polacek@redhat.com>
31091
31092 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31093 and _GNU_SOURCE.
31094
929d11c7
WS
310952012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31096
31097 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31098 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31099 macro to ensure uniqueness of label name.
31100 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31101 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31102
41d0e869
UD
311032012-01-11 Ulrich Drepper <drepper@gmail.com>
31104
0cc5ed3b
UD
31105 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31106
41d0e869
UD
31107 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31108 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31109 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31111
a47a831a
UD
311122012-01-10 Ulrich Drepper <drepper@gmail.com>
31113
daa891c0
UD
31114 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31115
31116 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31117 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31118 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31119
e58ef0f2
UD
31120 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31121
a47a831a 31122 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
31123 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 31125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
31126
31127 * math/bits/math-finite.h: Add ldexp support.
31128
a0bfc9c7
MP
311292012-01-10 Marek Polacek <polacek@redhat.com>
31130
31131 * locale/programs/localedef.h (show_archive_content): Add noreturn
31132 attribute.
31133
d6e97a1d
UD
311342012-01-09 Ulrich Drepper <drepper@gmail.com>
31135
31136 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31137
d5835c26
UD
311382012-01-08 Ulrich Drepper <drepper@gmail.com>
31139
e5f484c6
UD
31140 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31141
d5835c26
UD
31142 * io/Makefile (headers): Add bits/poll2.h.
31143
d1f741e9
WS
311442011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31145
31146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31147 typo #include statement.
31148
ec09c1c4
UD
311492012-01-08 Ulrich Drepper <drepper@gmail.com>
31150
31151 * include/sys/cdefs.h: Define __attribute_alloc_size.
31152 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31153 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31154 * elf/pldd.c: Likewise.
31155 * iconv/iconv_charmap.c: Likewise.
31156 * iconv/iconvconfig.c: Likewise.
31157 * iconv/strtab.c: Likewise.
31158 * locale/programs/locale.c: Likewise.
31159 * locale/programs/localedef.h: Likewise.
31160 * locale/programs/simple-hash.c: Likewise.
31161 * nscd/nscd.h: Likewise.
31162 * nss/makedb.c: Likewise.
31163 * sysdeps/generic/ldconfig.h: Likewise.
31164 * locale/programs/localedef.c: Remove xmalloc prototype.
31165 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31166
20b38e03
PP
311672012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31168
31169 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31170 appropriate.
31171
a0da5fe1
UD
311722012-01-08 Ulrich Drepper <drepper@gmail.com>
31173
1d5a644a 31174 * math/Makefile (tests): Add tst-CMPLX.
669704fd 31175 * math/tst-CMPLX.c: New file.
1d5a644a 31176
8784a6db
UD
31177 * math/complex.h (CMPLXL): Fix typo.
31178
d9a216c0
UD
31179 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31180 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31181 GLIBC_2.16.
31182 * debug/tst-chk1.c: Add poll and ppoll tests.
31183 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31184 * include/sys/poll.h: Add hidden proto for ppoll.
31185 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31186 * sysdeps/mach/hurd/ppoll.c: Likewise.
31187 * io/ppoll.c: Likewise.
31188 * debug/poll_chk.c: New file.
31189 * debug/ppoll_chk.c: New file.
31190 * include/bits/poll2.h: New file.
31191 * io/bits/poll2.h: New file.
31192
ac097f5c
UD
31193 [BZ #1350]
31194 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31195
2119dcfa
UD
31196 * configure.in: static is always set to yes. Remove.
31197 * config.make.in: Don't set build-static.
31198 * Makeconfig: Remove use of build-static.
31199 * dlfcn/Makefile: Likewise.
31200 * elf/Makefile: Likewise.
31201 * math/Makefile: Likewise.
31202 * misc/Makefile: Likewise.
31203 * nptl/Makefile: Likewise.
31204 * sysdeps/mach/hurd/Makefile: Likewise.
31205
121766a9
UD
31206 * configure.in: PWD_P is not used anymore.
31207 * config.make.in: Remove PWD_P entry.
31208
51a1d39c 31209 * configure.in: Remove last remnants of RANLIB.
8720d066 31210 No need to check for signed size_t anymore.
215f4bdc
UD
31211 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31212 and IA-64.
3857022a 31213 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
31214 * aclocal.m4: Likewise.
31215
d3ed7225
UD
31216 * wcsmbs/mbrtoc16.c: Implement using towc function.
31217 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31218 * wcsmbs/wcsmbsload.c: Likewise.
31219 * iconv/gconv_simple.c: Likewise.
31220 * iconv/gconv_int.h: Likewise.
31221 * iconv/gconv_builtin.h: Likewise.
31222 * iconv/iconv_prog.c: Remove CHAR16 handling.
31223
31224 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31225
31226 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31227
a0da5fe1
UD
31228 * configure.in: Remove --with-elf and --enable-bounded options.
31229 Dont set base_machine for ia64. More non-ELF conditions removed.
31230 Remove testing and setting of leading underscore information.
31231 * config.make.in (build-bounded): Set to no.
31232 * config.h.in: Remove NO_UNDERSCORES entry.
31233 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31234 them.
31235 * csu/start.c: Remove !NO_UNDERSCORE code.
31236 * locale/localeinfo.h: Likewise.
31237 * sysdeps/generic/machine-gmon.h: Likewise.
31238 * sysdeps/generic/sysdep.h: Likewise.
31239 * sysdeps/i386/sysdep.h: Likewise.
31240 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31241 * sysdeps/mach/sysdep.h: Likewise.
31242 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31243 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31244 * sysdeps/sh/sysdep.h: Likewise.
31245 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31246 * sysdeps/unix/i386/sysdep.S: Likewise.
31247 * sysdeps/unix/sparc/start.c: Likewise.
31248 * sysdeps/unix/sparc/sysdep.S: Likewise.
31249 * sysdeps/unix/sparc/sysdep.h: Likewise.
31250 * sysdeps/unix/start.c: Likewise.
31251 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31252 * sysdeps/x86_64/sysdep.h: Likewise.
31253
df78418a
UD
312542012-01-07 Ulrich Drepper <drepper@gmail.com>
31255
a784e502
UD
31256 [BZ #13553]
31257 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31258 for non-gcc.
31259 * argp/argp-fmtstream.h: Use const instead __const.
31260 * argp/argp.h: Likewise.
31261 * assert/assert.h: Likewise.
31262 * bits/fenv.h: Likewise.
31263 * bits/sched.h: Likewise.
31264 * bits/sigset.h: Likewise.
31265 * bits/sigthread.h: Likewise.
31266 * catgets/nl_types.h: Likewise.
31267 * conform/data/pthread.h-data: Likewise.
31268 * crypt/crypt-private.h: Likewise.
31269 * crypt/crypt.h: Likewise.
31270 * crypt/crypt_util.c: Likewise.
31271 * ctype/ctype.h: Likewise.
31272 * debug/execinfo.h: Likewise.
31273 * debug/mbsnrtowcs_chk.c: Likewise.
31274 * debug/mbsrtowcs_chk.c: Likewise.
31275 * debug/wcsnrtombs_chk.c: Likewise.
31276 * debug/wcsrtombs_chk.c: Likewise.
31277 * debug/wcstombs_chk.c: Likewise.
31278 * dirent/dirent.h: Likewise.
31279 * dlfcn/dlfcn.h: Likewise.
31280 * elf/neededtest4.c: Likewise.
31281 * grp/grp.h: Likewise.
31282 * gshadow/gshadow.h: Likewise.
31283 * iconv/gconv.h: Likewise.
31284 * iconv/gconv_int.h: Likewise.
31285 * iconv/gconv_simple.c: Likewise.
31286 * iconv/iconv.h: Likewise.
31287 * iconv/loop.c: Likewise.
31288 * iconv/skeleton.c: Likewise.
31289 * include/aio.h: Likewise.
31290 * include/aliases.h: Likewise.
31291 * include/argz.h: Likewise.
31292 * include/arpa/inet.h: Likewise.
31293 * include/assert.h: Likewise.
31294 * include/dirent.h: Likewise.
31295 * include/dlfcn.h: Likewise.
31296 * include/execinfo.h: Likewise.
31297 * include/fcntl.h: Likewise.
31298 * include/fenv.h: Likewise.
31299 * include/glob.h: Likewise.
31300 * include/grp.h: Likewise.
31301 * include/libintl.h: Likewise.
31302 * include/mntent.h: Likewise.
31303 * include/netdb.h: Likewise.
31304 * include/pwd.h: Likewise.
31305 * include/rpc/netdb.h: Likewise.
31306 * include/sched.h: Likewise.
31307 * include/search.h: Likewise.
31308 * include/shadow.h: Likewise.
31309 * include/signal.h: Likewise.
31310 * include/stdio.h: Likewise.
31311 * include/stdlib.h: Likewise.
31312 * include/string.h: Likewise.
31313 * include/sys/socket.h: Likewise.
31314 * include/sys/stat.h: Likewise.
31315 * include/sys/statfs.h: Likewise.
31316 * include/sys/statvfs.h: Likewise.
31317 * include/sys/syslog.h: Likewise.
31318 * include/sys/time.h: Likewise.
31319 * include/sys/uio.h: Likewise.
31320 * include/time.h: Likewise.
31321 * include/unistd.h: Likewise.
31322 * include/utmp.h: Likewise.
31323 * include/wchar.h: Likewise.
31324 * include/wctype.h: Likewise.
31325 * inet/aliases.h: Likewise.
31326 * inet/arpa/inet.h: Likewise.
31327 * inet/netinet/ether.h: Likewise.
31328 * inet/netinet/in.h: Likewise.
31329 * intl/libintl.h: Likewise.
31330 * io/bits/fcntl2.h: Likewise.
31331 * io/fcntl.h: Likewise.
31332 * io/ftw.h: Likewise.
31333 * io/sys/poll.h: Likewise.
31334 * io/sys/stat.h: Likewise.
31335 * io/sys/statfs.h: Likewise.
31336 * io/sys/statvfs.h: Likewise.
31337 * io/utime.h: Likewise.
31338 * libio/bits/stdio.h: Likewise.
31339 * libio/bits/stdio2.h: Likewise.
31340 * libio/libio.h: Likewise.
31341 * libio/libioP.h: Likewise.
31342 * libio/stdio.h: Likewise.
31343 * locale/lc-ctype.c: Likewise.
31344 * locale/locale.h: Likewise.
31345 * login/utmp.h: Likewise.
31346 * malloc/arena.c: Likewise.
31347 * malloc/malloc.c: Likewise.
31348 * malloc/malloc.h: Likewise.
31349 * malloc/mcheck.c: Likewise.
31350 * malloc/mtrace.c: Likewise.
31351 * math/bits/mathcalls.h: Likewise.
31352 * math/fenv.h: Likewise.
31353 * math/math_private.h: Likewise.
31354 * misc/bits/error.h: Likewise.
31355 * misc/bits/syslog.h: Likewise.
31356 * misc/err.h: Likewise.
31357 * misc/error.h: Likewise.
31358 * misc/fstab.h: Likewise.
31359 * misc/mntent.h: Likewise.
31360 * misc/regexp.h: Likewise.
31361 * misc/search.h: Likewise.
31362 * misc/sgtty.h: Likewise.
31363 * misc/sys/mman.h: Likewise.
31364 * misc/sys/syslog.h: Likewise.
31365 * misc/sys/uio.h: Likewise.
31366 * misc/sys/xattr.h: Likewise.
31367 * misc/ttyent.h: Likewise.
31368 * nis/rpcsvc/ypclnt.h: Likewise.
31369 * nss/nss.h: Likewise.
31370 * posix/bits/unistd.h: Likewise.
31371 * posix/fnmatch.h: Likewise.
31372 * posix/glob.h: Likewise.
31373 * posix/sched.h: Likewise.
31374 * posix/spawn.h: Likewise.
31375 * posix/sys/wait.h: Likewise.
31376 * posix/unistd.h: Likewise.
31377 * posix/wordexp.h: Likewise.
31378 * pwd/pwd.h: Likewise.
31379 * resolv/netdb.h: Likewise.
31380 * resource/sys/resource.h: Likewise.
31381 * rt/aio.h: Likewise.
31382 * rt/bits/mqueue2.h: Likewise.
31383 * rt/mqueue.h: Likewise.
31384 * shadow/shadow.h: Likewise.
31385 * signal/signal.h: Likewise.
31386 * socket/send.c: Likewise.
31387 * socket/sendto.c: Likewise.
31388 * socket/sys/socket.h: Likewise.
31389 * stdio-common/printf.h: Likewise.
31390 * stdlib/bits/stdlib.h: Likewise.
31391 * stdlib/fmtmsg.h: Likewise.
31392 * stdlib/monetary.h: Likewise.
31393 * stdlib/stdlib.h: Likewise.
31394 * stdlib/ucontext.h: Likewise.
31395 * streams/stropts.h: Likewise.
31396 * string/argz.h: Likewise.
31397 * string/bits/string2.h: Likewise.
31398 * string/string.h: Likewise.
31399 * string/strings.h: Likewise.
31400 * sunrpc/rpc/auth.h: Likewise.
31401 * sunrpc/rpc/auth_des.h: Likewise.
31402 * sunrpc/rpc/clnt.h: Likewise.
31403 * sunrpc/rpc/netdb.h: Likewise.
31404 * sunrpc/rpc/pmap_clnt.h: Likewise.
31405 * sunrpc/rpc/xdr.h: Likewise.
31406 * sysdeps/generic/inttypes.h: Likewise.
31407 * sysdeps/generic/net/if.h: Likewise.
31408 * sysdeps/generic/sys/swap.h: Likewise.
31409 * sysdeps/gnu/net/if.h: Likewise.
31410 * sysdeps/gnu/utmpx.h: Likewise.
31411 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31412 * sysdeps/i386/i486/bits/string.h: Likewise.
31413 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31414 * sysdeps/s390/bits/string.h: Likewise.
31415 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31416 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31417 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31418 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31419 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31420 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31421 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31422 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31423 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31424 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31425 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31426 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31427 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31428 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31429 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31430 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31431 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31433 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31434 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31435 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31436 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31437 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31438 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31439 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31440 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31441 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31442 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31443 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31444 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31445 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31446 * sysvipc/sys/ipc.h: Likewise.
31447 * sysvipc/sys/msg.h: Likewise.
31448 * sysvipc/sys/sem.h: Likewise.
31449 * sysvipc/sys/shm.h: Likewise.
31450 * termios/termios.h: Likewise.
31451 * time/sys/time.h: Likewise.
31452 * time/time.h: Likewise.
31453 * wcsmbs/bits/wchar2.h: Likewise.
31454 * wcsmbs/uchar.h: Likewise.
31455 * wcsmbs/wchar.h: Likewise.
31456 * wctype/wctype.h: Likewise.
31457
0269750c
UD
31458 [BZ #13551]
31459 * Makeconfig: Remove all but ELF support including AIX support.
31460 * Makerules: Likewise.
31461 * config.h.in: Likewise.
31462 * config.make.in: Likewise.
31463 * configure: Likewise.
31464 * configure.in: Likewise.
31465 * csu/Makefile: Likewise.
31466 * csu/version.c: Likewise.
31467 * debug/Makefile: Likewise.
31468 * dlfcn/Makefile: Likewise.
31469 * elf/Makefile: Likewise.
31470 * extra-lib.mk: Likewise.
31471 * iconv/Makefile: Likewise.
31472 * include/libc-symbols.h: Likewise.
31473 * include/shlib-compat.h: Likewise.
31474 * resolv/Makefile: Likewise.
31475 * resolv/res_libc.c: Likewise.
31476 * rt/Makefile: Likewise.
31477 * sysdeps/i386/asm-syntax.h: Likewise.
31478 * sysdeps/i386/sysdep.h: Likewise.
31479 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31480 * sysdeps/mach/sysdep.h: Likewise.
31481 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31482 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31483 * sysdeps/s390/asm-syntax.h: Likewise.
31484 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31485 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31486 * sysdeps/sh/sysdep.h: Likewise.
31487 * sysdeps/unix/sparc/sysdep.h: Likewise.
31488 * sysdeps/wordsize-32/divdi3.c: Likewise.
31489 * sysdeps/x86_64/sysdep.h: Likewise.
31490
00bbd29b
UD
31491 * argp/Versions: Remove _argp_unlock_xxx.
31492
31493 [BZ #13559]
31494 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31495 * abilist/libBrokenLocale.abilist: Likewise.
31496 * abilist/libanl.abilist: Likewise.
31497 * abilist/libc.abilist: Likewise.
31498 * abilist/libcrypt.abilist: Likewise.
31499 * abilist/libdl.abilist: Likewise.
31500 * abilist/libm.abilist: Likewise.
31501 * abilist/libnsl.abilist: Likewise.
31502 * abilist/libpthread.abilist: Likewise.
31503 * abilist/libresolv.abilist: Likewise.
31504 * abilist/librt.abilist: Likewise.
31505 * abilist/libthread_db.abilist: Likewise.
31506 * abilist/libutil.abilist: Likewise.
31507 * abilist/libnss_db.abilist: New file.
31508
31509 * scripts/abilist.awk: Add support for indirect functions.
31510
a2693a0e
UD
31511 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31512
3f05895f
UD
31513 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31514
ecb6fb48
UD
31515 * shlib-versions: Remove entries for ports architectures.
31516
664f8cb9
UD
31517 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31518 files in ports.
31519 * elf/stackguard-macros.h: Remove support for IA-64.
31520 * elf/tst-auditmod1.c: Likewise.
31521 * sysdeps/generic/ldsodefs.h: Likewise.
31522
7ae81d88
UD
31523 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31524 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31525 configure files.
31526
bdeba135
UD
31527 [BZ #13552]
31528 * configure.in: Remove --enable-omitfp support.
31529 * FAQ.in: Adjust.
31530 * config.make.in: Likewise.
31531 * Makeconfig: Likewise.
31532 * manual/install.texi: Likewise.
31533
d75a0a62
UD
31534 In case anyone cares, the IA-64 architecture could move to ports.
31535 * sysdeps/ia64/*: Removed.
31536 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31537 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31538
dcc9756b
UD
31539 [BZ #13555]
31540 * configure.in: Remove entries for unsupported architectures.
31541
d3761ebc 31542 [BZ #13533]
9954432e
UD
31543 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31544 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31545 routines.
31546 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31547 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31548 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31549 fall back to using wcrtomb.
31550 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31551 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31552 renaming.
31553 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31554 * wcsmbs/tst-c16c32-1.c: New file.
31555
31556 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31557 local variable.
31558
c3a87236
UD
31559 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31560
28926a1b
UD
31561 * elf/tst-unique3.cc: Add explicit declaration of gets.
31562 * elf/tst-unique3lib.cc: Likewise.
31563 * elf/tst-unique3lib2.cc: Likewise.
31564 * elf/tst-unique4.cc: Likewise.
31565
df78418a
UD
31566 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31567
8ecd6b2a
JM
315682012-01-06 Joseph Myers <joseph@codesourcery.com>
31569
31570 [BZ #13566]
31571 * assert/assert.h (static_assert): Don't define for C++.
31572 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31573 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31574
9f115170
UD
315752012-01-03 Ulrich Drepper <drepper@gmail.com>
31576
5e0d0300
UD
31577 * iconv/loop.c (single loop): Fix assertion in storing of
31578 remaining bytes.
31579
9f115170
UD
31580 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31581
81fb02b0
UD
315822012-01-01 Ulrich Drepper <drepper@gmail.com>
31583
31584 * posix/getconf.c: Update copyright year.
31585 * nss/getent.c: Likewise.
a316c1f6 31586 * nss/makedb.c: Likewise.
81fb02b0
UD
31587 * iconv/iconvconfig.c: Likewise.
31588 * iconv/iconv_prog.c: Likewise.
31589 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31590 * elf/pldd.c: Likewise.
31591 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31592 * catgets/gencat.c: Likewise.
31593 * csu/version.c: Likewise.
31594 * elf/ldd.bash.in: Likewise.
31595 * elf/sprof.c (print_version): Likewise.
31596 * locale/programs/locale.c: Likewise.
31597 * locale/programs/localedef.c: Likewise.
a316c1f6 31598 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31599 * nscd/nscd.c (print_version): Likewise.
31600 * debug/xtrace.sh: Likewise.
31601 * malloc/memusage.sh: Likewise.
31602 * malloc/mtrace.pl: Likewise.
31603 * debug/catchsegv.sh: Likewise.
31604
2ba92745
JJ
316052011-12-30 Jakub Jelinek <jakub@redhat.com>
31606
31607 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31608 pure attribute.
31609
dadebdae
UD
316102011-12-24 Ulrich Drepper <drepper@gmail.com>
31611
d3761ebc 31612 [BZ #13533]
db6af3eb
UD
31613 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31614 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31615 transformations.
31616 * iconv/gconv_int.h: Likewise.
31617 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31618 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31619 from libc for GLIBC_2.16.
31620 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31621 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31622 * wcsmbs/uchar.h: Really define mbstate_t.
31623 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31624 * wcsmbs/c16rtomb.c: New file.
31625 * wcsmbs/mbrtoc16.c: New file.
31626 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31627 for C/POSIX locale.
31628 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31629 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31630
dadebdae
UD
31631 * wcsmbs/wchar.h: Add missing __restrict.
31632
67371b56
UD
316332011-12-23 Ulrich Drepper <drepper@gmail.com>
31634
74033a25
UD
31635 [BZ #13532]
31636 * time/Makefile (routines): Add timespec_get.
31637 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31638 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31639 timespec for ISO C11.
31640 * time/timespec_get.c: New file.
31641 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31642 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31643
380d7e87
UD
31644 [BZ #13531]
31645 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31646 * stdlib/stdlib.h: Declare aligned_alloc.
31647 * Versions.def: Add GLIBC_2.16 for libc.
31648 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31649
4e9e7a35
UD
31650 [BZ 13527]
31651 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31652 ISO C11.
31653
380d7e87 31654 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31655 code.
31656
03a71829
UD
31657 [BZ #13528]
31658 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31659
839e283e
UD
31660 [BZ #13529]
31661 * assert/assert.h (static_assert): Define.
31662
ce5294e2 31663 * version.h: Update for 2.16 development version.
90fa7312 31664
8d44e150 31665 [BZ #13526]
d7809905
UD
31666 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31667 _ISOC11_SOURCE.
31668
c0da14cd
UD
31669 * version.h (RELEASE): Bump for 2.15 release.
31670 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31671
530a3249
MP
31672 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31673 Patch by Marek Polacek <mpolacek@redhat.com>.
31674
67371b56
UD
31675 * bits/byteswap.h: Protect long long constants with __extension__.
31676 * sysdeps/i386/bits/byteswap.h: Likewise.
31677 * sysdeps/ia64/bits/byteswap.h: Likewise.
31678 * sysdeps/s390/bits/byteswap.h: Likewise.
31679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31680
15db4de1
LD
316812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31682
31683 [BZ #13540]
bbe315ea
LD
31684 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31685 destination buffer.
15db4de1
LD
31686 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31687
2b2596b1
MP
316882011-12-23 Marek Polacek <polacek@redhat.com>
31689
31690 * elf/dl-addr.c (determine_info): Add inline keyword.
31691 * elf/tst-auditmod4b.c (check_avx): Likewise.
31692 * elf/tst-auditmod6b.c (check_avx): Likewise.
31693 * elf/tst-auditmod6c.c (check_avx): Likewise.
31694 * elf/tst-auditmod7b.c (check_avx): Likewise.
31695
70c6c246
UD
316962011-12-23 Ulrich Drepper <drepper@gmail.com>
31697
31698 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31699 !__SSE_MATH__.
31700
c044cf14
LD
317012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31702
15db4de1 31703 [BZ #13540]
c044cf14
LD
31704 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31705 processing for last bytes.
31706
6b13d9d9
BH
317072011-08-06 Bruno Haible <bruno@clisp.org>
31708
d455f537
BH
31709 [BZ #13061]
31710 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31711 U+0385, not to U+1FEE.
31712
6b13d9d9
BH
31713 [BZ #13062]
31714 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31715 entry for U+00A5 U+0301.
31716
db910efd
UD
317172011-12-22 Ulrich Drepper <drepper@gmail.com>
31718
27deeafc
UD
31719 [BZ #13166]
31720 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31721 buffer for the output is too small.
31722
aed9d171
UD
31723 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31724 optimization.
31725
db910efd
UD
31726 [BZ #13185]
31727 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31728 SSE flags if possible.
31729
2bd779ae
LD
317302011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31731
e7f9dac3 31732 [BZ #13540]
2bd779ae
LD
31733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31734 processing for last bytes.
31735
154bfc16
JM
317362011-12-22 Joseph Myers <joseph@codesourcery.com>
31737
31738 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31739 (syscall-list-default-options, syscall-list-default-condition)
31740 (syscall-list-includes): Define.
31741 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31742 list of ABIs and options and #if conditions for each ABI. Do not
31743 handle common syscalls between ABIs specially.
31744 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31745 Remove.
31746 (syscall-list-variants, syscall-list-32bit-options)
31747 (syscall-list-32bit-condition, syscall-list-64bit-options)
31748 (syscall-list-64bit-condition): Define.
31749 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31750 (syscall-list-variants, syscall-list-32bit-options)
31751 (syscall-list-32bit-condition, syscall-list-64bit-options)
31752 (syscall-list-64bit-condition): Define.
31753 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31754 Remove.
31755 (syscall-list-variants, syscall-list-32bit-options)
31756 (syscall-list-32bit-condition, syscall-list-64bit-options)
31757 (syscall-list-64bit-condition): Define.
31758 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31759 Remove.
31760 (syscall-list-variants, syscall-list-32bit-options)
31761 (syscall-list-32bit-condition, syscall-list-64bit-options)
31762 (syscall-list-64bit-condition): Define.
31763
21eaf3a5
UD
317642011-12-22 Ulrich Drepper <drepper@gmail.com>
31765
16c6f992
UD
31766 * locale/iso-639.def: Add brx entry.
31767
41043168
UD
31768 [BZ #13328]
31769 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31770 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31771
21eaf3a5
UD
31772 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31773 __feraiseexcept_renamed.
31774
e3a851a2
UD
317752011-12-21 Ulrich Drepper <drepper@gmail.com>
31776
4920765e
UD
31777 [BZ #13538]
31778 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31779 EPOLLET with unsigned values.
31780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31782
e3a851a2
UD
31783 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31784 to large cancellation.
31785 * math/s_cacoshf.c: Likewise.
31786 * math/s_cacoshl.c: Likewise.
31787
b27e24b8
RK
317882011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31789
31790 [BZ #13305]
aebefeee 31791 [BZ #12786]
b27e24b8
RK
31792 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31793 * math/s_cacoshf.c: Likewise.
31794 * math/s_cacoshl.c: Likewise.
31795
ee190f67
UD
317962011-12-21 Ulrich Drepper <drepper@gmail.com>
31797
31798 [BZ #13439]
31799 * iconv/gconv.h: Define __GCONV_SWAP.
31800 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31801 * iconvdata/utf-16.c: Likewise.
31802 * iconvdata/utf-32.c: Likewise.
31803
707f25df
AS
318042011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31805
31806 [BZ #13524]
31807 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31808 numerator after shifting it by one limb.
31809
d2daaa1e
RÁE
318102011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31811
31812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31813 under [__USE_EXTERN_INLINES].
31814
a4647e72
UD
318152011-12-17 Ulrich Drepper <drepper@gmail.com>
31816
31817 [BZ #13446]
31818 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31819
f0b264f1
AZ
318202011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31821
31822 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31823 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31824 optimized code.
31825 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31826 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31827 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31828 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31829 for strncasecmp/strncasecmp_l compilation.
31830 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31831 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31832
8ef4f244
MP
318332011-12-08 Marek Polacek <mpolacek@redhat.com>
31834
31835 [BZ #13484]
31836 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31837 of __asm__.
31838
97ac2654
UD
318392011-12-17 Ulrich Drepper <drepper@gmail.com>
31840
31841 [BZ #13506]
31842 * time/tzfile.c (__tzfile_read): Check values from file header.
31843
91d2a845
WS
318442011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31845
31846 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31847 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31848 * powerpc/powerpc32/dl-start.S: Likewise.
31849 * powerpc/powerpc32/elf/start.S: Likewise.
31850 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31851 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31852 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31853 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31854 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31855 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31856 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31857 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31858 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31859 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31860 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31861 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31862 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31863 * powerpc/powerpc32/memset.S: Likewise.
31864 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31865 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31866 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31867 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31868 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31869 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31870 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31871 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31872 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31873 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31875 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31876 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31877
a1267ba1
AZ
318782011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31879
31880 * math/libm-test.inc: Added more nearbyint tests.
31881 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31882 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31884 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31885
ad8ac1bd
RL
318862011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31887
31888 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31889 FD_CLOEXEC.
31890
1d3e4b61
UD
318912011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31892
31893 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31894 Add wcscpy-ssse3 wcscpy-c.
31895 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31896 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31897 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31898 * sysdeps/x86_64/wcschr.S: New file.
31899 * sysdeps/x86_64/wcsrchr.S: New file.
31900 * string/test-strcmp.c: Remove checking of wcscmp function for
31901 wrong alignments.
31902 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31903 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31904 wcsrchr-sse2 wcsrchr-c.
31905 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31906 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31907 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31908 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31909 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31910 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31911 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31912 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31913 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31914 * wcsmbc/wcschr.c (WCSCHR): New macro.
31915
5b330a2d
UD
319162011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31917
31918 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31919 * wcsmbs/test-wcsrchr.c: New file.
31920 * string/test-strrchr.c: Add wcsrchr support.
31921 (WIDE): New macro.
31922 * wcsmbs/test-wcscpy.c: New file.
31923 * string/test-strcpy.c: Add wcscpy support.
31924 (WIDE): New macro.
26428b7c 31925
f039c043
UD
319262011-12-10 Ulrich Drepper <drepper@gmail.com>
31927
31928 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31929 the inner loop.
31930
850fb039
AS
319312011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31932
31933 [BZ #13472]
31934 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31935
4efbd5cb
UD
319362011-12-04 Ulrich Drepper <drepper@gmail.com>
31937
52ff5dd0 31938 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31939 Minor optimizations.
52ff5dd0 31940
4efbd5cb
UD
31941 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31942 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31943 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31944
8a426e12
UD
319452011-12-03 Ulrich Drepper <drepper@gmail.com>
31946
aff2453d
UD
31947 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31948 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31949 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31950 for gcc to avoid warnings.
31951 * inet/Makefile (tests): Add tst-checks.
31952 * inet/tst-checks.c: New file.
31953
31954 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31955 warning.
31956
31957 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31958 __wmemcmp_sse2.
31959
31960 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31961 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31962
8a426e12
UD
31963 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31964
9bea3473
UD
319652011-12-02 Ulrich Drepper <drepper@gmail.com>
31966
3a965496
UD
31967 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31968 problem.
31969
9bea3473
UD
31970 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31971
f101631b
UD
319722011-11-29 Joseph Myers <joseph@codesourcery.com>
31973
31974 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31975 conditional on GCC version.
31976 (__arch_compare_and_exchange_val_8_acq)
31977 (__arch_compare_and_exchange_val_16_acq)
31978 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31979 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31980 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31981
a98275aa
UD
319822011-12-02 Joseph Myers <joseph@codesourcery.com>
31983
31984 * sysdeps/sh/backtrace.c: New file.
31985
d4cc29a2
AS
319862011-12-02 Andreas Schwab <schwab@redhat.com>
31987
31988 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31989 parenthesis.
31990
6257af2d
AS
319912011-12-01 Andreas Schwab <schwab@redhat.com>
31992
31993 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31994 falling back to utime.
31995
b5f44c1a
AS
319962011-11-30 Andreas Schwab <schwab@redhat.com>
31997
31998 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31999 expectations for float.
32000
f3a6cc0a
AS
320012011-11-29 Andreas Schwab <schwab@redhat.com>
32002
32003 * locale/weight.h (findidx): Add parameter len.
32004 * locale/weightwc.h (findidx): Likewise.
32005 * posix/fnmatch_loop.c (FCT): Adjust caller.
32006 * posix/regcomp.c (build_equiv_class): Likewise.
32007 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32008 * posix/regexec.c (check_node_accept_bytes): Likewise.
32009 * string/strcoll_l.c (STRCOLL): Likewise.
32010 * string/strxfrm_l.c (STRXFRM): Likewise.
32011
9d65ea3a
UD
320122011-11-17 Ulrich Drepper <drepper@gmail.com>
32013
32014 * Makefile.in: Remove CVSOPT handling.
32015 * configure.in: Remove use of AC_REVISION.
32016 * iconvdata/Makefile (distribute): No need to filter out CVS.
32017 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32018 handling.
32019
5583a086
AS
320202011-11-16 Andreas Schwab <schwab@redhat.com>
32021
32022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32023 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32024 [USE_AS_STRNCASECMP_L]: Likewise.
32025 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32026 NO_TLS_DIRECT_SEG_REFS.
32027 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32028 Fix argument offsets for non-PIC.
32029 [USE_AS_STRNCASECMP_L]: Likewise.
32030 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32031 NO_TLS_DIRECT_SEG_REFS.
32032
d62a8200
UD
320332011-11-15 Ulrich Drepper <drepper@gmail.com>
32034
9d65ea3a 32035 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
32036 O_CLOEXEC.
32037 * locale/loadlocale.c (_nl_load_locale): Likewise.
32038
09f93bd3
AS
320392011-11-15 Andreas Schwab <schwab@redhat.com>
32040
446514f9
AS
32041 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32042 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32043 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32044 (SYSCALL_GETTIME): Set errno on error.
32045
09f93bd3
AS
32046 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32047 count references to noai6ai_cached.
32048
312be3f9
UD
320492011-11-15 Ulrich Drepper <drepper@gmail.com>
32050
32051 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32052
32053 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32054 FD_CLOEXEC for /proc/self/maps.
32055
32056 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32057 FD_CLOEXEC for /proc/meminfo.
32058
32059 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32060 gai.conf.
32061
32062 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32063 FD_CLOEXEC for given file.
32064
32065 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32066
32067 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32068 FD_CLOEXEC for /etc/hosts.
32069 (_gethtent): Likewise.
32070
32071 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32072
32073 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32074 cancellation and set FD_CLOEXEC for /etc/netgroup.
32075
32076 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32077 reading /etc/publickey.
32078
32079 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32080 allow cancellation when reading /etc/group.
32081
32082 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32083 cancellation.
32084 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32085
32086 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32087 when using data file.
32088
32089 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32090
32091 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32092 (write_nis_obj): Use "c" and "e" in fopen.
32093
32094 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32095
32096 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32097
32098 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32099
32100 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32101
32102 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32103 locale.alias.
32104
32105 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32106
32107 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32108
32109 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32110
32111 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32112 file parsing and set FD_CLOEXEC.
32113
82af0fa8
UD
321142011-11-14 Ulrich Drepper <drepper@gmail.com>
32115
32116 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32117
a5fb313c
AS
321182011-11-14 Andreas Schwab <schwab@redhat.com>
32119
32120 * malloc/arena.c (arena_get2): Don't call reused_arena when
32121 _int_new_arena failed.
32122
6abf3465
UD
321232011-11-14 Ulrich Drepper <drepper@gmail.com>
32124
32125 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32126 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32127 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32128 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32129 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32130 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32131 to compile strcasecmp and strncasecmp.
32132 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32133 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32134
32135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32136
76e3966e
UD
321372011-11-13 Ulrich Drepper <drepper@gmail.com>
32138
32139 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32140 locale-defines.sym to gen-as-const-headers.
32141 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32142 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32144 to compile strcasecmp and strncasecmp.
32145 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32146 strcasecmp_l and strncasecmp_l.
32147 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32148 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32149 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32150 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32151 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32152 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32153 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32154 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32155 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32156 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32157 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32158
ab26144e
UD
321592011-11-12 Ulrich Drepper <drepper@gmail.com>
32160
7edb22ef
UD
32161 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32162 result of SYSDEP_GETTIME_CPU to retval.
32163 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32164 parameter list to macro. Remove trailing semicolon. Adjust users.
32165
9694fc44
UD
32166 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32167 variable.
32168
8ad89ef8
UD
32169 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32170 mantissa words.
32171 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32172
0c822ef9
UD
32173 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32174 from unused variable.
32175
874e0564
UD
32176 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32177 DWARF definitions.
32178 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32179 for assembling.
32180
3a2edc79
UD
32181 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32182 over namespaces.
32183
f3c2577f
UD
32184 * sunrpc/rpc_prot.c (rejected): Fix case value.
32185
294ce126
UD
32186 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32187 unsigned long long int to avoid warnings in shift.
32188
5e2b63c6
UD
32189 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32190 of use of trans.
32191 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32192 variable tmp.
32193
e7f4b08e
UD
32194 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32195 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32196 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32197
ab26144e
UD
32198 * nis/nis_table.c (nis_list): Use variable of correct type for
32199 result of __follow_path call.
32200
8a6d5255
AZ
322012011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32202
32203 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32204 of math functions ceil, trunc, floor, round, and sqrt, when
32205 avaliable on the platform.
32206 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32207 name clash.
32208 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32209 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32210 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32211
aaddc98c
MP
322122011-10-30 Marek Polacek <mpolacek@redhat.com>
32213
32214 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32215 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32216
95b7042b
RM
322172011-11-11 Roland McGrath <roland@hack.frob.com>
32218
32219 * include/unistd.h: Fix __readlink return type.
32220 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32221
57769839
UD
322222011-11-11 Ulrich Drepper <drepper@gmail.com>
32223
32224 * stdlib/ucontext.h: Undo last change for makecontext.
32225
edc5984d
AS
322262011-11-11 Andreas Schwab <schwab@redhat.com>
32227
98591e58
AS
32228 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32229
edc5984d
AS
32230 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32231 * setjmp/setjmp.h: Mark functions as non-leaf.
32232 * setjmp/bits/setjmp2.h: Likewise.
32233 * stdlib/ucontext.h: Likewise.
32234
77cdc054
AS
322352011-11-10 Andreas Schwab <schwab@redhat.com>
32236
32237 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32238 (reused_arena): Don't check arena limit.
32239 (arena_get2): Atomically check arena limit.
32240
fe72eebd
UD
322412011-11-08 Ulrich Drepper <drepper@gmail.com>
32242
5f078c32
UD
32243 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32244 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32245
fe72eebd
UD
32246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32247 instructions.
32248
ae1bc2fa
AS
322492011-11-07 Andreas Schwab <schwab@redhat.com>
32250
7583a88d
AS
32251 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32252 handler when locking.
32253
ae1bc2fa
AS
32254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32255 Fix size of allocated buffer.
32256
10fb0bfa
AS
322572011-11-04 Andreas Schwab <schwab@redhat.com>
32258
998832a4
AS
32259 [BZ #10103]
32260 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32261 declarations for long double functions.
32262 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32263
10fb0bfa
AS
32264 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32265
3d7ba52b
AS
322662011-11-03 Andreas Schwab <schwab@redhat.com>
32267
a9ae54a1
AS
32268 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32269 installed.
32270
3d7ba52b
AS
32271 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32272 is disabled.
32273
bc8db248
ST
322742011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32275
32276 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32277
45b96dd6
AS
322782011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32279
647776f6
AS
32280 * include/alloca.h (stackinfo_alloca_round): Define.
32281 (extend_alloca): Use it.
32282 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32283 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32284 here.
32285
d91a8b93
AS
32286 * scripts/check-local-headers.sh: Ignore libaudit.h.
32287
45b96dd6
AS
32288 * nscd/Makefile (extra-objs): Make recursively expanded.
32289
432d41ce
UD
322902011-11-01 Ulrich Drepper <drepper@gmail.com>
32291
34372fc6
UD
32292 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32294
fadb59f8
UD
32295 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32296 * posix/tst-rfc3484-2.c: Likewise.
32297 * posix/tst-rfc3484-3.c: Likewise.
32298
78239589
UD
32299 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32300 process_vm_writev.
32301 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32302 process_vm_writev.
32303 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32304 process_vm_writev from libc using GLIBC_2.15 version.
32305
432d41ce
UD
32306 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32307
02f9c6cf
PP
323082011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32309
32310 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32311 stack usage.
32312
3a2c0242
UD
323132011-10-31 Ulrich Drepper <drepper@gmail.com>
32314
f4ec4833
UD
32315 [BZ #13367]
32316 * nss/getent.c (initgroups_keys): Show error message in case no group
32317 names are given.
32318
3a2c0242
UD
32319 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32320 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32321 __bump_nl_timestamp.
32322 * nscd/connections (nscd_init): When host database is served open
32323 netlink socket and request notification about configuration changes.
32324 (main_loop_poll): Track netlink file descriptor and bump timestamp
32325 in case data becomes available.
32326 (main_loop_epoll): Likewise.
32327 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32328 (database_pers_head): Add extra_data fileds.
32329 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32330 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32331 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32332 Adjust caller.
32333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32334 in6ai data, call __free_in6ai.
32335 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32336 Add -DHAVE_NETLINK.
32337 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32338 interface information. Reuse previous data if netlink timestamp
32339 is not changed.
32340 (__bump_nl_timestamp): New function.
32341 (__free_in6ai): New function.
32342
636064eb
UD
323432011-10-30 Ulrich Drepper <drepper@gmail.com>
32344
32345 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32346 close_not_cancel_no_status here.
32347 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32348
9beb2334
UD
323492011-10-29 Ulrich Drepper <drepper@gmail.com>
32350
6ef76f3b
UD
32351 [BZ #13276]
32352 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32353 return value.
32354
0ffc4f3e 32355 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32356 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32357 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32358
cb95113e
UD
323592011-07-03 Andreas Jaeger <aj@suse.de>
32360
32361 [BZ #10709]
32362 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32363 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32364 * math/libm-test.inc (sin_test): Add test case.
32365
a1b560ff
UD
323662011-10-29 Ulrich Drepper <drepper@gmail.com>
32367
c9aaface
UD
32368 [BZ #13337]
32369 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32370 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32371
d272e7f1
UD
32372 * elf/chroot_canon.c (chroot_canon): Cleanups.
32373
1bc33071
UD
32374 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32375
1760874d
TJ
32376 [BZ #13335]
32377 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32378 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32379
51d91b18
UD
32380 * string/test-strchr.c: Make usable for strchrnul testing.
32381 * string/test-strchrnul.c: New file.
32382 * string/Makefile (strop-tests): Add strchrnul.
32383
a1b560ff 32384 * po/it.po: Update from translation team.
b611fb81 32385 * po/es.po: Likewise.
a1b560ff 32386
a5b81e1f
UD
323872011-10-28 Ulrich Drepper <drepper@gmail.com>
32388
fd52bc6d
UD
32389 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32390 the three constants needed as parameters. Drop the others.
32391 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32392 __m128i_strloadu_tolower.
52e4b9eb
UD
32393 Create and initialize variable zero and use it in all the places
32394 where _mm_setzero_si128 was used.
fd52bc6d 32395
a5b81e1f
UD
32396 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32397 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32398 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32399 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32400 anymore.
32401 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32402 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32403 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32404 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32405 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32406 __mpranred, __mptan.
32407 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32408 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32409 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32410 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32411 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32412 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32413 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32414 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32415 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32416
b4343346
AS
324172011-10-28 Andreas Schwab <schwab@redhat.com>
32418
0c92d8a8
AS
32419 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32420 redefine if SHARED.
32421 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32422
b4343346
AS
32423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32424 wide char related routines to wcsmbs subdir.
32425
3871f58f
AS
324262011-10-27 Andreas Schwab <schwab@redhat.com>
32427
32428 [BZ #13344]
32429 * misc/sys/cdefs.h (__THROWNL): Define.
32430 * posix/unistd.h: Use __THREADNL instead of __THREAD
32431 for memory synchronization functions.
32432
94d44d9f
RM
324332011-10-26 Roland McGrath <roland@hack.frob.com>
32434
21b64b15 32435 [BZ #13349]
94d44d9f
RM
32436 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32437 doesn't exist.
32438 * manual/stdio.texi (Obstack Streams): Node removed.
32439
f6ce9294
AS
324402011-10-26 Andreas Schwab <schwab@redhat.com>
32441
80479147
AS
32442 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32443 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32444 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32445
f6ce9294
AS
32446 * math/math_private.h (math_force_eval): Allow non-addressable
32447 arguments.
32448 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32449
618280a1
UD
324502011-10-25 Ulrich Drepper <drepper@gmail.com>
32451
e0016b11
UD
32452 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32453 file is not needed.
32454
32455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32459 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32460 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32462 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32463 Add AVX variants.
32464 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32465 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32466 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32467 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32468 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32469 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32470 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32471 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32472 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32473 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32474 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32475 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32477 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32478 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32479 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32480 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32481 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32482 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32483
32484 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32485 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32486
618280a1
UD
32487 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32488 place. Use VEX encoding when compiling for AVX.
32489
37822576
AS
324902011-10-25 Andreas Schwab <schwab@redhat.com>
32491
1f1e1947
AS
32492 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32493 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32494
37822576
AS
32495 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32496
31ea014d
UD
324972011-10-25 Ulrich Drepper <drepper@gmail.com>
32498
d7826aa1 32499 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32500 useless if() expression.
d7826aa1
UD
32501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32510 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32511 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32512 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32513 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32514 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32515 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32517 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32518 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32519 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32520
31ea014d
UD
32521 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32522
16437fec
AS
325232011-10-25 Andreas Schwab <schwab@redhat.com>
32524
32525 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32526 condition.
32527 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32528
31d3cc00
UD
325292011-10-25 Ulrich Drepper <drepper@gmail.com>
32530
32531 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32532 .text section. Avoid duplicate constants.
32533 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32537 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32539 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32543 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32545 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32550 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32554 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32556 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32557 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32558 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32559 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32560 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32561 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32562 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32563 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32564 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32565 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32566 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32567 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32568 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32569 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32571 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32572 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32573 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32574 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32575 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32576 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32577 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32578
58985aa9
UD
325792011-10-24 Ulrich Drepper <drepper@gmail.com>
32580
202c9deb
UD
32581 * sysdeps/x86_64/dla.h: Move to ...
32582 * sysdeps/x86_64/fpu/dla.h: ...here.
32583 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32584 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32585
af968f62
UD
32586 * config.make.in: Add have-mfma4 entry.
32587 * configure.in: Substitute libc_cv_cc_fma4.
32588 * math/Makefile (dbl-only-routines): Add sincostab.
32589 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32590 Use __sincostab not sincos.
32591 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32592 name is a macro.
32593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32597 using __copysign.
32598 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32599 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32600 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32601 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32602 and __inv.
32603 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32604 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32605 __copysign.
32606 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32607 define aliases when function name is a macro.
32608 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32609 sysdeps/ieee754/dbl-64/sincos.tbl.
32610 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32611 fma4-enabled routines.
32612 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32613 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32614 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32615 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32617 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32618 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32619 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32620 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32621 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32622 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32623 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32624 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32625 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32626 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32627 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32628 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32629 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32630 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32631 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32632 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32633 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32635 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32636 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32637 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32639 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32640 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32641 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32642
58985aa9
UD
32643 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32644 rename.
32645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32647 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32652 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32653
a201fbcf
AS
326542011-10-24 Andreas Schwab <schwab@redhat.com>
32655
32656 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32657
fc2ee42a
LD
326582011-10-23 Ulrich Drepper <drepper@gmail.com>
32659
bb3129bd
UD
32660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32661
0275fff8
UD
32662 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32663 prediction.
32664 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32665
2fa2ae85
UD
32666 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32667 Remove unused variable magic_bits.
32668 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32669
fc2ee42a
LD
32670 * string/strnlen.c: Define and use STRNLEN macro.
32671 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32672 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32673 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32674 * wcsmbs/wcslen.c: Define and use WCSLEN.
32675 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32676 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32677 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32678 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32679 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32680 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32681 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32682
ce7dd29f
LD
326832011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32684
32685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32686 strnlen-sse2-no-bsf.
32687 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32689 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32690 Add strnlen support.
32691 (USE_AS_STRNLEN): New macro.
32692 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32693 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32694 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32695 * sysdeps/x86_64/wcslen.S: New file.
32696
979c70a3
MZ
326972011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32698
32699 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32700 XMM-moves are used for copying on small sizes.
32701
2d09f82f
LD
327022011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32703
32704 * wcsmbs/Makefile (strop-tests): Add wcschr.
32705 * wcsmbs/test-wcschr.c: New file.
32706 * string/test-strchr.c: Update.
32707 Add wcschr support.
32708 (WIDE): New macro.
32709
619fccca
LD
327102011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32711
2d09f82f 32712 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32713 * wcsmbs/test-wcslen.c: New file.
32714 * string/test-strlen.c: Update.
32715 Add wcslen support.
32716 (WIDE): New macro.
32717
09f699ea
UD
327182011-10-23 Ulrich Drepper <drepper@gmail.com>
32719
32720 * po/it.po: Update from translation team.
32721
95584d3b
LD
327222011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32723
32724 * sysdeps/x86_64/wcscmp.S: Update.
32725 Fix wrong comparison semantics.
32726 wcscmp shall use signed comparison not unsigned.
32727 Don't use substraction to avoid overflow bug.
32728 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32729 * wcsmbc/wcscmp.c: Likewise.
32730 * string/test-strcmp.c: Likewise.
32731 Add new tests to check cases with negative values.
32732
c8b3296b
UD
327332011-10-23 Ulrich Drepper <drepper@gmail.com>
32734
32735 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32736 * sysdeps/x86_64/dla.h: ...here. New file.
32737 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32742 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32743 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32744 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32745 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32746
246ad57a
AS
327472011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32748
32749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32750 __ynl_finite aliases.
32751
a1a87169
UD
327522011-10-22 Ulrich Drepper <drepper@gmail.com>
32753
0d355eb7
UD
32754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32755
a1a87169
UD
32756 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32757 define DLA_FMA.
32758 [DLA_FMA] (EMULV): Use DLA_FMA.
32759 [DLA_FMA] (MUL12): Use EMULV.
32760 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32761 that are not needed.
32762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32769
ee2aafe0
AS
327702011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32771
32772 * math/s_nan.c: Undef __nan.
32773 * math/s_nanf.c: Undef __nanf.
32774 * math/s_nanl.c: Undef __nanl.
32775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32776 "math_private.h".
32777
bc62c2fb
UD
327782011-10-22 Ulrich Drepper <drepper@gmail.com>
32779
77425c63
UD
32780 * math/s_catan.c: Add branch predictions.
32781 * math/s_catanf.c: Likewise.
32782 * math/s_catanh.c: Likewise.
32783 * math/s_catanhf.c: Likewise.
32784 * math/s_catanhl.c: Likewise.
32785 * math/s_catanl.c: Likewise.
32786 * math/s_cexp.c: Likewise.
32787 * math/s_cexpf.c: Likewise.
32788 * math/s_cexpl.c: Likewise.
32789 * math/s_clog.c: Likewise.
32790 * math/s_clog10.c: Likewise.
32791 * math/s_clog10f.c: Likewise.
32792 * math/s_clog10l.c: Likewise.
32793 * math/s_clogf.c: Likewise.
32794 * math/s_clogl.c: Likewise.
32795 * math/s_csqrt.c: Likewise.
32796 * math/s_csqrtf.c: Likewise.
32797 * math/s_csqrtl.c: Likewise.
32798 * math/s_ctanf.c: Likewise.
32799 * math/s_ctanh.c: Likewise.
32800 * math/s_ctanhf.c: Likewise.
32801 * math/s_ctanhl.c: Likewise.
32802 * math/s_ctanl.c: Likewise.
32803
bc62c2fb
UD
32804 * math/math_private.h: Define __nan, __nanf, __nanl.
32805 * math/s_cacosh.c: Include <math_private.h>.
32806 * math/s_cacoshl.c: Likewise.
32807 * math/s_casinh.c: Likewise.
32808 * math/s_casinhf.c: Likewise.
32809 * math/s_casinhl.c: Likewise.
32810 * math/s_ccos.c: Rely entire on ccosh.
32811 * math/s_ccosf.c: Rely entire on ccoshf.
32812 * math/s_ccosl.c: Rely entirely on ccoshl.
32813 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32814 Remove tests for FE_INVALID.
32815 * math/s_ccoshf.c: Likewise.
32816 * math/s_ccoshl.c: Likewise.
32817 * math/s_csin.c: Likewise.
32818 * math/s_csinf.c: Likewise.
32819 * math/s_csinh.c Likewise.
32820 * math/s_csinhf.c: Likewise.
32821 * math/s_csinhl.c: Likewise.
32822 * math/s_csinl.c: Likewise.
32823 * math/s_ctan.c: Likewise.
32824 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32825 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32827
8ec250a4
UD
328282011-10-21 Ulrich Drepper <drepper@gmail.com>
32829
c196fed8
UD
32830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32831 compilation problems.
32832
8ec250a4
UD
32833 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32834 __builtin_expect.
32835
8d4f46c6
UD
328362011-10-20 Ulrich Drepper <drepper@gmail.com>
32837
ed72b654
UD
32838 * sysdeps/i386/configure.in: Test for -mfma4 option.
32839 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32840 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32841 COMMON_CPUID_INDEX_80000001.
32842 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32843 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32844 use it if FMA3 is not supported.
32845 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32846
8d4f46c6
UD
32847 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32848 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32849
d45c60c2
AS
328502011-10-20 Andreas Schwab <schwab@redhat.com>
32851
32852 [BZ #12892]
32853 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32854 it would create a cycle with a link time dependency.
32855
d9a4d2ab
UD
328562011-10-19 Ulrich Drepper <drepper@gmail.com>
32857
855d1560
UD
32858 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32859 instruction.
32860 * string/Makefile (strop-tests): Add rawmemchr.
32861 * string/test-rawmemchr.c: New file.
32862
d9a4d2ab
UD
32863 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32865 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32866 when compiling str{,n}casecmp and when AVX is available. Hook up
32867 new optimized code in initializers.
32868
8f3b1ffe
AS
328692011-10-19 Andreas Schwab <schwab@redhat.com>
32870
32871 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32872 __feraiseexcept instead of feraiseexcept.
32873
d38f1dba
UD
328742011-10-18 Ulrich Drepper <drepper@gmail.com>
32875
d9a8d0ab
UD
32876 * math/math_private.h: Define defaults for libc_fetestexcept and
32877 libc_feupdateenv.
32878 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32879 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32880 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32881 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32882 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32883 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32884 libc_fetestexcept and libc_feupdateenv.
32885
4855e3dd
UD
32886 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32887 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32888 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32889 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32890 libc_feholdexcept_setround.
32891
581d30e3
UD
32892 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32893 Add s_nearbyint-c and s_nearbyintf-c.
32894 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32895 nearbyintf inlines.
32896 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32897 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32898 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32899 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32900
d38f1dba
UD
32901 * math/math_private.h: Define defaults for libc_fegetround,
32902 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32903 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32904 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32906 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32907 standard functions.
32908 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32909 Remove comments and hacks for old compiler versions.
32910 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32911 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32912 libc_feholdexceptl.
32913
caa6c9d8
AS
329142011-10-18 Andreas Schwab <schwab@redhat.com>
32915
32916 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32917 (__feraiseexcept_renamed): Add __NTH.
32918 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32919 namespace violations.
32920
97c066e6
UD
329212011-10-17 Ulrich Drepper <drepper@gmail.com>
32922
99ce7b04
UD
32923 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32924
1004d182
UD
32925 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32926
228a984d
UD
32927 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32928 recently added interfaces.
32929 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32930
c8553a6a
UD
32931 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32932 about macro parameter expansion.
32933
ed22dcf6
UD
32934 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32935 __NO_MATH_INLINES is defined. Cleanups.
32936
32937 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32938 and __floorf is target has SSE4.1.
32939 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32940 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32941 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32942 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32943
b171c137
UD
32944 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32945 name.
32946 (floorf): Likewise.
32947
97c066e6
UD
32948 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32949
629f62ef
AS
329502011-10-17 Andreas Schwab <schwab@redhat.com>
32951
49a43d80
AS
32952 * misc/sys/cdefs.h: Fix last change.
32953
629f62ef
AS
32954 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32955 database lookup.
32956
e453f6cd
UD
329572011-10-16 Ulrich Drepper <drepper@gmail.com>
32958
aa78043a
UD
32959 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32960
ad0f5cad
UD
32961 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32963 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32964 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32966 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32968 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32969 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32970 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32971 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32972 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32973 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32974 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32975 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32976 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32977 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32978 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32979 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32980 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32981 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32982 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32983
32984 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32985 ceil, ceilf, floor, floorf.
32986
32987 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32988 Perform IRELATIVE relocations last.
32989
e453f6cd
UD
32990 * elf/do-rel.h: Add another parameter nrelative, replacing the
32991 local variable with the same name. Change name of the function
32992 to end in Rel or Rela (uppercase).
32993 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32994 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32995 elf_dynamic_do_##reloc function.
32996
fd5bdc09
UD
329972011-10-15 Ulrich Drepper <drepper@gmail.com>
32998
79b195b5
UD
32999 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33000 is sufficient, at least on modern CPUs.
33001
d4a28569
UD
33002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33003
b61099b5
UD
33004 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33005 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33006
bcf01e6d
UD
33007 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33008 __expl_finite.
33009 * math/bits/math-finite.h: Add entries for exp.
33010 * math/e_expl.c: Add __*_finite alias.
33011 * sysdeps/i386/fpu/e_exp.S: Likewise.
33012 * sysdeps/i386/fpu/e_expf.S: Likewise.
33013 * sysdeps/i386/fpu/e_expl.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33015 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33016 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33017 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33019 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33020 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33021
ba1a0d59
UD
33022 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33023 is sufficient, at least on modern CPUs.
33024
fd5bdc09
UD
33025 * ctype/ctype-info.c (__ctype_init): Define.
33026 * include/ctype.h (__ctype_init): Declare.
33027 (__ctype_b_loc): The variable is always initialized.
33028 (__ctype_toupper_loc): Likewise.
33029 (__ctype_tolower_loc): Likewise.
33030 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33031 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33032
7872cfb0
AS
330332011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33034
b468825a
AS
33035 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33036
7872cfb0
AS
33037 * configure.in: Also look in $cxxmachine/include for C++ system
33038 headers.
33039
be13f7bf
LD
330402011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33041
33042 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33043 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33044 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33045 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33047 (USE_AS_WMEMCMP): New macro.
33048 Fixing indents.
33049 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33050 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33051 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33052 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33054 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33055 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33056 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33057 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33058 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33059 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33060 (USE_AS_WMEMCMP): New macro.
33061 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33062 * sysdeps/string/test-memcmp.c: Update.
33063 Fix simple_wmemcmp.
33064 Add new tests.
33065 * wcsmbs/wmemcmp.c: Update.
33066 (WMEMCMP): New macro.
33067 Fix overflow bug.
33068
556a2007
AJ
330692011-10-12 Andreas Jaeger <aj@suse.de>
33070
33071 [BZ #13268]
33072 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33073
538faaa7
UD
330742011-10-15 Ulrich Drepper <drepper@gmail.com>
33075
ab6737ff
UD
33076 * libio/iofwide.c (do_length): Avoid warning.
33077
538faaa7
UD
33078 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33079
396a21b1
UD
330802011-10-14 Ulrich Drepper <drepper@gmail.com>
33081
cdf2901f
UD
33082 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33083
38ad40ce
UD
33084 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33085 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33086 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33087 * sysdeps/i386/i686/fpu/e_log.S: New file.
33088 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33089 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33090
396a21b1
UD
33091 * ctype/ctype.h: Add support for inlined isXXX functions when
33092 compiling C++ code.
33093
6b1f68c9
AS
330942011-10-14 Andreas Schwab <schwab@redhat.com>
33095
349290c0
AS
33096 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33097
6b1f68c9
AS
33098 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33099
f2282d42
RM
331002011-10-13 Roland McGrath <roland@hack.frob.com>
33101
33102 [BZ #13291]
33103 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33104
5298ffa8
AS
331052011-10-13 Andreas Schwab <schwab@redhat.com>
33106
714fad23
AS
33107 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33108 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33109 feraiseexcept.
33110
81dcc7fb
AS
33111 * sysdeps/x86_64/memrchr.S: Check for zero size.
33112
5298ffa8
AS
33113 * string/stratcliff.c: Add memrchr tests.
33114
951fbcec
LD
331152011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33116
33117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33118 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33119 rawmemchr-sse2 rawmemchr-sse2-bsf.
33120 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33121 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33122 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33123 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33124 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33125 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33126 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33127 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33128 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33129 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33130 * string/memrchr.c (MEMRCHR): New macro.
33131
0ac5ae23
UD
331322011-10-12 Ulrich Drepper <drepper@gmail.com>
33133
33134 Add integration with gcc's -ffinite-math-only and optimize wrapper
33135 functions in libm.
33136 * Versions.def: Define GLIBC_2.15 version for libm.
33137 * math/Makefile (headers): Add bits/math-finite.h.
33138 * math/bits/math-finite.h: New file.
33139 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33140 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33141 * math/e_acoshl.c: Add __*_finite alias.
33142 * math/e_acosl.c: Likewise.
33143 * math/e_asinl.c: Likewise.
33144 * math/e_atan2l.c: Likewise.
33145 * math/e_atanhl.c: Likewise.
33146 * math/e_coshl.c: Likewise.
33147 * math/e_exp10.c: Likewise.
33148 * math/e_exp10f.c: Likewise.
33149 * math/e_exp10l.c: Likewise.
33150 * math/e_exp2l.c: Likewise.
33151 * math/e_fmodl.c: Likewise.
33152 * math/e_gammal_r.c: Likewise.
33153 * math/e_hypotl.c: Likewise.
33154 * math/e_j0l.c: Likewise.
33155 * math/e_j1l.c: Likewise.
33156 * math/e_jnl.c: Likewise.
33157 * math/e_lgammal_r.c: Likewise.
33158 * math/e_log10l.c: Likewise.
33159 * math/e_log2l.c: Likewise.
33160 * math/e_logl.c: Likewise.
33161 * math/e_powl.c: Likewise.
33162 * math/e_sinhl.c: Likewise.
33163 * math/e_sqrtl.c: Likewise.
33164 * math/e_scalb.c: Completely rewritten and optimized.
33165 * math/e_scalbf.c: Likewise.
33166 * math/e_scalbl.c: Likewise.
33167 * math/w_acos.c: Likewise.
33168 * math/w_acosf.c: Likewise.
33169 * math/w_acosl.c: Likewise.
33170 * math/w_acosh.c: Likewise.
33171 * math/w_acoshf.c: Likewise.
33172 * math/w_acoshl.c: Likewise.
33173 * math/w_asin.c: Likewise.
33174 * math/w_asinf.c: Likewise.
33175 * math/w_asinl.c: Likewise.
33176 * math/w_atan2.c: Likewise.
33177 * math/w_atan2f.c: Likewise.
33178 * math/w_atan2l.c: Likewise.
33179 * math/w_atanh.c: Likewise.
33180 * math/w_atanhf.c: Likewise.
33181 * math/w_atanhl.c: Likewise.
33182 * math/w_exp10.c: Likewise.
33183 * math/w_exp10f.c: Likewise.
33184 * math/w_exp10l.c: Likewise.
33185 * math/w_fmod.c: Likewise.
33186 * math/w_fmodf.c: Likewise.
33187 * math/w_fmodl.c: Likewise.
33188 * math/w_j0.c: Likewise.
33189 * math/w_j0f.c: Likewise.
33190 * math/w_j0l.c: Likewise.
33191 * math/w_j1.c: Likewise.
33192 * math/w_j1f.c: Likewise.
33193 * math/w_j1l.c: Likewise.
33194 * math/w_jn.c: Likewise.
33195 * math/w_jnf.c: Likewise.
33196 * math/w_log.c: Likewise.
33197 * math/w_logf.c: Likewise.
33198 * math/w_logl.c: Likewise.
33199 * math/w_log10.c: Likewise.
33200 * math/w_log10f.c: Likewise.
33201 * math/w_log10l.c: Likewise.
33202 * math/w_log2.c: Likewise.
33203 * math/w_log2f.c: Likewise.
33204 * math/w_log2l.c: Likewise.
33205 * math/w_pow.c: Likewise.
33206 * math/w_powf.c: Likewise.
33207 * math/w_powl.c: Likewise.
33208 * math/w_remainder.c: Likewise.
33209 * math/w_remainderf.c: Likewise.
33210 * math/w_remainderl.c: Likewise.
33211 * math/w_scalb.c: Likewise.
33212 * math/w_scalbf.c: Likewise.
33213 * math/w_scalbl.c: Likewise.
33214 * math/w_sqrt.c: Likewise.
33215 * math/w_sqrtf.c: Likewise.
33216 * math/w_sqrtl.c: Likewise.
33217 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33218 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33219 used.
33220 * math/math_private.h: Declare __kernel_standard_f.
33221 * math/w_cosh.c: Remove cruft and optimize a bit.
33222 * math/w_coshf.c: Likewise.
33223 * math/w_coshl.c: Likewise.
33224 * math/w_exp2.c: Likewise.
33225 * math/w_exp2f.c: Likewise.
33226 * math/w_exp2l.c: Likewise.
33227 * math/w_hypot.c: Likewise.
33228 * math/w_hypotf.c: Likewise.
33229 * math/w_hypotl.c: Likewise.
33230 * math/w_lgamma.c: Likewise.
33231 * math/w_lgamma_r.c: Likewise.
33232 * math/w_lgammaf.c: Likewise.
33233 * math/w_lgammaf_r.c: Likewise.
33234 * math/w_lgammal.c: Likewise.
33235 * math/w_lgammal_r.c: Likewise.
33236 * math/w_sinh.c: Likewise.
33237 * math/w_sinhf.c: Likewise.
33238 * math/w_sinhl.c: Likewise.
33239 * math/w_tgamma.c: Likewise.
33240 * math/w_tgammaf.c: Likewise.
33241 * math/w_tgammal.c: Likewise.
33242 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33243 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33244 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33245 Minor optimizations. Pretty printing. Remove cruft.
33246 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33247 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33248 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33249 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33250 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33251 * sysdeps/i386/fpu/e_asin.S: Likewise.
33252 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33253 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33254 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33255 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33256 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33257 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33258 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33259 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33260 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33261 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33262 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33263 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33264 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33265 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33266 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33267 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33268 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33269 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33270 * sysdeps/i386/fpu/e_log.S: Likewise.
33271 * sysdeps/i386/fpu/e_log10.S: Likewise.
33272 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33273 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33274 * sysdeps/i386/fpu/e_log2.S: Likewise.
33275 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33276 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33277 * sysdeps/i386/fpu/e_logf.S: Likewise.
33278 * sysdeps/i386/fpu/e_logl.S: Likewise.
33279 * sysdeps/i386/fpu/e_pow.S: Likewise.
33280 * sysdeps/i386/fpu/e_powf.S: Likewise.
33281 * sysdeps/i386/fpu/e_powl.S: Likewise.
33282 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33283 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33284 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33285 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33286 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33287 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33288 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33289 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33290 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33291 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33292 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33294 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33295 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33296 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33297 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33298 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33300 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33301 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33302 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33304 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33305 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33307 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33308 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33309 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33311 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33312 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33313 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33314 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33315 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33316 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33317 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33318 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33319 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33320 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33321 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33322 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33323 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33324 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33325 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33326 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33327 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33328 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33329 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33330 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33331 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33332 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33333 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33334 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33335 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33336 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33337 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33338 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33339 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33340 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33341 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33342 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33343 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33344 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33345 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33346 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33347 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33348 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33349 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33350 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33351 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33352 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33355 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33356 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33358 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33359 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33360 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33361 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33362 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33363 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33364 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33365 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33366 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33368 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33369 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33370 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33372 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33373 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33374 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33376 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33377 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33378 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33379 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33380 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33382 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33384 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33386 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33387 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33388 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33389 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33390 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33391 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33392 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33393 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33394 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33395 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33396 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33397 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33399 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33400 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33401 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33402 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33403 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33404 (__isnanf): Likewise.
33405 (__isinf_ns): Likewise.
33406 (__isinf_nsf): Likewise.
33407 (__finite): Likewise.
33408 (__finitef): Likewise.
33409 (__ieee754_sqrt): Define as macro.
33410 (__ieee754_sqrtf): Define as macro.
33411 (__ieee754_sqrtl): Define as macro.
33412 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33413 inlined copy.
33414 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33415 __FINITE_MATH_ONLY__ consistent.
33416 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33417
12cc2fcd
AS
334182011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33419
a843a204
AS
33420 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33421 of rawmemchr.
33422
12cc2fcd
AS
33423 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33424
c853acd5
UD
334252011-10-09 Ulrich Drepper <drepper@gmail.com>
33426
33427 * po/ja.po: Update from translation team.
33428
c658d255
RM
334292011-10-08 Roland McGrath <roland@hack.frob.com>
33430
110946e4
RM
33431 * locale/programs/locarchive.c (prepare_address_space): New function.
33432 (create_archive, enlarge_archive, open_archive): Use it.
33433
50604220
RM
33434 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33435 inside [SHARED], where it is used.
33436
c658d255
RM
33437 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33438
33439 * nss/getent.c (netgroup_keys): Remove unused variable.
33440 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33441
6a621eb7
UD
334422011-10-08 Ulrich Drepper <drepper@gmail.com>
33443
7edb55ce
UD
33444 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33445 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33447 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33448 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33449 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33450 * math/Makefile (libm-calls): Add s_isinf_ns.
33451 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33452 * math/multc3.c: Likewise.
33453 * math/s_casin.c: Likewise.
33454 * math/s_casinf.c: Likewise.
33455 * math/s_casinl.c: Likewise.
33456 * math/s_ccos.c: Likewise.
33457 * math/s_ccosf.c: Likewise.
33458 * math/s_ccosl.c: Likewise.
33459 * math/s_ctan.c: Likewise.
33460 * math/s_ctanf.c: Likewise.
33461 * math/s_ctanh.c: Likewise.
33462 * math/s_ctanhf.c: Likewise.
33463 * math/s_ctanhl.c: Likewise.
33464 * math/s_ctanl.c: Likewise.
33465 * math/w_fmod.c: Likewise.
33466 * math/w_fmodf.c: Likewise.
33467 * math/w_fmodl.c: Likewise.
33468 * math/w_remainder.c: Likewise.
33469 * math/w_remainderf.c: Likewise.
33470 * math/w_remainderl.c: Likewise.
33471 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33472 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33473 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33475 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33476 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33477 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33478 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33479
187da0ae
UD
33480 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33481 of the number.
33482 * stdio-common/printf_fphex.c: Likewise.
33483 * stdio-common/printf_size.c: Likewise.
33484
9277c064
UD
33485 * math/e_exp10.c: Include math_private.h using <...> not "...".
33486 * math/e_exp10f.c: Likewise.
33487 * math/e_exp10l.c: Likewise.
33488 * math/e_exp2l.c: Likewise.
33489 * math/e_j0l.c: Likewise.
33490 * math/e_j1l.c: Likewise.
33491 * math/e_jnl.c: Likewise.
33492 * math/e_lgammal_r.c: Likewise.
33493 * math/e_rem_pio2l.c: Likewise.
33494 * math/e_scalb.c: Likewise.
33495 * math/e_scalbf.c: Likewise.
33496 * math/e_scalbl.c: Likewise.
33497 * math/k_cosl.c: Likewise.
33498 * math/k_sinl.c: Likewise.
33499 * math/k_tanl.c: Likewise.
33500 * math/s_cacoshf.c: Likewise.
33501 * math/s_catan.c: Likewise.
33502 * math/s_catanf.c: Likewise.
33503 * math/s_catanh.c: Likewise.
33504 * math/s_catanhf.c: Likewise.
33505 * math/s_catanhl.c: Likewise.
33506 * math/s_catanl.c: Likewise.
33507 * math/s_ccosh.c: Likewise.
33508 * math/s_ccoshf.c: Likewise.
33509 * math/s_ccoshl.c: Likewise.
33510 * math/s_cexp.c: Likewise.
33511 * math/s_cexpf.c: Likewise.
33512 * math/s_cexpl.c: Likewise.
33513 * math/s_clog.c: Likewise.
33514 * math/s_clog10.c: Likewise.
33515 * math/s_clog10f.c: Likewise.
33516 * math/s_clog10l.c: Likewise.
33517 * math/s_clogf.c: Likewise.
33518 * math/s_clogl.c: Likewise.
33519 * math/s_csin.c: Likewise.
33520 * math/s_csinf.c: Likewise.
33521 * math/s_csinh.c: Likewise.
33522 * math/s_csinhf.c: Likewise.
33523 * math/s_csinhl.c: Likewise.
33524 * math/s_csinl.c: Likewise.
33525 * math/s_csqrt.c: Likewise.
33526 * math/s_csqrtf.c: Likewise.
33527 * math/s_csqrtl.c: Likewise.
33528 * math/s_ctan.c: Likewise.
33529 * math/s_ctanf.c: Likewise.
33530 * math/s_ctanh.c: Likewise.
33531 * math/s_ctanhf.c: Likewise.
33532 * math/s_ctanhl.c: Likewise.
33533 * math/s_ctanl.c: Likewise.
33534 * math/s_ldexp.c: Likewise.
33535 * math/s_ldexpf.c: Likewise.
33536 * math/s_ldexpl.c: Likewise.
33537 * math/s_significand.c: Likewise.
33538 * math/s_significandf.c: Likewise.
33539 * math/s_significandl.c: Likewise.
33540 * math/w_acos.c: Likewise.
33541 * math/w_acosf.c: Likewise.
33542 * math/w_acosh.c: Likewise.
33543 * math/w_acoshf.c: Likewise.
33544 * math/w_acoshl.c: Likewise.
33545 * math/w_acosl.c: Likewise.
33546 * math/w_asin.c: Likewise.
33547 * math/w_asinf.c: Likewise.
33548 * math/w_asinl.c: Likewise.
33549 * math/w_atan2.c: Likewise.
33550 * math/w_atan2f.c: Likewise.
33551 * math/w_atan2l.c: Likewise.
33552 * math/w_atanh.c: Likewise.
33553 * math/w_atanhf.c: Likewise.
33554 * math/w_atanhl.c: Likewise.
33555 * math/w_cosh.c: Likewise.
33556 * math/w_coshf.c: Likewise.
33557 * math/w_coshl.c: Likewise.
33558 * math/w_dremf.c: Likewise.
33559 * math/w_exp10.c: Likewise.
33560 * math/w_exp10f.c: Likewise.
33561 * math/w_exp10l.c: Likewise.
33562 * math/w_exp2.c: Likewise.
33563 * math/w_exp2f.c: Likewise.
33564 * math/w_fmod.c: Likewise.
33565 * math/w_fmodf.c: Likewise.
33566 * math/w_fmodl.c: Likewise.
33567 * math/w_hypot.c: Likewise.
33568 * math/w_hypotf.c: Likewise.
33569 * math/w_hypotl.c: Likewise.
33570 * math/w_j0.c: Likewise.
33571 * math/w_j0f.c: Likewise.
33572 * math/w_j0l.c: Likewise.
33573 * math/w_j1.c: Likewise.
33574 * math/w_j1f.c: Likewise.
33575 * math/w_j1l.c: Likewise.
33576 * math/w_jn.c: Likewise.
33577 * math/w_jnf.c: Likewise.
33578 * math/w_jnl.c: Likewise.
33579 * math/w_lgamma.c: Likewise.
33580 * math/w_lgamma_r.c: Likewise.
33581 * math/w_lgammaf.c: Likewise.
33582 * math/w_lgammaf_r.c: Likewise.
33583 * math/w_lgammal.c: Likewise.
33584 * math/w_lgammal_r.c: Likewise.
33585 * math/w_log.c: Likewise.
33586 * math/w_log10.c: Likewise.
33587 * math/w_log10f.c: Likewise.
33588 * math/w_log10l.c: Likewise.
33589 * math/w_log2.c: Likewise.
33590 * math/w_log2f.c: Likewise.
33591 * math/w_log2l.c: Likewise.
33592 * math/w_logf.c: Likewise.
33593 * math/w_logl.c: Likewise.
33594 * math/w_pow.c: Likewise.
33595 * math/w_powf.c: Likewise.
33596 * math/w_powl.c: Likewise.
33597 * math/w_remainder.c: Likewise.
33598 * math/w_remainderf.c: Likewise.
33599 * math/w_remainderl.c: Likewise.
33600 * math/w_scalb.c: Likewise.
33601 * math/w_scalbf.c: Likewise.
33602 * math/w_scalbl.c: Likewise.
33603 * math/w_sinh.c: Likewise.
33604 * math/w_sinhf.c: Likewise.
33605 * math/w_sinhl.c: Likewise.
33606 * math/w_sqrt.c: Likewise.
33607 * math/w_sqrtf.c: Likewise.
33608 * math/w_sqrtl.c: Likewise.
33609 * math/w_tgamma.c: Likewise.
33610 * math/w_tgammaf.c: Likewise.
33611 * math/w_tgammal.c: Likewise.
33612
6a621eb7
UD
33613 * po/ja.po: Update from translation team.
33614
bf582445
AJ
336152011-09-29 Andreas Jaeger <aj@suse.de>
33616
f9efbf3a
AJ
33617 [BZ #13179]
33618 * sunrpc/netname.c (netname2host): Fix logic.
33619
bf582445
AJ
33620 [BZ #6779]
33621 [BZ #6783]
33622 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33623 correctly.
33624 * math/w_remainder.c (__remainder): Likewise.
33625 * math/w_remainderf.c (__remainderf): Likewise.
33626 * math/libm-test.inc (remainder_test): Add test cases.
33627
48693bea
AK
336282011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33629
33630 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33631 sdiv_qrnnd.
33632
42622229
LD
336332011-10-07 Ulrich Drepper <drepper@gmail.com>
33634
33635 * string/test-memcmp.c: Avoid unncessary #defines.
33636 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33637
093ecf92
LD
336382011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33639
33640 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33641 Use new sse2 version for core i3 - i7 as it's faster
33642 than sse42 version.
33643 (bit_Prefer_PMINUB_for_stringop): New.
33644 * sysdeps/x86_64/rawmemchr.S: Update.
33645 Replace with faster SSE2 version.
33646 * sysdeps/x86_64/memrchr.S: New file.
33647 * sysdeps/x86_64/memchr.S: Update.
33648 Replace with faster SSE2 version.
33649
fde56e5c
MP
336502011-09-12 Marek Polacek <mpolacek@redhat.com>
33651
33652 * elf/dl-load.c (lose): Add cast to avoid warning.
33653
21fd49a9
UD
336542011-10-07 Ulrich Drepper <drepper@gmail.com>
33655
5a06e643
UD
33656 * po/ca.po: Update from translation team.
33657
684ae515
UD
33658 * inet/getnetgrent_r.c: Hook up nscd.
33659 * nscd/Makefile (routines): Add nscd_netgroup.
33660 (nscd-modules): Add netgroupcache.
33661 (CFLAGS-netgroupcache.c): Define.
33662 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33663 (cache_search): Add const to second parameter.
33664 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33665 INNETGR.
33666 (dbs): Add netgrdb entry.
33667 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33668 (verify_persistent_db): Handle netgrdb.
33669 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33670 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33671 GETFDNETGR.
33672 (netgroup_response_header): Define.
33673 (innetgroup_response_header): Define.
33674 (datahead): Add netgroup_response_header and innetgroup_response_header
33675 elements.
33676 * nscd/nscd.conf: Add entries for netgroup cache.
33677 * nscd/nscd.h (dbtype): Add netgrdb.
33678 (_PATH_NSCD_NETGROUP_DB): Define.
33679 (netgroup_iov_disabled): Declare.
33680 (xmalloc, xcalloc, xrealloc): Move declarations here.
33681 (cache_search): Adjust prototype.
33682 Add netgroup-related prototypes.
33683 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33684 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33685 (__nscd_innetgr): Declare.
33686 * nscd/selinux.c (perms): Use access_vector_t as element type and
33687 add netgroup-related initializers.
33688 * nscd/netgroupcache.c: New file.
33689 * nscd/nscd_netgroup.c: New file.
33690 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33691 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33692 For four parameters use innetgr.
33693 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33694 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33695 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33696 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33697
21fd49a9
UD
33698 * nscd/connections.c (register_traced_file): Don't register file
33699 for disabled databases.
33700
054c0457
UD
337012011-10-06 Ulrich Drepper <drepper@gmail.com>
33702
32b63198
UD
33703 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33704
054c0457
UD
33705 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33706 from tree and freeing node.
33707
64031225
JO
337082011-09-25 Jiri Olsa <jolsa@redhat.com>
33709
33710 * nss/nsswitch.c (__nss_database_lookup): Handle
33711 nss_parse_service_list out of memory case.
33712
0490345c
JO
337132011-09-15 Jiri Olsa <jolsa@redhat.com>
33714
33715 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33716 out of memory case.
33717
3a62d00d
AS
337182011-10-04 Andreas Schwab <schwab@redhat.com>
33719
33720 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33721 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33722 pass it down.
33723 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33724 elf_machine_rela, elf_machine_lazy_rel.
33725 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33726 (ELF_DYNAMIC_DO_REL): Likewise.
33727 (ELF_DYNAMIC_DO_RELA): Likewise.
33728 (ELF_DYNAMIC_RELOCATE): Likewise.
33729 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33730 to ELF_DYNAMIC_DO_REL.
33731 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33732 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33733 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33734 elf_machine_rela.
33735 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33736 skip_ifunc, don't call ifunc function if non-zero.
33737 (elf_machine_rela): Likewise.
33738 (elf_machine_lazy_rel): Likewise.
33739 (elf_machine_lazy_rela): Likewise.
33740 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33741 (elf_machine_lazy_rel): Likewise.
33742 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33743 Likewise.
33744 (elf_machine_lazy_rel): Likewise.
33745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33746 Likewise.
33747 (elf_machine_lazy_rel): Likewise.
33748 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33749 (elf_machine_lazy_rel): Likewise.
33750 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33751 (elf_machine_lazy_rel): Likewise.
33752 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33753 (elf_machine_lazy_rel): Likewise.
33754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33755 (elf_machine_lazy_rel): Likewise.
33756 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33757 (elf_machine_lazy_rel): Likewise.
33758 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33759 (elf_machine_lazy_rel): Likewise.
33760
68577918
UD
337612011-09-28 Ulrich Drepper <drepper@gmail.com>
33762
33763 * nss/nss_files/files-init.c (_nss_files_init): Use static
33764 initialization for all the *_traced_file variables.
33765
68822d74
AS
337662011-09-28 Andreas Schwab <schwab@redhat.com>
33767
33768 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33769
2056100b
RM
337702011-09-27 Roland McGrath <roland@hack.frob.com>
33771
33772 [BZ #13226]
33773 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33774
32c76b63
AS
337752011-09-27 Andreas Schwab <schwab@redhat.com>
33776
33777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33778 Reread the line before reparsing it.
33779
bf972c9d
AS
337802011-09-26 Andreas Schwab <schwab@redhat.com>
33781
33782 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33783
e057a1b5
JM
337842011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33785 Maxim Kuvyrkov <maxim@codesourcery.com>
33786 Joseph Myers <joseph@codesourcery.com>
33787
33788 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33789 if needed for __stack_chk_guard.
33790
bc7e1c36
RM
337912011-09-19 Roland McGrath <roland@hack.frob.com>
33792
ecb1482f
RM
33793 * sysdeps/posix/spawni.c (script_execute): Always define it.
33794 It will be optimized away if unused.
33795 (maybe_script_execute): New function.
33796 (__spawni): Call it.
33797
bc7e1c36
RM
33798 * Makerules: Don't include tls.make.
33799 (config-tls): Always set to thread.
33800 * tls.make.c: File removed.
33801
1c3b002b
MF
338022011-09-19 Mike Frysinger <vapier@gentoo.org>
33803
33804 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33805 * config.make.in (CPPFLAGS-config): New substituted variable.
33806
2840865d
UD
338072011-09-15 Ulrich Drepper <drepper@gmail.com>
33808
88738eb6
UD
33809 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33810
cbf645a6 33811 [BZ #13192]
2840865d
UD
33812 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33813 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33814
b402e91a
RM
338152011-09-15 Roland McGrath <roland@hack.frob.com>
33816
33817 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33818 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33820 (CALL_FAIL): Likewise.
33821 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33822 (CALL_FAIL): Macro removed.
33823 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33824
4c1a1f71
UD
338252011-09-15 Ulrich Drepper <drepper@gmail.com>
33826
33827 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33828 for __FINITE_MATH_ONLY__ == 1.
33829
edc121be
AS
338302011-09-15 Andreas Schwab <schwab@redhat.com>
33831
33832 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33833 __ieee754_sqrt instead of sqrt.
33834 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33835 __ieee754_sqrtf instead of sqrtf.
33836 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33837 __floorf instead of floorf.
33838 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33839 __floorf, __truncf instead of floorf, truncf.
33840
cd205654
UD
338412011-09-14 Ulrich Drepper <drepper@gmail.com>
33842
ee4d0315
UD
33843 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33844
cd205654
UD
33845 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33846 __extern_always_inline.
33847 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33848 32-bit.
33849
48b67d71
AS
338502011-09-14 Andreas Schwab <schwab@redhat.com>
33851
33852 * elf/rtld.c (dl_main): Also relocate in dependency order when
33853 doing symbol dependency testing.
33854
1ae12c75
AS
338552011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33856
33857 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33858 Always define `refsym'.
33859
995a80df
AS
338602011-09-13 Andreas Schwab <schwab@redhat.com>
33861
e529793b
AS
33862 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33863 (__FD_ELT): Renamed from __FDELT.
33864 * misc/bits/select2.h (__FD_ELT): Likewise.
33865 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33866 __FD_MASK instead of __FDELT, __FDMASK.
33867 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33868 Likewise.
33869 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33870 Likewise.
33871
52d4fef8
AS
33872 * elf/Makefile (gen-ldd): Fix pattern.
33873
995a80df
AS
33874 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33875 (init_tls): Likewise.
33876
8682f8b0
UD
338772011-09-12 Ulrich Drepper <drepper@gmail.com>
33878
33879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33880
de82006d
AS
338812011-09-12 Andreas Schwab <schwab@redhat.com>
33882
a7c8e6a1
AS
33883 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33884 `struct cmsghdr *' instead of `void *'.
33885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33886 Likewise.
33887
0f31fe77
AS
338882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33889
33890 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33891 if non-absolute.
33892 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33893 ldd_rewrite_script.
0f31fe77 33894
32b4c839
UD
338952011-09-11 Ulrich Drepper <drepper@gmail.com>
33896
83cd1420
UD
33897 * configure.in: Remove --with-tls option.
33898 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33899 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33900 out in case it is missing.
33901 * sysdeps/ia64/elf/configure.in: Likewise.
33902 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33903 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33904 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33905 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33906 * sysdeps/sh/elf/configure.in: Likewise.
33907 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33908 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33909 * sysdeps/x86_64/elf/configure.in: Likewise.
33910 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33911 * sysdeps/mach/hurd/tls.h: Likewise.
33912
633f745d
UD
33913 [BZ #13067]
33914 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33915
f318beb8
UD
33916 [BZ #13090]
33917 * configure.in: Fix use of AC_INIT.
33918
32b4c839
UD
33919 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33920
3ce1f295
UD
339212011-09-10 Ulrich Drepper <drepper@gmail.com>
33922
bb016596
UD
33923 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33924 __set_errno.
8e58439c
UD
33925 * malloc/hooks.c: Likewise.
33926
aebae053 33927 [BZ #11929]
02d46fc4
UD
33928 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33929 variables statically.
33930 (narenas): Initialize.
33931 (list_lock): Initialize.
bb016596
UD
33932 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33933 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33934 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33935 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33936 Add initializers to main_arena and mp_.
33937 (malloc_state): Remove pagesize member. Change all users to use
33938 GLRO(dl_pagesize).
33939
33940 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33941 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33942 is always initialized.
33943
22a89187
UD
33944 * malloc/malloc.c: Removed unused configurations and dead code.
33945 * malloc/arena.c: Likewise.
33946 * malloc/hooks.c: Likewise.
02d46fc4 33947 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33948
d063d164
UD
33949 * include/tls.h: Removed. USE___THREAD must always be defined.
33950 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33951 * elf/dl-libc.c: Likewise.
33952 * elf/dl-tsd.c: Likewise.
33953 * include/errno.h: Likewise.
33954 * include/netdb.h: Likewise.
33955 * include/resolv.h: Likewise.
33956 * inet/herrno-loc.c: Likewise.
33957 * inet/herrno.c: Likewise.
33958 * malloc/arena.c: Likewise.
33959 * malloc/hooks.c: Likewise.
33960 * malloc/malloc.c: Likewise.
33961 * resolv/res-state.c: Likewise.
33962 * resolv/res_libc.c: Likewise.
33963 * sysdeps/i386/dl-machine.h: Likewise.
33964 * sysdeps/ia64/dl-machine.h: Likewise.
33965 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33966 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33967 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33968 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33969 * sysdeps/sh/dl-machine.h: Likewise.
33970 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33971 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33972 * sysdeps/unix/i386/sysdep.S: Likewise.
33973 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33974 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33977 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33979 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33983 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33984 * sysdeps/x86_64/dl-machine.h: Likewise.
33985 * tls.make.c: Likewise.
33986
3ce1f295
UD
33987 * configure.in: Remove --with-__thread option. Make tests for
33988 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33989 tls_model attribute fail if no support is available. Remove
33990 USE_IN_LIBIO.
33991 * Makeconfig: Adjust for dropped configure option. All features are
33992 now mandatory.
33993 * Makerules: Likewise.
33994 * Versions.def: Likewise.
33995 * argp/argp-fmtstream.c: Likewise.
33996 * argp/argp-fmtstream.h: Likewise.
33997 * argp/argp-help.c: Likewise.
33998 * assert/assert.c: Likewise.
33999 * config.h.in: Likewise.
34000 * config.make.in: Likewise.
34001 * configure: Likewise.
34002 * configure.in: Likewise.
34003 * csu/Versions: Likewise.
34004 * csu/init.c: Likewise.
34005 * elf/tst-audit2.c: Likewise.
34006 * elf/tst-tls10.c: Likewise.
34007 * elf/tst-tls10.h: Likewise.
34008 * elf/tst-tls11.c: Likewise.
34009 * elf/tst-tls12.c: Likewise.
34010 * elf/tst-tls14.c: Likewise.
34011 * elf/tst-tlsmod11.c: Likewise.
34012 * elf/tst-tlsmod12.c: Likewise.
34013 * elf/tst-tlsmod13.c: Likewise.
34014 * elf/tst-tlsmod13a.c: Likewise.
34015 * elf/tst-tlsmod14a.c: Likewise.
34016 * elf/tst-tlsmod15b.c: Likewise.
34017 * elf/tst-tlsmod16a.c: Likewise.
34018 * elf/tst-tlsmod16b.c: Likewise.
34019 * elf/tst-tlsmod7.c: Likewise.
34020 * elf/tst-tlsmod8.c: Likewise.
34021 * elf/tst-tlsmod9.c: Likewise.
34022 * gmon/gmon.c: Likewise.
34023 * grp/fgetgrent_r.c: Likewise.
34024 * grp/putgrent.c: Likewise.
34025 * hurd/fopenport.c: Likewise.
34026 * include/libc-symbols.h: Likewise.
34027 * include/tls.h: Likewise.
34028 * intl/gettextP.h: Likewise.
34029 * intl/loadinfo.h: Likewise.
34030 * locale/global-locale.c: Likewise.
34031 * locale/localeinfo.h: Likewise.
34032 * mach/devstream.c: Likewise.
34033 * malloc/arena.c: Likewise.
34034 * malloc/set-freeres.c: Likewise.
34035 * misc/err.c: Likewise.
34036 * misc/getttyent.c: Likewise.
34037 * misc/mntent_r.c: Likewise.
34038 * posix/getopt.c: Likewise.
34039 * posix/wordexp.c: Likewise.
34040 * pwd/fgetpwent_r.c: Likewise.
34041 * resolv/Versions: Likewise.
34042 * resolv/res_hconf.c: Likewise.
34043 * shadow/fgetspent_r.c: Likewise.
34044 * shadow/putspent.c: Likewise.
34045 * stdio-common/printf_fphex.c: Likewise.
34046 * stdio-common/tmpfile.c: Likewise.
34047 * stdlib/abort.c: Likewise.
34048 * stdlib/fmtmsg.c: Likewise.
34049 * sunrpc/auth_unix.c: Likewise.
34050 * sunrpc/clnt_perr.c: Likewise.
34051 * sunrpc/clnt_tcp.c: Likewise.
34052 * sunrpc/clnt_udp.c: Likewise.
34053 * sunrpc/clnt_unix.c: Likewise.
34054 * sunrpc/openchild.c: Likewise.
34055 * sunrpc/svc_simple.c: Likewise.
34056 * sunrpc/svc_tcp.c: Likewise.
34057 * sunrpc/svc_udp.c: Likewise.
34058 * sunrpc/svc_unix.c: Likewise.
34059 * sunrpc/xdr.c: Likewise.
34060 * sunrpc/xdr_array.c: Likewise.
34061 * sunrpc/xdr_rec.c: Likewise.
34062 * sunrpc/xdr_ref.c: Likewise.
34063 * sunrpc/xdr_stdio.c: Likewise.
34064
1248c1c4
PB
340652011-09-09 Ulrich Drepper <drepper@gmail.com>
34066
34067 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34068
340692011-07-03 Andreas Jaeger <aj@suse.de>
34070
34071 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34072 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34073 regenerate with gen-libm-tests.pl.
34074
340752010-05-12 Petr Baudis <pasky@suse.cz>
34076
34077 [BZ #11589]
34078 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34079 around j0() zero points by switching to j1().
34080 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34084
f22e1074
UD
340852011-09-09 Ulrich Drepper <drepper@gmail.com>
34086
f19009c1
UD
34087 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34088 instead of 0.
34089 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 34090 instead of 0.
f19009c1
UD
34091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34092 Patch in part by Pavel Roskin <proski@gnu.org>.
34093
3f8cc204
UD
34094 [BZ #13138]
34095 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34096 realloc.
34097 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34098 Free memory block if necessary.
34099
f22e1074
UD
34100 [BZ #12847]
34101 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34102 be NULL. Don't lock in this case.
34103
0a2349f9
RM
341042011-09-09 Roland McGrath <roland@hack.frob.com>
34105
34106 * elf/elf.h (ELFOSABI_GNU): New macro.
34107 (ELFOSABI_LINUX): Define to that.
34108
f3cdd467
DZ
341092011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34110
34111 * string/strncat.c (strncat): Undef the symbol in case it has been
34112 defined in bits/string.h.
34113
74718d13
UD
341142011-09-09 Ulrich Drepper <drepper@gmail.com>
34115
633e9e0f
UD
34116 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34117
0a2349f9 34118 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
34119 link map.
34120
f9924780
AJ
341212011-08-17 Andreas Jaeger <aj@suse.de>
34122
34123 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34124
7f5517aa
PP
341252011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34126 Ian Lance Taylor <iant@google.com>
34127
34128 * math/libm-test.inc (lround_test): New testcase.
34129 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34130
762011fe
UD
341312011-09-08 Ulrich Drepper <drepper@gmail.com>
34132
92963737
UD
34133 * Makefile: Remove support for automatic cvs check-ins.
34134 * Makerules: Likewise.
34135 * config.make.in: Likewise.
34136 * configure.in: Likewise.
34137 * intl/Makefile: Likewise.
34138 * locale/Makefile: Likewise.
34139 * po/Makefile: Likewise.
34140 * posix/Makefile: Likewise.
34141 * sysdeps/gnu/Makefile: Likewise.
34142 * sysdeps/mach/hurd/Makefile: Likewise.
34143 * sysdeps/sparc/sparc32/Makefile: Likewise.
34144
b0727fd8
JS
34145 [BZ #13118]
34146 * posix/Makefile (bug-regex32-ENV): Define.
34147 Patch by John Stanley <jpsinthemix@verizon.net>.
34148
a0f33f99
UD
34149 * misc/Makefile (headers): Add bits/select2.h.
34150 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34151 * misc/bits/select2.h: New file.
34152 * include/bits/select2.h: New file.
34153 * debug/Makefile (routines): Add fdelt_chk.
34154 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34155 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34156 FD_ISSET.
34157 * debug/fdelt_chk.c: New file.
34158
762011fe
UD
34159 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34160 * wcsmbs/test-wmemcmp.c: Likewise.
34161 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 34162 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
34163
341642011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34165
34166 * string/Makefile (strop-tests): Add memcmp.
34167 * string/test-wmemcmp.c: New file.
34168 * string/test-memcmp.c: Add wmemcmp support.
34169
7f513ec8
RM
341702011-09-08 Roland McGrath <roland@hack.frob.com>
34171
0442afb4
RM
34172 [BZ #13153]
34173 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34174 2011-07-19 change.
34175
7f513ec8
RM
34176 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34177 garbage value in a __mach_port_mod_refs call in the cases of the
34178 task-self and thread-self ports.
34179
a12b2239
ST
341802011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34181
34182 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34183
610f9ab4
AS
341842011-09-08 Andreas Schwab <schwab@redhat.com>
34185
7f513ec8 34186 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 34187
48882a1a
LD
341882011-09-07 Ulrich Drepper <drepper@gmail.com>
34189
b49865be
UD
34190 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34191
fdc86bc9
UD
34192 * elf/dl-libc.c (dlerror_run): Pass back error code from
34193 dl_catch_error.
34194
c966526a
UD
34195 [BZ #13123]
34196 * elf/dl-load.c (lose): Free l_origin if it is valid.
34197
48882a1a
LD
34198 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34199 names.
34200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34201 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34202 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34204 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34205 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34206
77a2a8b4
AZ
342072011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34208
34209 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34210 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34211 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34212 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34213 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34214 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34215 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34216 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34217 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34218 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34219
24f579d8
AM
342202011-08-15 Alan Modra <amodra@gmail.com>
34221
34222 [BZ #13092]
34223 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34224 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34225 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34226 ppc_mcount to static-only-routines.
34227 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34228 __mcount_internal.
34229 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34230 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34231
3d4837df
UD
342322011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34233
34234 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34235 for finite and infinity parameters.
34236
22700377
WS
342372011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34238
34239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34240 and add nop instructions for throughput optimization.
34241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34242
5025581e
WS
342432011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34244
34245 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34246 aligned copy for power7 with vector-scalar instructions.
34247 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34248
08a300c9
L
342492011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34250
34251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34252 AVX check.
34253
59178ef9
AS
342542011-09-07 Andreas Schwab <schwab@redhat.com>
34255
34256 [BZ #13144]
34257 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34258 last change.
34259
e38ba7ab
UD
342602011-09-07 Ulrich Drepper <drepper@gmail.com>
34261
34262 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34263 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34264 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34265 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34266 clock_gettime.
34267
d53a73ac
UD
342682011-09-06 Ulrich Drepper <drepper@gmail.com>
34269
fc8bffcc
UD
34270 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34271 Forgot to demangle the pointer.
34272
ceaa0c5d
UD
34273 * sysdeps/i386/sysdep.h: Define atom_text_section.
34274 * sysdeps/x86_64/sysdep.h: Likewise.
34275 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34276 section with atom_text_section.
34277 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34278 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34279 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34280 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34281 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34282
a77d3c17
UD
34283 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34284 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34285 already be defined. Change to take two parameters and don't assign
34286 result to variable. Adjust all users.
34287 Define INTERNAL_GETTIME if not already defined.
34288 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34289 call.
34290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34291 HAVE_CLOCK_GETTIME_VSYSCALL.
34292 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34293
d53a73ac
UD
34294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34295 gettimeofday vsyscall, just use time.
34296
a8f84144
AS
342972011-09-06 Andreas Schwab <schwab@redhat.com>
34298
34299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34300 <errno.h>.
34301
ef606249
UD
343022011-09-06 Ulrich Drepper <drepper@gmail.com>
34303
34304 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34305 syscall on x86-64.
34306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34307 syscall.
34308 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34309 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34310 syscall if possible.
34311
6585cb60
UD
343122011-09-05 Ulrich Drepper <drepper@gmail.com>
34313
34314 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34315 e_ident. Don't pass to find_mapsXX.
34316 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34317
a5f524e4
LD
343182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34319
34320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34321 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34322 * sysdeps/x86_64/multiarch/strchr.S: Update.
34323 Check bit_slow_BSF bit.
34324 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34325 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34326 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34327
554881ef
UD
343282011-09-05 Ulrich Drepper <drepper@gmail.com>
34329
d96de963
UD
34330 [BZ #13134]
34331 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34332 before glibc 2.15.
34333 (tryshell): Define.
34334 (__spawni): Change last parameter to be flag. Test
34335 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34336 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34337 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34338 * posix/spawni.c: Likewise.
34339 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34340 * posix/spawnp.c: Likewise. Change normal version to use
34341 SPAWN_XFLAGS_USE_PATH.
34342 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34343 SPAWN_XFLAGS_TRY_SHELL.
34344
d48e5868
UD
34345 [BZ #13150]
34346 * posix/glob.h: Remove gcc 1.x support.
34347
554881ef
UD
34348 [BZ #13068]
34349 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34350
693fb948
LD
343512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34352
34353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34354 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34355 strrchr-sse2-bsf
34356 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34357 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34358 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34360 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34361 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34362
1b48c537
UD
343632011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34364
49d42c37
UD
34365 * sysdeps/x86_64/wcscmp.S: New file.
34366
1b48c537
UD
34367 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34368 wcscmp-c wcscmp-sse2
34369 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34370 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34371 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34372 * wcsmbs/wcscmp.c: Allow renaming.
34373
15c95c5d
DM
343742011-09-05 David S. Miller <davem@davemloft.net>
34375
34376 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34377 stack slot, rather than the struct return pointer slot.
34378 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34379 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34381 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34382
2f0ad8f3
UD
343832011-09-05 Ulrich Drepper <drepper@gmail.com>
34384
d88ae418
UD
34385 * po/ja.po: Update from translation team.
34386
2f0ad8f3
UD
34387 [BZ #13144]
34388 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34389 kernel in 64-bit binaries.
34390
5f4318d1
DM
343912011-09-01 David S. Miller <davem@davemloft.net>
34392
34393 * elf/elf.h (HWCAP_SPARC_*): Move to..
34394 * sysdeps/sparc/sysdep.h: this new file and add new values.
34395 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34396 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34397 _DL_HWCAP_COUNT to 24.
34398 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34399 entries.
34400 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34401 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34402 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34404 instead of magic constants.
34405 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34406
3ba57516
DM
344072011-08-31 David S. Miller <davem@davemloft.net>
34408
34409 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34411 Reimplement to do errno handling inline.
34412 (SYSCALL_ERROR_HANDLER): New macro.
34413 (__SYSCALL_STRING): Do not do errno handling in asm.
34414 (__CLONE_SYSCALL_STRING): Delete.
34415 (__INTERNAL_SYSCALL_STRING): Delete.
34416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34417 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34418 (PSEUDO): Reimplement to do errno handling inline.
34419 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34420 (SYSCALL_ERROR_HANDLER): New macro.
34421 (__SYSCALL_STRING): Do not do errno handling in asm.
34422 (__CLONE_SYSCALL_STRING): Delete.
34423 (__INTERNAL_SYSCALL_STRING): Delete.
34424 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34425 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34426 i386.
34427 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34428 (inline_syscall*): Add 'err' argument.
34429 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34430 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34431 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34432 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34433
34434 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34435 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34436
2bc17433
AS
344372011-08-30 Andreas Schwab <schwab@redhat.com>
34438
34439 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34440
fbeb5f4d
JO
344412011-08-29 Jiri Olsa <jolsa@redhat.com>
34442
34443 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34444 directive.
34445
ad69cc26
DM
344462011-08-24 David S. Miller <davem@davemloft.net>
34447
34448 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34449
39dd69df
AS
344502011-08-24 Andreas Schwab <schwab@redhat.com>
34451
34452 * elf/Makefile: Add rules to build and run unload8 test.
34453 * elf/unload8.c: New file.
34454 * elf/unload8mod1.c: New file.
34455 * elf/unload8mod1x.c: New file.
34456 * elf/unload8mod2.c: New file.
34457 * elf/unload8mod3.c: New file.
34458
34459 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34460 it wasn't used.
34461
2c0b250a
DM
344622011-08-23 David S. Miller <davem@davemloft.net>
34463
34464 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34465 subtract stack bias.
34466 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34467 %sp not %fp in calculations.
34468 (_JMPBUF_UNWINDS_ADJ): Likewise.
34469
22044b48
DM
34470 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34471 (aio_suspend): Call it to force an exception region around the
34472 AIO_MISC_WAIT() invocation.
34473
2cae4995
AS
344742011-08-23 Andreas Schwab <schwab@redhat.com>
34475
34476 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34477 backslash.
34478
873a772e
AJ
344792011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34480
34481 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34482 protection macro.
34483 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34484 and <dl-machine.h>.
34485 (Elf64_FuncDesc): Remove.
34486
25ad0df1
DM
344872011-08-22 David S. Miller <davem@davemloft.net>
34488
34489 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34490 sigaltstack check, add missing cfi directives.
34491 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34492 missing cfi directives, and sigaltstack handling.
34493
e888bcbe
AS
344942011-08-16 Andreas Schwab <schwab@redhat.com>
34495
34496 [BZ #11724]
34497 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34498 object is seen twice.
34499 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34500
34501 * elf/Makefile (distribute): Add tst-initorder2.c.
34502 (tests): Add tst-initorder2.
34503 (modules-names): Add tst-initorder2a tst-initorder2b
34504 tst-initorder2c tst-initorder2d. Add rules to build them.
34505 ($(objpfx)tst-initorder2.out): New rule.
34506 * elf/tst-initorder2.c: New file.
34507 * elf/tst-initorder2.exp: New file.
34508
87162f46
AS
345092011-08-22 Andreas Schwab <schwab@redhat.com>
34510
70538b7f
AS
34511 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34512
f55ffe58
AS
34513 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34514 dependencies back to end of function.
34515
87162f46
AS
34516 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34517 $(elfobjdir)/ld.so.
34518
91b392a4
UD
345192011-08-21 Ulrich Drepper <drepper@gmail.com>
34520
34521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34522 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34524 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34525 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34526 of __vdso_gettimeofday.
34527 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34528 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34529 attribute_hidden.
34530 (_libc_vdso_platform_setup): Remove initialization of
34531 __vdso_gettimeofday and __vdso_time.
34532
5c43483f
UD
345332011-08-20 Ulrich Drepper <drepper@gmail.com>
34534
775a77e7
UD
34535 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34536 and fgetc_unlocked.
34537 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34538 getc_unlocked.
89f447ed 34539
49c74ba9
UD
34540 * elf/dl-open.c (add_to_global): Report additions to the global scope
34541 for LD_DEBUG=scopes.
34542 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34543 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34544
5c43483f
UD
34545 [BZ #13114]
34546 * stdio-common/Makefile (tests): Add bug24.
34547 * stdio-common/bug24.c: New file.
34548
a101b025
AJ
345492011-08-19 Andreas Jaeger <aj@suse.de>
34550
34551 [BZ #13114]
34552 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34553 non-existant file when using close-on-exec mode.
34554
c88f1766
UD
345552011-08-20 Ulrich Drepper <drepper@gmail.com>
34556
0276a718
UD
34557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34558 the very first instruction.
34559
c88f1766
UD
34560 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34561 the CFI state in the end.
34562 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34563 inclusion of dl-trampoline.h.
34564 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34565
51ccffa0
AS
345662011-08-19 Andreas Schwab <schwab@redhat.com>
34567
94d7165f
AS
34568 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34569 expectations for long double.
34570
51ccffa0
AS
34571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34572 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34573
fd708658 345742011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34575
34576 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34577 artificual limit depends upon the system page size.
34578
44f0a71e
UD
345792011-08-17 Ulrich Drepper <drepper@gmail.com>
34580
34581 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34582 * resolv/Makefile: Define CFLAGS-libresolv.
34583
8de79a24
AS
345842011-08-17 Andreas Schwab <schwab@redhat.com>
34585
34586 * nss/makedb.c (compute_tables): Make variables used in nested
34587 function static.
34588
27724598
UD
345892011-08-17 Ulrich Drepper <drepper@gmail.com>
34590
c5305d88
UD
34591 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34592 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34593 if buffer was too small.
34594
27724598
UD
34595 * elf/pldd.c (main): Attach to all threads in the process.
34596 Rewrite /proc handling to use *at functions.
34597
076fe015
UD
345982011-08-16 Ulrich Drepper <drepper@gmail.com>
34599
174baab3
UD
34600 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34601 specifies first scope to show.
34602 (dl_open_worker): Update callers. Move printing scope of new
34603 object to before the relocation.
44f0a71e 34604 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34605 * sysdeps/generic/ldsodefs.h: Update declaration.
34606
076fe015
UD
34607 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34608 string for the scope number.
34609
a60df2c3
UD
346102011-08-14 Ulrich Drepper <drepper@gmail.com>
34611
34612 * nscd/servicescache.c (cache_addserv): Make sure written is always
34613 initialized.
34614
5e4287d1
RM
346152011-08-14 Roland McGrath <roland@hack.frob.com>
34616
85ae0589
RM
34617 * sysdeps/i386/i486/bits/atomic.h
34618 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34619 statement expression, so as to suppress "set but not used" warning.
34620 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34621
69f63097
RM
34622 * string/strncat.c (STRNCAT): Use prototype definition.
34623
675456ef
RM
34624 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34625 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34626 -Iprograms here.
34627 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34628 (localedef-modules): Add localedef.
34629 (locale-modules): Add locale.
34630
5e4287d1
RM
34631 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34632 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34633 to avoid a warning.
34634
9c96ff23
DM
346352011-08-14 David S. Miller <davem@davemloft.net>
34636
34637 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34638 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34639
f9ddf089
UD
346402011-08-13 Ulrich Drepper <drepper@gmail.com>
34641
44f0a71e 34642 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34643 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34644 * elf/rtld.c (dl_main): Set l_name of vDSO.
34645 Call _dl_show_scope when DL_DEBUG_SCOPES.
34646 (process_dl_debug): Recognize scopes flag and also set it for all.
34647 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34648 Declare _dl_show_scope.
34649
1dc27704
UD
34650 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34651 (do_dlopen): Pass caller_dlopen to dl_open.
34652 (__libc_dlopen_mode): Initialize caller_dlopen.
34653
f9ddf089
UD
34654 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34655 of libc. Make tolower call locale-independent. Optimize a bit by
34656 using isdigit instead of isalnum.
34657 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34658
9ac533d3
UD
346592011-08-12 Ulrich Drepper <drepper@gmail.com>
34660
34661 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34662 was a dependency or dynamically loaded.
34663
89edf2e9
UD
346642011-08-11 Ulrich Drepper <drepper@gmail.com>
34665
8e999d29
UD
34666 * intl/l10nflist.c: Allow architecture-specific pop function.
34667 * sysdeps/x86_64/l10nflist.c: New file.
34668
89edf2e9
UD
34669 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34670 classification.
34671
14d96785
AS
346722011-08-10 Andreas Schwab <schwab@redhat.com>
34673
34674 * include/dirent.h: Add libc_hidden_proto for scandirat and
34675 scandirat64. Don't declare __scandirat64.
34676 * dirent/scandirat.c: Add libc_hidden_def.
34677 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34678 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34679
6761ac04
DM
346802011-08-10 David S. Miller <davem@davemloft.net>
34681
34682 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34683 enum.
34684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34687
c55fbd1e
UD
346882011-08-09 Ulrich Drepper <drepper@gmail.com>
34689
34690 * Versions.def [libc]: Add GLIBC_2.15.
34691 * dirent/Makefile (routines): Add scandirat and scandirat64.
34692 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34693 GLIBC_2.15.
34694 * dirent/dirent.h: Declare scandirat and scandirat64.
34695 * dirent/scandirat.c: New file.
34696 * dirent/scandirat64.c: New file.
34697 * sysdeps/wordsize-64/scandirat.c: New file.
34698 * sysdeps/wordsize-64/scandirat64.c: New file.
34699 * dirent/opendir.c: Define opendirat.
34700 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34701 using scandirat.
34702 * dirent/scandir64.c: Adjust for scandir.c change.
34703 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34704 __scandirat64, and __scandir_cancel_handler.
34705 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34706 additional parameter and use openat instead of open (outside of ld.so).
34707 Add new __opendir as wrapper around __opendirat.
34708 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34709 here without requiring old scandirat implementation.
34710
879165f2
UD
347112011-08-08 Ulrich Drepper <drepper@gmail.com>
34712
34713 * dirent/scandir.c (cancel_handler): Renamed to
34714 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34715 defined. Adjust users.
34716 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34718
cb7e923b
UD
347192011-08-04 Ulrich Drepper <drepper@gmail.com>
34720
16292edd
UD
34721 * string/test-string.h (IMPL): Use __STRING to expand name and then
34722 stringify it.
34723
cb7e923b
UD
34724 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34725 of cleanups.
34726
cff82933
LD
347272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34728
34729 * string/Makefile: Update.
34730 (strop-tests): Append strncat.
34731 * string/test-wcscmp.c: New file.
34732 New comprehensive test for wcscmp.
34733 * string/test-strcmp.c: Update.
34734 (WIDE): New define.
34735
9be9bfcc
AS
347362011-07-22 Andreas Schwab <schwab@redhat.com>
34737
34738 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34739 line.
34740
2e96f1c7
AS
347412011-07-26 Andreas Schwab <schwab@redhat.com>
34742
34743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34744 encoding to ACE if AI_IDN.
34745
85188888
JJ
347462011-08-01 Jakub Jelinek <jakub@redhat.com>
34747
34748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34749 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34750
5fa16e9b
LD
347512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34752
34753 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34754 Fix overflow bug in strncat.
34755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34756
34757 * string/test-strncat.c: Update.
34758 Add new tests for checking overflow bugs.
34759
347602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34761
34762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34763 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34764 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34765 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34766 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34767 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34768 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34769 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34770 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34771
34772 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34773 (USE_AS_STRCAT): Define.
34774 Add strcat and strncat support.
34775 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34776
8c1a459f
AS
347772011-07-25 Andreas Schwab <schwab@redhat.com>
34778
34779 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34780 __n bigger than INT_MAX+1.
34781 (__strncmp_g): Likewise.
34782
bba33c28
UD
347832011-07-23 Ulrich Drepper <drepper@gmail.com>
34784
798be72d
UD
34785 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34786 * libio/stido.h: Likewise.
34787
8accd4dc
UD
34788 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34789 (AF_NFC): Define.
34790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34791 (AF_NFC): Define.
34792
cbff0d96
UD
34793 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34794 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34795 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34796 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34797 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34798
9191c04a
UD
34799 [BZ #13021]
34800 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34801 installed.
34802
bba33c28
UD
34803 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34804 typo.
34805 (_dl_x86_64_save_sse): Likewise.
34806
90f139dd
UD
348072011-07-22 Ulrich Drepper <drepper@gmail.com>
34808
1aae088a
UD
34809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34810 OSXSAVE.
34811 (_dl_x86_64_save_sse): Likewise.
34812
8e2045f5
UD
34813 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34814
90f139dd
UD
34815 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34816
1d002f25
AS
348172011-07-21 Andreas Schwab <schwab@redhat.com>
34818
34819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34820 change.
34821 (_dl_x86_64_save_sse): Use correct AVX check.
34822
21137f89
UD
348232011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34824
34825 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34826 bug in strncpy/strncat.
34827 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34828
a65c0b7a
UD
348292011-07-21 Ulrich Drepper <drepper@gmail.com>
34830
34831 * string/tester.c (test_strcat): Add tests for different alignments
34832 of source and destination.
34833 (test_strncat): Likewise.
34834
6986b98a
UD
348352011-07-20 Ulrich Drepper <drepper@gmail.com>
34836
90bb2039
UD
34837 [BZ #12852]
34838 * posix/glob.c (glob): Check passed in values before using them in
34839 expressions to avoid some overflows.
34840 (glob_in_dir): Likewise.
34841
5644ef54
UD
34842 [BZ #13007]
34843 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34844 check for AVX enablement so that we don't crash with old kernels and
34845 new hardware.
34846 * elf/tst-audit4.c: Add same checks here.
34847 * elf/tst-audit6.c: Likewise.
34848
34849 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34850
bfc9dc9b
AS
348512011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34852
34853 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34854
702e64bb
UD
348552011-07-20 Ulrich Drepper <drepper@gmail.com>
34856
34857 * po/cs.po: Update from translation team.
34858 * po/bg.po: Likewise.
34859
295e904f
MP
348602011-07-12 Marek Polacek <mpolacek@redhat.com>
34861
34862 * misc/sys/cdefs.h: Add support for const attribute.
34863 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34864 to gnu_dev_{major,minor,makedev} functions.
34865
3ff94596
MP
348662011-07-20 Marek Polacek <mpolacek@redhat.com>
34867
34868 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34869
28b59fca
AS
348702011-07-20 Andreas Schwab <schwab@redhat.com>
34871
34872 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34873 strlen results.
34874
19df733e
AK
348752011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34876
34877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34878 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34879 register in order to avoid conflicts with the soft frame pointer
34880 being held in r11 when necessary.
34881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34882 (INTERNAL_VSYSCALL_NCS): Likewise.
34883
c8835729
MP
348842011-07-14 Marek Polacek <mpolacek@redhat.com>
34885
34886 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34887 * elf/dl-fini.c (_dl_fini): Adjust caller.
34888 * elf/dl-close.c (_dl_close_worker): Likewise.
34889 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34890
b902330c
MP
348912011-07-15 Marek Polacek <mpolacek@redhat.com>
34892
8991e135
MP
34893 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34894 "aux_cache->nlibs < 0".
34895
b902330c
MP
34896 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34897 in the reload-count case.
34898
99710781
LD
348992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34900
34901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34902 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34903 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34904 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34905 * sysdeps/x86_64/multiarch/strcat.S: New file.
34906 * sysdeps/x86_64/multiarch/strncat.S: New file.
34907 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34908 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34909 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34910 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34911 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34912 (USE_AS_STRCAT): Define.
34913 Add strcat and strncat support.
34914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34915 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34916 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34917 * string/strncat.c: Update.
34918 (USE_AS_STRNCAT): Define.
34919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34920 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34921 and i7.
34922 * sysdeps/x86_64/multiarch/init-arch.h
34923 (bit_Prefer_PMINUB_for_stringop): New.
34924 (index_Prefer_PMINUB_for_stringop): Likewise.
34925 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34926 bit_Prefer_PMINUB_for_stringop.
34927
7dc6bd90
UD
349282011-07-19 Ulrich Drepper <drepper@gmail.com>
34929
34930 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34931 buffer64.
34932 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34933 of casting of buffer.
34934 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34935 buffer32 and buffer64.
34936 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34937 writes instead of casting of buffer.
34938 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34939 buffer32.
34940 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34941 casting of buffer.
34942
e0e72284
AS
349432011-07-19 Andreas Schwab <schwab@redhat.com>
34944
34945 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34946
feb1eb0b
UD
349472011-07-19 Ulrich Drepper <drepper@gmail.com>
34948
34949 * nscd/nscd.c (termination_handler): Don't do anything for a database
34950 if it has not yet been initialized.
34951
298711ff
UD
349522011-07-18 Ulrich Drepper <drepper@gmail.com>
34953
34954 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34955
349562011-07-15 Marek Polacek <mpolacek@redhat.com>
34957
34958 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34959
f9d68389
UD
349602011-07-18 Ulrich Drepper <drepper@gmail.com>
34961
34962 * po/nl.po: Update from translation team.
34963 * po/sv.po: Likewise.
34964
db290cf5
RM
349652011-07-16 Roland McGrath <roland@hack.frob.com>
34966
34967 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34968 now disallowed by GCC.
5c550700 34969
fd5e21c7
RM
34970 * configure.in (use-default-link): Default to yes if a test -shared
34971 link meets our qualifications.
34972 * configure: Regenerated.
34973
5c550700
RM
34974 * config.make.in (output-format): New variable.
34975 * configure.in: Check for ld --print-output-format support.
34976 * configure: Regenerated.
34977 * Makerules ($(common-objpfx)format.lds)
34978 [$(output-format) != unknown]: Just use $(output-format),
34979 instead of the linker-script munging.
34980
9fa2c032
RM
349812011-07-14 Roland McGrath <roland@hack.frob.com>
34982
a6928d51
RM
34983 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34984 of $(common-objpfx)shlib.lds.
34985 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34986
661607b3
RM
34987 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34988 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34989
9fa2c032
RM
34990 * configure.in (-z relro check): Adjust test code to add a large
34991 writable data section after it.
34992 * configure: Regenerated.
34993
defe9061
RM
349942011-07-11 Roland McGrath <roland@hack.frob.com>
34995
34996 * configure.in (-z relro check): Fix test code to make the variable
34997 truly const.
34998 * configure: Regenerated.
34999
319b9ad4
UD
350002011-07-11 Ulrich Drepper <drepper@gmail.com>
35001
35002 * nscd/nscd.h (struct traced_file): Define.
35003 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35004 elements. Add traced_files.
35005 (inotify_fd): Declare.
35006 (register_traced_file): Declare.
35007 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35008 (inotify_fd): Export.
35009 (resolv_conf_descr): Remove.
35010 (nscd_init): Move inotify descriptor creation to main.
35011 Don't register files for notification here.
35012 (register_traced_file): New function.
35013 (invalidate_cache): Don't use reset_res to determine whether to call
35014 res_init, go through the list of registered files.
35015 (main_loop_poll): The inotify descriptors are now stored in the
35016 structures for the traced files.
35017 (main_loop_epoll): Likewise
35018 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35019 to __nss_disable_nscd.
35020 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35021 for a database anymore. Check the records for all the registered
35022 files instead.
35023 * nss/Makefile (libnss_files-routines): Add files-init.
35024 (libnss_db-routines): Add db-init.
35025 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35026 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35027 * nss/nss_db/db-init.c: New file.
35028 * nss/nss_files/files-init.c: New file.
35029 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35030 __nss_lookup_function.
35031 (__nss_lookup_function): Call nss_load_library.
35032 (nss_load_all_libraries): New function.
35033 (__nss_disable_nscd): Take parameter with callback function for files
35034 to register. Set is_nscd. Load all the DSOs for the NSS modules
35035 used for the cached services.
35036 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35037 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35038 options for features to all the files in nscd.
35039
35040 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35041
23bee3e8
RM
350422011-07-10 Roland McGrath <roland@hack.frob.com>
35043
35044 * csu/elf-init.c (__libc_csu_init): Comment typo.
35045
46a5b7f0
UD
350462011-07-09 Ulrich Drepper <drepper@gmail.com>
35047
35048 * po/pl.po: Update from translation team.
35049 * po/ja.po: Likewise.
35050 * po/ru.po: Likewise.
35051 * po/ko.po: Likewise.
35052 * po/fr.po: Likewise.
35053
d30cf5bb
RM
350542011-07-09 Roland McGrath <roland@hack.frob.com>
35055
113ddea4
RM
35056 * configure.in (.ctors/.dtors header and trailer check):
35057 Use an empirical test on a built program.
35058 * configure: Regenerated.
35059
574920b4
RM
35060 * configure.in (-z relro check): Use an empirical test on a built DSO.
35061 Detect, but do not require, on ia64.
35062 * configure: Regenerated.
35063
d30cf5bb
RM
35064 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35065 Update tests that use readelf to use $READELF instead.
35066 * configure: Regenerated.
35067
8538fdb3
UD
350682011-07-08 Ulrich Drepper <drepper@gmail.com>
35069
35070 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35071 if the result is not used.
35072
04d08991
AJ
350732011-07-05 Andreas Jaeger <aj@suse.de>
35074
35075 [BZ#9696]
35076 * stdlib/tst-strtod.c: Add testcase.
35077
de283087
AD
350782011-07-07 Ulrich Drepper <drepper@gmail.com>
35079
4e5f31c8 35080 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 35081 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
35082 The latter has a higher limit. Take additional parameter to pass to
35083 the new function.
35084 (__pathconf): Pass file to __statfs_link_max.
35085 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35086 __statfs_link_max.
35087 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35088 __statfs_link_max.
35089
de283087
AD
35090 [BZ #12868]
35091 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35093 Handle Lustre.
35094 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35095 (__statfs_filesize_max): Likewise.
35096 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35097
c75fa153
AJ
350982011-07-05 Andreas Jaeger <aj@suse.de>
35099
35100 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35101
1a544854
UD
351022011-07-06 Marek Polacek <mpolacek@redhat.com>
35103
35104 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35105 `status' variable.
35106 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35107 Likewise.
35108
6f0eec67
UD
351092011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35110
35111 * Makefile (strop-tests): Add strncat.
35112 * string/test-strncat.c: New file.
35113
aae30307
UD
351142011-06-30 Marek Polacek <mpolacek@redhat.com>
35115
35116 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35117
c0cfb5eb
UD
351182011-06-21 Andreas Jaeger <aj@suse.de>
35119
35120 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35121 Copy rule from iconvdata/Makefile.
35122
01636b21
UD
351232011-07-06 Ulrich Drepper <drepper@gmail.com>
35124
35125 [BZ #12922]
35126 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35127 but no long options are defined, just return 'W'.
35128
9895c8bc
UD
351292011-06-22 Marek Polacek <mpolacek@redhat.com>
35130
35131 [BZ #9696]
35132 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35133
5d4cf042
UD
351342011-07-06 Ulrich Drepper <drepper@gmail.com>
35135
35136 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35137 netgroups to read.
960e5535 35138 (innetgr): Likewise.
5d4cf042 35139
751eb97e
RM
351402011-07-05 Roland McGrath <roland@hack.frob.com>
35141
35142 * config.make.in (install_root): Default to $(DESTDIR).
35143
f15f1e45
UD
351442011-07-05 Ulrich Drepper <drepper@gmail.com>
35145
35146 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35147
4e34ac6a
RM
351482011-07-02 Roland McGrath <roland@hack.frob.com>
35149
5e9b6af4
RM
35150 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35151
84f9ea0f
RM
35152 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35153 containing directory rather than embedding absolute directory names.
35154
ea5ee9f7
RM
35155 * scripts/check-local-headers.sh: Rewritten using awk.
35156 Match by word, not by line. Print error messages for matches.
35157 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35158
1b74661a
RM
35159 * Makerules [shlib-lds-flags empty]:
35160 ($(common-objpfx)libc_pic.opts): New target.
35161 ($(common-objpfx)libc_pic.os.clean): New target.
35162 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35163
35164 * config.make.in (OBJCOPY): New variable.
35165 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35166 * configure: Regenerated.
35167
f781ef40
RM
35168 * config.make.in (use-default-link): New variable.
35169 * configure.in (use_default_link): Grok --with-default-link to set it.
35170 * configure: Regenerated.
35171 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35172 (shlib-lds, shlib-lds-flags): Define to empty.
35173
2d4fa81e
RM
35174 * Makerules (shlib-lds): New variable.
35175 (shlib-lds-flags): New variable.
35176 (build-shlib, build-moduile, build-module-asneeded): Use it.
35177 ($(common-objpfx)libc.so): Use $(shlib-lds).
35178 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35179 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35180
31fffa6b
RM
35181 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35182 DT_FLAGS/DT_FLAGS_1 with zero flags.
35183
4e34ac6a
RM
35184 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35185 linker script munging.
35186
fcfc776b
UD
351872011-07-02 Ulrich Drepper <drepper@gmail.com>
35188
35189 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35190 as 128-bit value.
35191 * crypt/sha512.c (sha512_process_block): Perform total addition using
35192 128-bit if possible.
35193 (__sha512_finish_ctx): Likewise.
35194 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35195 as 64-bit value.
35196 * crypt/sha256.c (SWAP64): Define.
35197 (sha256_process_block): Perform total addition using 64-bit if
35198 possible.
35199 (__sha256_finish_ctx): Likewise.
35200
99231d9a
UD
352012011-07-01 Ulrich Drepper <drepper@gmail.com>
35202
35203 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35204 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35205 * nscd/hstcache.c (cache_addhst): Likewise.
35206 * nscd/grpcache.c (cache_addgr): Likewise.
35207 * nscd/aicache.c (addhstaiX): Likewise
35208 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35209
445b4a53
TK
352102011-07-01 Thorsten Kukuk <kukuk@suse.de>
35211
35212 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35214 * nscd/hstcache.c (cache_addhst): Likewise.
35215 * nscd/grpcache.c (cache_addgr): Likewise.
35216 * nscd/aicache.c (addhstaiX): Likewise
35217
6d4d8e8e
AS
352182011-07-01 Andreas Schwab <schwab@redhat.com>
35219
35220 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35221 domain only when needed.
35222
89f654c5
AS
352232011-06-30 Andreas Schwab <schwab@redhat.com>
35224
35225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35226 is always restored.
35227
cf3b23ff
UD
352282011-06-29 Ulrich Drepper <drepper@gmail.com>
35229
35230 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35231 are re-adding the entry.
35232 * nscd/servicescache.c (cache_addserv): Likewise.
35233
751626f9
AJ
352342011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35235
35236 * sysdeps/generic/dl-irel.h: fix protection against multiple
35237 inclusions.
35238 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35239
9113ea1f
UD
352402011-06-28 Ulrich Drepper <drepper@gmail.com>
35241
5c0b8d90
UD
35242 [BZ #12935]
35243 * malloc/memusage.sh: Fix quoting in message.
35244 * debug/xtrace.sh: Likewise.
35245
9113ea1f
UD
35246 * configure.in: Remove support for --experimental-malloc option, make
35247 it the default.
35248 * config.make.in: Likewise.
35249 * malloc/Makefile: Likewise.
35250
a4172181
AS
352512011-06-27 Andreas Schwab <schwab@redhat.com>
35252
35253 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35254 two-byte characters.
35255
78a7eee7
RM
352562011-06-27 Roland McGrath <roland@hack.frob.com>
35257
62bede13
RM
35258 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35259 AC_CACHE_CHECK invocation.
35260 * configure: Regenerated.
35261
78a7eee7
RM
35262 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35263
5ce33a62
UD
352642011-06-27 Ulrich Drepper <drepper@gmail.com>
35265
034807a9
UD
35266 [BZ #12350]
35267 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35268 bit from old_res_options.
35269
4902da17
UD
35270 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35271
5ce33a62
UD
35272 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35273 value type for setfct.
35274
c2344f56
L
352752011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35276
35277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35278 __gettimeofday instead of gettimeofday.
35279
68468076
UD
352802011-06-26 Ulrich Drepper <drepper@gmail.com>
35281
35282 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35283
acb0d739
L
352842011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35285
35286 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35287
35288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35289 info.
35290
8912479f
L
352912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35292
35293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35294 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35295 strcpy-sse2-unaligned strncpy-sse2-unaligned
35296 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35297 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35298 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35299 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35300 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35303 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35304 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35305 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35306 (STRCPY): Support SSE2 and SSSE3 versions.
35307
d5495a11
UD
353082011-06-24 Ulrich Drepper <drepper@gmail.com>
35309
35310 [BZ #12874]
35311 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35312 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35313 kernels which artificially limit size of requests.
35314
0b1cbaae
L
353152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35316
35317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35318 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35319 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35320 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35321 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35322 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35323 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35324 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35325 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35327 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35328 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35329 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35330 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35331 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35333 Enable unaligned load optimization for Intel Core i3, i5 and i7
35334 processors.
35335 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35336 Define.
35337 (index_Fast_Unaligned_Load): Define.
35338 (HAS_FAST_UNALIGNED_LOAD): Define.
35339
07f494a0
MP
353402011-06-23 Marek Polacek <mpolacek@redhat.com>
35341
35342 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35343
fa3fc0fe
UD
353442011-06-22 Ulrich Drepper <drepper@gmail.com>
35345
35346 [BZ #12907]
35347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35348 until it is clear that the information is realy needed.
35349 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35350
e12df166
AS
353512011-06-22 Andreas Schwab <schwab@redhat.com>
35352
35353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35354
852eb34d
UD
353552011-06-22 Ulrich Drepper <drepper@gmail.com>
35356
84e2a551
UD
35357 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35358 /sys/devices/system/cpu/online if it is usable.
35359
852eb34d
UD
35360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35361 reading the information from the /proc filesystem to once a second.
35362
6e502e19
UD
353632011-06-21 Andreas Jaeger <aj@suse.de>
35364
35365 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35366 NULL after inclusion of kernel headers.
35367
75d39ff2
UD
353682011-06-21 Ulrich Drepper <drepper@gmail.com>
35369
51f9aa6a
UD
35370 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35371 calls to internal_setent.
35372
c0244a9d
UD
35373 [BZ #12885]
35374 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35375 addresses using gethostbyname4_r ignore IPv4 addresses.
35376
c5e3c2ae
UD
35377 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35378 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35379
75d39ff2
UD
35380 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35381
42675c6f
DM
353822011-06-20 David S. Miller <davem@davemloft.net>
35383
35384 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35385 inclusions.
35386 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35387
35388 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35389 (elf_irel): Use it.
35390 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35391 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35392 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35393 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35394 * sysdeps/x86_64/dl-irel.h: Likewise.
35395
35396 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35397 * elf/dl-sym.c: Likewise.
35398
57912a71
UD
353992011-06-15 Ulrich Drepper <drepper@gmail.com>
35400
35401 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35402 need to dereference resplen2.
35403
ee22793d
AS
354042011-06-14 Andreas Schwab <schwab@redhat.com>
35405
35406 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35407
a9e836b0
UD
354082011-06-15 Ulrich Drepper <drepper@gmail.com>
35409
77fb9117
UD
35410 * Makeconfig: Define vardbdir and inst_vardbdir.
35411 * nss/Makefile: Add rules to install db-Makefile.
35412
40c1b22c
UD
35413 * nss/nss_db/db-XXX.c: Cleanup.
35414
9f2da732
UD
35415 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35416 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35417 GLIBC_PRIVATE.
35418 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35419 * nss/makedb.c: Implement -g option to specify that value strings
35420 are generated and should not be added to table iterated over for
35421 get*ent calls.
35422 * nss/nss_db/db-initgroups.c: New file.
35423
82e9a1f7
UD
35424 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35425 interface.
35426
c41af17e
UD
35427 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35428 (internal_getgrouplist): Adjust to name change.
35429 Update use_initgroups_entry if this is not the first call.
35430 * nss/databases.def: Add initgroups entry.
35431
a9e836b0
UD
35432 * nss/makedb.c (compute_tables): Check result of multiple hash table
35433 sizes to minimize maximum chain length.
35434
2666d441
UD
354352011-06-14 Ulrich Drepper <drepper@gmail.com>
35436
35437 * Versions.def: Add entry for libnss_db.
35438 * shlib-versions: Likewise.
35439 * nss/Makefile: Add rules to build libnss_db.
35440 * nss/Versions: Add libnss_db information. Organize libnss_files
35441 entries better.
35442 * nss/db-Makefile: Add gshadow support. Change rules for the new
35443 makedb progra. Some minor improvements to generate smaller files.
35444 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35445 here from...
35446 * nss/makedb.c: ...here.
35447 Improve database format to be smaller and require less memory at
35448 runtime.
35449 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35450 db anymore.
35451 * nss/nss_db/db-netgrp.c: Likewise.
35452 * nss/nss_db/db-open.c: Likewise.
35453 * nss/nss_files/flies-XXX.x: Adjust comments.
35454 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35455 * nss/nss_files/files-grp.c: Likewise.
35456 * nss/nss_files/files-hosts.c: Likewise.
35457 * nss/nss_files/files-network.c: Likewise.
35458 * nss/nss_files/files-proto.c: Likewise.
35459 * nss/nss_files/files-pwd.c: Likewise.
35460 * nss/nss_files/files-rpc.c: Likewise.
35461 * nss/nss_files/files-service.c: Likewise.
35462 * nss/nss_files/files-sgrp.c: Likewise.
35463 * nss/nss_files/files-spwd.c: Likewise.
35464 * nss/nss_db/db-alias.c: Removed.
35465 * nss/nss_db/dummy-db.h: Removed.
35466
9ee76b5a
UD
354672011-06-02 Ulrich Drepper <drepper@gmail.com>
35468
35469 * nss/makedb.c: Rewritten to not use database library.
35470 * nss/Makefile: Update to build new makedb program.
35471
c71ca1f8
AJ
354722011-06-14 Andreas Jaeger <aj@suse.de>
35473
35474 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35475 memset declaration.
35476
3154bfb8
UD
354772011-06-10 Andreas Schwab <schwab@redhat.com>
35478
35479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35480 tmpbuf.
35481
b350afab
RM
354822011-06-10 Roland McGrath <roland@hack.frob.com>
35483
decd4e50
RM
35484 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35485 * elf/Makefile ($(objpfx)ld.so): Likewise.
35486
5615eaf2
RM
35487 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35488 Don't list ld.so twice in dependencies.
35489
35490 * posix/bug-regex31.c: Include <stdlib.h>.
35491
35492 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35493
35494 * nis/nss_compat/compat-spwd.c
35495 (getspent_next_nss_netgr): Remove unused variable.
35496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35497
35498 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35499 nonmembers" output to use the right array.
35500
35501 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35502
35503 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35504
35505 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35506 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35507 * catgets/gencat.c (read_input_file): Likewise.
35508 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35509
35510 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35511 variable definition inside #if's controlling its use.
35512
35513 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35514
35515 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35516
35517 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35518
35519 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35520 unreachable code.
35521
35522 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35523
b68e08db
RM
35524 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35525 * configure: Regenerated.
35526
b350afab
RM
35527 * Makerules: Revert last change.
35528 * elf/Makefile: Likewise.
35529
28368601
RM
355302011-06-09 Roland McGrath <roland@hack.frob.com>
35531
35532 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35533 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35534 (reloc-link): Likewise.
35535
11988f8f
UD
355362011-06-09 Ulrich Drepper <drepper@gmail.com>
35537
35538 * elf/Makefile: Add rules to build pldd.
35539 * elf/pldd.c: New file.
35540 * elf/pldd-xx.c: New file.
35541
e80fab37
UD
355422011-06-07 Ulrich Drepper <drepper@gmail.com>
35543
35544 * version.h: Update for 2.15 development version.
35545
9b849836
DM
355462011-06-07 David S. Miller <davem@davemloft.net>
35547
35548 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35549 ifuncs.
35550 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35551 elf_machine_lazy_rel): Likewise.
35552 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35554 elf_machine_lazy_rel): Likewise.
35555 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35556 dl_hwcap via passed in argument.
35557 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35558 Likewise.
35559
5a31b283
AK
355602011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35561
35562 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35563
069e52f8
RM
355642011-06-06 Roland McGrath <roland@hack.frob.com>
35565
35566 [BZ #12849]
35567 * manual/fdl-1.1.texi: New file, verbatim from:
35568 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35569 * manual/lgpl-2.1.texi: New file, verbatim from:
35570 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35571 * manual/Makefile (licenses): New variable, list those new file names.
35572 (texis): Use it.
35573 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35574
35575 * manual/fdl.texi: File removed.
35576 * manual/lesser.texi: File removed.
35577 * manual/libc.texinfo (Copying, Documentation License):
35578 Use new @include file names, put @appendix directive before @include.
35579
f16846a5
JJ
355802011-06-04 Jakub Jelinek <jakub@redhat.com>
35581
35582 [BZ #12841]
35583 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35584 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35585 (mq_open): Add __NTH.
35586
3d29045b
L
355872011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35588
35589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35590 Assume Intel Core i3/i5/i7 processor if AVX is available.
35591
8c297311
UD
355922011-05-31 Ulrich Drepper <drepper@gmail.com>
35593
35594 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35595 typo.
35596
c8fc0c91
UD
355972011-05-31 Andreas Schwab <schwab@redhat.com>
35598
35599 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35600 memory. Use alloca_account. Fix memory leak when retrying.
35601
5b27a807
UD
356022011-05-31 Ulrich Drepper <drepper@gmail.com>
35603
356f8bc6
UD
35604 * version.h (RELEASE): Bump for 2.14 release.
35605 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35606
5b27a807
UD
35607 * config.make.in (RANLIB): Remove entry.
35608
01f16ab0
UD
356092011-05-30 Ulrich Drepper <drepper@gmail.com>
35610
41fce8bd
UD
35611 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35612 (libc.pot): Work around missing support for .ksh extension in xgettext.
35613
4769ae77
UD
35614 [BZ #12684]
35615 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35616 if both request failed.
35617 (send_dg): In case of server errors clear resplen or *resplen2.
35618
6b1e7d19
UD
35619 [BZ #12454]
35620 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35621 when there are multiple maps.
35622 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35623 (_dl_fini): Remove test here.
35624
01f16ab0
UD
35625 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35626
b1ebd700
UD
356272011-05-29 Ulrich Drepper <drepper@gmail.com>
35628
7ae22829
UD
35629 [BZ #12350]
35630 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35631 bit from old_res_options.
35632 (gaih_inet): Likewise.
35633
553149f6 35634 [BZ #11099]
18a84741 35635 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35636 as signed.
35637
652ffab1
UD
35638 * resolv/res_init.c (res_setoptions): Make the code more compact.
35639
16985fd0
UD
35640 [BZ #11558]
35641 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35642 set RES_USEVC.
35643
0464f746
UD
35644 [BZ #11634]
35645 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35646
7d17596c
UD
35647 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35648
cf6bbbd7
UD
35649 [BZ #11781]
35650 * malloc/malloc.h: Declare malloc hook variables as volatile.
35651
13f1ab36
UD
35652 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35653 in last patch.
35654
b1ebd700
UD
35655 [BZ #11799]
35656 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35657 raise in the comment.
80e2212d
UD
35658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35660 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35661
ce67228d
UD
356622011-05-28 Ulrich Drepper <drepper@gmail.com>
35663
8887a920
UD
35664 [BZ #12811]
35665 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35666 grow the buffers more if it already has to be sufficient.
35667 (build_wcs_upper_buffer): Likewise.
35668 * posix/regexec.c (check_matching): Likewise.
35669 (clean_state_log_if_needed): Likewise.
35670 (extend_buffers): Don't enlarge buffers beyond size of the input
35671 buffer.
35672 Patches mostly by Emil Wojak <emil@wojak.eu>.
35673 * posix/bug-regex32.c: New file.
35674 * posix/Makefile (tests): Add bug-regex32.
35675
4f031072
UD
35676 * locale/findlocale.c (_nl_find_locale): Return right away if
35677 _nl_explode_name failed.
35678 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35679
d0478f0c
UD
35680 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35681
de81b246
UD
35682 * debug/xtrace.sh: Unify messages.
35683 * malloc/memusage.sh: Likewise.
35684
c738465a
UD
35685 [BZ #12813]
35686 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35687 time symbol from vDSO. Substitute with vsyscall if not available.
35688 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35689 __vdso_time.
35690
f1f929d7
UD
35691 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35692 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35693 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35694 Add sendmmsg and internal_sendmmsg.
35695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35696 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35697 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35698
ce67228d
UD
35699 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35700 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35702
e57420c6
UD
357032011-05-27 Ulrich Drepper <drepper@gmail.com>
35704
a8509ca5
UD
35705 [BZ #12813]
35706 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35707 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35708 available.
35709 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35710 __vdso_getcpu.
35711
e57420c6
UD
35712 [BZ #12814]
35713 * iconvdata/Makefile (tests): Add bug-iconv9.
35714 * iconvdata/bug-iconv9.c: New file.
35715
4d07db15
AS
357162011-05-27 Andreas Schwab <schwab@redhat.com>
35717
35718 [BZ #12814]
35719 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35720
ea486f69
JJ
357212011-05-25 Jakub Jelinek <jakub@redhat.com>
35722
35723 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35724 (struct user_regs_struct): Change intcs field back to cs.
35725
6f038433
UD
357262011-05-25 Ulrich Drepper <drepper@gmail.com>
35727
35728 * po/ja.po: Update from translation team.
35729
67f86a25
UD
357302011-05-23 Ulrich Drepper <drepper@gmail.com>
35731
35732 [BZ #12795]
35733 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35734 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35735
def7fbd6
AS
357362011-05-20 Andreas Schwab <schwab@redhat.com>
35737
35738 * stdlib/longlong.h: Update from GCC.
35739
f50ef8f1
AS
357402011-05-23 Andreas Schwab <schwab@redhat.com>
35741
35742 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35743 parameter name.
35744 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35745 Add parameter name.
35746 (__sysconf): Pass it down.
35747
de7ce8f1
UD
357482011-05-22 Ulrich Drepper <drepper@gmail.com>
35749
f2962a71
UD
35750 [BZ #12671]
35751 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35752 some situations.
35753 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35754 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35755 add in in __libc_use_alloca calls. Adjust callers.
35756 (glob): Use malloc in some situations.
35757
de7ce8f1
UD
35758 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35759 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35760 pltexit.
35761
aec84f53
UD
357622011-05-21 Ulrich Drepper <drepper@gmail.com>
35763
05bb4a68
UD
35764 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35765 and CLOCK_BOOTTIME_ALARM.
35766
7ea72f99
UD
35767 [BZ #12782]
35768 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35769 is returned.
35770
7e4afad5
UD
35771 * string/_strerror.c (__strerror_r): Print negative errors as signed
35772 numbers.
35773
8e211fec
UD
35774 [BZ #12777]
35775 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35776 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35777 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35778
f7d82dc9
UD
35779 * configure.in: Fix typo in redirection and correct removal of test
35780 files in two cases.
35781
cc9e536d
UD
35782 [BZ #12788]
35783 * locale/setlocale.c (new_composite_name): Fix test to check for
35784 identical name of all categories.
35785
aec84f53
UD
35786 [BZ #12792]
35787 * libio/filedoalloc.c (local_isatty): New function.
35788 (_IO_file_doallocate): Use local_isatty.
35789 * stdio-common/perror.c (perror): In case a new stream is used
35790 forward the stream error.
35791 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35792 error flag.
35793
78e64fdc
RT
357942011-05-20 Ulrich Drepper <drepper@gmail.com>
35795
34a9094f
UD
35796 [BZ #11869]
35797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35798 alloca.
35799 * include/alloca.h (extend_alloca_account): Define.
35800
78e64fdc
RT
35801 [BZ #11857]
35802 * posix/regex.h: Fix comments with documentation of user-accessible
35803 fields after compilation and describe correct free'ing of pattern
35804 after re_compile_pattern.
35805 Patch by Reuben Thomas <rrt@sc3d.org>.
35806
457bddfc
RA
358072011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35808
35809 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35810 and -mno-altivec to prevent the compiler from using Altivec and/or
35811 VSX instructions when the corresponding registers are not available.
35812
a4527b51
AS
358132011-05-19 Andreas Schwab <schwab@redhat.com>
35814
35815 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35816
ed690b2f
UD
358172011-05-19 Ulrich Drepper <drepper@gmail.com>
35818
35819 * libio/freopen.c (freopen): Use __dup2, not dup2.
35820 * libio/freopen64.c (freopen64): Likewise.
35821
8db73634
L
358222011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35823
35824 [BZ #12775]
35825 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35826 * math/Makefile (tests): Add test-powl.
35827 (CFLAGS-test-powl.c): Define.
35828 * math/test-powl.c: New file.
35829
0a197a9d
L
358302011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35831
35832 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35833
ee30c380
UD
358342011-05-17 Ulrich Drepper <drepper@gmail.com>
35835
35836 [BZ #11837]
35837 * iconvdata/gb18030.c: Update to GB18020-2005.
35838
6ce75379
UD
358392011-05-16 Ulrich Drepper <drepper@gmail.com>
35840
a4b89fd8
AR
35841 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35842 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35843 Patch by Aharon Robbins <arnold@skeeve.com>.
35844
ea389b12
UD
35845 [BZ #11892]
35846 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35847 on the stack.
35848
68a3f91f
UD
35849 [BZ #11895]
35850 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35851 through underflows.
35852
15cc7dd1
UD
35853 [BZ #12766]
35854 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35855 point to strings before performing equality test for error_one_per_line
35856 mode.
35857
f3799213
UD
35858 [BZ #11697]
35859 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35860
d79a9c94
UD
35861 [BZ #11820]
35862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35863 (struct user_fpregs_struct): Avoid __uint*_t types.
35864
56e5eb46
UD
35865 [BZ #6420]
35866 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35867 symbol info. Use it instead of calling _dl_addr locally.
35868 (lock_and_info): New function.
35869 (tr_freehook): Call lock_and_info and pass symbol info as additional
35870 parameter to tr_where.
35871 (tr_mallochook): Likewise.
35872 (tr_reallochook): Likewise.
35873 (tr_memalignhook): Likewise.
35874
6ce75379
UD
35875 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35876 used and couldn't be at all thread-safe.
35877
f8a3b5bf
UD
358782011-05-15 Ulrich Drepper <drepper@gmail.com>
35879
94b7cc37
UD
35880 * libio/freopen.c (freopen): Don't close old file descriptor
35881 before the new one is opened. Instead dup the new file descriptor
35882 to the old one after the new stream is created.
35883 * libio/freopen64.c (freopen64): Likewise.
35884 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35885 * libio/fileops.c (_IO_new_file_close_it): Handle new
35886 _IO_FLAGS2_NOCLOSE flag.
35887 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35888 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35889 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35890 _IO_FLAGS2_NOCLOSE flag.
35891 * include/unistd.h: Add hidden_proto for dup3.
35892 Define __have_dup3.
35893 * io/dup3.c: Define hidden symbol.
35894 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35895
bd25564e
UD
35896 [BZ #7101]
35897 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35898 when an incomplete long option is used.
35899 * posix/tst-getopt_long1.c: New file.
35900 * posix/Makefile (tests): Add tst-getopt_long1.
35901
c84cfef4
UD
35902 [BZ #10138]
35903 * scripts/config.guess: Update from autoconf-2.68.
35904 * scripts/config.sub: Likewise.
35905
3b85df27
UD
35906 [BZ #10157]
35907 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35908 tests into ...
35909 (has_cpuclock): ...this. New function.
35910 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35911 macro here based on has_cpuclock code.
35912
15a856b1
UD
35913 [BZ #10149]
35914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35915 First byte (not low byte) is now always NUL.
35916 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35917
05f399e6
UD
35918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35919 Use non-cancelable interfaces.
35920
10a52685 35921 [BZ #9809]
94ecc67d
UD
35922 * locale/iso-639.def: Add entry for Sorani.
35923
f8a3b5bf
UD
35924 [BZ #11901]
35925 * include/stdlib.h: Move include protection to the right place.
35926 Define abort_msg_s. Declare __abort_msg with it.
35927 * stdlib/abort.c (__abort_msg): Adjust type.
35928 * assert/assert.c (__assert_fail_base): New function. Majority
35929 of code from __assert_fail. Allocate memory for __abort_msg with
35930 mmap.
35931 (__assert_fail): Now call __assert_fail_base.
35932 * assert/assert-perr.c: Remove bulk of implementation. Use
35933 __assert_fail_base.
35934 * include/assert.hL Declare __assert_fail_base.
35935 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35936 mmap.
35937 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35938
1af4e298
UD
359392011-05-14 Ulrich Drepper <drepper@gmail.com>
35940
f8a3b5bf 35941 [BZ #11952]
d26dfc60
MG
35942 [BZ #12453]
35943 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35944 until all modules are registered in the DTV.
35945 * elf/Makefile: Add rules to build and run tst-tls19.
35946 * elf/tst-tls19.c: New file.
35947 * elf/tst-tls19mod1.c: New file.
35948 * elf/tst-tls19mod2.c: New file.
35949 * elf/tst-tls19mod3.c: New file.
35950 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35951
2fc54d6f
UD
35952 [BZ #12083]
35953 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35954 correctly.
35955
98d76b46
UD
35956 [BZ #12601]
35957 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35958 two-byte sequence errors.
35959 * iconvdata/Makefile (tests): Add bug-iconv8.
35960 * iconvdata/bug-iconv8.c: New file.
35961
da3c19ef
UD
35962 [BZ #12626]
35963 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35964 buf2 definition.
35965
ca408c15
UD
35966 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35967
d6f67f7d
UD
35968 [BZ #12432]
35969 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35970 (dummy_getcfa): New function.
35971 (init): Get _Unwind_GetCFA address, use dummy if not found.
35972 (backtrace_helper): In recursion check, also check whether CFA changes.
35973 (__backtrace): Completely initialize arg.
35974
1af4e298 35975 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35976 storing incomplete byte sequence in state object. Avoid testing for
35977 guaranteed too small input if we know there is enough data available.
1af4e298 35978
da62f81b
AS
359792011-05-11 Andreas Schwab <schwab@redhat.com>
35980
35981 * Makeconfig (+link-pie): Indent.
35982 * Rules (binaries-pie): Define if $(have-fpie) and
35983 $(build-shared).
35984 (binaries-shared): Also filter out $(binaries-pie).
35985 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35986 * nscd/Makefile (others-pie): Add nscd.
35987 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35988 ($(objpfx)nscd): Remove command override.
35989 * login/Makefile (others-pie): Add pt_chown.
35990 ($(objpfx)pt_chown): Remove command override.
35991 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35992 remove command overrides.
35993
fcabc0f8
UD
359942011-05-13 Ulrich Drepper <drepper@gmail.com>
35995
20030ae6
UD
35996 * libio/tst_putwc.c: Fix error messages.
35997
fcabc0f8
UD
35998 [BZ #12724]
35999 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36000 currently writing and seek to current position when not.
36001 * libio/Makefile (tests): Add bug-fclose1.
36002 * libio/bug-fclose1.c: New file.
36003
320a5dc0
PB
360042011-05-12 Ulrich Drepper <drepper@gmail.com>
36005
36006 [BZ #12511]
36007 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36008 don't set DF_1_NODELETE here.
36009 (do_lookup_x): When entering new entry test for copy relocation
36010 and if necessary set DF_1_NODELETE flag.
36011 * elf/tst-unique4.cc: New file.
36012 * elf/tst-unique4.h: New file.
36013 * elf/tst-unique4lib.cc: New file.
36014 * elf/Makefile: Add rules to build and run tst-unique4.
36015 Patch by Piotr Bury <pbury@goahead.com>.
36016
22836f52
UD
360172011-05-11 Ulrich Drepper <drepper@gmail.com>
36018
f574184a
UD
36019 [BZ #12052]
36020 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36021
e1fb097f
UD
36022 [BZ #12625]
36023 * misc/mntent_r.c (addmntent): Flush the stream after the output
36024
22836f52
UD
36025 [BZ #12393]
36026 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36027 (is_trusted_path_normalize): Skip initial colon. Append slash
36028 to empty buffer. Duplicate is_trusted_path code but allow
36029 constructed patch to be prefix.
36030 (is_dst): Allow $ORIGIN followed by /.
36031 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36032 Correct testing of result of is_trusted_path_normalize
36033 (decompose_rpath): Fix warning.
36034
7b3b0b2a
UD
360352011-05-10 Ulrich Drepper <drepper@gmail.com>
36036
36037 [BZ #11257]
36038 * grp/initgroups.c (internal_getgrouplist): When we found the service
36039 list through the initgroups entry in nsswitch.conf do not always
36040 continue on a successful lookup. Don't always use the
eac80ce2 36041 __nss_group_database value if it is set.
7b3b0b2a
UD
36042 * nss/nsswitch.conf (initgroups): Change action for successful db
36043 lookup to continue for compatibility.
36044
2a81eaa5
UD
360452011-05-09 Ulrich Drepper <drepper@gmail.com>
36046
be97a69e
UD
36047 [BZ #11532]
36048 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36049 and CP774 modules.
36050 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36051 and CP774 modules.
36052 * iconvdata/tst-tables.sh: Likewise.
36053 * iconvdata/cp770.c: New file.
36054 * iconvdata/cp771.c: New file.
36055 * iconvdata/cp772.c: New file.
36056 * iconvdata/cp773.c: New file.
36057 * iconvdata/cp774.c: New file.
36058 * iconvdata/testdata/CP770: New file.
36059 * iconvdata/testdata/CP770..UTF8: New file.
36060 * iconvdata/testdata/CP771: New file.
36061 * iconvdata/testdata/CP771..UTF8: New file.
36062 * iconvdata/testdata/CP772: New file.
36063 * iconvdata/testdata/CP772..UTF8: New file.
36064 * iconvdata/testdata/CP773: New file.
36065 * iconvdata/testdata/CP773..UTF8: New file.
36066 * iconvdata/testdata/CP774: New file.
36067 * iconvdata/testdata/CP774..UTF8: New file.
36068
36069 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36070 END CHARMAP line.
36071 * iconvdata/gen-8bit-gap.sh: Likewise.
36072 * iconvdata/gen-8bit.sh: Likewise.
36073
c1e9e399
UD
36074 * locale/iso-639.def: Add ary entry.
36075
24c55fb3 36076 [BZ #11258]
96b4b1b0
UD
36077 * locale/C-translit.h.in: Add U20A1 transliteration.
36078
bdc2f971
KB
36079 [BZ #12178]
36080 * locale/iso-639.def: Add wae entry.
36081 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36082
2952b117
UD
36083 [BZ #12545]
36084 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36085 for n.
36086
2a81eaa5
UD
36087 [BZ #12711]
36088 * locale/C-translit.h.in: Add entry for U20B9.
36089 Patch by pravin.d.s@gmail.com.
36090
28377d1b
UD
360912011-05-08 Ulrich Drepper <drepper@gmail.com>
36092
7fb90fb8
UD
36093 [BZ #12713]
36094 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36095 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
36096 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36097 in rtld. Use *stat64.
7fb90fb8 36098 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 36099 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 36100 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
36101 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36102 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36103 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36104 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36105 __fstatat64 macros.
7fb90fb8
UD
36106 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36107 * dirent/rewinddir.c: Add libc_hidden_def.
36108 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 36109 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 36110
28377d1b
UD
36111 * include/dirent.h (__alloc_dir): Add flags parameter.
36112 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36113 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36114 __alloc_dir.
36115 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36116 from fdopendir if O_CLOEXEC is already set.
36117
66bdbaa4
AM
361182011-03-15 Alan Modra <amodra@gmail.com>
36119
36120 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36121 l_tls_firstbyte_offset non-zero. Save padding offset in
36122 l_tls_firstbyte_offset for later use.
36123 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36124 freeing static tls block.
36125
95721191
JN
361262011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36127
36128 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36129 where #ifdef was intended. The intent is to prevent ARG_MAX from
36130 being defined by the kernel headers.
36131
f87dfb1f
UD
361322011-05-07 Ulrich Drepper <drepper@gmail.com>
36133
36134 [BZ #12734]
36135 * resolv/resolv.h: Define RES_NOTLDQUERY.
36136 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36137 no-tld-query and set RES_NOTLDQUERY.
36138 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36139 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36140 modern BIND to search name as TLD unless forbidden.
36141
47c3cd7a
UD
361422011-05-07 Petr Baudis <pasky@suse.cz>
36143 Ulrich Drepper <drepper@gmail.com>
36144
36145 [BZ #12393]
36146 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36147 (is_trusted_path): ...to here.
c1e9ea35 36148 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 36149 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 36150 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 36151
8a35c912
PP
361522011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36153
36154 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36155 __BEGIN/__END_DECLS.
36156
acd41f47
UD
361572011-05-06 Ulrich Drepper <drepper@gmail.com>
36158
36159 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36160 NSS_STATUS_NOTFOUND if no record was found.
36161
597df647
AS
361622011-05-05 Andreas Schwab <schwab@redhat.com>
36163
36164 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36165 (headers-not-in-tirpc): Remove rpc/netdb.h
36166 * resolv/netdb.h: Revert last change.
36167
b9af1301
PP
361682011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36169
36170 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36171 circular dependency between libgcc.a and libc.a.
36172
4e34d5f5
AS
361732011-05-05 Andreas Schwab <schwab@redhat.com>
36174
36175 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36176 * nis/Makefile: Don't install rpcsvc/*.
36177 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36178 instead of <rpc/types.h>.
36179 (MAXHOSTNAMELEN): Define.
36180
00ee369c
AS
361812011-05-03 Andreas Schwab <schwab@redhat.com>
36182
36183 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36184
0b592a30
MB
361852011-04-28 Maciej Babinski <mbabinski@google.com>
36186
36187 [BZ #12714]
36188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36189 gethostbyname4_r when IPv6 results are possible.
36190
6e04cbbe
UD
361912011-05-02 Ulrich Drepper <drepper@gmail.com>
36192
36193 [BZ #12723]
36194 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36195 _PC_PIPE_BUF handling.
36196
e4ecafe0
BH
361972011-04-30 Bruno Haible <bruno@clisp.org>
36198
36199 [BZ #12717]
36200 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36201 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36202 to 'int'.
36203 * inet/getnameinfo.c (getnameinfo): Likewise.
36204
125ee683
UD
362052011-04-29 Ulrich Drepper <drepper@gmail.com>
36206
36207 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36208 to groups setting in database lookup.
36209 * nss/nsswitch.conf: Add initgroups entry.
36210
b722481a
EB
362112011-04-22 Ulrich Drepper <drepper@gmail.com>
36212
36213 [BZ #12685]
36214 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36215 mode string.
36216 Patch by Eric Blake <eblake@redhat.com>.
36217
4df46dbd
L
362182011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36219
36220 * sunrpc/Makefile (need-export-routines): Add svc_run.
36221 (routines): Remove svc_run.
36222 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36223 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36224 * sunrpc/svc_run.c (svc_run): Likewise.
36225 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36226
e84142d2
UD
362272011-04-21 Ulrich Drepper <drepper@gmail.com>
36228
36229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36230 problem in reallocation in last patch.
36231
877175d8
UD
362322011-04-20 Ulrich Drepper <drepper@gmail.com>
36233
36234 * sunrpc/Makefile: Move inclusion of Rules.
36235
ab8eed78
UD
362362011-04-19 Ulrich Drepper <drepper@gmail.com>
36237
36238 * nss/nss_files/files-initgroups.c: New file.
36239 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36240 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36241 _nss_files_initgroups_dyn.
36242
e3d8f584
RS
362432011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36244
36245 * elf/elf.h (R_ARM_IRELATIVE): Define.
36246
af190f45
UD
362472011-04-19 Ulrich Drepper <drepper@gmail.com>
36248
36249 * po/ru.po: Update from translation team.
36250
53cf59ef
UD
362512011-04-17 Ulrich Drepper <drepper@gmail.com>
36252
36253 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36254 dependencies.
36255
4c559bcd
MF
362562011-02-06 Mike Frysinger <vapier@gentoo.org>
36257
36258 [BZ #12653]
36259 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36260 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36261 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36263 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36264
4420675c
AS
362652011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36266
36267 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36268 differing bytes.
36269 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36270 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36271 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36272
75ea32ab
UD
362732011-04-17 Ulrich Drepper <drepper@gmail.com>
36274
36275 [BZ #12420]
36276 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36277 storing it.
36278 * stdlib/bug-getcontext.c: New file.
36279 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36280
27390476
AK
362812011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36282
36283 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36284 instructions into .machine "z9-109".
36285 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36286 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36287
10442705
AK
362882011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36289
36290 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36291 between environment variables and auxiliary vector.
36292
7b57bfe5
UD
362932011-04-16 Ulrich Drepper <drepper@gmail.com>
36294
36295 * Makefile: Add rules to build linkobj/libc.so.
36296 * include/libc-symbols.h: Define libc_hidden_nolink.
36297 * include/rpc/auth.h: Mark functions which are to be hidden.
36298 * include/rpc/auth_des.h: Likewise.
36299 * include/rpc/auth_unix.h: Likewise.
36300 * include/rpc/clnt.h: Likewise.
36301 * include/rpc/des_crypt.h: Likewise.
36302 * include/rpc/key_prot.h: Likewise.
36303 * include/rpc/pmap_clnt.h: Likewise.
36304 * include/rpc/pmap_prot.h: Likewise.
36305 * include/rpc/pmap_rmt.h: Likewise.
36306 * include/rpc/rpc_msg.h: Likewise.
36307 * include/rpc/svc.h: Likewise.
36308 * include/rpc/svc_auth.h: Likewise.
36309 * include/rpc/xdr.h: Likewise.
36310 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36311 * nss/Makefile: Likewise.
36312 * sunrpc/Makefile: Don't install headers. Build library with normal
36313 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36314 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36315 for the compat linking library. Remove use of INTDEF/INTUSE.
36316 * sunrpc/auth_none.c: Likewise.
36317 * sunrpc/auth_unix.c: Likewise.
36318 * sunrpc/authdes_prot.c: Likewise.
36319 * sunrpc/authuxprot.c: Likewise.
36320 * sunrpc/clnt_gen.c: Likewise.
36321 * sunrpc/clnt_perr.c: Likewise.
36322 * sunrpc/clnt_raw.c: Likewise.
36323 * sunrpc/clnt_simp.c: Likewise.
36324 * sunrpc/clnt_tcp.c: Likewise.
36325 * sunrpc/clnt_udp.c: Likewise.
36326 * sunrpc/clnt_unix.c: Likewise.
36327 * sunrpc/des_crypt.c: Likewise.
36328 * sunrpc/des_soft.c: Likewise.
36329 * sunrpc/get_myaddr.c: Likewise.
36330 * sunrpc/key_call.c: Likewise.
36331 * sunrpc/key_prot.c: Likewise.
36332 * sunrpc/netname.c: Likewise.
36333 * sunrpc/pm_getmaps.c: Likewise.
36334 * sunrpc/pm_getport.c: Likewise.
36335 * sunrpc/pmap_clnt.c: Likewise.
36336 * sunrpc/pmap_prot.c: Likewise.
36337 * sunrpc/pmap_prot2.c: Likewise.
36338 * sunrpc/pmap_rmt.c: Likewise.
36339 * sunrpc/publickey.c: Likewise.
36340 * sunrpc/rpc_cmsg.c: Likewise.
36341 * sunrpc/rpc_common.c: Likewise.
36342 * sunrpc/rpc_dtable.c: Likewise.
36343 * sunrpc/rpc_prot.c: Likewise.
36344 * sunrpc/rpc_thread.c: Likewise.
36345 * sunrpc/rtime.c: Likewise.
36346 * sunrpc/svc.c: Likewise.
36347 * sunrpc/svc_auth.c: Likewise.
36348 * sunrpc/svc_authux.c: Likewise.
36349 * sunrpc/svc_raw.c: Likewise.
36350 * sunrpc/svc_run.c: Likewise.
36351 * sunrpc/svc_simple.c: Likewise.
36352 * sunrpc/svc_tcp.c: Likewise.
36353 * sunrpc/svc_udp.c: Likewise.
36354 * sunrpc/svc_unix.c: Likewise.
36355 * sunrpc/svcauth_des.c: Likewise.
36356 * sunrpc/xcrypt.c: Likewise.
36357 * sunrpc/xdr.c: Likewise.
36358 * sunrpc/xdr_array.c: Likewise.
36359 * sunrpc/xdr_float.c: Likewise.
36360 * sunrpc/xdr_intXX_t.c: Likewise.
36361 * sunrpc/xdr_mem.c: Likewise.
36362 * sunrpc/xdr_rec.c: Likewise.
36363 * sunrpc/xdr_ref.c: Likewise.
36364 * sunrpc/xdr_sizeof.c: Likewise.
36365 * sunrpc/xdr_stdio.c: Likewise.
36366
e6c61494
UD
363672011-04-10 Ulrich Drepper <drepper@gmail.com>
36368
36369 [BZ #12650]
36370 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36371 * sysdeps/ia64/dl-tls.h: Likewise.
36372 * sysdeps/powerpc/dl-tls.h: Likewise.
36373 * sysdeps/s390/dl-tls.h: Likewise.
36374 * sysdeps/sh/dl-tls.h: Likewise.
36375 * sysdeps/sparc/dl-tls.h: Likewise.
36376 * sysdeps/x86_64/dl-tls.h: Likewise.
36377 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36378
34fe483e
AS
363792011-03-14 Andreas Schwab <schwab@redhat.com>
36380
36381 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36382 rpath element also skip the following colon.
36383 (expand_dynamic_string_token): Add is_path parameter and pass
36384 down to DL_DST_REQUIRED and _dl_dst_substitute.
36385 (decompose_rpath): Call expand_dynamic_string_token with
36386 non-zero is_path. Ignore empty rpaths.
36387 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36388 with zero is_path.
36389
f12a32e6
AS
363902011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36391
36392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36393 Make cancelable.
36394
38a7d692
UD
363952011-04-09 Ulrich Drepper <drepper@gmail.com>
36396
36397 [BZ #12655]
36398 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36399 Patch by Filipe David Manana <fdmanana@apache.org>.
36400
e451d22b
AS
364012011-04-07 Andreas Schwab <schwab@redhat.com>
36402
36403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36404 Maintain aligned stack.
36405 (CHECK_RSP): Remove unused macro.
36406
dedc7c7b
UD
364072011-04-03 Ulrich Drepper <drepper@gmail.com>
36408
36409 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36411
94521213
UD
364122011-04-02 Ulrich Drepper <drepper@gmail.com>
36413
36414 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36415
8cb700c0 36416 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36417
0354e355
L
364182011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36419
36420 [BZ #12518]
36421 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36422 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36423 * sysdeps/x86_64/memmove.c: New file.
36424 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36425 (memcpy): Renamed to ...
36426 (__new_memcpy): This.
36427 (memcpy): Provide GLIBC_2_14 memcpy.
36428 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36429 (memcpy): Provide GLIBC_2_2_5 memcpy.
36430
8593482f
UD
364312011-04-01 Ulrich Drepper <drepper@gmail.com>
36432
36433 [BZ #12631]
36434 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36435
81a5726b
AS
364362011-03-30 Andreas Schwab <schwab@redhat.com>
36437
36438 * misc/syncfs.c: New file.
36439 * misc/Makefile (routines): Add syncfs.
36440 * posix/unistd.h: Declare syncfs.
36441 * sysdeps/unix/syscalls.list: Add syncfs.
36442
00e5419f
AS
364432011-04-01 Andreas Schwab <schwab@redhat.com>
36444
36445 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36446 open_by_handle_at.
36447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36448 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36450 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36452 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36454
748876bf
UD
364552011-04-01 Ulrich Drepper <drepper@gmail.com>
36456
658e451d
UD
36457 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36458 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36459 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36464
748876bf
UD
36465 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36466 sync_file_range.c with -fexceptions.
36467 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36468 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36469 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36470 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36471 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36472 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36474 sync_file_range as cancellation point
36475 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36476 now a wrapper around __call_sync_file_range with cancellation handling.
36477 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36478 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36479 function name to __call_sync_file_range.
36480 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36481 Add call_sync_file_range.
748876bf 36482
6e63d5e1
AS
364832011-04-01 Andreas Schwab <schwab@redhat.com>
36484
36485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36486 bits/timex.h.
6e63d5e1 36487
46998f74
UD
364882011-04-01 Ulrich Drepper <drepper@gmail.com>
36489
4c1423ed
UD
36490 * iconv/iconv.h: Fix typo in comment.
36491 * io/fcntl.h: Likewise.
36492 * libio/stdio.h: Likewise.
36493 * posix/spawn.h: Likewise.
36494 * posix/unistd.h: Likewise.
36495 * stdlib/stdlib.h: Likewise.
36496 * time/time.h: Likewise.
36497 * wcsmbs/wchar.h: Likewise.
36498
158648c0
UD
36499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36500 open_by_handle): Add.
36501 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36502 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36503 Augment a few comments.
36504 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36508 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36509 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36510 open_by_handle.
36511
46998f74
UD
36512 * io/fcntl.h (AT_EMPTY_PATH): Define.
36513
83fe108b
UD
365142011-03-30 Ulrich Drepper <drepper@gmail.com>
36515
36516 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36517 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36518 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36519 to...
36520 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36521 * Versions.def: Add GLIBC_2.14.
36522 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36523 Export.
83fe108b 36524
bb242059
UD
365252011-03-22 Ulrich Drepper <drepper@gmail.com>
36526
36527 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36528 round counter.
36529 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36530
c97a1282
L
365312011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36532
36533 [BZ #12597]
36534 * string/test-strncmp.c (do_page_test): New function.
36535 (check2): Likewise.
36536 (test_main): Call check2.
36537 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36538
2a115601
UD
365392011-03-20 Ulrich Drepper <drepper@gmail.com>
36540
36541 [BZ #12587]
36542 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36543 Handle cache information in CPU leaf 4.
36544 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36545
8126d904
UD
365462011-03-18 Ulrich Drepper <drepper@gmail.com>
36547
042c49c6 36548 [BZ #12583]
8126d904
UD
36549 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36550 character representation.
36551 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36552
ccfe366e
RA
365532011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36554
36555 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36556 END(__isnan) to END(__isnanf) to match function entry point/label
36557 EALIGN(__isnanf,...).
36558
c6e13027
JJ
365592011-03-10 Jakub Jelinek <jakub@redhat.com>
36560
36561 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36562
33f85a3f
UD
365632011-03-10 Ulrich Drepper <drepper@gmail.com>
36564
028478fa
UD
36565 [BZ #12510]
36566 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36567 copy from the symbol referenced in the relocation to initialize the
36568 used variable.
36569 Patch by Piotr Bury <pbury@goahead.com>.
36570 * elf/Makefile: Add rules to build and tst-unique3.
36571 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36572 * elf/tst-unique3.cc: New file.
36573 * elf/tst-unique3.h: New file.
36574 * elf/tst-unique3lib.cc: New file.
36575 * elf/tst-unique3lib2.cc: New file.
36576
33f85a3f
UD
36577 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36578
03592fc7
MF
365792011-03-10 Mike Frysinger <vapier@gentoo.org>
36580
36581 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36582 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36583 to _start.
03592fc7 36584
6a5ee102
UD
365852011-03-06 Ulrich Drepper <drepper@gmail.com>
36586
36587 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36588 to-be-loaded object along a path to loader is ld.so.
36589
7e4ba49c
HJ
365902011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36591 Ulrich Drepper <drepper@gmail.com>
36592
36593 * sysdeps/x86_64/memset.S: After aligning destination, code
36594 branches to different locations depending on the value of
36595 misalignment, when multiarch is enabled. Fix this.
36596
365972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36598
36599 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36600 Set _x86_64_preferred_memory_instruction for AMD processsors.
36601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36602 Set bit_Prefer_SSE_for_memop for AMD processors.
36603
13a804de
UD
366042011-03-04 Ulrich Drepper <drepper@gmail.com>
36605
36606 * libio/fmemopen.c (fmemopen): Optimize a bit.
36607
9d25c392
AS
366082011-03-03 Andreas Schwab <schwab@redhat.com>
36609
36610 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36611
a5543c6a
RM
366122011-03-03 Roland McGrath <roland@redhat.com>
36613
36614 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36615
012d35f7
DM
366162011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36617
7e4ba49c 36618 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36619 __bzero_ultra1 instead of __memset_ultra1.
36620
4bff6e01
AS
366212011-02-23 Andreas Schwab <schwab@redhat.com>
36622 Ulrich Drepper <drepper@gmail.com>
36623
36624 [BZ #12509]
36625 * include/link.h (struct link_map): Add l_orig_initfini.
36626 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36627 returning unsuccessfully.
36628 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36629 close of a file loaded at startup, restore the original l_initfini
36630 list.
36631 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36632 list, store the pointer.
36633 * elf/Makefile ($(objpfx)noload-mem): New rule.
36634 (noload-ENV): Define.
36635 (tests): Add $(objpfx)noload-mem.
36636 * elf/noload.c: Include <memcheck.h>.
36637 (main): Call mtrace. Close all opened handles.
36638
f2092faf
AS
366392011-02-17 Andreas Schwab <schwab@redhat.com>
36640
36641 [BZ #12454]
36642 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36643 dependencies are missing.
36644
6c8a2e88
ST
366452011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36646
f2092faf 36647 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36648 Hurd needs munmap.
36649 * sysdeps/mach/hurd/ifreq.h: New file.
36650
84a42118
PB
366512011-01-27 Petr Baudis <pasky@suse.cz>
36652 Ulrich Drepper <drepper@gmail.com>
36653
071f805e 36654 [BZ 12445]#
84a42118
PB
36655 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36656 to extend_alloca().
36657 * stdio-common/bug23.c: New file.
36658 * stdio-common/Makefile (tests): Add bug23.
36659
e23fe25b
AS
366602010-09-28 Andreas Schwab <schwab@redhat.com>
36661 Ulrich Drepper <drepper@gmail.com>
36662
36663 [BZ #12489]
36664 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36665 before performing relro protection. At old place add assertion
36666 to make sure nothing changed.
36667
d3f02e10
NS
366682011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36669 Glauber de Oliveira Costa <glommer@gmail.com>
36670
36671 * elf/elf.h: Add new ARM TLS relocs.
36672
d55fd7a5
RA
366732011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36674
36675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36676 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36677 cast from r3.
36678 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36679 'tests' variable.
36680 * sysdeps/wordsize-64/tst-writev.c: New file.
36681
2206397e
RA
366822011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36683
36684 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36685 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36686 insns in _dl_start to prevent a TOC reference before relocs are
36687 resolved.
36688
e9433893
UD
366892011-02-15 Ulrich Drepper <drepper@gmail.com>
36690
36691 [BZ #12469]
36692 * Makeconfig: Remove RANLIB definition.
36693 * Makerules: Don't use RANLIB.
36694 * aclocal.m4: Remove ranlib test.
36695 * configure.in: No need to check for ranlib.
36696 * elf/rtld-Rules: Don't use RANLIB.
36697
f75286c6
ST
366982011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36699
8e31c82d
ST
36700 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36701 protection macro.
36702 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36703 inclusion protection macro.
36704
f75286c6
ST
36705 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36706 SIGRTMIN and SIGRTMAX and print information in that case only when
36707 SIGRTMIN is defined.
36708
c1d0e639
JJ
367092011-02-11 Jakub Jelinek <jakub@redhat.com>
36710
36711 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36712 arginfo fn returning -1.
36713
36714 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36715 and thousands string is zero terminated.
36716
edf9294e
AS
367172011-02-03 Andreas Schwab <schwab@redhat.com>
36718
36719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36720 sysdeps/unix/sysv/linux/bits/socket.h.
36721
2b7e92df
ST
367222011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36723
edf9294e
AS
36724 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36725 (__CPU_COUNT): Remove old macros.
36726 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36727 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36728 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36729 (__sched_cpualloc, __sched_cpufree): Add declarations.
36730
a4c7ea7b
UD
367312011-02-05 Ulrich Drepper <drepper@gmail.com>
36732
36733 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36734 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36735 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36736 (readdhstai): Return value of addhstaiX call.
36737 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36738 (addgrbyX): Return value returned by cache_addgr.
36739 (readdgrbyname): Return value returned by addgrbyX.
36740 (readdgrbygid): Likewise.
36741 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36742 (addpwbyX): Return value returned by cache_addpw.
36743 (readdpwbyname): Return value returned by addhstbyX.
36744 (readdpwbyuid): Likewise.
36745 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36746 (addservbyX): Return value returned by cache_addserv.
36747 (readdservbyname): Return value returned by addservbyX:
36748 (readdservbyport): Likewise.
36749 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36750 (addhstbyX): Return value returned by cache_addhst.
36751 (readdhstbyname): Return value returned by addhstbyX.
36752 (readdhstbyaddr): Likewise.
36753 (readdhstbynamev6): Likewise.
36754 (readdhstbyaddrv6): Likewise.
36755 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36756 (readdinitgroups): Return value returned by addinitgroupsX.
36757 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36758 (prune_cache): Keep track of timeout value of re-added entries.
36759 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36760 * nscd/nscd.h: Adjust prototypes of readd* functions.
36761
a0bf67cc
RM
367622011-02-04 Roland McGrath <roland@redhat.com>
36763
36764 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36765 (nis_stats): Likewise.
36766 * nis/nis_modify.c (nis_modify): Likewise.
36767 * nis/nis_remove.c (nis_remove): Likewise.
36768 * nis/nis_add.c (nis_add): Likewise.
36769
36770 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36771
36772 * posix/fnmatch_loop.c: Add some consts.
36773
36774 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36775
435b95eb
L
367762011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36777
36778 [BZ #12460]
36779 * config.make.in (config-cflags-novzeroupper): Define.
36780 * configure.in: Substitute libc_cv_cc_novzeroupper.
36781 * elf/Makefile (AVX-CFLAGS): Define.
36782 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36783 (CFLAGS-tst-auditmod4a.c): Likewise.
36784 (CFLAGS-tst-auditmod4b.c): Likewise.
36785 (CFLAGS-tst-auditmod6b.c): Likewise.
36786 (CFLAGS-tst-auditmod6c.c): Likewise.
36787 (CFLAGS-tst-auditmod7b.c): Likewise.
36788 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36789
8517b15e
UD
367902011-02-02 Ulrich Drepper <drepper@gmail.com>
36791
36792 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36793 function to the callback.
36794 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36795
10a656fe
AS
367962011-02-02 Andreas Schwab <schwab@redhat.com>
36797
36798 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36799 of errno.
36800
968dad0a
UD
368012011-01-19 Ulrich Drepper <drepper@gmail.com>
36802
9f94d2ea 36803 [BZ #11724]
968dad0a
UD
36804 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36805 of constructors.
36806 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36807 of destructors.
36808 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36809
36810 [BZ #11724]
36811 * elf/Makefile: Add rules to build and run new test.
36812 * elf/tst-initorder.c: New file.
36813 * elf/tst-initorder.exp: New file.
36814 * elf/tst-initordera1.c: New file.
36815 * elf/tst-initordera2.c: New file.
36816 * elf/tst-initordera3.c: New file.
36817 * elf/tst-initordera4.c: New file.
36818 * elf/tst-initorderb1.c: New file.
36819 * elf/tst-initorderb2.c: New file.
36820 * elf/tst-order-a1.c: New file.
36821 * elf/tst-order-a2.c: New file.
36822 * elf/tst-order-a3.c: New file.
36823 * elf/tst-order-a4.c: New file.
36824 * elf/tst-order-b1.c: New file.
36825 * elf/tst-order-b2.c: New file.
36826 * elf/tst-order-main.c: New file.
36827 New test case by George Gensure <werkt0@gmail.com>.
36828
86e92359
UD
368292010-10-01 Andreas Schwab <schwab@redhat.com>
36830
36831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36832 decoding ACE if AI_CANONIDN.
36833
5d5732b0
UD
368342011-01-18 Ulrich Drepper <drepper@gmail.com>
36835
36836 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36837
a77e8cbc
UD
368382011-01-17 Ulrich Drepper <drepper@gmail.com>
36839
6392473f
UD
36840 * version.h (RELEASE): Bump for 2.13 release.
36841 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36842
620a0529
UD
36843 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36844
18ba70a5
UD
36845 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36846 MADV_NOHUGEPAGE.
32465c3e
UD
36847 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36849 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36850 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36851 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36852 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36853
c0dafcf1
UD
36854 * posix/getconf.c: Update copyright year.
36855 * catgets/gencat.c: Likewise.
36856 * csu/version.c: Likewise.
36857 * debug/catchsegv.sh: Likewise.
36858 * debug/xtrace.sh: Likewise.
36859 * elf/ldconfig.c: Likewise.
36860 * elf/ldd.bash.in: Likewise.
36861 * elf/sprof.c (print_version): Likewise.
36862 * iconv/iconv_prog.c: Likewise.
36863 * iconv/iconvconfig.c: Likewise.
36864 * locale/programs/locale.c: Likewise.
36865 * locale/programs/localedef.c: Likewise.
36866 * malloc/memusage.sh: Likewise.
36867 * malloc/mtrace.pl: Likewise.
36868 * nscd/nscd.c (print_version): Likewise.
36869 * nss/getent.c: Likewise.
36870
a77e8cbc
UD
36871 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36872 PF_CAIF, and PF_ALG.
36873 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36874
77e8bddf
AS
368752011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36876
1f20b93a
AS
36877 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36878 (modules-names): Use them.
36879 (ifunc-test-modules, ifunc-pie-tests): Define.
36880 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36881 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36882 (test-extras): Likewise.
36883 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36884 $(compile-command.c).
36885 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36886 (all-built-dso): Define.
36887 (check-textrel.out, check-execstack.out): Depend on it.
36888
77e8bddf
AS
36889 * configure.in: Don't override --enable-multi-arch.
36890
bc425b33
UD
368912011-01-15 Ulrich Drepper <drepper@gmail.com>
36892
36893 [BZ #6812]
36894 * nscd/hstcache.c (tryagain): Define.
36895 (cache_addhst): Return tryagain not notfound for temporary errors.
36896 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36897 failed.
36898
794c3ad3
UD
368992011-01-14 Ulrich Drepper <drepper@gmail.com>
36900
70181fdd
UD
36901 [BZ #10563]
36902 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36903 to make the syscall.
36904 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36905
794c3ad3
UD
36906 [BZ #12378]
36907 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36908 and fall back to matching as normal character if the string ends before
36909 the matching ']' is found. This is what POSIX requires.
36910 * posix/testfnm.c: Adjust test result.
36911 * posix/globtest.sh: Adjust test result. Add new test.
36912 * posix/tst-fnmatch.input: Likewise.
36913 * posix/tst-fnmatch2.c: Add new test.
36914
68dc9497
AS
369152010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36916
36917 * elf/Makefile (check-execstack): Revert last change. Depend on
36918 check-execstack.h.
36919 (check-execstack.h): New target.
36920 (generated): Add check-execstack.h.
36921 * elf/check-execstack.c: Include "check-execstack.h".
36922 (main): Revert last change.
36923 (handle_file): Return zero if GNU_STACK is absent and
36924 DEFAULT_STACK_PERMS doesn't include PF_X.
36925
451f001b
UD
369262011-01-13 Ulrich Drepper <drepper@gmail.com>
36927
cfa28e56
UD
36928 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36929 in child fails because the descriptor is already closed.
8cf8ce17
UD
36930 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36931 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36932 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36933
1086d70d
UD
36934 [BZ #12397]
36935 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36936 syscall.
36937
451f001b
UD
36938 [BZ #10484]
36939 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36940 temporary buffer used to handle multi lookups locally.
a85b5cb4 36941 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36942
08769175
UD
369432011-01-12 Ulrich Drepper <drepper@gmail.com>
36944
36945 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36946 loader is ld.so.
36947
5e49c52e
UD
369482011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36949
36950 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36951 alignment for SSE2.
36952
60522a5f
UD
369532011-01-12 Ulrich Drepper <drepper@gmail.com>
36954
36955 [BZ #12394]
36956 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36957 characters. When rounding increased number of integer digits recompute
36958 number of groups.
36959 * stdio-common/tst-grouping.c: New file.
36960 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36961
f257bbd7
UD
369622011-01-09 Ulrich Drepper <drepper@gmail.com>
36963
36964 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36965 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36966
36967 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36968 void.
36969 * bits/select.h: Likewise.
36970
fa9c15cb
UD
369712011-01-08 Ulrich Drepper <drepper@gmail.com>
36972
36973 * po/ja.po: Update from translation team.
36974
16c2895f
DM
369752011-01-04 David S. Miller <davem@sunset.davemloft.net>
36976
36977 [BZ #11155]
36978 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36979 implementation just like for lxstat, fxstatat, et al.
36980
2543fef2
JM
369812010-12-27 Jim Meyering <meyering@redhat.com>
36982
36983 [BZ #12348]
36984 * posix/regexec.c (build_trtable): Return failure indication upon
36985 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36986
98727dbe
UD
369872010-12-25 Ulrich Drepper <drepper@gmail.com>
36988
5bd6dc5c
UD
36989 [BZ #12201]
36990 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36991 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36992 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36993 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36994
97983464
UD
36995 [BZ #12207]
36996 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36997
98727dbe
UD
36998 [BZ #12204]
36999 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37000 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37001
4a531bb0
L
370022010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37003
37004 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37005 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37006 script has SORT_BY_INIT_PRIORITY.
37007 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37008 NO_CTORS_DTORS_SECTIONS is defined.
37009 * elf/soinit.c: Likewise.
37010 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37011 NO_CTORS_DTORS_SECTIONS is defined.
37012 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37013 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37014 * sysdeps/sh/init-first.c: Likewise.
37015 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37016
07eb4b71
UD
370172010-12-24 Ulrich Drepper <drepper@gmail.com>
37018
37019 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37020 always use the slow path.
37021
30950a5f
RA
370222010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37023
37024 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37025 similar rule which adds the sysdep directories to the header search in
37026 order to pick up the correct platform stackinfo.h.
37027 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37028 perform test if it is, otherwise return successfully without testing.
37029 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37030 DEFAULT_STACK_PERMS define in stackinfo.h.
37031 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37032 defined in stackinfo.h.
37033 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37034 DEFAULT_STACK_PERMS defined in stackinfo.h.
37035 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37036 * sysdeps/ia64/stackinfo.h: Likewise.
37037 * sysdeps/s390/stackinfo.h: Likewise.
37038 * sysdeps/sh/stackinfo.h: Likewise.
37039 * sysdeps/sparc/stackinfo.h: Likewise.
37040 * sysdeps/x86_64/stackinfo.h: Likewise.
37041 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37042 PF_X for powerpc64. Retain PF_X for powerpc32.
37043
db753e2c
UD
370442010-12-19 Ulrich Drepper <drepper@gmail.com>
37045
14b697f7
UD
37046 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37047 accurately.
db753e2c
UD
37048 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37049 GETDENTS_64BIT_ALIGNED.
37050
28300719
UD
370512010-12-14 Ulrich Drepper <dreper@gmail.com>
37052
14b697f7 37053 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 37054
4f197237
AS
370552010-12-10 Andreas Schwab <schwab@redhat.com>
37056
dbb0472f
AS
37057 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37058 _GNU_SOURCE.
37059
4f197237
AS
37060 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37061 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37062 Remove __restrict.
37063 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37064 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37065
fb88ac72
UD
370662010-12-09 Ulrich Drepper <drepper@gmail.com>
37067
37068 [BZ #11655]
37069 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37070 are initialized.
37071
42acbb92
JJ
370722010-12-09 Jakub Jelinek <jakub@redhat.com>
37073
37074 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37075
c038d98d
UD
370762010-12-03 Ulrich Drepper <drepper@gmail.com>
37077
37078 * po/it.po: Update from translation team.
37079
3a4a2499
L
370802010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37081
37082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37083 unused codes.
37084
1e24cf6e
UD
370852010-11-30 Ulrich Drepper <drepper@gmail.com>
37086
37087 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37088
a7690819
AS
370892010-11-24 Andreas Schwab <schwab@redhat.com>
37090
37091 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37092 specially.
37093 (gaih_getanswer_slice): Likewise.
37094
3bf8d1b1
JJ
370952010-10-20 Jakub Jelinek <jakub@redhat.com>
37096
37097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37098
6db52fbb
PB
370992010-05-31 Petr Baudis <pasky@suse.cz>
37100
37101 [BZ #11149]
37102 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37103 silently even in the chroot mode.
37104
eaca7569
UD
371052010-11-22 Ulrich Drepper <drepper@gmail.com>
37106
37107 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37108 last patch a bit. Pretty printing
37109
3056dcdb
UD
371102010-05-31 Petr Baudis <pasky@suse.cz>
37111
37112 [BZ #10085]
37113 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37114 initialization of skip_initgroups_dyn.
37115
cf7c9078
UD
371162010-11-19 Ulrich Drepper <drepper@gmail.com>
37117
37118 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37120
a1fb5e3e
UD
371212010-11-16 Ulrich Drepper <drepper@gmail.com>
37122
37123 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37124
3540d66b
AS
371252010-11-11 Andreas Schwab <schwab@redhat.com>
37126
37127 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37128 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37129 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37130 ($(objpfx)tst-fnmatch-mem): New rule.
37131 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37132 * posix/tst-fnmatch.c (main): Call mtrace.
37133
13b69574
L
371342010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37135
37136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37137 Support Intel processor model 6 and model 0x2c.
37138
da93d214
LM
371392010-11-10 Luis Machado <luisgpm@br.ibm.com>
37140
37141 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37142 signed comparison.
37143
8ca52c6e
L
371442010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37145
37146 [BZ #12205]
37147 * string/test-strncasecmp.c (check_result): New function.
37148 (do_one_test): Use it.
37149 (check1): New function.
37150 (test_main): Use it.
37151 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37152 Support strcasecmp and strncasecmp.
37153
69da074d
UD
371542010-11-08 Ulrich Drepper <drepper@gmail.com>
37155
37156 [BZ #12194]
37157 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37158 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37159
ff02d528
L
371602010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37161
37162 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37163 IFUNC support.
37164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37165 memset-x86-64.
37166 * sysdeps/x86_64/multiarch/bzero.S: New file.
37167 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37168 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37169 * sysdeps/x86_64/multiarch/memset.S: New file.
37170 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37172 Set bit_Prefer_SSE_for_memop for Intel processors.
37173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37174 Define.
37175 (index_Prefer_SSE_for_memop): Define.
37176 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37177
344d0b54
LM
371782010-11-04 Luis Machado <luisgpm@br.ibm.com>
37179
37180 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37181 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37182
c0dde15b
UD
371832010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37184
37185 [BZ #12191]
37186 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37187 (__x86_64_raw_data_cache_size_half): Likewise.
37188 (__x86_64_raw_shared_cache_size): Likewise.
37189 (__x86_64_raw_shared_cache_size_half): Likewise.
37190
37191 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37192 (__x86_64_raw_data_cache_size_half): Likewise.
37193 (__x86_64_raw_shared_cache_size): Likewise.
37194 (__x86_64_raw_shared_cache_size_half): Likewise.
37195 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37196 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37197 and __x86_64_raw_shared_cache_size_half. Round
37198 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37199 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37200 to multiple of 256 bytes.
37201
0e516e0e
MS
372022010-11-03 Ulrich Drepper <drepper@gmail.com>
37203
37204 [BZ #12167]
37205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37206 of inacessible symlinks. Verify result of symlink before returning it.
37207 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37208 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37209
0e012e87
ER
372102010-10-28 Erich Ritz <erichritz@gmail.com>
37211
37212 * math/math.h (isinf): Fix typo in comment.
37213
de0ff7bc
UD
372142010-11-01 Ulrich Drepper <drepper@gmail.com>
37215
37216 * po/da.po: Update from translation team.
37217
fa41c84d
UD
372182010-10-26 Ulrich Drepper <drepper@gmail.com>
37219
37220 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37221 is added to the list.
37222
f0967738
AK
372232010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37224 Ulrich Drepper <drepper@gmail.com>
37225
37226 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37227 the global list here. Move code to...
37228 (_dl_add_to_namespace_list): ...here. New function.
37229 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37230 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37231 * elf/dl-load.c (lose): Don't remove the element from the list.
37232 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37233 (_dl_map_object): Likewise.
37234
372352010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
37236
37237 [BZ #12159]
37238 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37239 into all bytes of SSE register.
37240 Patch by Richard Li <richardpku@gmail.com>.
37241
f0967738 372422010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
37243
37244 [BZ #12140]
37245 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37246 perturbing.
37247
d0b9e94f
MB
372482010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37249
37250 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37251 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37252 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37253 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37255 submachine.
37256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37257
8e9f92e9
AS
372582010-10-22 Andreas Schwab <schwab@redhat.com>
37259
37260 * include/dlfcn.h (__RTLD_SECURE): Define.
37261 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37262 mode & __RTLD_SECURE instead.
37263 (open_path): Rename preloaded parameter to secure.
37264 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37265 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37266 * elf/dl-deps.c (openaux): Likewise.
37267 * elf/rtld.c (struct map_args): Remove is_preloaded.
37268 (map_doit): Don't use it.
37269 (dl_main): Likewise.
37270 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37271 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37272
bc96fbda
AS
372732010-09-09 Andreas Schwab <schwab@redhat.com>
37274
37275 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37276 (sysd-rules-targets): Remove duplicates.
37277 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37278 rtld-%.$o dependency.
37279
22cd1c9b
AS
372802010-10-18 Andreas Schwab <schwab@redhat.com>
37281
37282 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37283 _dl_map_object do it.
37284
18edac48
UD
372852010-10-19 Ulrich Drepper <drepper@gmail.com>
37286
37287 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37288 fast fma builtins, define the macros in the C99 standard.
37289 (FP_FAST_FMAF): Likewise.
37290 (FP_FAST_FMAL): Likewise.
37291 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37292
37293 * bits/mathdef.h: Update copyright year.
37294 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37295
d2050124
MM
372962010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37297
37298 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37299 builtins, define the macros in the C99 standard.
37300 (FP_FAST_FMAF): Likewise.
37301 (FP_FAST_FMAL): Likewise.
37302 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37303 multiply/add.
37304 (FP_FAST_FMAF): Likewise.
37305
475facd1
JJ
373062010-10-15 Jakub Jelinek <jakub@redhat.com>
37307
37308 [BZ #3268]
37309 * math/libm-test.inc (fma_test): Some new testcases.
37310 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37312 y and infinite z. Do multiplication by C already in long double.
37313 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37315 y and infinite z. Do bitwise or of inexact bit into u.d.
37316 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37317 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37318 * sysdeps/i386/fpu/s_fma.S: Removed.
37319 * sysdeps/i386/fpu/s_fmal.S: Removed.
37320
7c08a05c
JJ
373212010-10-16 Jakub Jelinek <jakub@redhat.com>
37322
37323 [BZ #3268]
37324 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37326 computation is not scheduled after fetestexcept. Fix value
37327 of minimum denormal long double.
37328
f3f7372d
JJ
373292010-10-14 Jakub Jelinek <jakub@redhat.com>
37330
37331 [BZ #3268]
37332 * math/libm-test.inc (fma_test): Add some more tests.
37333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37334 correctly.
37335
14d43591
AS
373362010-10-15 Andreas Schwab <schwab@redhat.com>
37337
37338 * scripts/data/localplt-s390-linux-gnu.data: New file.
37339 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37340
5e908464
JJ
373412010-10-13 Jakub Jelinek <jakub@redhat.com>
37342
37343 [BZ #3268]
37344 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37345 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37346 instead of dbl-64.
37347 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37348 inlines.
37349 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37351 if one of x and y is very large and the other is subnormal.
37352 * sysdeps/s390/fpu/s_fmaf.c: New file.
37353 * sysdeps/s390/fpu/s_fma.c: New file.
37354 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37355 * sysdeps/powerpc/fpu/s_fma.S: New file.
37356 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37357 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37358 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37359
373602010-10-12 Jakub Jelinek <jakub@redhat.com>
37361
37362 [BZ #3268]
37363 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37364 fma tests.
37365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37366 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37367 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37368 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37369 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37370 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37371 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37372
b833d51f
UD
373732010-10-12 Ulrich Drepper <drepper@redhat.com>
37374
37375 [BZ #12078]
37376 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37377 * posix/bug-regex31.input: Add test case.
37378
1751705d
UD
373792010-10-11 Ulrich Drepper <drepper@gmail.com>
37380
e9b9cbf5
UD
37381 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37382 * posix/bug-regex31.input: New file.
37383
37384 [BZ #12078]
37385 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37386 (parse_sub_exp): Fix last change, use postorder.
37387
ef06edbe
UD
37388 * posix/bug-regex31.c: New file.
37389 * posix/Makefile: Add rules to build and run bug-regex31.
37390
a129c80d
UD
37391 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37392
37393 [BZ #12078]
37394 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37395
b76b818e
UD
37396 [BZ #12108]
37397 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37398 to have entries in sys_siglist.
37399
1751705d
UD
37400 [BZ #12093]
37401 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37402 be NULL.
37403
9ff8d36f
JJ
374042010-10-07 Jakub Jelinek <jakub@redhat.com>
37405
37406 [BZ #3268]
37407 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37408 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37409 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37410 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37411 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37412 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37413 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37414 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37415 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37416 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37417 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37418 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37419 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37420 * math/ftestexcept.c (fetestexcept): Likewise.
37421 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37422 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37423 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37424 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37425 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37426 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37427 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37428
af325969
UD
374292010-10-11 Ulrich Drepper <drepper@gmail.com>
37430
c579b202 37431 [BZ #12107]
af325969
UD
37432 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37433 newline.
37434
67a67b95
UD
374352010-10-06 Ulrich Drepper <drepper@gmail.com>
37436
37437 * string/bug-strstr1.c: New file.
37438 * string/Makefile: Add rules to build and run bug-strstr1.
37439
5fb308bc
EB
374402010-10-05 Eric Blake <eblake@redhat.com>
37441
37442 [BZ #12092]
37443 * string/str-two-way.h (two_way_long_needle): Always clear memory
37444 when skipping input due to the shift table.
37445
45db99c7
UD
374462010-10-03 Ulrich Drepper <drepper@gmail.com>
37447
3b111893
UD
37448 [BZ #12005]
37449 * malloc/mcheck.c: Handle large requests.
37450
45db99c7
UD
37451 [BZ #12077]
37452 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37453 for strncmp and strncasecmp.
37454 * string/stratcliff.c: Add tests for strcmp and strncmp.
37455 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37456
cf7a1eb8
NI
374572010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37458
37459 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37460 __set_fpscr.
37461
6484ba5e
AJ
374622010-09-30 Andreas Jaeger <aj@suse.de>
37463
37464 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37465 (CGROUP_SUPER_MAGIC): Define.
37466 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37467 Handle btrfs and cgroup file systems.
37468 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37469 Likewise.
37470
91c42559
LM
374712010-09-27 Luis Machado <luisgpm@br.ibm.com>
37472
37473 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37474 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37475
87a97932
AK
374762010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37477
37478 [BZ #12067]
37479 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37480 trying to locate the ELF header.
37481
c21cc9bc
AS
374822010-09-27 Andreas Schwab <schwab@redhat.com>
37483
37484 [BZ #11611]
37485 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37486 Mask out sign-bit copies when constructing f_fsid.
37487
315970f6
PB
374882010-09-24 Petr Baudis <pasky@suse.cz>
37489
37490 * debug/stack_chk_fail_local.c: Add missing licence exception.
37491 * debug/warning-nop.c: Likewise.
37492
1ac7a2c7
JM
374932010-09-15 Joseph Myers <joseph@codesourcery.com>
37494
37495 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37496 implementing getdents64 using getdents syscall, set d_type if
37497 __ASSUME_GETDENTS32_D_TYPE.
37498
56801c50
AS
374992010-09-16 Andreas Schwab <schwab@redhat.com>
37500
37501 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37502 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37503
dda51327
UD
375042010-09-21 Ulrich Drepper <drepper@redhat.com>
37505
37506 [BZ #12037]
37507 * posix/unistd.h: Undo change of feature selection for ftruncate from
37508 2010-01-11.
37509
8ffcee4a
UD
375102010-09-20 Ulrich Drepper <drepper@redhat.com>
37511
a545ecd9 37512 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37513 detection.
37514
e24f0a8b
AS
375152010-09-20 Andreas Schwab <schwab@redhat.com>
37516
37517 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37518 fanotify_mark.
37519 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37520
7291c56f
AS
375212010-09-14 Andreas Schwab <schwab@redhat.com>
37522
37523 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37524 variables after CHECK_SP call.
37525 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37526
bc5fb037
AS
375272010-09-13 Andreas Schwab <schwab@redhat.com>
37528 Ulrich Drepper <drepper@redhat.com>
37529
37530 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37531 re-relocationg ld.so.
37532 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37533 _dl_init_paths call.
37534 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37535 here anymore.
37536
e66e7419
UD
375372010-09-14 Ulrich Drepper <drepper@redhat.com>
37538
37539 * resolv/res_init.c (__res_vinit): Count the default server we added.
37540
c044aa75
CLT
375412010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37542 Ulrich Drepper <drepper@redhat.com>
37543
37544 [BZ #11968]
37545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37546 (____longjmp_chk): Use %ebx for saving value across system call.
37547 Add unwind info.
37548
32cf4069
AS
375492010-09-06 Andreas Schwab <schwab@redhat.com>
37550
37551 * manual/Makefile: Don't mix pattern rules with normal rules.
37552
817328ee
AS
375532010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37554
37555 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37556 operation.
37557 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37558 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37559 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37560 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37561 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37562 Likewise.
37563
29fddf61
UD
375642010-09-04 Ulrich Drepper <drepper@redhat.com>
37565
37566 [BZ #11979]
37567 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37568 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37569
0959ffc9
UD
375702010-09-02 Ulrich Drepper <drepper@redhat.com>
37571
37572 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37573 * sysdeps/x86_64/addmul_1.S: Likewise.
37574 * sysdeps/x86_64/lshift.S: Likewise.
37575 * sysdeps/x86_64/mul_1.S: Likewise.
37576 * sysdeps/x86_64/rshift.S: Likewise.
37577 * sysdeps/x86_64/sub_n.S: Likewise.
37578 * sysdeps/x86_64/submul_1.S: Likewise.
37579
ece29840
ST
375802010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37581
0959ffc9
UD
37582 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37583 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37584 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37585 * bits/sched.h [__need_schedparam]
ece29840 37586 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37587 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37588 (__defined_schedparam): Define to 1.
ece29840
ST
37589 (__sched_param): New structure, identical to sched_param.
37590 (__need_schedparam): Undefine.
37591
e53a31fe
MF
375922010-08-31 Mike Frysinger <vapier@gentoo.org>
37593
fdc0c10d
MF
37594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37595 (epoll_create1): Declare.
37596
e53a31fe
MF
37597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37598
a726d796
AS
375992010-08-31 Andreas Schwab <schwab@redhat.com>
37600
37601 [BZ #7066]
37602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37603 shifting retval into place.
37604
2f3e3dc7
UD
376052010-09-01 Ulrich Drepper <drepper@redhat.com>
37606
f2933da9
UD
37607 * nis/rpcsvc/nis.h: Update copyright notice.
37608 * nis/rpcsvc/nis.x: Likewise.
37609 * nis/rpcsvc/nis_callback.h: Likewise.
37610 * nis/rpcsvc/nis_callback.x: Likewise.
37611 * nis/rpcsvc/nis_object.x: Likewise.
37612 * nis/rpcsvc/nis_tags.h: Likewise.
37613 * nis/rpcsvc/yp.h: Likewise.
37614 * nis/rpcsvc/yp.x: Likewise.
37615 * nis/rpcsvc/ypupd.h: Likewise.
37616 * nis/yp_xdr.c: Likewise.
37617 * nis/ypupdate_xdr.c: Likewise.
37618
2f3e3dc7
UD
37619 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37620 mainly the body of pmap_getport. Add parameters to specify timeouts.
37621 (pmap_getport): Use __libc_rpc_getport.
37622 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37623 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37624 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37625
f3dcc2f9
AS
376262010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37627
37628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37629 fanotify_mark.
37630
6d34eb5b
RM
376312010-08-27 Roland McGrath <roland@redhat.com>
37632
37633 * sysdeps/i386/i686/multiarch/Makefile
37634 (CFLAGS-varshift.c): New variable.
37635
9ea3de11
UD
376362010-08-27 Ulrich Drepper <drepper@redhat.com>
37637
c96d23fc
UD
37638 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37639 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37640
9ea3de11
UD
37641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37642
37643 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37644
623aac7f
L
376452010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37646
37647 * sysdeps/x86_64/strlen.S: Unroll the loop.
37648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37649 strlen-sse2 strlen-sse2-bsf.
37650 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37651 __strlen_no_bsf if bit_Slow_BSF is set.
37652 (__strlen_sse42): Removed.
37653 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37654 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37655
8b2b7715
RM
376562010-08-25 Roland McGrath <roland@redhat.com>
37657
37658 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37659 * sysdeps/x86_64/multiarch/varshift.c: New file.
37660 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37661 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37662 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37663 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37664
e73015f2
L
376652010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37666
37667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37668 strlen-sse2 strlen-sse2-bsf.
37669 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37670 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37671 (__strlen_sse2): Removed.
37672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37673 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37675 bit_Slow_BSF for Atom.
37676 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37677 (index_Slow_BSF): Define.
37678 (HAS_SLOW_BSF): Define.
37679
df24a73e
UD
376802010-08-25 Ulrich Drepper <drepper@redhat.com>
37681
37682 [BZ #10851]
37683 * resolv/res_init.c (__res_vinit): When no server address at all
37684 is given default to loopback.
37685
f2ac4868
RM
376862010-08-24 Roland McGrath <roland@redhat.com>
37687
09055553
RM
37688 * configure.in: Remove config-name.h generation.
37689 * configure: Regenerated.
37690 * config-name.in: File removed.
37691 * scripts/config-uname.sh: New file.
37692 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37693 ($(objdir)config-name.h): New target.
37694
f2ac4868
RM
37695 * sunrpc/rpc_parse.h: Avoid nested comment.
37696
73f27d5e
RH
376972010-08-24 Richard Henderson <rth@redhat.com>
37698 Ulrich Drepper <drepper@redhat.com>
37699 H.J. Lu <hongjiu.lu@intel.com>
37700
37701 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37703 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37704 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37705 _mm_alignr_epi8 with _mm_loadu_si128.
37706 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37707 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37708 (__m128i_shift_right): Removed.
37709 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37710 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37711 * sysdeps/x86_64/multiarch/varshift.h: New file.
37712 * sysdeps/x86_64/multiarch/varshift.S: New file.
37713
84b9230c
MF
377142010-08-21 Mike Frysinger <vapier@gentoo.org>
37715
37716 * configure.in: Move assembler checks to before sysdep dir checking.
37717
9bbd0ddc
PB
377182010-08-20 Petr Baudis <pasky@suse.cz>
37719
37720 * LICENSES: Sync the sunrpc license.
37721
9da4bb31
UD
377222010-08-19 Ulrich Drepper <drepper@redhat.com>
37723
a7ab6ec8
UD
37724 * sunrpc/auth_des.c: Update copyright notice once again.
37725 * sunrpc/auth_none.c: Likewise.
37726 * sunrpc/auth_unix.c: Likewise.
37727 * sunrpc/authdes_prot.c: Likewise.
37728 * sunrpc/authuxprot.c: Likewise.
37729 * sunrpc/bindrsvprt.c: Likewise.
37730 * sunrpc/clnt_gen.c: Likewise.
37731 * sunrpc/clnt_perr.c: Likewise.
37732 * sunrpc/clnt_raw.c: Likewise.
37733 * sunrpc/clnt_simp.c: Likewise.
37734 * sunrpc/clnt_tcp.c: Likewise.
37735 * sunrpc/clnt_udp.c: Likewise.
37736 * sunrpc/clnt_unix.c: Likewise.
37737 * sunrpc/des_crypt.c: Likewise.
37738 * sunrpc/des_soft.c: Likewise.
37739 * sunrpc/get_myaddr.c: Likewise.
37740 * sunrpc/getrpcport.c: Likewise.
37741 * sunrpc/key_call.c: Likewise.
37742 * sunrpc/key_prot.c: Likewise.
37743 * sunrpc/openchild.c: Likewise.
37744 * sunrpc/pm_getmaps.c: Likewise.
37745 * sunrpc/pm_getport.c: Likewise.
37746 * sunrpc/pmap_clnt.c: Likewise.
37747 * sunrpc/pmap_prot.c: Likewise.
37748 * sunrpc/pmap_prot2.c: Likewise.
37749 * sunrpc/pmap_rmt.c: Likewise.
37750 * sunrpc/rpc/auth.h: Likewise.
37751 * sunrpc/rpc/auth_unix.h: Likewise.
37752 * sunrpc/rpc/clnt.h: Likewise.
37753 * sunrpc/rpc/des_crypt.h: Likewise.
37754 * sunrpc/rpc/key_prot.h: Likewise.
37755 * sunrpc/rpc/netdb.h: Likewise.
37756 * sunrpc/rpc/pmap_clnt.h: Likewise.
37757 * sunrpc/rpc/pmap_prot.h: Likewise.
37758 * sunrpc/rpc/pmap_rmt.h: Likewise.
37759 * sunrpc/rpc/rpc.h: Likewise.
37760 * sunrpc/rpc/rpc_des.h: Likewise.
37761 * sunrpc/rpc/rpc_msg.h: Likewise.
37762 * sunrpc/rpc/svc.h: Likewise.
37763 * sunrpc/rpc/svc_auth.h: Likewise.
37764 * sunrpc/rpc/types.h: Likewise.
37765 * sunrpc/rpc/xdr.h: Likewise.
37766 * sunrpc/rpc_clntout.c: Likewise.
37767 * sunrpc/rpc_cmsg.c: Likewise.
37768 * sunrpc/rpc_common.c: Likewise.
37769 * sunrpc/rpc_cout.c: Likewise.
37770 * sunrpc/rpc_dtable.c: Likewise.
37771 * sunrpc/rpc_hout.c: Likewise.
37772 * sunrpc/rpc_main.c: Likewise.
37773 * sunrpc/rpc_parse.c: Likewise.
37774 * sunrpc/rpc_parse.h: Likewise.
37775 * sunrpc/rpc_prot.c: Likewise.
37776 * sunrpc/rpc_sample.c: Likewise.
37777 * sunrpc/rpc_scan.c: Likewise.
37778 * sunrpc/rpc_scan.h: Likewise.
37779 * sunrpc/rpc_svcout.c: Likewise.
37780 * sunrpc/rpc_tblout.c: Likewise.
37781 * sunrpc/rpc_util.c: Likewise.
37782 * sunrpc/rpc_util.h: Likewise.
37783 * sunrpc/rpcinfo.c: Likewise.
37784 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37785 * sunrpc/rpcsvc/key_prot.x: Likewise.
37786 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37787 * sunrpc/rpcsvc/mount.x: Likewise.
37788 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37789 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37790 * sunrpc/rpcsvc/rex.x: Likewise.
37791 * sunrpc/rpcsvc/rstat.x: Likewise.
37792 * sunrpc/rpcsvc/rusers.x: Likewise.
37793 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37794 * sunrpc/rpcsvc/spray.x: Likewise.
37795 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37796 * sunrpc/rtime.c: Likewise.
37797 * sunrpc/svc.c: Likewise.
37798 * sunrpc/svc_auth.c: Likewise.
37799 * sunrpc/svc_authux.c: Likewise.
37800 * sunrpc/svc_raw.c: Likewise.
37801 * sunrpc/svc_run.c: Likewise.
37802 * sunrpc/svc_simple.c: Likewise.
37803 * sunrpc/svc_tcp.c: Likewise.
37804 * sunrpc/svc_udp.c: Likewise.
37805 * sunrpc/svc_unix.c: Likewise.
37806 * sunrpc/svcauth_des.c: Likewise.
37807 * sunrpc/xcrypt.c: Likewise.
37808 * sunrpc/xdr.c: Likewise.
37809 * sunrpc/xdr_array.c: Likewise.
37810 * sunrpc/xdr_float.c: Likewise.
37811 * sunrpc/xdr_mem.c: Likewise.
37812 * sunrpc/xdr_rec.c: Likewise.
37813 * sunrpc/xdr_ref.c: Likewise.
37814 * sunrpc/xdr_sizeof.c: Likewise.
37815 * sunrpc/xdr_stdio.c: Likewise.
37816
9da4bb31
UD
37817 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37818 handling.
37819
bdaa77bc
AS
378202010-08-19 Andreas Schwab <schwab@redhat.com>
37821
37822 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37823
fe2f79db
LM
378242010-08-19 Luis Machado <luisgpm@br.ibm.com>
37825
37826 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37827 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37828 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37829 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37830 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37831 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37832 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37833 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37834 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37835 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37836 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37837 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37838 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37839 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37840
b9b42ee0
AB
378412010-07-26 Anton Blanchard <anton@samba.org>
37842
37843 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37844 * malloc/arena.c (heap_trim): Likewise.
37845
1c06ba31
UD
378462010-08-16 Ulrich Drepper <drepper@redhat.com>
37847
37848 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37849 here. Not...
37850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37851 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37852
f8392f40
L
378532010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37854
37855 * sysdeps/i386/elf/Makefile: New file.
37856
3162f12e
AS
378572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37858
37859 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37860 from fanotify_init.
37861 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37862 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37863
28c90b2c
UD
378642010-08-15 Ulrich Drepper <drepper@redhat.com>
37865
37866 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37867 of strncasecmp_l.
1feccb6c 37868 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37869
ca6bb004
UD
378702010-08-14 Ulrich Drepper <drepper@redhat.com>
37871
e9f82e0d
UD
37872 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37873 strncase_l-nonascii.
37874 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37875 Add strncase_l-ssse3.
37876 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37877 * sysdeps/x86_64/strcmp.S: Likewise.
37878 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37879 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37880 * sysdeps/x86_64/strncase.S: New file.
37881 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37882 * sysdeps/x86_64/strncase_l.S: New file.
37883 * string/Makefile (strop-tests): Add strncasecmp.
37884 * string/test-strncasecmp.c: New file.
37885
37886 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37887 warning.
37888
ca6bb004
UD
37889 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37890 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37891
052fa7b3
AS
378922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37893
37894 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37895
962dba78
UD
378962010-08-12 Ulrich Drepper <drepper@redhat.com>
37897
37898 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37899 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37900 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37901
bebff237
AM
379022010-05-01 Alan Modra <amodra@gmail.com>
37903
37904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37905 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37906 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37907 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37908 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37909 tidying. Don't tail-call __sigjmp_save for static lib.
37910 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37911 save location.
37912 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37913 (CALL_MCOUNT): Add eh info, and nop after bl.
37914 (TAIL_CALL_SYSCALL_ERROR): New macro.
37915 (PSEUDO_RET): Use it.
37916 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37917 Correct save location of integer regs and cr.
37918 (_dl_profile_resolve): Correct cr save location. Delete nops
37919 after bl when SHARED. Reduce cfi size a little by better
37920 placement of cfi directives.
37921 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37922 make a stack frame. Instead use parm save area as a temp.
37923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37924 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37926 Don't make a stack frame for parent, use parm save area.
37927 Increase child stack frame to 112 bytes. Don't save unused reg,
37928 and adjust reg usage. Set up cfi on error recovery and
37929 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37931 (__makecontext): Add dummy nop after jump to exit.
37932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37933 Use correct parm save area and cr save, reduce stack frame.
37934 Correct cfi for possible PSEUDO_RET frame setup.
37935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37936 Branch to local label emitted by PSEUDO_RET rather than
37937 __syscall_error.
37938
02637374
AS
379392010-08-12 Andreas Schwab <schwab@redhat.com>
37940
37941 [BZ #11904]
37942 * locale/programs/locale.c (print_assignment): New function.
37943 (show_locale_vars): Use it.
37944
c3e2f19b
UD
379452010-08-11 Ulrich Drepper <drepper@redhat.com>
37946
3cdaa6ad
UD
37947 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37948 field.
37949 (struct statfs64): Likewise.
37950 (_STATFS_F_FLAGS): Define.
37951 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37953 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37954 (ST_VALID): Define locally.
37955 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37956 __statvfs_getflags, use the provided value.
37957 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37958 __ASSUME_STATFS_F_FLAGS.
37959
754f7da3
UD
37960 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37961
10b3bedc
UD
37962 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37963 Add sys/fanotify.h.
37964 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37965 fanotify_mask for GLIBC_2.13.
37966 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37967 fanotify_init and fanotify_mark.
37968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37969 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37970
c08fb0d7
UD
37971 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37972 Add prlimit.
37973 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37974 prlimit64 for GLIBC_2.13.
37975 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37976 prlimit64.
37977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37978 syscall.
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37981 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37982 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37984 add prlimit alias.
37985 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37986
15bac72b
UD
37987 [BZ #11903]
37988 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37989 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37990
c3e2f19b
UD
37991 * nss/Makefile: Add rules to build and run tst-nss-test1.
37992 * shlib-versions: Add entry for libnss_test1.
37993 * nss/nss_test1.c: New file.
37994 * nss/tst-nss-test1.c: New file.
37995
37996 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37997 (__nss_configure_lookup): Set appropriate entry in
37998 __nss_configure_lookup to true.
37999 * nss/nsswitch.h: Define enum with indeces of databases in
38000 databases and __nss_database_custom arrays. Declare
38001 __nss_database_custom.
38002 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38003 to avoid using nscd when custom rules are installed.
38004 * nss/getXXbyYY_r.c: Likewise.
38005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38006
38007 * nss/nss_files/files-parse.c: Whitespace fixes.
38008
f15ce4d8
UD
380092010-08-09 Ulrich Drepper <drepper@redhat.com>
38010
38011 [BZ #11883]
38012 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38013 * posix/fnmatch_loop.c: Likewise.
38014
d22e4cc9
AK
380152010-07-17 Andi Kleen <ak@linux.intel.com>
38016
38017 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38018 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38019 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38020 * Versions.def [GLIBC_2.13]: Add.
38021
805bc17d
UD
380222010-08-06 Ulrich Drepper <drepper@redhat.com>
38023
38024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38025 Also fail if tpwd after pwuid call is NULL.
38026
5a42321d
ST
380272010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38028
38029 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38030 when converting to ms.
38031
fd3ebeda
ST
380322010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38033
38034 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38035 EOPNOTSUPP errors with ENOTTY.
38036 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38037 EOPNOTSUPP errors with ENOTTY.
38038
73507d3a
UD
380392010-07-31 Ulrich Drepper <drepper@redhat.com>
38040
38041 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38042 Add strcasecmp_l-ssse3.
38043 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38044 strcasecmp.
38045 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38046 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38047 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38048
fe36dd02
UD
380492010-07-30 Ulrich Drepper <drepper@redhat.com>
38050
66f6765a
UD
38051 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38052
42e08a54
UD
38053 * string/Makefile (strop-tests): Add strcasecmp.
38054 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38055 strcasecmp_l-nonascii.
38056 (gen-as-const-headers): Add locale-defines.sym.
38057 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38058 * sysdeps/x86_64/strcasecmp.S: New file.
38059 * sysdeps/x86_64/strcasecmp_l.S: New file.
38060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38061 * sysdeps/x86_64/locale-defines.sym: New file.
38062 * string/test-strcasecmp.c: New file.
38063
fe36dd02
UD
38064 * string/test-strcasestr.c: Test both ends of the range of characters.
38065 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38066
48cbc0d6
RM
380672010-07-29 Roland McGrath <roland@redhat.com>
38068
76e6d6bc 38069 [BZ #11856]
48cbc0d6
RM
38070 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38071
880113d9
UD
380722010-07-27 Ulrich Drepper <drepper@redhat.com>
38073
38074 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38075 for ld.so.
38076
deb9cabb
AS
380772010-07-27 Andreas Schwab <schwab@redhat.com>
38078
38079 * manual/memory.texi (Malloc Tunable Parameters): Document
38080 M_PERTURB.
38081
1c7570ff
RM
380822010-07-26 Roland McGrath <roland@redhat.com>
38083
38084 [BZ #11840]
38085 * configure.in (-fgnu89-inline check): Set and substitute
38086 gnu89_inline, not libc_cv_gnu89_inline.
38087 * configure: Regenerated.
38088 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38089
24fb0f88
UD
380902010-07-26 Ulrich Drepper <drepper@redhat.com>
38091
38092 * string/test-strnlen.c: New file.
38093 * string/Makefile (strop-tests): Add strnlen.
38094 * string/tester.c (test_strnlen): Add a few more test cases.
38095 * string/tst-strlen.c: Better error reporting.
38096
38097 * sysdeps/x86_64/strnlen.S: New file.
38098
8e96b93a
UD
380992010-07-24 Ulrich Drepper <drepper@redhat.com>
38100
38101 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38102 lower-latency instructions.
38103
dbc676d4
UD
381042010-07-23 Ulrich Drepper <drepper@redhat.com>
38105
38106 * string/test-strcasestr.c: New file.
38107 * string/test-strstr.c: New file.
38108 * string/Makefile (strop-tests): Add strstr and strcasestr.
38109 * string/str-two-way.h: Don't undefine MAX.
38110 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38111
f6a31e0e
AS
381122010-07-21 Andreas Schwab <schwab@redhat.com>
38113
38114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38115 strcasestr-nonascii.
38116 (CFLAGS-strcasestr-nonascii.c): Define.
38117 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38118 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38119 Remove unused attribute.
38120
5dbc3b6c
RM
381212010-07-20 Roland McGrath <roland@redhat.com>
38122
38123 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38124 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38125 ld.so.cache was broken. With it, there is no way to disable dsocaps
38126 like LD_HWCAP_MASK can disable hwcaps.
38127
23d101d8
EPM
381282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38129
38130 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38131
cc9f2e47
UD
381322010-07-16 Ulrich Drepper <drepper@redhat.com>
38133
38134 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38135 call in strcasestr.
38136 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38137 __strcasestr_sse42_nonascii.
38138 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38139 strcasestr-nonascii.c.
38140 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38141
77c1b069
LM
381422010-06-15 Luis Machado <luisgpm@br.ibm.com>
38143
38144 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38146 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38147 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38148
440566c3
UD
381492010-07-09 Ulrich Drepper <drepper@redhat.com>
38150
38151 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38152 fcntl.
38153
5be9d05d
AS
381542010-07-06 Andreas Schwab <schwab@redhat.com>
38155
c30b7ee2 38156 [BZ #11577]
5be9d05d
AS
38157 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38158 dl_signal_cerror.
38159
8a492a67
UD
381602010-07-06 Ulrich Drepper <drepper@redhat.com>
38161
38162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38163 _PC_PIPE_BUF using F_GETPIPE_SZ.
38164
713df3d5
RM
381652010-07-05 Roland McGrath <roland@redhat.com>
38166
38167 * manual/arith.texi (Rounding Functions): Fix rint description
38168 implicit in round description.
38169
702e8f14
UD
381702010-07-02 Ulrich Drepper <drepper@redhat.com>
38171
38172 * elf/Makefile: Fix linking for a few tests to make recent linker
38173 happy.
38174
52ed8be9
AS
381752010-06-30 Andreas Schwab <schwab@redhat.com>
38176
38177 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38178 $(common-objpfx)libc_nonshared.a.
38179
f47c9a11
LM
381802010-06-21 Luis Machado <luisgpm@br.ibm.com>
38181
38182 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38183 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38184 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38185 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38186 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38187 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38188 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38189 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38204 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38205 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38206 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38207 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38208 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38209 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38210 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38211 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38212 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38213 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38214 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38215 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38230
6fb8cbcb
L
382312010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38232
38233 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38234 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38235 * string/memmove.c (memmove): Renamed to ...
38236 (MEMMOVE): ...this. Default to memmove.
38237 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38238 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38239 (END_CHK): Define.
38240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38241 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38242 mempcpy-ssse3-back memmove-ssse3-back.
38243 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38244 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38245 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38246 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38247 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38248 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38249 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38250 * sysdeps/x86_64/multiarch/memmove.c: New file.
38251 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38252 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38253 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38254 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38255 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38256 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38257 Define.
38258 (index_Fast_Copy_Backward): Define.
38259 (HAS_ARCH_FEATURE): Define.
38260 (HAS_FAST_REP_STRING): Define.
38261 (HAS_FAST_COPY_BACKWARD): Define.
38262
4e733bac 382632010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
38264
38265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38266 Restore proper fallback handling.
38267
63c4ed22
UD
382682010-06-19 Ulrich Drepper <drepper@redhat.com>
38269
ac2b484c
UD
38270 [BZ #11701]
38271 * posix/group_member.c (__group_member): Correct checking loop.
38272
63c4ed22
UD
38273 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38274 OOM in getpwuid_r correctly. Return error number when the caller
38275 should return, otherwise -1.
38276 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38277 call returning > 0 value.
38278 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38279
765ade4b
AS
382802010-06-07 Andreas Schwab <schwab@redhat.com>
38281
38282 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38283 libc_nonshared.a from targets in modules-names.
38284
80da2e09
KS
382852010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38286
38287 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38288 requires it.
38289
158db122
LM
382902010-06-10 Luis Machado <luisgpm@br.ibm.com>
38291
38292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38293 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38294 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38295 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38296
caa78cf8
AS
382972010-06-02 Andreas Schwab <schwab@redhat.com>
38298
38299 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38300
b2ef2c01
UD
383012010-06-14 Ulrich Drepper <drepper@redhat.com>
38302
38303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38304 and F_GETPIPE_SZ.
38305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38309 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38310 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38311
fbd643b6
RM
383122010-06-14 Roland McGrath <roland@redhat.com>
38313
38314 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38315
f32f2869
JJ
383162010-06-07 Jakub Jelinek <jakub@redhat.com>
38317
38318 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38319 __REDIRECT followed by __THROW.
38320 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38321 * posix/getopt.h (getopt): Likewise.
38322
2a50c078
EPM
383232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38324
38325 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38326 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38327 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38328 in AT_FLAGS.
38329 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38330 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38331
eb5ad2eb
LM
383322010-05-28 Luis Machado <luisgpm@br.ibm.com>
38333
38334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38335
3c88fe1e
L
383362010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38337
38338 [BZ #11640]
38339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38340 Properly check family and model.
38341
d2f73151
TY
383422010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38343
38344 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38345
ebd2e13d
LM
383462010-05-24 Luis Machado <luisgpm@br.ibm.com>
38347
38348 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38349
b32b8b45
UD
383502010-05-21 Ulrich Drepper <drepper@redhat.com>
38351
38352 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38353 symbol reference.
38354
9acbe24d
AS
383552010-05-19 Andreas Schwab <schwab@redhat.com>
38356
38357 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38358 symbol reference.
38359
f0ccf6ea
AS
383602010-05-21 Andreas Schwab <schwab@redhat.com>
38361
3d04ff3a
AS
38362 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38363 and internal_recvmmsg.
38364 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38365 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38366 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38367 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38368
f0ccf6ea
AS
38369 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38370 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38371 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38372
5b08ac57
AS
383732010-05-20 Andreas Schwab <schwab@redhat.com>
38374
38375 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38376
4828935d
LM
383772010-05-17 Luis Machado <luisgpm@br.ibm.com>
38378
38379 POWER7 optimizations.
38380 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38381 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38382
373d545e
UD
383832010-05-19 Ulrich Drepper <drepper@redhat.com>
38384
38385 * version.h: Update for 2.13 development version.
38386
21a2b1ae
AS
383872010-05-12 Andrew Stubbs <ams@codesourcery.com>
38388
38389 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38390 exceptions. Return 0.
38391
3f7dcb2b
RM
383922010-05-07 Roland McGrath <roland@redhat.com>
38393
38394 * elf/ldconfig.c (main): Add a const.
38395
5f24d53a 383962010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38397
a160f8d8
UD
38398 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38399 (args_options): Add no-idn option.
38400 (ahosts_keys_int): Add idn_flags to ai_flags.
38401 (parse_option): Handle 'i' option to clear idn_flags.
38402
5f24d53a
UD
38403 * malloc/malloc.c (_int_free): Possible race in the most recently
38404 added check. Only act on the data if no current modification
38405 happened.
265bb1ce
UD
38406
38407See ChangeLog.17 for earlier changes.